Routing Policy

This chapter summarizes routing-policy commands in the CLI command structure. Routing policies enable network administrators to control data packet routing and forwarding. PBR (Policy-based routing) always overrides protocol-based routing. Network administrators can define routing policies based on parameters, such as access lists, packet size etc. For example, a routing policy can be configured to route packets along user-defined routes.

In addition to the above, PBR policies facilitate the provisioning of preferential service to specific traffic. PBR minimally provides the following:

  • A means to use source address, protocol, application and traffic class as traffic routing criteria
  • A means to load balance multiple WAN uplinks
  • A means to selectively mark traffic for QoS (Quality of Service) optimization

Use the (config) instance to configure router-policy commands. To navigate to the (config-routing-policy mode) instance, use the following commands:

<DEVICE>(config)#routing-policy <ROUTING-POLICY-NAME>
nx9500-6C8809(config)#routing-policy testpolicy
nx9500-6C8809(config-routing-policy-testpolicy)#?
Routing Policy Mode commands:
  apply-to-local-packets  Use Policy Based Routing for packets generated by
                          the device
  logging                 Enable logging for this Route Map
  no                      Negate a command or set its defaults
  route-map               Create a Route Map
  use                     Set setting to use

  clrscr                  Clears the display screen
  commit                  Commit all changes made in this session
  do                      Run commands from Exec mode
  end                     End current mode and change to EXEC mode
  exit                    End current mode and down to previous mode
  help                    Description of the interactive help system
  revert                  Revert changes
  service                 Service Commands
  show                    Show running system information
  write                   Write running configuration to memory or terminal

nx9500-6C8809(config-routing-policy-testpolicy)#