Zhone 5100 참조 매뉴얼
DHCP commands
Vpacket 5100/6100 Series Reference Manual
113
You can set the NetBIOS node type by issuing the set dhcp pool <pool> netbiosNodeType
command.
Syntax: set dhcp pool <pool> netbiosNodeType <broadcast|peerToPeer|mixed|hybrid>
Example:
Syntax: set dhcp pool <pool> netbiosNodeType <broadcast|peerToPeer|mixed|hybrid>
Example:
In this example, the NetBIOS node type for the DHCP pool named “vpacket” is set to hybrid.
Setting the network address for a DHCP pool
You can set the IP address and subnet mask for the 5100/6100 VDR by issuing the set dhcp
pool <pool> networkAddress command.
Syntax: set dhcp pool <pool name> networkAddress <ipAddress> <subnet mask>
Arguments:
Syntax: set dhcp pool <pool name> networkAddress <ipAddress> <subnet mask>
Arguments:
ipAddress
IP address in standard notation
subnet mask
network subnet mask in standard notation
Example:
In this example, the DHCP pool named “vpacket” is associated with the network IP address
10.10.10.254 that has a subnet mask of 255.255.255.0. A set of 255 hosts will be assigned IP
addresses (10.10.10.1 to 10.10.10.254).
Deleting a DHCP pool
You can delete a DHCP pool by issuing the set dhcp delete pool command.
Syntax: set dhcp delete pool <pool>
Argument:
Syntax: set dhcp delete pool <pool>
Argument:
pool
name of the DHCP pool you want to delete
Example:
In this example, the DHCP pool named “vpacket” is deleted.
VPacket# set dhcp pool vpacket netbiosNodeType hybrid
VPacket#
VPacket# set dhcp pool vpacket networkAddress 10.10.10.0 255.255.255.0
VPacket#
VPacket# set dhcp delete pool vpacket
VPacket#