Configuring the secpath as a gateway, Verifying the configuration – H3C Technologies H3C SecPath F1000-E User Manual

Page 747

Advertising
background image

722

# Configure the IPv6 addresses of GigabitEthernet 0/1 and GigabitEthernet 0/2 respectively.

[SecPath] interface GigabitEthernet 0/2

[SecPath-GigabitEthernet0/2] ipv6 address 2::1 64

[SecPath-GigabitEthernet0/2] quit

[SecPath] interface GigabitEthernet 0/1

[SecPath-GigabitEthernet0/1] ipv6 address 1::1 64

# Enable DHCPv6 relay agent and specify the DHCPv6 server address on interface GigabitEthernet
0/1.

[SecPath-GigabitEthernet0/1] ipv6 dhcp relay server-address 2::2

Configuring the SecPath as a gateway

# Enable Router A to send RA messages and turn on the M and O flags.

[SecPath-GigabitEthernet0/1] undo ipv6 nd ra halt

[SecPath-GigabitEthernet0/1] ipv6 nd autoconfig managed-address-flag

[SecPath-GigabitEthernet0/1] ipv6 nd autoconfig other-flag

Verifying the configuration

# After completing the configurations, display DHCPv6 server address information on the SecPath.

[SecPath-GigabitEthernet0/1] display ipv6 dhcp relay server-address all

Interface:GE0/1

Server address(es) Output Interface

2::2

# Display packet statistics on the DHCPv6 relay agent.

[SecPath-GigabitEthernet0/1] display ipv6 dhcp relay statistics

Packets dropped : 0

Error : 0

Excess of rate limit : 0

Packets received : 14

SOLICIT : 0

REQUEST : 0

CONFIRM : 0

RENEW : 0

REBIND : 0

RELEASE : 0

DECLINE : 0

INFORMATION-REQUEST : 7

RELAY-FORWARD : 0

RELAY-REPLY : 7

Packets sent : 14

ADVERTISE : 0

RECONFIGURE : 0

REPLY : 7

RELAY-FORWARD : 7

RELAY-REPLY : 0

Advertising