Configuring policy-based routing
668 Administration for the Avaya G250 and Avaya G350 Media Gateways
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
PBR
rules
on page 670.
Note:
Note:
Rules do not include a default next hop list. Thus, if you do not include a next hop
list in the rule, the packet is routed according to destination-based routing, that is,
the ordinary routing that would apply without policy-based routing.
3. Define next hop lists.
Enter
exit
twice to return to general context. In general context, define all the next hop
lists that you have used in PBR rules.
Note:
Note:
You can also perform this step before defining PBR lists and rules.
Enter
ip next-hop-list
, 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:
●
Enter
next-hop-ip
, 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.
●
Enter
next-hop-interface
, followed by the index number of the entry in the next
hop list, to define an interface as a next hop. You can optionally apply tracking to
monitor the route.
You can also use the
name
command to assign a name to the next hop list.
Note:
Note:
You cannot use a FastEthernet Interface as an entry on a next hop list unless the
interface was previously configured to use
PPPoE
encapsulation, or a GRE
tunnel, or was configured as a DHCP client. See
Configuring PPPoE
on
page 279,
Configuring GRE tunneling
on page 501, and
Configuring DHCP
client
on page 218.
A next hop list can include the value NULL0. When the next hop is NULL0, the G250/G350
drops the packet. However, you cannot apply tracking to NULL0.
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)#
Summary of Contents for Media Gateway G250
Page 1: ...Administration for the Avaya G250 and Avaya G350 Media Gateways 03 300436 Issue 5 June 2008 ...
Page 24: ...Contents 24 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 32: ...Introduction 32 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 38: ...Configuration overview 38 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 244: ...Configuring logging 244 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 258: ...Configuring VoIP QoS 258 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 370: ...Configuring SNMP 370 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 548: ...Configuring the router 548 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 664: ...Configuring policy 664 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 686: ...Setting synchronization 686 Administration for the Avaya G250 and Avaya G350 Media Gateways ...