3com 3031 Instruccion De Instalación
Typical Configuration of IP Unicast Policy Routing
415
Configure procedure
Define access control list:
[3Com]acl number 3101
[3Com-acl-adv-3101]rule permit tcp
[3Com]acl number 3102
[3Com-acl-adv-3102]rule permit ip
Define acl 5 node to make any TCP packet matching ACL 3101 be sent to serial
interface serial 1/0/0.
interface serial 1/0/0.
[3Com]route-policy aaa permit node 5
[3Com-route-policy]if-match acl 3101
[3Com-route-policy]apply output-interface serial 1/0/0
Define acl 10 node not to apply the policy routing to the packet matching ACL
3102.
3102.
[3Com]route-policy aaa deny node 10
[3Com-route-policy]if-match acl 3102
Apply policy aaa on the Ethernet interface
[3Com]interface ethernet 3/0/0
[3Com-Ethernet3/0/0]ip policy route-policy aaa
Configuring Policy
Routing Based on Packet
Size
Configuration requirement
Router A sends the packets of 64 to 100 bytes long through serial 2/0/0, packets
of 101 to 1000 bytes long through serial 2/0/1 and those of other size should be
routed normally.
of 101 to 1000 bytes long through serial 2/0/1 and those of other size should be
routed normally.
Apply IP unicast policy routing lab1 on E1/2/0 of Router A. This strategy will set
packet of 64 to 100 bytes long to 150.1.1.2 as the IP address of next hop and set
packet of 101 to 1000 bytes long to 151.1.1.2 as the IP address of next hop. All
packets of other size should be routed in the method based on the destination
address
packet of 64 to 100 bytes long to 150.1.1.2 as the IP address of next hop and set
packet of 101 to 1000 bytes long to 151.1.1.2 as the IP address of next hop. All
packets of other size should be routed in the method based on the destination
address
Networking diagram
Figure 113 Networking diagram of configuring policy routing based on packet size
Configure procedure
1 Configure Router A:
[RouterA]interface ethernet 1/2/0
[RouterA-Ethernet1/2/0]ip address 192.1.1.1 255.255.255.0
Serial2/0/0:
150.1.1.1
150.1.1.1
RouterA
Serial2/0/1:
151.1.1.1
151.1.1.1
Serial1/0/0:
150.1.1.2
Serial1/0/1:
151.1.1.2
RouterB
64 - 100 bytes
101 - 1000 bytes
Ethernet1/2/0:
192.1.1.1
Apply strategy on
Ethernet1/2/0