
Configuration Note
10
Document #: LTRT-31672
Layer 2 Bridging using CLI
Command
Description
(conf-if-GE SlotNum/PortNum)#
spanning-tree [cost/edge/point-
to-point/priority]
Relates to the spanning-tree protocol (STP)
issues on the interface.
•
edge – this type of port mode will not
participate on spanning-tree converge
and acts as a port fast port according to
STP.
•
cost – sets a cost value for the interface
to be used in calculations of the cost to
the root bridge in STP.
•
point-to-point – enables link type point-to-
point to make the link become designated
port.
•
priority – local priority number on
interface configuration mode.
MSBR# sh data interface
<physical_interface>
[slot/port.vlanID]
Displays interface statistics, port mode,
speed, duplex and PoE information.
2.2
Examples
This example shows how to configure an interface to access mode and auto-negotiation
100BaseT full permanent:
#interface configured as access mode
MSBR(config-data)# interface gigabitethernet 4/1
MSBR(conf-if-GE 4/1)# duplex full
MSBR(conf-if-GE 4/1)# speed 100
MSBR(conf-if-GE 4/1)# switchport mode access
MSBR(conf-if-GE 4/1)# spanning-tree edge enabled
MSBR(conf-if-GE 4/1)# exit
MSBR(config-data)# interface vlan 200
MSBR(config-data)# interface vlan 300
#interface configured as Trunk mode
MSBR(config-data)# interface gigabitethernet 4/2
MSBR(conf-if-GE 4/2)# switchport mode trunk
MSBR(conf-if-GE 4/2)# switchport native vlan 200 [ All Untagged
packets send to vlan 200]
MSBR(config-data)# interface gigabitethernet 4/3
MSBR(conf-if-GE 4/3)# switchport mode trunk
MSBR(conf-if-GE 4/3)# switchport native vlan 300[ All Untagged
packets send to vlan 300]
Summary of Contents for Mediant
Page 2: ......