F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

849
[Firewall-pbr6-lab1-20] if-match packet-length 101 1000
[Firewall-pbr6-lab1-20] apply ipv6-address next-hop 151::2
[Firewall-pbr6-lab1-20] quit
# Configure IPv6 interface PBR by applying policy lab1 to GigabitEthernet 0/3.
[Firewall] interface gigabitethernet0/3
[Firewall-GigabitEthernet0/3] ipv6 address 192::1 64
[Firewall-GigabitEthernet0/3] undo ipv6 nd ra halt
[Firewall-GigabitEthernet0/3] ripng 1 enable
[Firewall-GigabitEthernet0/3] ipv6 policy-based-route lab1
[Firewall-GigabitEthernet0/3] return
2. Configure RIPng for Router A.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ripng 1
[RouterA-ripng-1] quit
[RouterA] interface gigabitethernet 0/1
[RouterA-GigabitEthernet0/1] ipv6 address 150::2 64
[RouterA-GigabitEthernet0/1] ripng 1 enable
[RouterA-GigabitEthernet0/1] quit
[RouterA] interface gigabitethernet 0/2
[RouterA-GigabitEthernet0/2] ipv6 address 151::2 64
[RouterA-GigabitEthernet0/2] ripng 1 enable
[RouterA-GigabitEthernet0/2] quit
[RouterA] interface loopback 0
[RouterA-LoopBack0] ipv6 address 10::1 128
[RouterA-LoopBack0] ripng 1 enable
3. Verify the configuration:
# Run the debugging ipv6 policy-based-route command on Firewall.
<Firewall> debugging ipv6 policy-based-route
<Firewall> terminal debugging
<Firewall> 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 Router A from Host A, and set the data length to 80 bytes.
C:\>ping -l 80 10::1
Pinging 10::1 with 80 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