Configuring MAC Address-Based Traffic Blocking
To block all traffic to or from a MAC address in a specified VLAN, perform this task:
Router(config)# mac-address-table static mac_address vlan vlan_ID drop
Blocks all traffic to or from the configured MAC address in the specified VLAN.
Router(config)# no mac-address-table static mac_address vlan vlan_ID
Clears MAC address-based blocking.
This example shows how to block all traffic to or from MAC address 0050.3e8d.6400 in VLAN 12:
Router# configure terminal
Router(config)# mac-address-table static 0050.3e8d.6400 vlan 12 drop
Nessun commento:
Posta un commento