IP Addressing Commands
Page 103
Parameters
•
host-name
— Specifies the name of the host to be placed in the DHCP option 12 field. This name does not
have to be the same as the host name specified in the
hostname
Global Configuration mode command.
(Range: 1-20 characters)
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
The
ip address dhcp
command allows any interface to dynamically learn its IP address by using the DHCP
protocol.
Some DHCP servers require that the DHCPDISCOVER message have a specific host name. The
ip address
dhcp
hostname
host-name
command is most typically used when the host name is provided by the system
administrator.
If the device is configured to obtain its IP address from a DHCP server, it sends a DHCPDISCOVER message to
provide information about itself to the DHCP server on the network.
If the
ip address dhcp
command is used with or without the optional keyword, the DHCP option 12 field (host
name option) is included in the DISCOVER message. By default, the specified DHCP host name is the globally
configured host name of the device. However, the
ip address dhcp hostname
host-name
command can be used
to place a different host name in the DHCP option 12 field.
The
no ip address dhcp
command deconfigures any IP address that was acquired, thus sending a
DHCPRELEASE message.
The IP address is defined only on the management VLAN.
Example
The following example acquires an IP address for VLAN 1 from DHCP.
ip default-gateway
The
ip default-gateway
Global Configuration mode command defines a default gateway ( device). To return to
the default configuration, use the no form of this command.
Syntax
ip default-gateway ip-address
no ip default-gateway
Parameters
•
ip-address
— Valid IP address of the default gateway.
Console(config)#
interface vlan
1
Console(config-if)#
ip address dhcp
Содержание AT-8000S Series
Страница 1: ...Layer 2 Ethernet Switch Allied Telesyn AT 8000S CLI Reference Guide...
Страница 2: ...Allied Telesyn AT 8000S CLI Reference Guide...
Страница 15: ...Preface Contacting Allied Telesyn Page 13 Page 13...
Страница 23: ...Using the CLI Editing Features Page 21...
Страница 61: ...Clock Commands Page 59...
Страница 69: ...Configuration and Image File Commands Page 67...
Страница 95: ...GVRP Commands Page 93...
Страница 102: ...Page 100 Allied Telesyn AT 8000S Switch CLI Reference Guide Vlan IP Address Ports 1 224 239 130 2 2 3 1 e19...
Страница 103: ...IGMP Snooping Commands Page 101...
Страница 107: ...IP Addressing Commands Page 105 IP address Interface Type 10 7 1 192 24 VLAN 1 Static...
Страница 119: ...Management ACL Commands Page 117...
Страница 123: ...PHY Diagnostics Commands Page 121...
Страница 127: ...Port Channel Commands Page 125...
Страница 131: ...Port Monitor Commands Page 129...
Страница 147: ...QoS Commands Page 145...
Страница 153: ...Radius Commands Page 151...
Страница 211: ...Spanning Tree Commands Page 209...
Страница 221: ...SSH Commands Page 219...
Страница 233: ...Syslog Commands Page 231...
Страница 245: ...System Management Commands Page 243...
Страница 257: ...User Interface Commands Page 255...
Страница 283: ...Web Server Commands Page 281...
Страница 299: ...802 1x Commands Page 297...