R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

416
[RouterB] ipv6
[RouterB] ripng 1
[RouterB-ripng-1] quit
[RouterB] interface serial 2/2/0
[RouterB-Serial2/2/0] ipv6 address 150::2 64
[RouterB-Serial2/2/0] ripng 1 enable
[RouterB-Serial2/2/0] quit
[RouterB] interface serial 2/2/1
[RouterB-Serial2/2/1] ipv6 address 151::2 64
[RouterB-Serial2/2/1] ripng 1 enable
[RouterB-Serial2/2/1] quit
[RouterB] interface loopback 0
[RouterB-LoopBack0] ipv6 address 10::1 128
[RouterB-LoopBack0] ripng 1 enable
3. Verify the configuration:
# Run the debugging ipv6 policy-based-route command on Router A.
<RouterA> debugging ipv6 policy-based-route
<RouterA> terminal debugging
<RouterA> 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 B from Host A, and set the data length to 50 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
Ping statistics for 10::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 5ms, Average = 2ms
The debugging information about PBR displayed on Router A is as follows:
<RouterA>
*Jun 7 16:03:28:946 2009 RouterA PBR6/7/IPv6-POLICY-ROUTING: IPv6 Policy routin
g success :
POLICY_ROUTEMAP_IPV6 : lab1, Node : 10, Packet sent with next-hop 0150::0002
*Jun 7 16:03:29:950 2009 RouterA PBR6/7/IPv6-POLICY-ROUTING: IPv6 Policy routin
g success :
POLICY_ROUTEMAP_IPV6 : lab1, Node : 10, Packet sent with next-hop 0150::0002