R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)
267
Figure 76 Network diagram
Configuration procedure
NOTE:
In this example, static routes are configured to ensure the reachability among devices.
1. Configure Router A:
# Configure 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
# Configure Node 5 for policy aaa to forward TCP packets through Serial 2/0.
[RouterA] policy-based-route aaa permit node 5
[RouterA-pbr-aaa-5] if-match acl 3101
[RouterA-pbr-aaa-5] apply output-interface serial 2/0
[RouterA-pbr-aaa-5] quit
# Configure interface PBR by applying the policy aaa on Ethernet 1/1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 10.110.0.10 255.255.255.0
[RouterA-Ethernet1/1] ip policy-based-route aaa
[RouterA-Ethernet1/1] quit
# Configure the IP addresses of the serial interfaces.
[RouterA] interface serial 2/0
[RouterA-Serial2/0] ip address 1.1.2.1 255.255.255.0
[RouterA-Serial2/0] quit
[RouterA] interface serial 2/1
[RouterA-Serial2/1] ip address 1.1.3.1 255.255.255.0
Router A
Eth1/1
10.110.0.10/24
S2/0
1.1.2.1/24
S2/1
1.1.3.1/24
Subnet
10.110.0.0/24
S2/0
1.1.2.2/24
S2/1
1.1.3.2/24
Router B Router C
Host A Host B
10.110.0.20/24
Gateway: 10.110.0.10










