3Com MSR 50 Series Configuration Manual page 736

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

Advertisement

736
C
50: IP
6 U
HAPTER
V
Configuring Policy
Routing Based on Packet
P
R
C
NICAST
OLICY
OUTING
ONFIGURATION
[Router] interface ethernet 1/0
[Router-Ethernet1/0] ipv6 address 10::110 64
[Router-Ethernet1/0] ipv6 policy-based-route aaa
Network requirements
The policy lab1 is applied to the interface Ethernet 1/0 of Router A. Packets with a
Size
size from 64 to 100 bytes are forwarded to 150::2/64, while packets with a size
from 101 to 1,000 bytes are forwarded to 151::2/64. All other packets are
forwarded through the routing table.
Network diagram
Figure 220 Network diagram for policy routing based on packet size
Router A
Enable policy
routing on Eth 1/0
Configuration procedure
1 Configure Router A
# Configure RIPng.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ripng 1
[RouterA-ripng-1] quit
[RouterA] interface serial 2/0
[RouterA-Serial2/0] ipv6 address 150::1 64
[RouterA-Serial2/0] ripng 1 enable
[RouterA-Serial2/0] quit
[RouterA] interface serial 2/1
[RouterA-Serial2/1] ipv6 address 151::1 64
[RouterA-Serial2/1] ripng 1 enable
[RouterA-Serial2/1] quit
# Apply the policy lab1 to the interface Ethernet 1/0 to handle incoming packets.
[RouterA] interface ethernet 1/0
[RouterA-Ethernet1/0] ipv6 address 192::1 64
[RouterA-Ethernet1/0] ripng 1 enable
[RouterA-Ethernet1/0] ipv6 policy-based-route lab1
[RouterA-Ethernet1/0] quit
# Forward IP packets with a size from 64 to 100 bytes to the next hop 150::2/64
and those with a size from 101 to 1,000 bytes to the next hop 151::2/64.
[RouterA] ipv6 policy-based-route lab1 permit node 10
[RouterA-pbr6-lab1-10] if-match packet-length 64 100
60 100bytes
S2/0
150::1/24
S2/1
151::1/24
101 1000bytes
S2/0
Router B
150::2/24
S2/1
151::2/24

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents