Configuring Ipv4 Static Routes; Verifying Ipv4 Static Route Information; Displaying And Clearing Arps - Cisco MDS 9000 series Configuration Manual

Nx-os ip services multilayer switches
Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 5
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

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
Default gateway is 172.22.95.1
C 172.22.95.0/24 is directly connected, mgmt0
C 10.1.1.0/24 is directly connected, vsan1
Example 5-1
switch# show ip routing
ip routing is disabled

Displaying and Clearing ARPs

Address Resolution Protocol (ARP) entries in Cisco MDS 9000 Family switches can be displayed,
deleted, or cleared. The ARP feature is enabled on all switches.
OL-19525-01,Cisco MDS NX-OS Release 4.2(1)
Gateway
default
172.22.95.1
10.1.1.0
172.22.95.0
Displays the IP Routing Status
Use the show arp command to display the ARP table.
switch# show arp
Protocol Address
Internet
171.1.1.1
Internet
172.2.0.1
Use the no arp command in configuration mode to remove an ARP entry from the ARP table.
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
Age (min)
Hardware Addr
0
0006.5bec.699c
4
0000.0c07.ac01
Cisco MDS 9000 Family NX-OS IP Services Configuration Guide
IPv4 Static Routes
Interface
0
mgmt0
0
vsan1
0
mgmt0
Type
Interface
ARPA
mgmt0
ARPA
mgmt0
5-11

Advertisement

Table of Contents
loading

Table of Contents