R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)
391
[RouterA-Ethernet1/1] ipv6 address 10::2 64
[RouterA-Ethernet1/1] undo ipv6 nd ra halt
[RouterA-Ethernet1/1] ripng 1 enable
[RouterA-Ethernet1/1] ipv6 policy-based-route aaa
2. Configure Router B:
# Configure RIPng.
<RouterB> system-view
[RouterB] ipv6
[RouterB] ripng 1
[RouterB-ripng-1] quit
[RouterB] interface serial 2/0
[RouterB-Serial2/0] ipv6 address 1::2 64
[RouterB-Serial2/0] ripng 1 enable
3. Configure Router C:
# Configure RIPng.
<RouterC> system-view
[RouterC] ipv6
[RouterC] ripng 1
[RouterC-ripng-1] quit
[RouterC] interface serial 2/1
[RouterC-Serial2/1] ipv6 address 2::2 64
[RouterC-Serial2/1] ripng 1 enable
4. Verify the configuration:
Enable IPv6 and configure the IPv6 address 10::3 for Host A.
C:\>ipv6 install
Installing...
Succeeded.
C:\>ipv6 adu 4/10::3
On Host A, Telnet to Router B that is directly connected to Router A. The operation succeeds.
On Host A, Telnet to Router C that is directly connected to Router A. The operation fails.
Ping Router C from Host A. The operation succeeds.
Telnet uses TCP, and ping uses ICMP. The preceding results show that all TCP packets received on
Ethernet 1/1 of Router A are forwarded through Serial 2/0, and other packets are forwarded
through Serial 2/1. The IPv6 interface PBR configuration is effective.
Configuring IPv6 interface PBR based on packet length
Network requirements
As shown in Figure 105, configure IPv6 interface PBR to guide the forwarding of packets received on
Ethernet 1/1 of Router A as follows:
• Forwards packets with a length of 64 to 100 bytes to the next hop 150::2/64.
• Forwards packets with a length of 101 to 1000 to the next hop 151::2/64.
All other packets are forwarded according to the routing table.










