116 MES3000 Ethernet switch series
Table 5.118 –Ethernet-interface configuration mode commands
l2protocol-tunnel {stp | lacp |
lldp | isis-l1 | isisl2 | eth-fc}
Enable STP BPDU encapsulation mode.
no l2protocol-tunnel {stp |
lacp | lldp| isis-l1 | isis-l2 |
eth-fc}
Disable STP BPDU encapsulation mode.
l2protocol-tunnel cos cos
Set CoS value for packed PDU-frames.
Set the default CoS value.
l2protocol-tunnel
dropthreshold {stp | lacp |
lldp | isis-l1 | isisl2 | ethfc}
threshold
treshold:
(1..4096)/disabled
Set the threshold rate (packets per second) of incoming PDU-
frames to be received and encapsulated. In case of excess of the
threshold value PDU-frames are dropped.
no l2protocol-tunnel
dropthreshold {stp | lacp |
lldp | isis-l1 | isisl2 | eth-fc}
Disable incoming PDU-frames rate control
l2protocol-tunnel
shutdownthreshold {stp |
lacp | lldp | isis-l1 | isisl2 |
eth-fc} threshold
treshold:
(1..4096)/disabled
Set the threshold rate (packets per second) of incoming PDU-
frames to be received and encapsulated.
When the threshold is exceeded the port will be transferred to the
state Errdisable (disabled)
no l2protocol-tunnel
shutdown-threshold {stp |
lacp | lldp | isis-l1 | isisl2 |
eth-fc}
Disable incoming PDU-frames rate control
Privileged EXEC mode commands
Command line request in priviledged EXEC mode appears as follows:
console#
Table 5.119 – Privileged EXEC mode commands
show l2protocol-tunnel
[gigabitethernet gi_port |
tengigabitethernet te_port |
port-channel group]
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4);
group: ( 1..12)
Show L2PT information for specified interface or for all
interfaces with enabled L2PT (in case of not specifying of
interface).
clear l2protocol-tunnel
statistics [gigabitethernet
gi_port | tengigabitethernet
te_port | port-channel group]
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4);
group: ( 1..12)
Clear L2PT statistics for specified interface or for all
interfaces, with enabled L2PT (in case of not specifying of
interface).
Example execution of commands
Set tunneling MAC address as 01:00:0c:cd:d0, enable SNMP traps sending from l2protocol-
tunneling trigger (drop-threshold and shutdown-thershold triggers).
console(config)#l2protocol-tunnel address 01:00:0c:cd:cd:d0
console(config)#snmp-server enable traps l2protocol-tunnel
Enable STP tunneling mode on the interface, set CoS value of BPDU packets as 4, enable
incoming BPDU packets rate control.
console(config)# interface gigabitEthernet 1/0/1
console(config-if)# spanning-tree disable
console(config-if)# switchport mode customer
console(config-if)# switchport customer vlan 100
console(config-if)# l2protocol-tunnel stp
console(config-if)# l2protocol-tunnel cos 4
console(config-if)# l2protocol-tunnel drop-threshold stp 40
console(config-if)# l2protocol-tunnel shutdown-threshold stp 100