C
HAPTER
19
| MAC Commands
– 296 –
mac add This command adds a static MAC address to the specified port and VLAN.
SYNTAX
mac add mac-address port-list [vlan-id]
mac-address - Physical address of a device mapped to a port.
port-list - A specific port or a range of ports. (Range: 1-28, all, or
none)
vlan-id - VLAN identifier. (Range: 1-4095)
DEFAULT SETTING
No static addresses are configured.
COMMAND USAGE
◆ A static address can be assigned to a specific port on this switch. Static
addresses are bound to the assigned port and will not be moved. When
a static address is seen on another port, the address will be ignored
and will not be written to the address table.
◆ A static address cannot be learned on another port until the address is
removed with the mac delete command (see page 296).
EXAMPLE
MAC>add 00-12-cf-94-34-dd 1 1
MAC>
mac delete This command deletes a MAC address entry from the specified VLAN.
SYNTAX
mac delete mac-address [vlan-id]
mac-address - Physical address of a device mapped to a port.
vlan-id - VLAN identifier. (Range: 1-4095)
COMMAND USAGE
If the VLAN identifier is not specified, all entries found in the address table
are deleted.
EXAMPLE
MAC>del 00-12-cf-94-34-dd
MAC>