Configuring The Default Gateway; Verifying The Default Gateway Configuration; Ipv4 Default Network Configuration - Cisco MDS 9000 series Configuration Manual

Nx-os ip services multilayer switches
Hide thumbs Also See for MDS 9000 series:
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

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.
Tip
If you configure the static route IP forwarding and the default network details, these IPv4 addresses will
be used regardless of the default gateway being enabled or disabled. If these IPv4 addresses are
configured and not available, the switch will fall back to using the default gateway IPv4 address, if you
have configured it. Be sure to configure IPv4 addresses for all entries in the switch if you are using IPv4.
When the Ethernet interface is configured, the switch should point to the gateway router for the IP
network. The host accesses the gateway using a gateway switch. This gateway switch is configured as
the default gateway. The other switches in the fabric that are connected to the same VSAN as the gateway
switch can also be connected through the gateway switch. Every interface connected to this VSAN
should be configured with the VSAN IPv4 address of the gateway switch as shown in
Cisco MDS 9000 Family NX-OS IP Services Configuration Guide
5-4
Chapter 5
Purpose
Enters configuration mode.
Configures the IPv4 address for the default
gateway.
OL-19525-01,Cisco MDS NX-OS Release 4.2(1)
Configuring IP Services
Figure
5-2.

Advertisement

Table of Contents
loading

Table of Contents