Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
10-6
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 10 Configuring Static Routing
Verifying the Static Routing Configuration
This example shows how to configure a static route:
switch# configure terminal
switch(config)# vrf context StaticVrf
switch(config-vrf)# ip route 192.0.2.0/8 192.0.2.10
switch(config-vrf)# copy running-config startup-config
Verifying the Static Routing Configuration
To display the static routing configuration information, perform one of the following tasks:
Configuration Examples for Static Routing
This example shows how to configure static routing:
configure terminal
ip route 192.0.2.0/8 192.0.2.10
copy running-config startup-config
Additional References
For additional information related to implementing static routing, see the following sections:
• Related Documents, page 10-7
Step 4
show ip static-route vrf vrf-name
Example:
switch(config-vrf)# show ip static-route
(Optional) Displays information on static routes.
Step 5
copy running-config startup-config
Example:
switch(config-vrf)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose
Command Purpose
show ip static-route Displays the configured static routes.