Cisco Nexus 7000 Series Command Reference Manual page 47

Nx-os ip service level agreements slas
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Chapter 1
Cisco Nexus 7000 Series IP SLAs Commands
The set clauses can be used with one another. They are evaluated in the following order:
1.
2.
The set ip next-hop and set ip default next-hop command are similar but have a different order of
Note
operations. Configuring the set ip next-hop command causes the system to use policy routing first and
then use the routing table. Configuring the set ip default next-hop command causes the system to use
the routing table first and then policy route the specified next hop.
For software-forwarded traffic, the route that is present in the unicast routing table (of the VRF in which
packet was received) for the packet-specified destination takes preference over what is specified in the
set ip default next-hop command when there is condition match. Even if there is a default route present
in the VRF, that default route overrides what is set in the command. This applies to software-forwarded
traffic only.
This command does not require a license.
Examples
This example shows how to configure a route map that sets the IPv4 default next-hop address as the
default:
switch(config)# ip access-list test
switch(config-ip-acl)# permit ip 192.0.2.0/24 any
switch(config-ip-acl)# exit
switch(config)# route-map equal-access
switch(config-route-map)# match ip address test
switch(config-route-map)# set ip default next-hop ip 192.0.2.3
switch(config-route-map))# exit
switch(config)# interface externet 2/1
switch(config-if)# ip policy route-map equal-access
Related Commands
Command
match as-path
match community
match ip address
match ip next-hop
match ip route-source
match metric
match tag
route-map (IP)
set as-path
OL-27555-03
set ip next-hop
set ip default next-hop
Cisco Nexus 7000 Series NX-OS IP Service Level Agreements (SLAs) Command Reference
Description
Matches a BGP autonomous system path access list.
Matches a BGP community.
Distributes any routes that have a destination network number
address that is permitted by a standard or expanded access list, and
performs policy routing on packets.
Redistributes any routes that have a next hop router address passed
by one of the access lists specified.
Redistributes routes that have been advertised by routers and access
servers at the address specified by the access lists.
Redistributes routes with the metric specified.
Redistributes routes in the routing table that match the specified
tags.
Defines the conditions for redistributing routes from one routing
protocol into another, or enables policy routing.
Modifies an autonomous system path for BGP routes.
set ip default next-hop
1-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents