About Ipv4 Static Routes; Configuring Ipv4 Static Routes; Verifying Ipv4 Static Route Information - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 44
Configuring IP Services
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
For information about IPv6 static routing, see the
Note
section on page
This section includes the following topics:

About IPv4 Static Routes

Static routing is a mechanism to configure IPv4 routes on the switch. You can configure more than one
static route.
If a VSAN has multiple exit points, configure static routes to direct traffic to the appropriate gateway
switch. IPv4 routing is disabled by default on any gateway switch between the out-of-band management
interface and the default VSAN, or between directly connected VSANs.

Configuring IPv4 Static Routes

To configure an IPv4 static route, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# ip route <network IP
address> <netmask> <next hop IPv4 address>
distance <number> interface <vsan number>
For example:
switch(config)# ip route 10.0.0.0 255.0.0.0
20.20.20.10 distance 10 interface vsan 1
switch(config)#

Verifying IPv4 Static Route Information

Use the show ip route command to verifying the IPv4 static route configuration.
switch# show ip route configured
Destination
Use the show ip route command to verifying the active and connected IPv4 static route.
switch# show ip route
Codes: C - connected, S - static
OL-18084-01, Cisco MDS NX-OS Release 4.x
47-1.
About IPv4 Static Routes, page 44-11
Configuring IPv4 Static Routes, page 44-11
Verifying IPv4 Static Route Information, page 44-11
Displaying and Clearing ARPs, page 44-12
Gateway
default
172.22.95.1
10.1.1.0
172.22.95.0
"Configuring IPv6 for Gigabit Ethernet Interfaces"
Purpose
Enters configuration mode.
Configures the static route for the specified IPv4
address, subnet mask, next hop, distance, and
interface.
Mask Metric
0.0.0.0
0.0.0.0
255.255.255.0
0.0.0.0
255.255.255.0
Cisco MDS 9000 Family CLI Configuration Guide
IPv4 Static Routes
Interface
0
mgmt0
0
vsan1
0
mgmt0
44-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents