H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples

QACL Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 2 QACL Configuration Examples
2-12
# Configure GigabitEthernet 2/0/1 as a hybrid port and configure VLAN 100 as its
default VLAN. Configure GigabitEthernet 2/0/1 to forward packets of VLAN 100 and
VLAN 200 with the outer VLAN tag removed.
[H3C] interface GigabitEthernet 2/0/1
[H3C-GigabitEthernet2/0/1] port link-type hybrid
[H3C-GigabitEthernet2/0/1] port hybrid pvid vlan 100
[H3C-GigabitEthernet2/0/1] port hybrid vlan 100 200 untagged
# Enable QinQ on GigabitEthernet 2/0/1.
[H3C-GigabitEthernet2/0/1] vlan-vpn enable
# Configure flow-based selective QinQ on GigabitEthernet 2/0/1 to tag packets whose
source MAC addresses are in the range of 1234-5678-9000 to 1234-5678-90FF with
VLAN 200.
[H3C-GigabitEthernet2/0/1] qos
[H3C-qosb-GigabitEthernet2/0/1] traffic-remark-vlanid inbound link-group
4000 remark-vlan 200
2) Configuration on Switch B
# Configure GigabitEthernet 2/0/2 to be a hybrid port and to forward packets of VLAN
100 without removing the outer VLAN tag.
[H3C] interface GigabitEthernet 2/0/2
[H3C-GigabitEthernet2/0/2] port link-type hybrid
[H3C-GigabitEthernet2/0/2] port hybrid vlan 100 tagged
[H3C-GigabitEthernet2/0/2] quit
# Configure GigabitEthernet 2/0/1 as a hybrid port and configure VLAN 100 as its
default VLAN. Configure GigabitEthernet 2/0/1 to forward packets of VLAN 100 with the
outer VLAN tag removed.
<H3C> system-view
[H3C] interface GigabitEthernet 2/0/1
[H3C-GigabitEthernet2/0/1] port link-type hybrid
[H3C-GigabitEthernet2/0/1] port hybrid pvid vlan 100
[H3C-GigabitEthernet2/0/1] port hybrid vlan 100 untagged
# Enable QinQ on GigabitEthernet 2/0/1.
[H3C-GigabitEthernet2/0/1] vlan-vpn enable
3) Configuration on Switch C
# Configure GigabitEthernet 2/0/2 to be a hybrid port and to forward packets of VLAN
200 without removing the outer VLAN tag.
[H3C] interface GigabitEthernet 2/0/2
[H3C-GigabitEthernet2/0/2] port link-type hybrid
[H3C-GigabitEthernet2/0/2] port hybrid vlan 200 tagged
[H3C-GigabitEthernet2/0/2] quit