Page 221 / 757 Scroll up to view Page 216 - 220
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
217
Example usage:
To display the DHCP server settings:
DGS-3627:admin# show dhcp_server
Command:show dhcp_server
DHCP Server Global State: Disable
Ping Packet Number
: 2
Ping Timeout
: 500 ms
DGS-3627:admin#
create dhcp excluded_address begin_address
Purpose
Used to configure IP addresses that will be excluded from the DHCP Server pool of
addresses.
Syntax
create dhcp excluded_address begin_address <ipaddr> end_address <ipaddr>
Description
This command will allow the user to set an IP address, or a range of IP addresses that are
NOT to be included in the range of IP addresses that the Switch will allot to clients requesting
DHCP service.
Parameters
begin_address <ipaddr>
Enter the beginning IP address of the range of IP addresses to be
excluded from the DHCP pool.
end_address <ipaddr>
Enter the ending IP address of the range of IP addresses to be
excluded from the DHCP pool.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure IP an address that will be excluded from the DHCP server pool of addresses:
DGS-3627:admin# create dhcp excluded_address begin_address 10.10.10.1 end_address
10.10.10.10
Command: create dhcp excluded_address begin_address 10.10.10.1 end_address 10.10.10.10
Success.
DGS-3627:admin#
Page 222 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
218
delete dhcp excluded_address
Purpose
Used to delete IP addresses that have been configured as excluded from the DHCP Server
pool of addresses.
Syntax
delete dhcp excluded_address [begin_address <ipaddr> end_address <ipaddr> | all]
Description
This command will allow the user to delete a previously set IP address, or a range of IP
addresses that are NOT to be included in the range of IP addresses that the Switch will allot
to clients requesting DHCP service.
Parameters
begin_address <ipaddr>
Enter the beginning IP address of the range of IP addresses to be
deleted from the excluded IP address list, from the DHCP pool.
end_address <ipaddr>
Enter the ending IP address of the range of IP addresses to be
deleted from the excluded IP address list, from the DHCP pool.
all – Enter this command to delete all excluded IP addresses, from the DHCP pool.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete IP addresses
that have been configured as excluded from the DHCP server pool of addresses:
DGS-3627:admin# delete dhcp excluded_address begin_address 10.10.10.1 end_address
10.10.10.10
Command: delete dhcp excluded_address begin_address 10.10.10.1 end_address 10.10.10.10
Success.
DGS-3627:admin#
show dhcp excluded_address
Purpose
Used to display the excluded IP addresses of the DHCP server function.
Syntax
show dhcp excluded_address
Description
This command is used to display the excluded IP addresses of the DHCP server function.
Parameters
None.
Restrictions
None.
Example usage:
To display the DHCP server settings:
DGS-3627:admin# show dhcp excluded_address
Command:show dhcp excluded_address
Index
Begin_Address
End_Address
-------
-----------------
-------------------------
1
192.168.0.1
192.168.0.100
2
10.10.10.10
10.10.10.10
Total Entries : 2
DGS-3627:admin#
Page 223 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
219
show dhcp pool
Purpose
Used to show the DHCP pool information.
Syntax
show dhcp pool {<pool_name 12>}
Description
This command is used to display the DHCP pool information. Entering the command without
the pool name will display all DHCP pool information on the switch.
Parameters
<pool_name 12>
Enter the name of the DHCP pool for which to view DHCP pool
information.
Restrictions
None.
Example usage:
To display the DHCP pool information:
DGS-3627:admin# show dhcp pool Floor2
Command: show dhcp pool Floor2
Pool Name
:Floor2
Network Address
:10.0.0.0/8
Domain Name
:
DNS Server Address
:0.0.0.0
NetBIOS Name Server
:0.0.0.0
NetBIOS Node Type
:Broadcast
Default Router
:0.0.0.0
Pool Lease
:1 Days, 0 Hours, 0 Minutes
Boot File
:
Next Server
:0.0.0.0
Total Pool Entry: 1
DGS-3627:admin#
Page 224 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
220
27
DHCPV6 CLIENT COMMANDS
The DHCPv6 Client commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
config ipif
<ipif_name 12> [ { ipaddress <network_address> | vlan <vlan_name 32> | state
[enable | disable] | proxy_arp [enable | disable] {local [enable | disable]}} (1) |
bootp | dhcp | ipv6 ipv6address <ipv6networkaddr>| dhcpv6_client [enable |
disable]]
debug dhcpv6_client state
[enable | disable]
debug dhcpv6_client output
[buffer | console]
debug dhcpv6_client packet
{all | receiving| sending} state [enable | disable]
Each command is listed, in detail, in the following sections.
config ipif
Purpose
Use this command to configure the DHCPv6 client state for the interface.
Syntax
config ipif <ipif_name 12> [ { ipaddress <network_address> | vlan <vlan_name 32> |
state [enable | disable] | proxy_arp [enable | disable] {local [enable | disable]}} (1) |
bootp | dhcp | ipv6 ipv6address <ipv6networkaddr>| dhcpv6_client [enable | disable]]
Description
The command is used to configure the DHCPv6 client state for one interface.
Parameters
ipif <ipif_name 12>
- The name of the IP interface.
ipaddress <network_address>
- Configures a network on an IP interface. The address should
specify a host address and length of network mask. Since an IP interface can have only one
IPv4 address, the newly configured address will overwrite the original one.
vlan <vlan_name 32>
- Name of the VLAN where the IPIF is operated.
proxy_arp
- Enable or disable the proxy ARP function. This is for the IPv4 function. Default:
Disabled.
local
- This setting controls whether the system provides the proxy reply for the ARP packets
destined for an IP address located in the same interface as the received interface.
When proxy ARP is enabled for an interface, the system will do the proxy reply for the ARP
packets destined for an IP address located in a different interface. For ARP packets destined
for an IP address located in the same interface, the system will check this setting to
determine whether to reply. Default: Disabled.
state
- Enable or disable the state of the IP interface.
bootp
- Use BOOTP to obtain the IPv4 address.
dhcp
- Use DHCP to obtain the IPv4 address.
ipv6 ipv6address
- IPv6 network address: The address should specify a host address and
length of network prefix. There can be multiple V6 addresses defined on an interface. Thus,
as a new address is defined, it is added on this IP interface.
dhcpv6_client
- See below:
enable
- Enable the DHCPv6 client state of the interface.
disable
- Disable the DHCPv6 client state of the interface.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 225 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
221
Example usage:
To configure the DHCPv6 client state of the System interface to enabled:
DGS-3627:admin# config ipif System dhcpv6_client state enable
Command : config ipif System dhcpv6_client state enable
success
DGS-3627:admin#
To display IP interface settings:
DGS-3627:admin# show ipif System
Command: show ipif System
IP Interface
: System
VLAN Name
: default
Interface Admin state
: Enabled
DHCPv6 Client State
: Enabled
IPv4 Address
: 10.90.90.90/8 (Manual) Primary
Proxy ARP
: Disabled
(Local : Disabled)
IPv6 Link-Local Address
: FE80::219:5BFF:FEF5:26C0/128
IPv6 Global Unicast Address
: 2000::2/64 (Manual)
IPv6 Global Unicast Address
: 3000::3/64 (DHCPv6)
IP MTU
: 1580
DGS-3627:admin#
debug dhcpv6_client state
Purpose
Enable or disable the DHCPv6 client debug function.
Syntax
debug dhcpv6_client state [enable | disable]
Description
Use this command to enable or disable the DHCPv6 client debug function.
Parameters
state
-
See below:
enable
- Enable the DHCPv6 client debug function.
disable
- Disable the DHCPv6 client debug function.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enabled the DHCPv6 client debug function:
DGS-3627:admin# debug dhcpv6_client state enable
Command:
debug dhcpv6_client state enable
Success.
DGS-3627:admin#
debug dhcpv6_client output
Purpose
Used to set the debug message to output to buffer or console.
Syntax
debug dhcpv6_client output [buffer | console]

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top