Mac / Filter Table Commands Set
Commands | Command Level | Description | Defaults | Example | |
|
|
|
|
| |
|
|
|
| (Enable) | |
|
|
|
| Switch (config)# | |
|
| Use the |
| ||
|
|
| on | ||
|
|
| |||
|
|
|
| ||
| configuration command to set |
| Switch (config)# | ||
| the length of time that a |
| |||
|
| ||||
|
| dynamic entry remains in the |
| ||
| Global |
| 333 | ||
MAC address table after the | 300 secs | ||||
configuration mode |
| ||||
entry is used or updated. |
|
| |||
|
| (Disable) | |||
or no |
| Use the no form of this |
| ||
|
| Switch (config)# | |||
| command to use the default |
| |||
|
| ||||
|
|
| |||
|
|
| off | ||
|
| time applies to all VLANs. |
| ||
|
|
| Or | ||
|
|
|
| ||
|
|
|
| Switch(config)# no | |
|
|
|
| ||
|
|
|
|
| |
|
| Use the |
| Switch (config)# interface | |
|
| static to add static filter |
| ||
|
| fastEthernet 0/2 | |||
| addresses to the MAC |
| |||
[static filter] hwaddr | Interface |
| Switch | ||
address table. Use the no | N/A | ||||
[MAC address] vlanid | configuration mode | ||||
form of this command to |
| ||||
|
|
| hwaddr 004063112233 vlanid | ||
| remove static entries from the |
| |||
|
|
| 10 | ||
|
| MAC address table. |
| ||
|
|
|
| ||
|
|
|
|
| |
|
| Use the no |
| Switch (config)# interface | |
no |
|
| fastEthernet 0/2 | ||
|
| ||||
[static filter] hwaddr | Interface |
| Switch | ||
EXEC command to delete |
| ||||
[MAC address] vlanid | configuration mode |
| |||
entries from the MAC |
| ||||
|
| hwaddr 004063112233 vlanid | |||
| address table. |
| |||
|
|
| 10 | ||
|
|
|
| ||
|
|
|
|
|
29