SUMMARY STEPS
1.
enable
2.
configure terminal
3.
mac address-table static mac-addr vlan vlan-id drop
4.
end
5.
show running-config
6.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch>
enable
Step 1
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Enables unicast MAC address filtering and configure the switch
to drop a packet with the specified source or destination unicast
static address.
mac address-table static mac-addr vlan vlan-id
drop
Example:
Switch(config)#
mac address-table
Step 3
•
mac-addr
—
Specifies a source or destination unicast MAC
address (48-bit). Packets with this MAC address are
dropped.
static c2f3.220a.12f4 vlan 4 drop
•
vlan-id
—
Specifies the VLAN for which the packet with
the specified MAC address is received. Valid VLAN IDs
are 1 to 4094.
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 4
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 5
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1552
How to Administer the Switch
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......