Difference between revisions of "Cisco IOS DHCP Server configuration"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 27: | Line 27: | ||
== Commands == | == Commands == | ||
− | * <code>[[show ip dhcp pool]] <name></code> | + | * <code>[[show ip dhcp pool]]</code> or <code>[[show ip dhcp pool]] <name></code> |
* <code>[[show ip dhcp binding]]</code> | * <code>[[show ip dhcp binding]]</code> | ||
* <code>[[show ip dhcp server statistics]]</code> | * <code>[[show ip dhcp server statistics]]</code> |
Revision as of 07:35, 18 March 2020
Cisco IOS DHCP Server configuration: https://study-ccna.com/configure-cisco-router-as-dhcp-server/
cisco_ios_sw(config)#ip dhcp excluded-address 192.168.0.1 192.168.0.47 cisco_ios_sw(config)#ip dhcp pool YOUR_DHCP_POOLNAME cisco_ios_sw(dhcp-config)#network 192.168.0.0 255.255.255.0 cisco_ios_sw(dhcp-config)#default-router 192.168.0.1 cisco_ios_sw(dhcp-config)#dns-server 192.168.0.1
.../... ip dhcp pool YOUR_POOL_NAME import all network 10.10.10.0 255.255.255.0 default-router 10.10.10.1 domain-name YOUR_DOMAIN.COM dns-server 10.10.10.1 lease 2 .../...
Commands
show ip dhcp pool
orshow ip dhcp pool <name>
show ip dhcp binding
show ip dhcp server statistics
show dhcp server
See also
- DHCP: Cisco IOS DHCP Server,
isc-dhcp-server (dhcpd.conf)
,ip dhcp pool
show ip dhcp pool
,show ip dhcp binding
,show ip dhcp conflict
,show ip dhcp server statistics
, DHCP snooping,client-identifier
,hardware-address
,show ip dhcp
,ip link
,dhcpcd
,AWS::EC2::DHCPOptions, dhclient, systemd-networkd
- Configure a DHCP server for your network
Advertising: