13.07.2015 Views

Administration of the Avaya G350 Media Gateway - Avaya Support

Administration of the Avaya G350 Media Gateway - Avaya Support

Administration of the Avaya G350 Media Gateway - Avaya Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring Policy-Based RoutingThe following example creates rule 1, which routes packets going to IP address149.49.43.210 with a DSCP value <strong>of</strong> 34 according to next hop list 1. The next step explainshow to define a next hop list. For additional details about PBR rules, see PBR Rules onpage 279.<strong>G350</strong>-001(super-PBR 802)# ip-rule 1<strong>G350</strong>-001(super-PBR 802/ip rule 1)# next-hop list 1Done!<strong>G350</strong>-001(super-PBR 802/ip rule 1)# destination-ip host 149.49.43.210Done!<strong>G350</strong>-001(super-PBR 802/ip rule 1)# dscp 43Done!<strong>G350</strong>-001(super-PBR 802/ip rule 1)#Note:Note:Note:Note:Rules do not include a default next hop list. Thus, if you do not include a next hoplist in <strong>the</strong> rule, <strong>the</strong> packet is routed according to destination-based routing, i.e.,<strong>the</strong> ordinary routing that would apply without policy-based routing.3. Define next hop lists.Use <strong>the</strong> exit command twice to return to general context. In general context, define all <strong>the</strong>next hop lists that you have used in PBR rules.Note:You can also perform this step before defining PBR lists and rules.Use <strong>the</strong> ip next-hop-list command, followed by <strong>the</strong> number <strong>of</strong> <strong>the</strong> list, to define a nexthop list. In <strong>the</strong> next hop list context, use <strong>the</strong> following commands to define <strong>the</strong> next hops in<strong>the</strong> list:●Use <strong>the</strong> next-hop-ip command, followed by <strong>the</strong> index number <strong>of</strong> <strong>the</strong> entry in <strong>the</strong> nexthop list, to define an IP address as a next hop.● Use <strong>the</strong> next-hop-interface command, followed by <strong>the</strong> index number <strong>of</strong> <strong>the</strong> entry in<strong>the</strong> next hop list, to define an interface as a next hop.You can also use <strong>the</strong> name command to assign a name to <strong>the</strong> next hop list.Note:You cannot use a Fast E<strong>the</strong>rnet interface as an entry on a next hop list unless <strong>the</strong>interface was previously configured to use PPPoE encapsulation or a GREtunnel. See Configuring PPPoE on page 91 and Configuring GRE tunneling onpage 166.A next hop list can include <strong>the</strong> value NULL0. When <strong>the</strong> next hop is NULL0, <strong>the</strong> <strong>G350</strong> drops<strong>the</strong> packet.The following example creates next hop list 1, named “Voice to HQ”, with three entries:● The first entry is IP address 172.16.1.221.● The second entry is Serial interface 2/1:1.Issue 3 January 2005 277

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!