Mac-Address Aging Destination-Hit Enable - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

mac-address-attribute: Specifies the criteria for removing MAC address entries. Available syntax
options for the argument are described in
Table 1-3 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: Ethernet 1/0/1 port
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
Syntax
1-3.
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-5
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents