![Cisco Catalyst 2350 Скачать руководство пользователя страница 156](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583156.webp)
2-132
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
mac address-table static drop
mac address-table static drop
Use the
mac address-table static drop
global configuration command to enable unicast MAC address
filtering and to configure the switch to drop traffic with a specific source or destination MAC address.
Use the
no
form of this command to return to the default setting.
mac address-table static
mac-addr
vlan
vlan-id
drop
no mac address-table static
mac-addr
vlan
vlan-id
Syntax Description
Defaults
Unicast MAC address filtering is disabled. The switch does not drop traffic for specific source or
destination MAC addresses.
Command Modes
Global configuration
Command History
Usage Guidelines
Follow these guidelines when using this feature:
•
Multicast MAC addresses, broadcast MAC addresses, and router MAC addresses are not supported.
Packets that are forwarded to the CPU are also not supported.
•
If you add a unicast MAC address as a static address and configure unicast MAC address filtering,
the switch either adds the MAC address as a static address or drops packets with that MAC address,
depending on which command was entered last. The second command that you entered overrides the
first command.
For example, if you enter the
mac address-table static
mac-addr
vlan
vlan-id
interface
interface-id
global configuration command followed by the
mac address-table static
mac-addr
vlan
vlan-id
drop
command, the switch drops packets with the specified MAC address as a source
or destination.
If you enter the
mac address-table static
mac-addr
vlan
vlan-id
drop
global configuration
command followed by the
mac address-table static
mac-addr
vlan
vlan-id
interface
interface-id
command, the switch adds the MAC address as a static address.
mac-addr
Unicast source or destination MAC address. Packets with this MAC address are
dropped.
vlan
vlan-id
Specify the VLAN for which the packet with the specified MAC address is
received. Valid VLAN IDs are 1 to 4094.
Release
Modification
12.2(46)EY
This command was introduced.
Содержание Catalyst 2350
Страница 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...
Страница 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...
Страница 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...
Страница 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...
Страница 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...