3com S7906E Manuel De Montage

Page de 2621
 
1-17 
Configuration procedure 
 
 
Make sure that Switch A and Switch B have the corresponding VLAN interfaces created and are 
reachable to each other.  
 
Configuration on Switch A 
# Enable IPv6. 
<SwitchA> system-view 
[SwitchA] ipv6 
# Configure an IPv4 address for VLAN-interface 100. 
[SwitchA] interface vlan-interface 100 
[SwitchA-Vlan-interface100] ip address 2.1.1.1 24 
[SwitchA-Vlan-interface100] quit 
# Configure an IPv6 address for VLAN-interface 101. 
[SwitchA] interface vlan-interface 101 
[SwitchA-Vlan-interface101] ipv6 address 2002:0201:0101:1::1/64 
[SwitchA-Vlan-interface101] quit 
# Configure a 6to4 tunnel. 
[SwitchA] interface tunnel 0 
[SwitchA-Tunnel0] ipv6 address 2002:201:101::1/64 
[SwitchA-Tunnel0] source vlan-interface 100 
[SwitchA-Tunnel0] tunnel-protocol ipv6-ipv4 6to4 
[SwitchA-Tunnel0] quit 
# Create service loopback group 1 to support the tunnel service. 
[SwitchA] service-loopback group 1 type tunnel 
# Add GigabitEthernet 2/0/3 to service loopback group 1. 
[SwitchA] interfaceGigabitEthernet 2/0/3 
[SwitchA-GigabitEthernet2/0/3] undo stp enable 
[SwitchA-GigabitEthernet2/0/3] port service-loopback group 1 
[SwitchA-GigabitEthernet2/0/3] quit 
# Reference service loopback group 1 on the tunnel. 
[SwitchA] interface tunnel 0 
[SwitchA-Tunnel0] service-loopback-group 1 
[SwitchA-Tunnel0] quit 
# Configure a static route whose destination address is 2002::/16 and next-hop is the tunnel interface. 
[SwitchA] ipv6 route-static 2002:: 16 tunnel 0 
Configuration on Switch B 
# Enable IPv6.