
IP Addressing Commands
161
Example
The following example acquires an IP address on an Ethernet interface from DHCP.
ip default-gateway
The
ip default-gateway global configuration
command defines a default gateway (router). To
remove the default gateway use the no form of this command.
Syntax
ip default-gateway
ip-address
no ip default-gateway
•
ip-address
— Valid IP address that specifies the IP address of the default gateway.
Default Configuration
No default gateway is defined.
Command Mode
Interface Configuration (Out-of-Band Ethernet)
User Guidelines
The setting of the default gateway on the out-of-band port must not precede the assignment of the
IP address. Always assign the IP address to the out-of-band port first, and then set the default
gateway.
Example
The following example defines ip default gateway 192.6.32.17.
show ip interface
The
show ip interface
user
EXEC command displays the usability status of interfaces configured
for IP.
Console (config)#
interface ethernet
g8
Console (config-if)#
ip address dhcp
Console (config)#
interface out-of-band-eth
1
Console (config-oob)#
ip address
192.168.1.23
Console (config-oob)#
ip default-gateway
192.168.1.1
Summary of Contents for PowerConnect 6024
Page 24: ...24 Contents ...
Page 86: ...86 ACL Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 128: ...128 Configuration and Image Files w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 182: ...182 IGMP Snooping Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 206: ...206 Line Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 280: ...280 Port Channel Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 284: ...284 Port Monitor Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 316: ...316 QoS Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 368: ...368 w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 410: ...410 SSH Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 443: ...TACACS Commands 443 Global values TimeOut 3 Source IP 172 16 8 1 OOB Source IP 172 16 8 1 ...
Page 444: ...444 TACACS Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 452: ...452 User Interface w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 476: ...476 VRRP Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 486: ...486 Web Server w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 504: ...504 802 1x Commands w w w d e l l c o m s u p p o r t d e l l c o m ...