Chapter 3 Initial Configuration

Default Gateway Configuration

Se 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 ck - d o c @ c i s c o . c o m

Default Gateway Configuration

The switch sends IP packets with unresolved destination IP addresses to the default gateway. Figure 3-3shows the default gateway.

Figure 3-3

Default Gateway

Default

gateway

Console

connection

Switch 2

mgmt 0

(IP address: 172.16.1.2)

 

Router

IP Address

IP

172.16.1.1

Network

Telnet or

CLI

SSH

 

 

DNS server

 

GUI

SNMP

Management LAN

(Ethernet connection)

79937

Configuring the Default Gateway

 

To configure the IP address of the default gateway, follow these steps:

 

 

 

 

Command

Purpose

Step 1

 

 

switch# config t

Enters configuration mode.

Step 2

 

 

switch(config)# ip default-gateway 172.16.1.1

Configures the 172.16.1.1 IP address.

 

 

 

Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference

 

OL-6988-02

3-15

 

 

 

Page 15
Image 15
Cisco Systems MDS 9020 manual Default Gateway Configuration, Configuring the Default Gateway