Cisco Systems MDS 9020 Switch User Manual


 
Send documentation comments to mdsfeedback-doc@cisco.com
3-15
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
OL-6988-02
Chapter 3 Initial Configuration
Default Gateway Configuration
Default Gateway Configuration
The switch sends IP packets with unresolved destination IP addresses to the default gateway. Figure 3-3
shows the default gateway.
Figure 3-3 Default Gateway
Configuring the Default Gateway
To configure the IP address of the default gateway, follow these steps:
CLI
GUI
DNS server
IP
Network
Router
IP Address
172.16.1.1
Telnet or
SSH
SNMP
Management LAN
(Ethernet connection)
Switch 2
mgmt 0
(IP address:
172.16.1.2)
Console
connection
Default
gateway
79937
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.