Configuration Procedure; Verifying The Configuration - HP 5920 Series Configuration Manual

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

Figure 55 Network diagram

Configuration procedure

This example assumes that the VLAN interfaces have been created on the switches.
Configure Switch A:
1.
# Specify a global unicast address for VLAN-interface 2.
<SwitchA> system-view
[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
Configure Switch B:
2.
# Configure a global unicast address for VLAN-interface 2.
<SwitchB> system-view
[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
Configure the host:
3.
Enable IPv6 for the host to automatically obtain an IPv6 address through IPv6 ND.
# Display the neighbor information about Ten-GigabitEthernet 1/0/2 on Switch A.
[SwitchA] display ipv6 neighbors interface Ten-GigabitEthernet 1/0/2
IPv6 Address
FE80::215:E9FF:FEA6:7D14
2001::15B:E0EA:3524:E791
The output shows that the IPv6 global unicast address that Host obtained is
2001::15B:E0EA:3524:E791.

Verifying the configuration

# Display the IPv6 interface settings on Switch A. All IPv6 global unicast addresses configured on the
interface are displayed.
[SwitchA] display ipv6 interface vlan-interface 2
Type: S-Static
D-Dynamic
Link Layer
0015-e9a6-7d14
0015-e9a6-7d14
131
I-Invalid
VID
Interface
State T Age
1
XGE1/0/2
1
XGE1/0/2
STALE D 1238
STALE D 1248

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents