2024年3月21日发(作者:)

DHCP及相关命令 目录

目 录

第1章 DHCP配置命令 ............................................................... 1-1

1.1 DHCP服务器配置命令 ...................................................................... 1-1

1.1.1 bootfile ................................................................................................... 1-1

1.1.2 clear ip dhcp binding ............................................................................ 1-1

1.1.3 clear ip dhcp conflict ............................................................................ 1-1

1.1.4 clear ip dhcp server statistics .............................................................. 1-2

1.1.5 client-identifier ...................................................................................... 1-2

1.1.6 debug ip dhcp client ............................................................................. 1-2

1.1.7 debug ip dhcp relay .............................................................................. 1-3

1.1.8 debug ip dhcp server ............................................................................ 1-3

1.1.9 default-router ........................................................................................ 1-3

1.1.10 dns-server ........................................................................................... 1-3

1.1.11 domain-name ....................................................................................... 1-4

1.1.12 hardware-address ............................................................................... 1-4

1.1.13 host ...................................................................................................... 1-4

1.1.14 ip dhcp conflict logging ..................................................................... 1-5

1.1.15 ip dhcp disable .................................................................................... 1-5

1.1.16 ip dhcp excluded-address .................................................................. 1-5

1.1.17 ip dhcp pool ........................................................................................ 1-6

1.1.18 ip dhcp conflict ping-detection enable ............................................. 1-6

1.1.19 ip dhcp ping packets .......................................................................... 1-6

1.1.20 ip dhcp ping timeout ........................................................................... 1-7

1.1.21 lease ..................................................................................................... 1-7

1.1.22 max-lease-time .................................................................................... 1-7

1.1.23 netbios-name-server ........................................................................... 1-8

1.1.24 netbios-node-type ............................................................................... 1-8

1.1.25 network-address ................................................................................. 1-9

1.1.26 next-server .......................................................................................... 1-9

1.1.27 option ................................................................................................... 1-9

1.1.28 service dhcp ...................................................................................... 1-10

1.1.29 show ip dhcp binding ....................................................................... 1-10

1.1.30 show ip dhcp conflict ....................................................................... 1-11

1.1.31 show ip dhcp relay information option ........................................... 1-11

1.1.32 show ip dhcp server statistics ......................................................... 1-11

1.2 DHCP中继配置命令 ........................................................................ 1-13

1.2.1 ip dhcp broadcast suppress .............................................................. 1-13

1.2.2 ip dhcp relay share-vlan sub-vlan .................... 1-13

1.2.3 ip forward-protocol udp bootps ......................................................... 1-13

1.2.4 ip helper-address ................................................................................ 1-13

1

DHCP及相关命令 目录

1.2.5 show ip forward-protocol ................................................................... 1-14

1.2.6 show ip helper-address ...................................................................... 1-14

第2章 DHCPv6配置命令 .......................................................... 2-1

2.1 clear ipv6 dhcp binding .................................................................. 2-1

2.2 clear ipv6 dhcp conflict .................................................................. 2-1

2.3 clear ipv6 dhcp statistics ............................................................... 2-1

2.4 debug ipv6 dhcp client packet ....................................................... 2-2

2.5 debug ipv6 dhcp detail ................................................................... 2-2

........................................................ 2-2

2.6 debug ipv6 dhcp relay packet

2.7 debug ipv6 dhcp server ................................................................. 2-2

2.8 dns-server ....................................................................................... 2-3

2.9 domain-name

.................................................................................. 2-3

2.10 excluded-address ......................................................................... 2-3

2.11 ipv6 address .................................................................................. 2-4

2.12 ipv6 dhcp client pd ....................................................................... 2-4

2.13 ipv6 dhcp client pd hint ................................................................ 2-5

2.14 ipv6 dhcp pool .............................................................................. 2-5

2.15 ipv6 dhcp relay destination ......................................................... 2-5

2.16 ipv6 dhcp server ........................................................................... 2-6

2.17 ipv6 general-prefix ........................................................................ 2-6

2.18 ipv6 local pool ............................................................................... 2-7

2.19 lifetime ........................................................................................... 2-7

2.20 network-address ........................................................................... 2-8

2.21 prefix-delegation ........................................................................... 2-8

2.22 prefix-delegation pool .................................................................. 2-9

2.23 service dhcpv6 .............................................................................. 2-9

2.24 show ipv6 dhcp ............................................................................. 2-9

2.25 show ipv6 dhcp binding ............................................................. 2-10

2.26 show ipv6 dhcp conflict ............................................................. 2-10

2.27 show ipv6 dhcp interface ........................................................... 2-10

2.28 show ipv6 dhcp pool

.................................................................. 2-11

2.29 show ipv6 dhcp statistics .......................................................... 2-11

2