![Cisco Nexus 3548 series Command Reference Manual Download Page 227](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162227.webp)
207
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
ip route
This example shows how to assign a tag to the previous example so that you can configure a route map
that can match on this static route:
switch#
configure terminal
switch(config)#
ip route 192.168.1.1/32 10.0.0.2 tag 5
switch(config)#
This example shows how to choose a preference of 110. In this case, packets for prefix 10.0.0.0 are
routed to a router at 192.168.0.4 if dynamic route information with an administrative distance less than
110 is not available.
switch#
configure terminal
switch(config)#
ip route 10.0.0.0/8 192.168.0.4 110
switch(config)#
Related Commands
Command
Description
match tag
Matches the tag value associated with a route.