HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Conf - Page 108
On Switch A, use the, Con Switch
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 108 highlights
• IPv6 is enabled for the host to automatically obtain an IPv6 address through IPv6 ND, and a route to Switch B is available. Figure 48 Network diagram The VLAN interfaces have been created on the switch. Configuration procedure 1. Configure Switch A: # Enable IPv6. system-view [SwitchA] ipv6 # Specify a global unicast address for VLAN-interface 2. [SwitchA] interface vlan-interface 2 [SwitchA-Vlan-interface2] ipv6 address 3001::1/64 [SwitchA-Vlan-interface2] quit # Specify a global unicast address for VLAN-interface 1, and allow it to advertise RA messages (no interface advertises RA messages by default). [SwitchA] interface vlan-interface 1 [SwitchA-Vlan-interface1] ipv6 address 2001::1/64 [SwitchA-Vlan-interface1] undo ipv6 nd ra halt [SwitchA-Vlan-interface1] quit 2. Configure Switch B: # Enable IPv6. system-view [SwitchB] ipv6 # Configure a global unicast address for VLAN-interface 2. [SwitchB] interface vlan-interface 2 [SwitchB-Vlan-interface2] ipv6 address 3001::2/64 [SwitchB-Vlan-interface2] quit # Configure an IPv6 static route with destination IP address 2001::/64 and next hop address 3001::1. [SwitchB] ipv6 route-static 2001:: 64 3001::1 3. Configure the host: # Enable IPv6 for Host to automatically obtain an IPv6 address through IPv6 ND. # On Switch A, use the ping ipv6 command to ping Switch B for the connectivity. [SwitchA] ping ipv6 3001::1 PING 3001::1 : 56 data bytes, press CTRL_C to break Reply from 3001::1 bytes=56 Sequence=0 hop limit=64 time = 3 ms Reply from 3001::1 bytes=56 Sequence=1 hop limit=64 time = 2 ms Reply from 3001::1 100