Port-Mac - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

source-vlan source-vlan-list: Specifies a list of the IDs of the VLANs, whose MAC address entries are
to be replicated to the MAC address table of the destination VLAN. You must provide the
source-vlan-list argument in the form of { vlan-id [ to vlan-id ] }&<1-10>, where the VLAN ID after the to
keyword must be larger than or equal to the VLAN ID before the to keyword and &<1-10> means that
you can specify up to 10 VLANs/VLAN ranges for this argument.
dest-vlan-id: ID of the destination VLAN for replication, in the range 1 to 4094.
all: Removes all MAC address replication configurations created on the current port.
Description
Use the mac-address-mapping command to configure MAC address replication for a port. This
feature can replicate MAC address entries of the MAC address tables of specified source VLANs to the
MAC address table of the specified destination VLAN.
Use the undo mac-address-mapping command to disable this feature.
The MAC address replication feature is disabled on any port by default.
The contents of this section are only applicable to the S3100-EI series among S3100 series switches.
Examples
# Configure MAC address replication on Ethernet1/0/1 to copy the MAC address entries of VLAN 4 to
the MAC address table of VLAN 10.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] mac-address-mapping 0 source-vlan 4 destination-vlan 10

port-mac

Syntax
port-mac start-mac-address
undo port-mac
View
System view
Parameters
start-mac-address: Start MAC address for the Ethernet ports on the switch, in the format of H-H-H. It
must be a valid unicast address.
Description
Use the port-mac command to configure the start MAC address for the Ethernet ports on the device.
This MAC address is assigned to port Ethernet 1/0/1, and is called the start port MAC address.
Use the undo port-mac command to remove the configuration.
1-8

Advertisement

Table of Contents
loading

Table of Contents