Mac-Address Max-Mac-Count - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

{ 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 max-mac-count

Syntax
mac-address max-mac-count count
undo mac-address max-mac-count
View
Ethernet port view
Syntax
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