interface
The command allows you to switch to the management mode of one or group of interfaces.
Syntax
interface <INTERFACE> <RANGE>
Parameters
<INTERFACE> – interface type: front-port; gpon-port; ont; plc-front-port; plc-mgmt-pon-port; plc-pon-port; plc-slot-channel; plc-slot-port; port-channel; slot-channel; slot-port; stack-port. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified.
You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).
Command mode
CONFIG
Example
ma4000(config)# interface front-portall ma4000(front-port-all)#
shutdown
The command disables an interface being configured.
The use of a negative form (no) of the command enables the interface being configured.
Syntax
[no] shutdown
Parameters
The command contains no arguments.
Command mode
FRONT-PORT
PORT-CHANNEL
SLOT-PORT
SLOT-CHANNEL
STACK-PORT
PLC-SLOT-PORT
PLC-PON-PORT
PLC-MGMT-PON-PORT
PLC-FRONT-PORT
Example
ma4000(front-port-all)# shutdown
Configured interface is disabled.
bridging to
This command sets permission for traffic transfer between interfaces.
The use of the negative form (no) of the command sets prohibition for traffic transfer between interfaces.
Syntax
[no] bridging to <INTERFACE> <RANGE>
Parameters
<INTERFACE> – interface type: front-port; port-channel, slot-channel. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified.
You may specify the list of numbers comma ( , ) or specify the range using hyphen ( - ).
Command mode
FRONT-PORT
PORT-CHANNEL
SLOT-CHANNEL
PLC-SLOT-CHANNEL
PLC-PON-PORT
PLC-FRONT-PORT
Example
ma4000(front-port-all)# bridging to slot-channel 2
flow-control
This command enables/disables the data flow control mechanism (flowcontrol).
The flowcontrol mechanism makes it possible to compensate for differences in transmitter and receiver speeds. If the traffic amount exceeds a certain level, the receiver will transmit frames informing the transmitter of the need to reduce the amount of traffic to reduce the number of lost packets.
To implement this mechanism, it is necessary that the remote device also supports this function.
Syntax
flow-control <ACT>
Parameters
<ACT> – allocated action:
- on – enable;
- off – disable.
Default value
disabled
Command mode
FRONT-PORT
PORT-CHANNEL
SLOT-CHANNEL
PLC-SLOT-CHANNEL
PLC-SLOT-PORT
PLC-MGMT-PON-PORT
PLC-FRONT-PORT
Example
ma4000(front-port-all)# flow-control on
Data flow control is enabled on the configured port.
frame-types
The command allows to assign specific rules for receiving packets for the port:
receive tagged and untagged packages;
receive only packets with VLAN tag.
Syntax
frame-types <ACT>
Parameters
<ACT> – allocated action:
- all – receive tagged and untagged packages;
- tagged – receive only packets with VLAN tag.
Default value
Receive all packets (tagged and untagged)
Command mode
FRONT-PORT
PORT-CHANNEL
SLOT-CHANNEL
PLC-SLOT-CHANNEL
PLC-SLOT-PORT
PLC-PON-PORT
PLC-FRONT-PORT
Example
ma4000(front-port-all)# frame-types all
Untagged traffic is allowed on configured ports.
ingress-filtering
This command is intended to enable packet filtering based on the VLAN tag. The use of the negative form (no) of the command disables packet filtering based on the VLAN tag.
Syntax
[no] ingress-filtering
Parameters
The command contains no arguments.
Default value
The feature is enabled by default.
Command mode
FRONT-PORT
PORT-CHANNEL
SLOT-CHANNEL
PLC-SLOT-CHANNEL
PLC-SLOT-PORT
PLC-FRONT-PORT
Example
ma4000(front-port-all)# ingress-filtering
Inbound packet filtering is enabled on custom ports.
pvid
This command sets the default VID value for packets received by the port. When an untagged packet or a packet with VID value in the VLAN tag equal to 0 is received, the packet is assigned a VID value equal to PVID.
Syntax
pvid <VID>
Parameters
<VID> – VLAN port ID, may take values [1 .. 4094].
Default value
1
Command mode
FRONT-PORT
PORT-CHANNEL
SLOT-CHANNEL
PLC-SLOT-CHANNEL
PLC-SLOT-PORT
PLC-PON-PORT
PLC-FRONT-PORT
Example
ma4000(front-port-2/5)# pvid 5
PVID 5 is assigned to the configured port.
speed
The command sets speed value for interface being configured. The command sets the following modes: 1000 Mbps, 10 Gbps, 10 Mbps, 100 Mbps or auto.
Syntax
speed { 10G | 1000M | 100M { full-duplex | half-duplex } | 10M { full-duplex | half-duplex } | auto}
Parameters
10M – 10 Mbps speed value with the operation mode of the transceiver:
- full-duplex – duplex,
- half-duplex.
100M – 100 Mbps speed value with the operation mode of the transceiver:
- full-duplex – duplex,
- half-duplex.
1000M – 1000 Mbps speed value:
- 10G – 10Gbps speed;
- auto – automatic mode selection.
Default value
auto
Command mode
FRONT-PORT
PORT-CHANNEL
SLOT-CHANNEL
PLC-SLOT-CHANNEL
PLC-SLOT-PORT
PLC-FRONT-PORT
Example 1
ma4000(front-port-2/5)# speed 10G
10 Gbps speed limit is set.
Example 2
ma4000 (front-port-2/5)# speed 10M full-duplex
10 Mbps speed limit is set, duplex.
rate-limit
This command sets speed limits for multicast and broadcast traffic on the configured interface/interfaces of the PLC8 module switch.
The use of the negative form (no) of the command removes speed limits for multicast and broadcast traffic on the configured interface/interfaces of the PLC8 module switch.
Syntax
rate-limit <TYPE> <LIMIT> <BURST>
no rate-limit <TYPE>
Parameters
<TYPE> – traffic type:
- bc – broadcast traffic;
- mc – multicast traffic.
<LIMIT> – speed limit level, may take values [1..10000000] kbps;
<BURST> – maximum length of a continuous packet transmission, may take values [1..10000000] bytes. It is not recommended to change it.
Command mode
PLC-SLOT-PORT
PLC-PON-PORT
Example
ma4000(slot-0-switch-config-slot-port-0)# rate-limit bc
load-average
This command sets the time of statistics collection to calculate the port load on data transfer/reception.
Syntax
load-average <TIME>
Parameters
<TIME> – statictics collecting time: 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 510, 540, 570, 600, seconds.
Command mode
CONFIG
Example
ma4000(config)# load-average 330
shaper
This command configures speed limit.
The use of a negative form (no) of the command removes the speed limit.
Syntax
shaper <LIMIT> <BURST>
no shaper
Parameters
<LIMIT> – speed limit, may take values (193..789000) kbps;
<BURST> – buffer size, mya take values (1..4000) bytes.
Command mode
PLC-SLOT-PORT
PLC-PON-PORT
Example
ma4000(config)(if-gpon-1)# profile address-table TEST
cntrset
This command assigns the queue statistics collector to the queues with specified criteria.
The full description of the functionality can be clarified by contacting the technical support service.
Syntax
cntrset <PORT> <UNIT> <SET> <VLAN> <QUEUE> <DROP PRECEDENCE>
Parameters
<PORT> – type of the port for counting, may take values:
- all – all ports;
- cpu – CPU port;
- front-port – front-port count;
- plc-front-port – plc-front-port count;
- plc-pon-port – pon-port count;
- plc-slot-port – plc-slot-port count;
- slot-port – slot-port count;
- stack-port – stack-port count.
<UNIT> – port sequential number:
- for cpu: may take values [1 .. 2];
- for front port: <unit/port>, where:
- unit – PP4X module number, may take values [1 .. 2];
- port – port number, may take values [0 .. 5].
- for slot-port: <unit/port>, where:
- unit – PP4X module number, may take values [1 .. 2];
- port – port number, may take values [0 .. 15].
- for plc-front-port: <unit/port>, where:
- unit – PLC8 module number, may take values [0 .. 15];
- port – port number, may take values [0].
- for plc-pon-port: <unit/port>, where:
- unit – PLC8 module number, may take values [0 .. 15];
- port – port number, may take values [0 .. 7].
- for plc-slot-port: <unit/port>, where:
- unit – PLC8 module number, may take values [0 .. 15];
- port – port number, may take values [0 .. 1].
- for stack-port: <unit/port>, where:
- unit – PLC8 module number, may take values [1 .. 2];
- port – port number, may take values [0 .. 1].
<SET> – statistics collector number, may take values [0 .. 1];
<VLAN> – VLAN ID, may take values [1 .. 4094] or all;
<QUEUE> – queue number, may take values [0 .. 7] or all;
<DROP PRECEDENCE> – drop precedence value [0 .. 1] or all.
Command mode
CONFIG
Example
ma4000(config)# cntrset cpu 1 0 59 7 1
clear counters
The command performs the reset of specified interface/interface group counter.
Syntax
clear counters <INTERFACE> <RANGE>
Parameters
<INTERFACE> – interface type: front-port; plc-front-port; plc-mgmt-pon-port; plc-pon-port; plc-slot-port; slot-port; stack-port. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified. You may specify the list of numbers comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# clear counters front-port 1/1-4,2/3-4
Reset counters for 1,2,3,4 ports of the first PP4X module and 3,4 ports of the second PP4X module.
show interfaces configuration
This command allows to view the configuration of a certain interface or group of interfaces.
Syntax
show interfaces <INTERFACE> <RANGE> configuration
Parameters
<INTERFACE> – interface type: front-port; port-channel. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified. You may specify the list of numbers comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# show interface front-port 1/4 configuration interface front-port 1/4 speed 1000M frame-types tagged channel-group 1 exit
show interface counters
This command is used to view information on interface counters. Use the detail command to display detailed information on interface counters.
Counters description:
- Port – port number;
- UC sent – number of unicast packets sent;
- MC sent – number of multicast packets sent;
- BC sent – number of broadcast packets sent;
- Octets sent – number of bytes sent;
- UC recv – number of unicast packets received;
- MC recv – number of multicast packets received;
- BC recv – number of broadcast packets received;
- Octets recv – number of bytes received;;
- Bad octets recv – number of bad bytes received;
- MAC transmit err – number of frames that were not transmitted successfully due to an internal reception error at the MAC level;
- Bad frames recv – number of bad frames received;
- Frames 64 octets pass – number of processed frames with the size of 64 bytes;
- Frames 65-127 octets pass – number of processed frames with the size of 65-127 bytes;
- Frames 128-255 octets pass – number of processed frames with the size of 128-255 bytes;
- Frames 256-511 octets pass – number of processed frames with the size of 256-511 bytes;
- Frames 512-1023 octets pass – number of processed frames with the size of 512-1023 bytes;
- Frames 1024-max octets pass – number of processed frames with the size of more than 1024 bytes;
- Excessive collisions – number of frames that were not sent due to excessive number of collisions;
- Unrec MAC cntr recv – number of MAC Control Frames with an unknown operation code;
- FC sent – number of transmitted Flow Control frames;
- Good fc recv – number of received Flow Control frames;
- Drop events – packet discard event counter;
- Undersize packets – number of received packets that are smaller than the minimum allowed frame size;
- Fragments packets – number of packet fragments;
- Oversize packets – number of received packets whose size exceeds the maximum allowed frame size;
- Jabber packets – number of jabber packets;
- MAC receive err – number of frames that were not received successfully due to an internal reception error at the MAC level;
- Bad CRC – number of frames whose byte number matches the length that failed frame check sequence validation;
- Collisions – collisions counter;
- Late collisions – number of cases when collision is identified after transmitting the first 64 bytes of the packet to the communication link (slotTime);
- Bad FC recv – number of Flow Control frames received that are not in the correct format.
- Current load – average load of the interface for receiving/transmitting data in Kbps or frames/s;
- 5:00 average – average interface load per 5-minute interval for receiving/transmitting data in Kbps or frames/s.
Syntax
show interface <INTERFACE> <RANGE> counters
show interface <INTERFACE> <RANGE> counters detail
Parameters
<INTERFACE> – interface type: front-port. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified. You may specify the list of numbers comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# show interface front-port 1/0 counters detail Counter Value ------------------------------ -------------------- UC sent 35805 MC sent 5339 BC sent 13 Octets sent 3614086 UC recv 39918 MC recv 94563 BC recv 33307 Octets recv 22392248 Bad octets recv 0 MAC transmit err 0 Bad frames recv 0 Frames 64 octets pass 41028 Frames 65-127 octets pass 65715 Frames 128-255 octets pass 100476 Frames 256-511 octets pass 1572 Frames 512-1023 octets pass 86 Frames 1024-max octets pass 68 Excessive collisions 0 Unrec MAC cntr recv 0 FC sent 0 Good fc recv 0 Drop events 0 Undersize packets 0 Fragments packets 0 Oversize packets 0 Jabber packets 0 MAC receive err 0 Bad CRC 0 Collisions 0 Late collisions 0 Bad FC recv 0 Current load Kbits sent/sec 1 Current load Kbits recv/sec 2 Current load frames sent/sec 2 Current load frames recv/sec 3 5:00 average Kbits sent/sec 1 5:00 average Kbits recv/sec 1 5:00 average frames sent/sec 1 5:00 average frames recv/sec 2
show interface <INTERFACE> utilization
This command allows to view the port load status for data transmition/receiption:
- Last utilization counters – average port load;
- 5m:00s utilization average – values averaged over a 5-minute interval (interval setting is performed by the load-average command).
Syntax
show interface <INTERFACE> <RANGE> utilization
Parameters
<INTERFACE> – interface type: front-port; slot-port. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified. You may specify the list of numbers comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# show interface front-port all utilization <cr> ma4000# show interface front-port all utilization Last utilization counters ~~~~~~~~~~~~~~~~~~~~~~~~~ Port Kbits sent/sec Kbits recv/sec Frames sent/sec Frames recv/sec --------------- -------------------- -------------------- -------------------- -------------------- front-port 1/0 2 4 4 6 front-port 1/1 0 0 0 0 front-port 1/2 0 0 0 0 front-port 1/3 0 0 0 0 front-port 1/4 0 0 0 0 front-port 1/5 0 0 0 0 5m:00s utilization average ~~~~~~~~~~~~~~~~~~~~~~~~~~ Port Kbits sent/sec Kbits recv/sec Frames sent/sec Frames recv/sec --------------- -------------------- -------------------- -------------------- -------------------- front-port 1/0 0 2 0 2 front-port 1/1 0 0 0 0 front-port 1/2 0 0 0 0 front-port 1/3 0 0 0 0 front-port 1/4 0 0 0 0 front-port 1/5 0 0 0 0
show interfaces <INTERFACE> status
This command is used to view information about the interface status.
Description:
- Interface – interface name;
- Status – connection state:
- up – connection is established;
- down – no connection.
- Media – storage type:
- none – none;
- error – error;
- copper – copper;
- fiber – fiber;
- unknown – unknown.
- Speed – port data rate, Mbps;
- Duplex – transceiver operation mode:
- full – full duplex;
- half – half-duplex.
- Flow control – «Flow control» (PFC) feature state:
- no – active;
- yes – not active.
Syntax
show interfaces status <INTERFACE> <RANGE>
Parameters
<INTERFACE> – interface type: front-port; port-channel; slot-channel; stack-port; slot-port. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified.
You may specify the list of numbers comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# show interface front-port 1/0-5 status Interface Status Media Speed Duplex Flow control --------- ------ ----- ----- ------ ------------ front-port 1/0 up copper 1 Gbps full no front-port 1/1 down none 10 Mbps half no front-port 1/2 down none 10 Mbps half no front-port 1/3 down none 10 Mbps half no front-port 1/4 down none 10 Mbps half no front-port 1/5 down none 10 Mbps half no
show cntrset
This command is used to view the queue collector information.
Syntax
show cntrset <SET>
Parameters
<SET> – counter number, may take values [0 .. 1].
Command mode
ROOT
Example
ma4000# show cntrset 1 [0A093204] Configuration Register: 0x00000000 [0A093214] Outgoing Unicast Packet Count: 587 [0A093224] Outgoing Multicast Packet Count: 0 [0A093234] Outgoing Broadcast Packet Count: 1 [0A093244] Bridge Egress Filtered Packet Count: 37296 [0A093254] Tail Dropped Packet Counter: 0 [0A093264] Control Packet Counter: 712 [0A093274] Egress Forwarding Restriction Dropped Packet Counter: 0
show slot <SLOT> cntrset
This command is used to view the queue collector for port information.
Syntax
show slot <SLOT> cntrset <SET>
Parameters
<SET> – counter number, may take values [0 .. 1].
<SLOT> – PLC8 module number, may take values (0..15). You may specify the list of numbers comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# show slot 1 cntrset 0 Counter Set ~~~~~~~~~~~ Name Value --------------------------------------------- ---------- Outgoing Unicast Packets 0 Outgoing Multicast Packets 0 Outgoing Broadcast Packets 0 Bridge Egress Filtered Packets 0 Tail Dropped Packets 0 Control Packets 4528 Egress Forwarding Restriction Dropped Packets 0 Multicast FIFO Dropped Packets
show slot <SLOT>shaping
This command is used to view shaper settings on the ports of a certain PLC8 module (bandwidth restriction on traffic transfer from the port).
Syntax
show slot <SLOT> shaping
Parameters
<SLOT> – PLC8 module number, may take values (0..15). You may specify the list of numbers comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# show slot 6 shaping Interface name Limits Burst plc-pon-port 6/0 0 0 plc-pon-port 6/1 0 0 plc-slot-port 6/0 0 0 plc-slot-port 6/1 0 0 plc-pon-port 6/2 0 0 plc-pon-port 6/3 0 0 plc-pon-port 6/4 0 0 plc-pon-port 6/5 0 0 plc-pon-port 6/6 0 0 plc-pon-port 6/7 100000 4000
show slot <SLOT>rate-limits
This command is used to view bandwidth limiting settings for received (BC, MC, Unknown UC) traffic on ports of a certain PLC8 module.
Syntax
show slot <SLOT> rate-limits
Parameters
<SLOT> – PLC8 module number, may take values (0..15). You may specify the list of numbers comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# show slot 6 rate-limits Interface name Limits bc Burst bc Limits mc Burst mc plc-pon-port 6/0 0 0 0 0 plc-pon-port 6/1 0 0 0 0 plc-slot-port 6/0 0 0 0 0 plc-slot-port 6/1 0 0 0 0 plc-pon-port 6/2 0 0 0 0 plc-pon-port 6/3 0 0 0 0 plc-pon-port 6/4 0 0 0 0 plc-pon-port 6/5 0 0 0 0 plc-pon-port 6/6 0 0 0 0 plc-pon-port 6/7 0 0 0 0