« Cisco DHCP » : différence entre les versions

De NCad Wiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
 
Ligne 27 : Ligne 27 :


{{ Box Console | objet=show ip dhcp server statistics }}
{{ Box Console | objet=show ip dhcp server statistics }}
[[Category:Routeurs]]

Dernière version du 30 août 2024 à 14:01

Configuration de base

(config) # ip dhcp pool dhcp-private-pool
(dhcp-config) # network 10.0.0.0/24
(dhcp-config) # dns-server 10.0.0.46 8.8.8.8
(dhcp-config) # domain-name net.ncad.fr
(dhcp-config) # netbios-name-server 10.0.0.45
(dhcp-config) # default-router 10.0.0.254
(dhcp-config) # lease 7

Exclure IP du pool

(config) # ip dhcp excluded-address 10.0.0.24

Adresse IP rattachée à MAC

(config) # ip dhcp pool dhcp-private-pool-romain
(dhcp-config) # host 10.0.0.24 !/24
(dhcp-config) # client-identifier 1234.5678.9ABC

Baux DHCP

show ip dhcp binding
clear ip dhcp binding 10.0.0.25

Statistiques

show ip dhcp server statistics