Verifying The Default Gateway Configuration; Configuring The Default Gateway; Ipv4 Default Network Configuration - 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

IPv4 Default Network Configuration

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
If you configure the static route IP forwarding and the default-network details, these IPv4 addresses will
Tip
be used regardless of the default-gateway being enabled or disabled. If these IP addresses are configured
but not available, the switch will fall back to using the default gateway IP address, if you have configured
it. Be sure to configure IP addresses for all entries in the switch.
See the
for all entries in the switch.
Use the ip default-gateway command to configure the IP address for a switch's default gateway and the
show ip route command to verify that the IPv4 address for the default gateway is configured.

Configuring the Default Gateway

To configure the default gateway, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# ip default-gateway 1.12.11.1

Verifying the Default Gateway Configuration

Use the show ip route command to verify the default gateway configuration.
switch# show ip route
Codes: C - connected, S - static
Gateway of last resort is 1.12.11.1
S 5.5.5.0/24 via 1.1.1.1, GigabitEthernet1/1
C 1.12.11.0/24 is directly connected, mgmt0
C 1.1.1.0/24 is directly connected, GigabitEthernet1/1
C 3.3.3.0/24 is directly connected, GigabitEthernet1/6
C 3.3.3.0/24 is directly connected, GigabitEthernet1/5
S 3.3.3.0/24 via 1.1.1.1, GigabitEthernet1/1
IPv4 Default Network Configuration
If you assign the IPv4 default network address, the switch considers routes to that network as the last
resort. If the IPv4 default network address is not available, the switch uses the IPv4 default gateway
address. For every network configured with the IPv4 default network address, the switch flags that route
as a candidate default route, if the route is available.
Cisco MDS 9000 Family CLI Configuration Guide
44-4
"Initial Setup Routine" section on page 5-3
Chapter 44
for more information on configuring the IP addresses
Purpose
Enters configuration mode.
Configures the IPv4 address for the default
gateway.
OL-18084-01, Cisco MDS NX-OS Release 4.x
Configuring IP Services

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents