H3C Technologies H3C S3100 Series Switches User Manual

Page 217

Advertising
background image

1-14

# Configure MAC address replication on Ethernet 1/0/1 to copy the MAC address entries of VLAN 3 to

the MAC address table of VLAN 4.

[SwitchA-Ethernet1/0/1] mac-address-mapping 0 source-vlan 3 destination-vlan 4

[SwitchA-Ethernet1/0/1] quit

# Configure VLAN marking on Ethernet 1/0/2 to replace the VLAN tag of packets that matches ACL

3001 with VLAN tag 3.

[SwitchA] interface Ethernet 1/0/2

[SwitchA-Ethernet1/0/2] traffic-remark-vlanid inbound 3001 remark-vlan 3

# Configure MAC address replication on Ethernet 1/0/2 to copy the MAC address entries of VLAN 4 to

the MAC address table of VLAN 3.

[SwitchA-Ethernet1/0/1] mac-address-mapping 0 source-vlan 4 destination-vlan 3

Advertising