beautypg.com

Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 407

background image

391

Figure 124 Network diagram

Configuration procedure

NOTE:

In this example, RIPng is configured to ensure the reachability among routers.

1.

Configure Router A:
# Configure RIPng.

system-view

[RouterA] ipv6

[RouterA] ripng 1

[RouterA-ripng-1] quit

[RouterA] interface Serial 2/1/9/2:0

[RouterA-Serial2/1/9/2:0] ipv6 address 1::1 64

[RouterA-Serial2/1/9/2:0] ripng 1 enable

[RouterA-Serial2/1/9/2:0] quit

[RouterA] interface Serial 2/1/9/1:0

[RouterA-Serial2/1/9/1:0] ipv6 address 2::1 64

[RouterA-Serial2/1/9/1:0] ripng 1 enable

[RouterA-Serial2/1/9/1:0] quit

# Define ACL 3001 to match TCP packets.

[RouterA] acl ipv6 number 3001

[RouterA-acl6-adv-3001] rule permit tcp

[RouterA-acl6-adv-3001] quit

# Define Node 5 of policy aaa, so that TCP packets are forwarded via next hop 1::2.

[RouterA] ipv6 policy-based-route aaa permit node 5

[RouterA-pbr-aaa-5] if-match acl6 3001

[RouterA-pbr-aaa-5] apply ipv6-address next-hop 1::2

Router A

GE3/1/1
10::2/64

S2/1/9/2:0

1::1/64

S2/1/9/1:0
2::1/64

Subnet A

10::1/64

S3/1/9/2:0

1::2/64

S3/1/9/1:0

2::2/64

Router B

Router C

Host A

10::3