3com S7906E Manuel De Montage

Page de 2621
 
1-23 
 
[SwitchC] interface gigabitethernet 2/0/2 
[SwitchC-GigabitEthernet2/0/2] port link-type trunk 
[SwitchC-GigabitEthernet2/0/2] port trunk permit vlan 111 211 311 112 212 312 501 502 503 
# Enable customer-side QinQ on GigabitEthernet 2/0/2.  
[SwitchC-GigabitEthernet2/0/2] qinq enable downlink 
# Apply the uplink policy p2 to the inbound direction of GigabitEthernet 2/0/2.  
[SwitchC-GigabitEthernet2/0/2] qos apply policy p2 inbound 
[SwitchC-GigabitEthernet2/0/2] quit 
# Configure GigabitEthernet 2/0/3 to permit frames of the specified SVLANs to pass through.  
[SwitchC] interface gigabitethernet 2/0/3 
[SwitchC-GigabitEthernet2/0/3] port link-type trunk 
[SwitchC-GigabitEthernet2/0/3] port trunk permit vlan 501 502 503 
# Configure GigabitEthernet 2/0/3 as a DHCP snooping trusted port.  
[SwitchC-GigabitEthernet2/0/3] dhcp-snooping trust 
# Configure GigabitEthernet 2/0/3 as an ARP trusted port.  
[SwitchC-GigabitEthernet2/0/3] arp detection trust 
# Enable SP-side QinQ on GigabitEthernet 2/0/3.  
[SwitchC-GigabitEthernet2/0/3] qinq enable uplink 
4)  Configuration on Switch D 
<SwitchD> system-view 
# Enable DHCP snooping.  
[SwitchD] dhcp-snooping 
# Configure GigabitEthernet 2/0/1 to permit frames of the specified SVLANs to pass through.  
[SwitchD] interface gigabitethernet 2/0/1 
[SwitchD-GigabitEthernet2/0/1] port link-type trunk 
[SwitchD-GigabitEthernet2/0/1] port trunk permit vlan 501 502 503 
# Configure GigabitEthernet 2/0/1 as a DHCP snooping trusted port and disable DHCP snooping to 
record the IP-to-MAC bindings for DHCP clients on it.  
[SwitchD-GigabitEthernet2/0/1] dhcp-snooping trust no-user-binding 
One-to-Two/Two-to-Two VLAN Mapping Configuration Example 
Network requirements 
Two users of the same VPN are in VLAN 10 and VLAN 30 respectively.  
SP 1 assigns VLAN 100 to VPN 1 users, and SP 2 assigns VLAN 200 to VPN 1 users.  
Configure one-to-two and two-to-two VLAN mappings to allow the users that belong to the same VPN 
but are located in different regions to communicate with each other across the networks of SP 1 and SP 
2.