SWR2311P(config)#interface vlan100
SWR2311P(config-if)#ip address dhcp
7.1.4 Show DHCP client status
[Syntax]
show dhcp lease
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the DHCP client status. The following items are shown.
•
Interface that is operating as a DHCP client
•
Assigned IPv4 address
•
Lease expiration time
•
Lease renewal request time
•
Lease rebinding time
•
DHCP server name
•
Information obtained as DHCP options
•
Net mask
•
Default gateway
•
Lease time
•
DNS server
•
DHCP server ID
•
Domain name
[Note]
[Example]
Show the current DHCP client status.
SWR2311P>show dhcp lease
Interface vlan1
--------------------------------------------------------------------------------
IP Address:
Expires:
Renew:
Rebind:
Server:
Options:
subnet-mask
default-gateway
dhcp-lease-time
domain-name-servers
dhcp-server-identifier
domain-name
7.1.5 Set auto IP function
[Syntax]
auto-ip switch
no auto-ip
[Parameter]
switch
[Initial value]
auto-ip enable *VLAN #1 only
[Input mode]
interface mode
192.168.100.2
2018/01/01 00:00:00
2018/01/01 00:00:00
2018/01/01 00:00:00
255.255.255.0
192.168.100.1
259200
192.168.100.1
192.168.100.1
example.com
:
Behavior of the auto IP function
Setting value
enable
disable
Command Reference | Layer 3 functions | 193
Description
Enable the auto IP function
Disable the auto IP function