55
Use
“Interface” command to configure a group of ports’ MAC Table settings.
MAC & Interface command
Parameter
Description
Switch(config)# interface
[port_list]
[port_list]
Enter several discontinuous port
numbers separated by commas or a
range of ports with a hyphen. For
example:1,3 or 2-4
Switch(config-if-PORT-
PORT)# mac address-table
static-mac [xx:xx:xx:xx:xx:xx]
vlan [1-4094]
[xx:xx:xx:xx:xx:xx] Create a MAC address to VLAN entry.
Specify a MAC address.
[1-4094]
Specify the VLAN where the packets
with the Destination MAC address can
be forwarded.
Switch(config-if-PORT-
PORT)# mac learning
Enable MAC learning function.
No command
Switch(config-if-PORT-
PORT)# no mac address-
table static-mac
[xx:xx:xx:xx:xx:xx] vlan [1-
4094]
[xx:xx:xx:xx:xx:xx] Remove the specified MAC address
from the address table.
[1-4094]
Specify the VLAN to which the
specified MAC belongs.
Switch(config-if-PORT-
PORT)# no mac learning
Disable MAC learning function.
Show command
Switch(config)# show mac address-table
Show MAC addresses learned by the
Managed Switch
Switch(config)# show mac address-table clear
Clear MAC address table.
Switch(config)# show mac address-table interface
[port_list]
Show MAC addresses learned by the
specified interfaces.
Switch(config)# show mac address-table mac
[mac-addr]
Show the specific MAC address
information.
Switch(config)# show mac learning
Show MAC learning setting of each
interface.
Switch(config)# show mac static-mac
Show static MAC address table.
Switch(config)#show mac aging-time
Show current MAC address table
aging time or verify currently
configured aging time.
2.6.13 Management Command
Command
Parameter Description
Switch(config)# management
console timeout [0 | 5-9999]
[0 | 5-
9999]
To disconnect the Managed Switch when
console management is inactive for a
certain period of time.
Specify
“0” to disable timeout function.
The allowable value is from 5 to 9999
seconds.
Switch(config)# management
telnet
To management the Managed Switch via
Telnet.
Summary of Contents for FOS-3126-PLUS SERIES
Page 186: ...186 Restart DHCP service...