Policy-based routing

Last Updated : Nov 06, 2012 |
Prolog information
Policy-based routing CLI commands
Root level command
First level command
Second level command
Description
interface {dialer | loopback | FastEthernet | tunnel | VLAN}
See IP interface configuration
Enter the interface configuration mode for a Dialer, Loopback, FastEthernet, Tunnel, or VLAN interface
ip pbr-group
Apply the specified PBR list to the current interface. The PBR list is applied to ingress packets only.
ip next-hop-list
Enter the context of the specified next hop list. If the list does not exist, it is created.
next-hop-interface
Add the specified interface to the next hop path for this next-hop list
next-hop-ip
Add the specified ip address to the next hop path for this next-hop list
show next-hop
Display the next-hop entries in the current list
ip pbr-list
Enter the context of the specified PBR list. If the list does not exist, it is created.
cookie
Set the cookie for the current list
ip-rule (policy, policy-based routing, packet sniffing)
Enter configuration mode for the specified rule. If the specified rule does not exist, the system creates it and enters its configuration mode.
destination-ip
Specify the destination IP address of packets to which the current rule applies
dscp (policy-based routing, packet sniffing, VPN)
Specify the DSCP value that is set by the current policy operation
fragment
Apply the current rule for non-initial fragments only
icmp
Apply the current rule to a specific type of ICMP packet
ip-protocol
Apply the current rule to packets with the specified IP protocol
next-hop (policy-based routing)
Specify the next-hop policy to use when the current rule is applied
show ip next-hop-list
Display the details of the next-hop list or of all next-hop lists
show ip-rule
Display the attributes of a specific rule or all rules
source-ip
Apply the current rule to packets from the specified source IP address
tcp destination-port
Apply the current rule to TCP packets with the specified destination port
tcp source-port
Apply the current rule to TCP packets from ports with specified source port
udp destination-port
Apply the rule to UDP packets with the specified destination port
udp source-port
Apply the rule to UDP packets from the specified source port
name
Assign a name to the specified list or operation
owner
Specify the owner of the current list
show ip-rule
Display the attributes of a specific rule or all rules
show list
Display information about the specified list
show ip active-lists
Display information about a specific policy list or all lists
show ip active-pbr-lists
Display details about a specific PBR list or all PBR lists
show ip pbr-list
Display information about the specified PBR list