EasyManuals Logo

H3C S3600 Series Command Manual

H3C S3600 Series
1277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #214 background imageLoading...
Page #214 background image
1-5
mac-address-attribute: Specifies the criteria for removing MAC address entries. Available syntax
options for the argument are described in
Table 1-3.
Table 1-3 Available syntax options for the mac-address-attribute argument
Syntax Description
{ static | dynamic | blackhole } interface
interface-type interface-number
Removes the static, dynamic, or blackhole MAC
address entries concerning a specified port.
{ static | dynamic | blackhole } vlan vlan-id
Removes the static, dynamic, or blackhole MAC
address entries concerning a specified VLAN.
{ static | dynamic | blackhole } mac-address
[ interface interface-type interface-number ]
vlan vlan-id
Removes a specified static, dynamic, or
blackhole 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 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:
z MAC address: 000f-e20f-0101
z Outbound port: Ethernet 1/0/1 port
z Ethernet 1/0/1 port belongs to VLAN 2.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] mac-address static 000f-e20f-0101 interface Ethernet 1/0/1 vlan 2
mac-address aging destination-hit enable
Syntax
mac-address aging destination-hit enable
undo mac-address aging destination-hit enable

Table of Contents

Other manuals for H3C S3600 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3600 Series and is the answer not in the manual?

H3C S3600 Series Specifications

General IconGeneral
BrandH3C
ModelS3600 Series
CategorySwitch
LanguageEnglish

Related product manuals