Send documentation comments to mdsfeedback-doc@cisco.com
11-47
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 11 I Commands
ip default-gateway
ip default-gateway
To configure the IP address of the default gateway, use the ip default-gateway command. To disable the
IP address of the default gateway, use the no form of the command.
ip default-gateway destination-ip-address [interface cpp slot_number/processor-number/vsan-id]
no ip default-gateway destination-ip-address [interface cpp slot/processor-number/vsan-id]
Syntax Description
Defaults None.
Command Modes Configuration mode.
Command History
Usage Guidelines None.
Examples The following examples configures the IP default gateway to 1.1.1.4.
switch# config terminal
switch(config)# ip default-gateway 1.1.1.4
Related Commands
destination-ip-address Specifies the IP address,
interface Configures an interface.
cpp Specifies a virtualization IPFC interface.
slot Specifies a slot number of the ASM.
processor-number Specifies the processor number for the IPFC interface. The current processor
number is always 1.
vsan-id Specifies the ID of the management VSAN. The range 1 to 4093.
Release Modification
1.0(2) This command was introduced.
Command Description
show ip route Displays the IP address of the default gateway.