Mac / Filter Table Commands Set

Commands

Command Level

Description

Defaults

Example

 

 

 

 

 

 

 

 

 

(Enable)

 

 

 

 

Switch (config)#

 

 

Use the mac-address-table

 

mac-address-table aging-time

 

 

 

on

 

 

aging-time global

 

 

 

 

 

mac-address-table

 

configuration command to set

 

Switch (config)#

aging-time [on off]

 

the length of time that a

 

 

 

mac-address-table aging-time

 

 

dynamic entry remains in the

 

 

Global

 

333

mac-address-table

MAC address table after the

300 secs

configuration mode

 

aging-time [sec.]

entry is used or updated.

 

 

 

 

(Disable)

or no mac-address-table

 

Use the no form of this

 

 

 

Switch (config)#

aging-time

 

command to use the default

 

 

 

mac-address-table aging-time

 

 

aging-time interval. The aging

 

 

 

 

off

 

 

time applies to all VLANs.

 

 

 

 

Or

 

 

 

 

 

 

 

 

Switch(config)# no

 

 

 

 

mac-address-table aging-time

 

 

 

 

 

 

 

Use the mac-address-table

 

Switch (config)# interface

 

 

static to add static filter

 

mac-address-table table

 

 

fastEthernet 0/2

 

addresses to the MAC

 

[static filter] hwaddr

Interface

 

Switch (config-if)#

address table. Use the no

N/A

[MAC address] vlanid

configuration mode

mac-address-table static

form of this command to

 

[VLAN-ID]

 

 

hwaddr 004063112233 vlanid

 

remove static entries from the

 

 

 

 

10

 

 

MAC address table.

 

 

 

 

 

 

 

 

 

 

 

 

Use the no

 

Switch (config)# interface

no mac-address-table

 

 

fastEthernet 0/2

 

mac-address-table privileged

 

[static filter] hwaddr

Interface

 

Switch (config-if)# no

EXEC command to delete

 

[MAC address] vlanid

configuration mode

 

mac-address-table static

entries from the MAC

 

[VLAN-ID]

 

 

hwaddr 004063112233 vlanid

 

address table.

 

 

 

 

10

 

 

 

 

 

 

 

 

 

29

Page 37
Image 37
Milan Technology MIL-SM8002TG manual Mac / Filter Table Commands Set