Cisco Systems MDS 9020 manual Default Gateway Configuration, Configuring the Default Gateway

Page 15

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

 

 

 

Image 15
Contents Initial Configuration Initial Setup Routine Starting a Cisco MDS 9020 Fabric SwitchDefault Login Preparing to Configure the SwitchSubnetwork Setup OptionsEnter yes to enter the setup mode Assigning Setup InformationEnter the default gateway IP address Enter yes no is the default to create additional accountsEnter the user password Enter a name for the switchEnter no no is the default to disable the SSH service Enter no no is the default to not configure the NTP serverEnter yes yes is default to use and save this configuration Using the setup Command 2illustrates serial console access and out-of-band access Accessing the SwitchAssigning a Switch Name Where Do You Go Next?Verifying the Status of the Switch Configuring the Time Zone Configuring Date and TimeAdjusting for Daylight Saving Time NTP Configuration Management Interface ConfigurationUsing the force Option Obtaining Remote Management AccessConfiguring the Default Gateway Default Gateway ConfigurationDisabling a Telnet Connection Working with Configuration FilesDisables the Telnet server Telnet Server ConnectionDisplaying Configuration Files Initial Configuration Working with Configuration Files Saving Configuration Files to an External Device Downloading Configuration Files to the SwitchSaving the Configuration Backing Up the Current ConfigurationCopying Files Deleting Files Rolling Back to a Previous ConfigurationInitial Configuration Deleting Files