Avaya G250 Administration page 556

Media gateways
Hide thumbs Also See for G250:
Table of Contents

Advertisement

Configuring policy-based routing
2. Define PBR rules.
In the PBR list context, use the ip-rule command, followed by the number of the rule, to
define a rule for the PBR list. Repeat this command to define additional rules. A rule
contains (i) criteria that is matched against the packet, and (ii) a next hop list. When a
packet matches the criteria specified in the rule, the rule's next hop list determines how the
packet is routed. Each PBR list can have up to 1,500 rules. The first rule that matches the
packet determines the packet's routing.
It is important to include a destination address, or range of addresses, in PBR rules to
better classify the traffic to be routed. For an illustration, see
page 562.
Note:
It is recommended to leave a gap between rule numbers, in order to leave room
Note:
for inserting additional rules at a later time. For example, ip-rule 10, ip-rule 20,
ip-rule 30.
The following example creates rule 1, which routes packets going to IP address
149.49.43.210 with a DSCP value of 34 according to next hop list 1. The next step
explains how to define a next hop list. For additional details about PBR rules, see
rules
on page 558.
G350-001(super-PBR 802)# ip-rule 1
G350-001(super-PBR 802/ip rule 1)# next-hop list 1
Done!
G350-001(super-PBR 802/ip rule 1)# destination-ip host 149.49.43.210
Done!
G350-001(super-PBR 802/ip rule 1)# dscp 43
Done!
G350-001(super-PBR 802/ip rule 1)#
Note:
Rules do not include a default next hop list. Thus, if you do not include a next hop
Note:
list in the rule, the packet is routed according to destination-based routing, i.e.,
the ordinary routing that would apply without policy-based routing.
3. Define next hop lists.
Use the exit command twice to return to general context. In general context, define all
the next hop lists that you have used in PBR rules.
Note:
You can also perform this step before defining PBR lists and rules.
Note:
Use the ip next-hop-list command, followed by the number of the list, to define a
next hop list. In the next hop list context, use the following commands to define the next
hops in the list:
Use the next-hop-ip command, followed by the index number of the entry in the
next hop list, to define an IP address as a next hop. You can optionally apply tracking
to monitor the route.
556 Administration for the Avaya G250 and Avaya G350 Media Gateways
Application example
on
PBR

Advertisement

Table of Contents
loading

This manual is also suitable for:

G350

Table of Contents