3Com Switch 4500 Family Manual page 186

4500 series
Hide thumbs Also See for Switch 4500 Family:
Table of Contents

Advertisement

dynamic: Specifies a dynamic MAC address entry.
blackhole: Specifies a blackhole MAC address entry.
mac-address: Specifies a MAC address, in the form of H-H-H. When entering the MAC address, you
can omit the leading 0s in each segment. For example, you can input f-e2-1 for 000f-00e2-0001.
interface-type interface-number: Specifies the outgoing port by its type and number for the MAC
address. All traffic destined for the MAC address will be sent out the port.
vlan-id: Specifies a VLAN ID, in the range of 1 to 4094. The VLAN must already exist.
mac-address-attribute: Specifies the criteria for removing MAC address entries. Available syntax
options for the argument are described in
Table 1-2 Available syntax options for the mac-address-attribute argument
{ static | dynamic | blackhole } interface
interface-type interface-number
{ static | dynamic | blackhole } vlan vlan-id
{ static | dynamic | blackhole } mac-address
[ interface interface-type interface-number ]
vlan vlan-id
interface interface-type interface-number
vlan vlan-id
mac-address [ interface interface-type
interface-number ] vlan vlan-id
Description
Use the mac-address command to add or modify a MAC address entry.
Use the undo mac-address command to remove one or more MAC address entries.
In Ethernet port view, the MAC address entry configured with the mac-address command in Ethernet
port view takes the current Ethernet port as the outgoing port.
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 unicast MAC address entries on a port, or remove a specific type of MAC address
entries, such as the addresses learnt by the system, dynamic or static MAC address entries configured,
or blackhole addresses.
Examples
# Configure a static MAC address entry with the following settings:
MAC address: 000f-e20f-0101
Outbound port: GigabitEthernet 1/0/1 port
GigabitEthernet 1/0/1 port belongs to VLAN 2.
<Sysname> system-view
Table
Syntax
1-2.
Removes the static, dynamic, or blackhole MAC
address entries concerning a specified port.
Removes the static, dynamic, or blackhole MAC
address entries concerning a specified VLAN.
Removes a specified static, dynamic, or
blackhole MAC address entry.
Removes all the MAC address entries
concerning a specified port.
Removes all the MAC address entries
concerning a specified VLAN.
Removes a specified MAC address entry.
1-4
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 26-port4500 50-port4500 pwr 26-port

Table of Contents