3Com 7750 Series Switch User Manual


  Open as PDF
of 1177
 
3Com Switch 7750 Series
Command Reference Guide – MAC Address Table
Chapter 1 MAC Address Table Configuration
Commands
1-5
dynamic: Specifies that the MAC address entry to be added/updated is of dynamic
type.
mac-address: MAC address.
interface-type: Port type.
interface-number: Port number.
vlan-id: VLAN ID. This argument ranges from 1 to 4094.
mac-address-attribute: String used to specify the MAC address entries to be removed,
as described in
Table 1-3.
Table 1-3 Description on the mac-address-attribute argument
Value Description
{ static | dynamic } interface
interface-type interface-number
Removes the static or dynamic MAC
address entries concerning a specified port.
{ static | dynamic } vlan vlan-id
Removes the static or dynamic MAC
address entries concerning a specified
VLAN.
{ static | dynamic } mac-address
[ interface interface-type
interface-number ] vlan vlan-id
Removes a specified static or dynamic MAC
address entry.
interface interface-type
interface-number
Removes all the MAC address entries
concerning a specified port.
vlan vlan-id
Removes all the MAC address entries
concerning a specified VLAN.
mac-address [ interface
interface-type interface-number ]
vlan vlan-id
Removes a specified MAC address entry.
Description
Use the mac-address command to add/modify a MAC address entry.
Use the undo mac-address command to remove one or more MAC address entries.
If the MAC address you input in the mac-address command already exists in the MAC
address table, the system will modify the attributes of the corresponding MAC address
entry according to your settings in the command.
You can remove all MAC address entries (unicast MAC addresses only) concerning a
specific port, or remove a specific type of MAC address entries, such as the addresses
learnt by the system and dynamic or static MAC address entries configured.
Example
# Configure a static MAC address entry with the following settings: