To manually configure a static IP address on an interface, use the
ip address
command. A prompt displays to release an existing
dynamically acquired IP address. If you confirm, the ability to receive a DHCP server-assigned IP address is removed.
To enable acquiring a dynamic IP address from a DHCP server on an interface configured with a static IP address, use the
ip address
dhcp
command. A prompt displays to confirm the IP address reconfiguration. If you confirm, the statically configured IP address is
released. An error message displays if you enter the
release dhcp
or
renew dhcp
commands.
To renew the lease time of the dynamically acquired IP, use the
renew dhcp
command on an interface already configured with a dynamic
IP address.
NOTE:
To verify the currently configured dynamic IP address on an interface, use the
show ip dhcp lease
command. The
show running-configuration
command output only displays ip address dhcp. The currently assigned dynamic IP address
does not display.
To configure and view an interface as a DHCP client to receive an IP address, use the following commands.
1
Enter INTERFACE Configuration mode on an Ethernet interface.
CONFIGURATION mode
interface
type slot/port
[
/subport
]
2
Acquire the IP address for an Ethernet interface from a DHCP network server.
INTERFACE mode
ip address dhcp
Dynamically assigned IP addresses can be released without removing the DHCP client operation on the interface on a switch
configured as a DHCP client.
3
Manually acquire a new IP address from the DHCP server by releasing a dynamically acquired IP address while retaining the DHCP
client configuration on the interface.
EXEC Privilege mode
release dhcp interface
type slot/port
[
/subport
]
4
Acquire a new IP address with renewed lease time from a DHCP server.
EXEC Privilege mode
renew dhcp interface
type slot/port
[
/subport
]
To display DHCP client information, use the following
show
commands in EXEC Privilege mode.
•
To display statistics about DHCP client interfaces, use the
show ip dhcp client statistics interface
type slot/
port
[
subport
]
command.
•
To clear DHCP client statistics on a specified or on all interfaces, use the
clear ip dhcp client statistics {all |
interface
type slot/port
[
/subport
]
} command.
•
To display dynamic IP address lease information currently assigned to a DHCP client interface, use the
show ip dhcp lease
[interface
type slot/port
[
/subport
]]
command.
•
To display log messages for all DHCP packets sent and received on DHCP client interfaces, use the
debug ip dhcp client
packets [interface
type slot/port
[
/subport
]
command.
•
To display log message on DHCP client interfaces for IP address acquisition, IP address release, IP address and lease time renewal, and
release an IP address, use the
[no] debug ip dhcp client events [interface
type slot/port
[
/subport
]
]
command.
Dynamic Host Configuration Protocol (DHCP)
303
Содержание S4048T-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 11 2 1 ...
Страница 148: ...Figure 10 BFD Three Way Handshake State Changes 148 Bidirectional Forwarding Detection BFD ...
Страница 251: ...Dell Control Plane Policing CoPP 251 ...
Страница 363: ... RPM Synchronization GARP VLAN Registration Protocol GVRP 363 ...
Страница 511: ...Figure 64 Inspecting the LAG Configuration Link Aggregation Control Protocol LACP 511 ...
Страница 512: ...Figure 65 Inspecting Configuration of LAG 10 on ALPHA 512 Link Aggregation Control Protocol LACP ...
Страница 515: ...Figure 67 Inspecting a LAG Port on BRAVO Using the show interface Command Link Aggregation Control Protocol LACP 515 ...
Страница 516: ...Figure 68 Inspecting LAG 10 Using the show interfaces port channel Command 516 Link Aggregation Control Protocol LACP ...
Страница 558: ...Figure 84 Configuring Interfaces for MSDP 558 Multicast Source Discovery Protocol MSDP ...
Страница 559: ...Figure 85 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 559 ...
Страница 560: ...Figure 86 Configuring PIM in Multiple Routing Domains 560 Multicast Source Discovery Protocol MSDP ...
Страница 564: ...Figure 88 MSDP Default Peer Scenario 2 564 Multicast Source Discovery Protocol MSDP ...
Страница 565: ...Figure 89 MSDP Default Peer Scenario 3 Multicast Source Discovery Protocol MSDP 565 ...
Страница 729: ...protocol spanning tree pvst no disable vlan 300 bridge priority 4096 Per VLAN Spanning Tree Plus PVST 729 ...
Страница 841: ...Figure 115 Single and Double Tag TPID Match Service Provider Bridging 841 ...
Страница 842: ...Figure 116 Single and Double Tag First byte TPID Match 842 Service Provider Bridging ...