Configuring policy-based routing
4. Apply the PBR list to an interface.
Use the exit command to return to general context. From general context, enter the
interface to which you want to apply the PBR list. In the interface context, use the ip
pbr-group command, 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.
G350-001(super)# interface Vlan 2
G350-001(super-if:Vlan 2)# ip pbr-group 802
Done!
G350-001(super-if:Vlan 2)#
5. Apply the PBR list to the Loopback interface.
The following example applies PBR list 802 to the Loopback interface.
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)#
6. Type the copy running-config startup-config command. This saves the new
policy-based routing configuration in the startup configuration file.
PBR rules
Each PBR list can have up to 1,500 rules. The first rule that matches the packet specifies the
next hop list for the packet. If no rule matches the packet, the packet is routed according to the
default rule.
You can configure policy rules to match packets based on one or more of the following criteria:
Source IP address, or a range of addresses
●
Destination IP address or a range of addresses
●
IP protocol, such as TCP, UDP, ICMP, IGMP
●
Source TCP or UDP port or a range of ports
●
Destination TCP or UDP port or a range of ports
●
ICMP type and code
●
Fragments
●
DSCP field
●
558 Administration for the Avaya G250 and Avaya G350 Media Gateways