16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
Configuration Examples for the 16- and 36-Port Ethernet Switch Module
156
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
Changing the Switch Priority Example
The following example shows how to set the switch priority to 100 for bridge group 10:
Switch(config)#
bridge 10 priority 100
Changing the Interface Priority Example
The following example shows how to change the priority of an interface to 20 in bridge group 10:
Switch(config)#
interface gigabitethernet0/1
Switch(config-if)#
bridge-group 10 priority 20
Assigning a Path Cost Example
The following example shows how to change the path cost on an interface to 10 in bridge group 10:
Switch(config)#
interface gigabitethernet0/1
Switch(config-if)#
bridge-group 10 path-cost 20
Adjusting BPDU Intervals Example
You can adjust BPDU intervals as described in these sections:
•
Adjusting the Interval between Hello BPDUs Example, page 156
•
Changing the Forward-Delay Interval Example, page 156
•
Changing the Maximum-Idle Interval Example, page 156
Adjusting the Interval between Hello BPDUs Example
The following example shows how to change the hello interval to 5 seconds in bridge group 10:
Switch(config)#
bridge 10 hello-time 5
Changing the Forward-Delay Interval Example
The following example shows how to change the forward-delay interval to 10 seconds in bridge
group 10:
Switch(config)#
bridge 10 forward-time 10
Changing the Maximum-Idle Interval Example
The following example shows how to change the maximum-idle interval to 30 seconds in bridge
group 10:
Switch(config)#
bridge 10 max-age 30
Disabling the Spanning Tree on an Interface Example
The following example shows how to disable spanning tree on an interface in bridge group 10:
Switch(config)#
interface gigabitethernet0/1
Switch(config-if)#
bridge group 10 spanning-disabled