R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

462
Figure 106 Network diagram
Configuration procedure
1. Configure Router A:
# Configure RIPng.
<RouterA> system-view
[RouterA] ripng 1
[RouterA-ripng-1] quit
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] ipv6 address 1::1 64
[RouterA-Serial2/1/0] ripng 1 enable
[RouterA-Serial2/1/0] quit
[RouterA] interface serial 2/1/1
[RouterA-Serial2/1/1] ipv6 address 2::1 64
[RouterA-Serial2/1/1] ripng 1 enable
[RouterA-Serial2/1/1] quit
# Configure ACL 3001 to match TCP packets.
[RouterA] acl ipv6 number 3001
[RouterA-acl6-adv-3001] rule permit tcp
[RouterA-acl6-adv-3001] quit
# Configure Node 5 for policy aaa to forward TCP packets to next hop 1::2.
[RouterA] ipv6 policy-based-route aaa permit node 5
[RouterA-pbr6-aaa-5] if-match acl 3001
[RouterA-pbr6-aaa-5] apply next-hop 1::2
[RouterA-pbr6-aaa-5] quit
# Configure IPv6 interface PBR by applying policy aaa to GigabitEthernet 2/1/1.
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ipv6 address 10::2 64
Router A
GE2/1/1
10::2/64
S2/1/0
1::1/64
S2/1/1
2::1/64
Subnet
10::1/64
S2/1/0
1::2/64
S2/1/1
2::2/64
Router B Router C
Host A
10::3/64
Gateway: 10::2/64