3Com MSR 50 Series Configuration Manual page 645

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

IP Unicast Policy Routing Configuration Examples
645
[RouterA] interface ethernet 1/0
[RouterA-Ethernet1/0] ip address 192.1.1.1 255.255.255.0
[RouterA-Ethernet1/0] ip policy-based-route lab1
[RouterA-Ethernet1/0] quit
# Forward IP packets with a size of 64 to 100 bytes to the next hop 150.1.1.2 and
those with a size of 101 to 1,000 bytes to the next hop 151.1.1.2.
[RouterA] rip
[RouterA] interface serial 2/0
[RouterA-Serial2/0] ip address 150.1.1.1 255.255.255.0
[RouterA-Serial2/0] quit
[RouterA] interface serial 2/1
[RouterA-Serial2/1] ip address 151.1.1.1 255.255.255.0
[RouterA-Serial2/1] quit
[RouterA] policy-based-route lab1 permit node 10
[RouterA-policy-based-route] if-match packet-length 64 100
[RouterA-policy-based-route] apply ip-address next-hop 150.1.1.2
[RouterA-policy-based-route] quit
[RouterA] policy-based-route lab1 permit node 20
[RouterA-policy-based-route] if-match packet-length 101 1000
[RouterA-policy-based-route] apply ip-address next-hop 151.1.1.2
Configuration on Router B
# Configure RIP.
<RouterB> system-view
[RouterB] rip
[RouterB-rip-1] network 150.1.0.0
[RouterB-rip-1] network 151.1.0.0
[RouterB-rip-1] quit
[RouterB] interface serial 2/0
[RouterB-Serial2/0] ip address 150.1.1.2 255.255.255.0
[RouterB-Serial2/0] quit
[RouterB] interface serial 2/1
[RouterB-Serial2/1] ip address 151.1.1.2 255.255.255.0
[RouterB-Serial2/1] quit

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents