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
138
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
BackboneFast Example
The following example shows BackboneFast being enabled on the Ethernet switch module:
Router#
configure terminal
Router(config)#
spanning-tree backbonefast
Router(config)#
end
Router#
Spanning Tree Examples
The following example shows spanning tree being enabled on VLAN 200:
Router#
configure terminal
Router(config)#
spanning
-
tree
vlan
200
Router(config)#
end
Router#
Note
Because spanning tree is enabled by default, issuing a show running command to view the resulting
configuration will not display the command you entered to enable spanning tree.
The following example shows spanning tree being disabled on VLAN 200:
Router#
configure
terminal
Router(config)#
no
spanning
-
tree
vlan
200
Router(config)#
end
Router#
Spanning Tree Root Example
The following example shows the switch being configured as the root bridge for VLAN 10, with a
network diameter of 4:
Router#
configure terminal
Router(config)#
spanning
-
tree vlan 10 root primary diameter 4
Router(config)#
exit
Router#
Mac Table Manipulation Examples
The following example shows a dynamic entry being configured in the MAC address table:
Router#
configure terminal
Router (config)#
mac
-
address
-
table
dynamic
6
.
6
.
6
fastEthernet
2
/
13 vlan
1
Router (config)#
end
The following example shows a static entry being configured in the MAC address table:
Router(config)#
mac-address-table static beef.beef.beef int fa0/11 vlan 1
Router(config)#
end
Cisco Discovery Protocol (CDP) Example
The following example shows CDP counter configuration being configured on the NM-16ESW:
Router#
clear cdp counters