beautypg.com

Verifying the configuration – H3C Technologies H3C SecPath F1000-E User Manual

Page 866

background image

841

[SecPathA-pbr6-lab1-20] quit

# Apply policy lab1 to GigabitEthernet 0/1.

[SecPathA] interface gigabitethernet 0/1

[SecPathA-GigabitEthernet0/1] ipv6 address 192::1 64

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

[SecPathA-GigabitEthernet0/1] ripng 1 enable

[SecPathA-GigabitEthernet0/1] ipv6 policy-based-route lab1

[SecPathA-GigabitEthernet0/1] quit

2.

Configure SecPath B:
# Configure RIPng.

system-view

[SecPathB] ipv6

[SecPathB] ripng 1

[SecPathB-ripng-1] quit

[SecPathB] interface GigabitEthernet 0/1

[SecPathB-GigabitEthernet0/1] ipv6 address 150::2 64

[SecPathB-GigabitEthernet0/1] ripng 1 enable

[SecPathB-GigabitEthernet0/1] quit

[SecPathB] interface GigabitEthernet 0/2

[SecPathB-GigabitEthernet0/2] ipv6 address 151::2 64

[SecPathB-GigabitEthernet0/2] ripng 1 enable

[SecPathB-GigabitEthernet0/2] quit

[SecPathB] interface loopback 0

[SecPathB-LoopBack0] ipv6 address 10::1 128

[SecPathB-LoopBack0] ripng 1 enable

Verifying the configuration

# Run the debugging ipv6 policy-based-route command on SecPath A.

debugging ipv6 policy-based-route

terminal debugging

terminal monitor

# Enable IPv6 on Host A and configure the IPv6 address of Host A as 192::3.

C:\>ipv6 install

Installing...

Succeeded.

C:\>ipv6 adu 4/192::3

# Ping Loopback 0 of SecPath B from Host A, and set the data section length to 50 bytes.

C:\>ping -l 50 10::1

Pinging 10::1 with 50 bytes of data:

Reply from 10::1: time=5ms

Reply from 10::1: time=3ms

Reply from 10::1: time=1ms

Reply from 10::1: time=1ms