H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual page 234

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

[SwitchA-behavior-b33] quit
[SwitchA] qos policy p11
[SwitchA-policy-p11] classifier c11 behavior b11
[SwitchA-policy-p11] classifier c22 behavior b22
[SwitchA-policy-p11] classifier c33 behavior b33
[SwitchA-policy-p11] quit
[SwitchA] qos policy p22
[SwitchA-policy-p22] classifier c44 behavior b11
[SwitchA-policy-p22] classifier c55 behavior b22
[SwitchA-policy-p22] classifier c66 behavior b33
[SwitchA-policy-p22] quit
# Assign customer-side port Ethernet 1/0/1 to CVLANs 1 to 3, and SVLANs 101, 201, and 301,
and enable basic QinQ, and apply uplink policy p1 to the incoming traffic and downlink policy
p11 to the outgoing traffic.
[SwitchA] interface ethernet 1/0/1
[SwitchA-Ethernet1/0/1] port link-type trunk
[SwitchA-Ethernet1/0/1] port trunk permit vlan 1 2 3 101 201 301
[SwitchA-Ethernet1/0/1] qinq enable
[SwitchA-Ethernet1/0/1] qos apply policy p1 inbound
[SwitchA-Ethernet1/0/1] qos apply policy p11 outbound
[SwitchA-Ethernet1/0/1] quit
# Assign customer-side port Ethernet 1/0/2 to CVLANs 1 to 3, and SVLANs 102, 202, and 302,
enable basic QinQ, and apply uplink policy p2 to the incoming traffic and downlink policy p22 to
the outgoing traffic.
[SwitchA] interface ethernet 1/0/2
[SwitchA-Ethernet1/0/2] port link-type trunk
[SwitchA-Ethernet1/0/2] port trunk permit vlan 1 2 3 102 202 302
[SwitchA-Ethernet1/0/2] qinq enable
[SwitchA-Ethernet1/0/2] qos apply policy p2 inbound
[SwitchA-Ethernet1/0/2] qos apply policy p22 outbound
[SwitchA-Ethernet1/0/2] quit
# Assign network-side port Ethernet 1/0/3 to all SVLANs.
[SwitchA] interface ethernet 1/0/3
[SwitchA-Ethernet1/0/3] port link-type trunk
[SwitchA-Ethernet1/0/3] port trunk permit vlan 101 201 301 102 202 302
Configure Switch B by using the same procedure as on Switch A.
2.
Configure Switch C:
3.
# Enable DHCP snooping.
<SwitchC> system-view
[SwitchC] dhcp-snooping
# Create the CVLANs and SVLANs, and enable ARP detection in each VLAN.
[SwitchC] vlan 101
[SwitchC-vlan101] arp detection enable
[SwitchC-vlan101] vlan 201
[SwitchC-vlan201] arp detection enable
[SwitchC-vlan201] vlan 301
[SwitchC-vlan301] arp detection enable
219

Advertisement

Table of Contents
loading

Table of Contents