EasyManuals Logo

H3C S7500E Series Command Manual

H3C S7500E Series
1565 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 #186 background imageLoading...
Page #186 background image
Command Manual – MAC Address Table Management
H3C S7500E Series Ethernet Switches
Chapter 1 MAC Address Table Management
Configuration Commands
1-4
1.1.4 mac-address (Ethernet port view)
Syntax
mac-address { dynamic | static } mac-address vlan vlan-id
undo mac-address { dynamic | static } mac-address vlan vlan-id
View
Ethernet port view
Parameters
dynamic: Dynamic MAC address entries. Aging time is set for these entries.
static: Static MAC address entries. Similar to blackhole MAC address entries, these
entries do not age but you can add or remove them.
mac-address: Specifies a MAC address in the format of H-H-H.
vlan vlan-id: Specifies the VLAN to which the Ethernet port belongs., where vlan-id is
the specified VLAN ID, in the range 1 to 4094.
Description
Use the mac-address command to add or modify a MAC address entry on a specified
Ethernet port.
Use the undo mac-address command to remove a MAC address entry on the
Ethernet port.
Note that:
z As your MAC address entries configuration cannot survive a reboot, save it after
completing the configuration. The dynamic MAC address table entries however
will be lost whether you save the configuration or not.
z You cannot configure a static or dynamic MAC address entry on an aggregation
port.
Related commands: display mac-address.
Examples
# Add a static entry for MAC address 00e0-fc01-0101 on port Ethernet 2/0/1 which
belongs to VLAN 2.
<Sysname> system-view
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] mac-address static 00e0-fc01-0101 vlan 2

Table of Contents

Other manuals for H3C S7500E Series

Questions and Answers:

Question and Answer IconNeed help?

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

H3C S7500E Series Specifications

General IconGeneral
BrandH3C
ModelS7500E Series
CategorySwitch
LanguageEnglish

Related product manuals