<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mac-address multiport 0001-0001-0101 vlan 2
[Sysname-Ten-GigabitEthernet1/0/1] quit
[Sysname] interface ten-gigabitethernet 1/0/2
[Sysname-Ten-GigabitEthernet1/0/2] mac-address multiport 0001-0001-0101 vlan 2
Related commands
•
display mac-address multiport
mac-address multiport (system view)
•
mac-address multiport (system view)
Use mac-address multiport to add the specified interfaces to a multiport unicast MAC address entry.
Use undo mac-address multiport to remove the specified interfaces from a multiport unicast MAC
address entry.
Use undo mac-address to remove a multiport unicast MAC address entry.
Syntax
mac-address multiport mac-address interface interface-list vlan vlan-id
undo mac-address multiport mac-address interface interface-list vlan vlan-id
undo mac-address [ multiport ] [ [ mac-address ] vlan vlan-id ]
Default
No multiport unicast MAC address entry is configured.
Views
System view
Predefined user roles
network-admin
Parameters
multiport: Specifies a multiport unicast MAC address entry.
mac-address: Specifies a unicast MAC address in H-H-H format, excluding multicast and all-zero MAC
addresses. When entering a MAC address, you can omit the leading zeros in each H section. For
example, enter f-e2- 1 for 000f-00e2-0001.
interface interface-list: Specifies interfaces in the format of { { interface-type interface-number } [ to
{ interface-type interface-number } ] } &<1-4>. The interface type can be the Ethernet interface or
aggregate interface. &<1-4> specifies that you can configure up to 4 interfaces or interface ranges.
vlan vlan-id: Specifies an existing VLAN to which the interfaces belong. The value range for the vlan-id
argument is 1 to 4094.
Usage guidelines
A multiport unicast MAC address entry is used to send frames with a specific destination MAC address
out of multiple ports. When you execute this command for the first time, the command adds a MAC
address entry. When you execute the command again with the same MAC address and VLAN but with
different interfaces, this command adds the specified interfaces for this entry.
59