EasyManua.ls Logo

Cisco Nexus 3000 series - Configuring Static Routing; Configuring a Static Route

Cisco Nexus 3000 series
338 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus3k-docfeedback@cisco.com
8-4
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
Chapter8 Configuring Static Routing
Configuring Static Routing
Configuring Static Routing
This section includes the following topics:
Configuring a Static Route, page 8-4
Configuring Virtualization, page 8-5
Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature
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. configure terminal
2. ip route {ip-prefix | ip-addr ip-mask} {[next-hop | nh-prefix] | [interface next-hop | nh-prefix]} [tag
tag-value [pref]]
3. (Optional) show ip static-route
4. (Optional) copy running-config startup-config
DETAILED STEPS
Table 8-1 Default Static Routing Parameters
Parameters Default
administrative distance 1
RIP feature disabled
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
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
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.

Table of Contents

Other manuals for Cisco Nexus 3000 series

Related product manuals