Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 288

Advertising
background image

272

Figure 100 Network diagram

Configuration procedure

NOTE:

In this example, static routes are configured to ensure the reachability among routers.

1.

Configure Router A:
# Define ACL 3101 to match TCP packets.

<RouterA> system-view

[RouterA] acl number 3101

[RouterA-acl-adv-3101] rule permit tcp

[RouterA-acl-adv-3101] quit

# Define Node 5 of policy aaa so that TCP packets are forwarded via next hop 1.1.2.2.

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

[RouterA-pbr-aaa-5] if-match acl 3101

[RouterA-pbr-aaa-5] apply ip-address next-hop 1.1.2.2

[RouterA-pbr-aaa-5] quit

# Apply the policy aaa to GigabitEthernet 3/1/1.

[RouterA] interface GigabitEthernet 3/1/1

[RouterA-GigabitEthernet3/1/1] ip address 10.110.0.10 255.255.255.0

[RouterA-GigabitEthernet3/1/1] ip policy-based-route aaa

[RouterA-GigabitEthernet3/1/1] quit

# Configure the IP addresses of the serial ports.

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

[RouterA-Serial2/1/9/2:0] ip address 1.1.2.1 255.255.255.0

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

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

Advertising