Configuring Static Routing; Configuring A Static Route - Cisco Nexus 3000 Series Configuration Manual

Nx-os unicast routing configuration guide, nx-os release 5.0(3)u1(1)
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring Static Routing

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
Table 8-1
Parameters
administrative distance
RIP feature

Configuring Static Routing

This section includes the following topics:
If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature
Note
might differ from the Cisco IOS commands that you would use.

Configuring a Static Route

You can configure a static route on the router.
SUMMARY STEPS
1.
2.
3.
4.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
ip route { ip-prefix | ip-addr ip-mask }
{[ next-hop | nh-prefix ] | [ interface
next-hop | nh-prefix ]} [tag tag-value
[ pref ]
Example:
switch(config)# ip route 192.0.2.0/8
ethernet 1/2 192.0.2.4
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
8-4
Default Static Routing Parameters
Configuring a Static Route, page 8-4
Configuring Virtualization, page 8-5
configure terminal
ip route {ip-prefix | ip-addr ip-mask} {[next-hop | nh-prefix] | [interface next-hop | nh-prefix]} [tag
tag-value [pref]]
(Optional) show ip static-route
(Optional) copy running-config startup-config
Chapter 8
Default
1
disabled
Purpose
Enters configuration mode.
Configures a static route and the interface for this
static route. You can optionally configure the next-hop
address. The preference value sets the administrative
distance. The range is from 1 to 255. The default is 1.
Configuring Static Routing

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents