Verifying the Static Routing Configuration
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 4
show ip static-route vrf vrf-name
Example:
switch(config-vrf)# show ip static-route
Step 5
copy running-config startup-config
Example:
switch(config-vrf)# copy running-config
startup-config
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:
Command
show ip static-route
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:
•
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
8-6
Related Documents, page 8-7
Chapter 8
Purpose
(Optional) Displays information on static routes.
(Optional) Saves this configuration change.
Purpose
Displays the configured static routes.
Configuring Static Routing