Configuring Route Maps; Match Clauses; Set Clauses - Lenovo RackSwitch G8264 Application Manual

For lenovo enterprise network operating system 8.4
Hide thumbs Also See for RackSwitch G8264:
Table of Contents

Advertisement

Configuring Route Maps

Match Clauses

Set Clauses

© Copyright Lenovo 2016
A route map is used to control and modify routing information. When PBR is 
enabled on an interface, all incoming packets are filtered based on the criteria 
defined in the route maps. For packets that match the filtering criteria, the 
precedence or Differentiated Services Code Point (DSCP) value can be changed, or 
the packets can be routed/forwarded to the appropriate next hop.
PBR and dynamic routing protocols, such as Border Gateway Protocol (BGP) and 
Open Shortest Path First (OSPF), use route maps. You can define a maximum of 
255 route maps. Route maps used by a PBR policy cannot be used by a dynamic 
routing protocol. You can configure a maximum of 32 access list statements in a 
route map. You can assign only one route map to a non‐management IP interface.
You must define route map criteria using match and set commands. All 
sequential match clauses must be met by the packets for the set clauses to be 
applied. 
IPv4 ACLs can be used to specify the match criteria. The following match criteria 
can be used in a PBR ACL:
Source IP
Destination IP
Protocol
ToS
TCP/UDP source port
TCP/UDP destination port
If criteria other than the above are used in a PBR ACL, the switch will display an 
error message.
If ingress packets do not meet any of the match criteria, or if a deny statement is 
configured in the ACL, then the packets are routed based on the entries in the 
routing table.
When the match clause(s) is satisfied, one of the following set clauses can be used 
to specify the packet forwarding criteria:
Next hop IP address: This must be the IP address of an interface on the adjacent 
router. A remote router interface cannot be used to specify the next hop. Packets 
are forwarded to the next hop IP address. The PBR policy uses the next hops in 
the order you specify. If the first next hop is down, then the second next hop is 
used, and so on. If you specify the next hop addresses using separate statements, 
then the next hops are used in the order you specify, starting from top to down. 
A maximum of 64 unique next hops can be configured across all route maps. 
IP Differentiated Services Code Point (DSCP) value: A value used to set the 
DSCP value of the matching packets.
Chapter 27: Policy-Based Routing
445

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents