Command Guide of WGSW-28040
213
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.
You can verify your setting by entering the
show mac address-table static
Privileged EXEC command
Example:
This example shows how to add filter mac addresses to the MAC address table.
Switch(config)#
mac address-table static a:b:c:d:e:f vlan 20 drop
Switch#
show mac address-table static
VID | MAC Address | Type | Ports -----+-------------------------+-----------
`
------
---------+---------------- 1 | 00:30:4F:03:04:05 | Static | gi5
100 | 00:30:4F:09:0A:0B | Static | gi1,gi5,gi10 20 | 00:30:4F:0D:0E:0F | Filtering | All
Total number of entries: 3
4.15.5 show mac address-table
Command:
show mac address-table [(static|dynamic)] [interfaces IF_PORTS] [vlan <1-4094>]
show mac address-table A:B:C:D:E:F [vlan <1-4094>]
Parameter:
static
Add/Edit login authentication list
dynamic
Displays only static MAC address table entries.
IF_PORTS
Displays entries for a specific interface ID. The interface ID can be one of the following
types: Ethernet port or port-channel.
<1-4094>
Displays entries for a specific VLAN.
A:B:C:D:E:F
Displays entries for a specific MAC address.
Mode:
Privileged EXEC
Usage Guide:
Use the show mac address-table command in EXEC mode to view entries in the MAC address table.
Example:
This example shows all MAC address entries in mac address table.
Содержание WGSW-28040
Страница 1: ...Command Guide of WGSW 28040 1 ...
Страница 163: ...Command Guide of WGSW 28040 163 gi1 replace gi2 deny gi3 deny gi4 deny gi5 deny More ...
Страница 167: ...Command Guide of WGSW 28040 167 gi1 1 00 11 22 33 44 55 192 168 1 55 255 255 255 255 Static NA ...
Страница 173: ...Command Guide of WGSW 28040 173 7 8 ...
Страница 300: ...Command Guide of WGSW 28040 300 fa1 enable 200 Off 10000 Off 10000 Shutdown ...