background image

Command Manual – VLAN-VPN 
H3C S3100-52P Ethernet Switch 

Chapter 2  Selective QinQ Configuration Commands

 

2-2 

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 inter-VLAN MAC address replicating feature is disabled on any port by default.  

In a selective QinQ application, you can configure this feature to: 

z

 

Replicate MAC address entries in the MAC address tables of the outer VLANs 

configured in selective QinQ to the MAC address table of the default VLAN of the 

downlink port. This is for forwarding uplink packets to the operator network. 

z

 

Replicate MAC address entries in the MAC address table of the default VLAN of 

the downlink port to the MAC address tables of all the outer VLANs configured in 

selective QinQ. This is for forwarding packets from the operator network to the 

user networks. 

Examples 

# Enable the inter-VLAN MAC address replicating feature for Ethernet1/0/1 to replicate 

the MAC address entries between the MAC address table of VLAN 4 (the default VLAN) 

and that of the outer 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  

[Sysname-Ethernet1/0/1] mac-address-mapping 1 source-vlan 10 

destination-vlan 4 

2.1.2  raw-vlan-id inbound 

Syntax 

raw-vlan-id inbound

 

vlan-id-list 

undo raw-vlan-id inbound 

{

 all | vlan-id-list 

}

 

View 

QinQ view 

Parameters 

vlan-id-list

: Lists of VLAN IDs. After receiving packets of these VLANs, the switch will 

encapsulate the packets with the specified outer VLAN tag. You need to provide this 

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. 

Summary of Contents for S3100-52P

Page 1: ...vlan vpn inner cos trust 1 3 1 1 4 vlan vpn priority 1 3 1 1 5 vlan vpn tpid 1 5 Chapter 2 Selective QinQ Configuration Commands 2 1 2 1 Selective QinQ Configuration Commands 2 1 2 1 1 mac address ma...

Page 2: ...onfiguration of the current system Sysname display port vlan vpn Ethernet1 0 6 VLAN VPN status enabled VLAN VPN VLAN 1 VLAN VPN inner cos trust status disable VLAN VPN TPID 8100 Table 1 1 Description...

Page 3: ...VLAN VPN feature for a port By default the VLAN VPN feature is disabled With the VLAN VPN feature enabled a received packet is tagged with the default VLAN tag of the receiving port no matter whether...

Page 4: ...acket Use the undo vlan vpn inner cos trust command to disable the feature By default the inner to outer tag priority replicating feature is disabled and the switch will use the priority of the receiv...

Page 5: ...oad 5 Video 6 Voice 7 Network management Note For descriptions on the 802 1p priority values and the keywords listed in Table 1 2 refer to Qos QoS Profile Operation Description Use the vlan vpn priori...

Page 6: ...ID value in hexadecimal format in the range 0x0001 to 0xFFFF Description Use the vlan vpn tpid command to set the TPID value for a port With the TPID value set on a port the port fills the value to th...

Page 7: ...806 IP 0x0800 MPLS 0x8847 0x8848 IPX 0x8137 IS IS 0x8000 LACP 0x8809 802 1x 0x888E Note Besides the default TPID value you can configure only one TPID value on an S3100 52P switch Examples Set the TPI...

Page 8: ...urce 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 need to provide the source vlan...

Page 9: ...ng packets from the operator network to the user networks Examples Enable the inter VLAN MAC address replicating feature for Ethernet1 0 1 to replicate the MAC address entries between the MAC address...

Page 10: ...cannot be tagged with different outer VLAN tags To change the outer VLAN tag of a packet you need to remove the existing outer VLAN tag configuration and configure a new outer VLAN tag Before configur...

Page 11: ...guring this command on a port make sure that the vlan vpn enable command is configured on the port By default no selective QinQ policy is configured on a port After specifying an outer VLAN tag and en...

Page 12: ...rt view Parameters protocol type Protocol type packets of which will be transmitted through a BPDU tunnel This argument can be a keyword listed in Table 3 1 Table 3 1 Description on the protocol name...

Page 13: ...h the BPDU tunnel when the port receives such a packet it will use the specified private multicast MAC address to replace the original destination MAC address of the packet before sending it As a resu...

Page 14: ...mac command to configure the destination MAC address for protocol packets transmitted along a BPDU tunnel Use the undo bpdu tunnel tunnel dmac command to restore the default destination MAC address By...

Page 15: ...w Any view Parameters None Description Use the display bpdu tunnel command to display the private multicast MAC address configured for protocol packets transmitted along the BPDU tunnel s Related comm...

Reviews: