The syntax for configuring a static MAC address is
mac-address-table static {mac-addr} vlan {vlan-id} interface {intf-type intf-num}
mac-address-table static {mac-addr} {intf-type intf-num} vlan {vlan-id} (Cisco IOS Release 12.0)
The example below configures a static MAC entry for the NIC with 1111.1111.1111. Connection of the NIC to interfaces other than Fa0/1 will have connectivity but no accessibility.
Switch(config)#mac-address-table static 1111.1111.1111 vlan 1 int Fa0/1
No comments:
Post a Comment