
CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches Page 44 of 350
Note: This configuration sample assumes that you are running the Layer-2 module. If you
are using the Layer-2 module, run the switchport command on each port to set the
switching characteristics of Layer-2 protocols.
Bridge1
DUT# configure terminal Enter the Configure mode.
DUT(config)# spanning-tree mode rstp Configure a spanning-tree mode.
DUT(config)# spanning-tree priority 4096 Configure the switch priority,the default
is 32768.
DUT(config)# interface eth-0-1 Specify the interface (eth-0-1)to be
configured and enter the Interface mode
DUT(config-if)# spanning-tree path-cost 200 Configure the cost for an interface.
DUT(config-if)# exit Exit the Interface mode and enter the
Configure mode.
DUT(config)# interface eth-0-4 Specify the interface (eth-0-4)to be
configured and enter the Interface mode
DUT(config-if)# spanning-tree port-priority 64 Configure the port priority for an
interface, the default is 128.
DUT(config-if)# exit Exit the Interface mode and enter the
Configure mode.
DUT(config)# spanning-tree enable Enable spanning tree protocol.
The default is enable
Bridge 2
DUT# configure terminal Enter the Configure mode.
DUT(config)# spanning-tree mode rstp Configure a spanning-tree mode.
DUT(config)# spanning-tree priority 12288 Configure the switch priority, the default
is 32768.
DUT(config)# spanning-tree enable Enable spanning tree protocol.
The default is enable
Komentarze do niniejszej Instrukcji