Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 2 MAC Address Table Management
Commands
Huawei Technologies Proprietary
2-3
undo mac
-
address
[
static
|
dynamic
] [
mac
-
addr
[
interface interface
-
type
interface-
number
vlan
vlan
-
id
|
interface interface
-
type interface
-
number
|
vlan
vlan
-
id
]
View
System view
Parameter
static
: Static table entry, lost after resetting switch.
dynamic
: Dynamic table entry, which will be aged.
mac-addr
: Specifies the MAC address.
For detailed description on
interface
-
type
and
interface
-
number
see Port Configuration
section of this manual.
vlan-id
: Specifies the VLAN ID.
Description
Use the
mac-address
command to add/modify the MAC address table entry.
Use the
undo mac-address
command to cancel the MAC address table entry
If the input address has been existed in the address table, the original entry will be
modified. That is, replace the interface pointed by this address with the new interface
and the entry attribute with the new attribute (dynamic entry, static entry and permanent
entry).
All the (MAC unicast) addresses on a certain interface can be deleted. User can choose
to delete any of the following addresses: address learned by system automatically,
dynamic address configured by user, static and permanent addresses configured by
user.
Related command:
display mac-address
.
Example
# Configure the port number corresponding to the MAC address 00e0-fc01-0101 as
Ethernet2/1/1 in the address table, and sets this entry as static entry.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] mac-address static 00e0-fc01-0101 interface ethernet 2/1/1 vlan 2
2.1.4 mac-address max-mac-count
Syntax
mac
-
address max
-
mac
-
count count
undo mac-address max-mac-count
Содержание Quidway S8500 Series
Страница 53: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Port Huawei Technologies Proprietary ...
Страница 145: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual VLAN QinQ Huawei Technologies Proprietary ...
Страница 184: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Network Protocol Huawei Technologies Proprietary ...
Страница 276: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Routing Protocol Huawei Technologies Proprietary ...
Страница 493: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Multicast Protocol Huawei Technologies Proprietary ...
Страница 622: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual QoS ACL Huawei Technologies Proprietary ...
Страница 706: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual MPLS Huawei Technologies Proprietary ...
Страница 816: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual STP Huawei Technologies Proprietary ...
Страница 867: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Security Huawei Technologies Proprietary ...
Страница 953: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Reliability Huawei Technologies Proprietary ...
Страница 972: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual System Management Huawei Technologies Proprietary ...
Страница 1180: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual PoE Huawei Technologies Proprietary ...
Страница 1198: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual NAT URPF VPLS Huawei Technologies Proprietary ...
Страница 1238: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Integrated Management Huawei Technologies Proprietary ...
Страница 1300: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Appendix Huawei Technologies Proprietary ...