H3C SR8800-F Configuration Manual page 122

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Add newly released options.
Add options for which the vendor defines the contents, for example, Option 43.
Add options for which the CLI does not provide a dedicated configuration command. For
example, you can use the option 4 ip-address 1.1.1.1 command to define the time server
address 1.1.1.1 for DHCP clients.
Add all option values if the actual requirement exceeds the limit for a dedicated option
configuration command. For example, the dns-list command can specify up to eight DNS
servers. To specify more than eight DNS servers, you must use the option 6 command to
define all DNS servers.
Common DHCP options
Table 5
lists common DHCP options and their parameters.
Table 5 Common DHCP options
Option
3
6
15
44
46
66
67
43
Customizing a DHCP option in a DHCP address pool
Step
1.
Enter system view.
2.
Enter DHCP address pool
view.
3.
Customize a DHCP
option.
Customizing a DHCP option in a DHCP option group
You can customize a DHCP option in a DHCP option group, and specify the option group for a user
class in an address pool. A DHCP client in the user class will obtain the option configuration.
To customize a DHCP option in a DHCP option group:
Step
1.
Enter system view.
Option name
Router Option
Domain Name Server Option
Domain Name
NetBIOS over TCP/IP Name
Server Option
NetBIOS over TCP/IP Node
Type Option
TFTP server name
Boot file name
Vendor Specific Information
Command
system-view
dhcp server ip-pool pool-name
option code { ascii ascii-string | hex
hex-string | ip-address
ip-address&<1-8> }
Command
system-view
Corresponding
command
gateway-list
dns-list
domain-name
nbns-list
netbios-type
tftp-server
bootfile-name
N/A
106
Recommended option
command parameters
ip-address
ip-address
ascii
ip-address
hex
ascii
ascii
hex
Remarks
N/A
By default, no DHCP address pool
exists.
By default, no DHCP option is
customized in a DHCP address
pool.
DHCP options specified in DHCP
option groups take precedence
over those specified in DHCP
address pools.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents