Configuring policy-based routing
Issue 5 June 2008
669
The following example creates next hop list 1, named
“Data to HQ”
, with three entries:
●
The first entry is IP address 172.16.1.221. Object tracker 3 is applied to monitor the
route. For details about configuring the object tracker see
Object tracking
configuration
on page 320.
●
The second entry is Serial interface 3/1:1
●
The third entry is NULL, which means the packet is dropped
For additional details about next hop lists, see
Next hop lists
on page 671.
This example demonstrates a case where the data traffic is sent over the WAN
FastEthernet Interface through the Internet. When the track detects that this next hop is
not valid, traffic is routed over the Serial interface.
4. Apply the PBR list to an interface.
Enter
exit
to return to general context. From general context, enter the interface to which
you want to apply the PBR list. In the interface context, enter
ip pbr-group
, followed by
the number of the PBR list, to attach the list to the interface. The list will be applied to
packets entering the interface.
The following example applies PBR list 802 to VLAN 2.
5. Apply the PBR list to the Loopback interface.
The following example applies PBR list 802 to the Loopback interface.
6. Enter
copy running-config startup-config
. This saves the new policy-based
routing configuration in the startup configuration file.
G350-001(super)# ip next-hop-list 1
G350-001(super-next hop list 1)#name "Data_to_HQ"
Done!
G350-001(super-next hop list 1)#next-hop-ip 1 172.16.1.221 track 3
Done!
G350-001(super-next hop list 1)#next-hop-interface 2 Serial 3/1:1
Done!
G350-001(super-next hop list 1)#next-hop-interface 3 Null0
Done!
G350-001(super-next hop list 1)#
G350-001(super)# interface vlan 2
G350-001(super-if:VLAN 2)# ip pbr-group 802
Done!
G350-001(super-if:VLAN 2)#
G350-001(super)# interface Loopback 1
G350-001(super-if:Loopback 1)# ip pbr-group 802
Done!
G350-001(super-if:Loopback 1)# exit
G350-001(super)#
Содержание Media Gateway G250
Страница 1: ...Administration for the Avaya G250 and Avaya G350 Media Gateways 03 300436 Issue 5 June 2008 ...
Страница 24: ...Contents 24 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 32: ...Introduction 32 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 38: ...Configuration overview 38 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 128: ...Basic device configuration 128 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 210: ...Configuring Standard Local Survivability SLS 210 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 244: ...Configuring logging 244 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 258: ...Configuring VoIP QoS 258 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 354: ...Configuring Emergency Transfer Relay ETR 354 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 370: ...Configuring SNMP 370 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 402: ...Configuring advanced switching 402 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 486: ...Configuring monitoring applications 486 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 548: ...Configuring the router 548 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 664: ...Configuring policy 664 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 682: ...Configuring policy based routing 682 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Страница 686: ...Setting synchronization 686 Administration for the Avaya G250 and Avaya G350 Media Gateways ...