background image
616
Appendix B
Configuring the Catalyst 1900 Switch
After entering the command mac-address-table restricted static
from global configuration mode, enter the hardware address of the destina-
tion device:
Todd1900EN(config)#mac-address-table restricted static ?
H.H.H 48 bit hardware address
Todd1900EN(config)#mac-address-table restricted static
00A0.246E.0FA8 ?
Ethernet IEEE 802.3
FastEthernet FastEthernet IEEE 802.3
Once you add the hardware address of the destination device, add the
interface address this destination hardware address is associated with.
Todd1900EN(config)#mac-address-table restricted static
00A0.246E.0FA8 e0/2 ?
Ethernet IEEE 802.3
FastEthernet FastEthernet IEEE 802.3
<cr>
Now that you have entered the destination information, enter the source
interface that is allowed to communicate with the destination address.
Todd1900EN(config)#$-table restricted static
00A0.246E.0FA8 e0/2 e0/5
Once you have finished your command string, you can see the three dif-
ferent types of entries we now have in the MAC filter table by using the show
mac-address-table
command (use sh mac for a shortcut).
Todd1900EN#sh mac
Number of permanent addresses : 1
Number of restricted static addresses : 1
Number of dynamic addresses : 2
Address Dest Interface Type Source Interface List
--------------------------------------------------------
00A0.2448.60A5 Ethernet 0/4 Permanent All
00A0.246E.0FA8 Ethernet 0/2 Static Et0/5
0000.8147.4E11 Ethernet 0/5 Dynamic All
0000.8610.C16F Ethernet 0/1 Dynamic All
The command I just entered has restricted interface 0/5 to only send
frames to interface 0/2 using the destination hardware address
00A0.246E.0FA8.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com