Page 191 / 757 Scroll up to view Page 186 - 190
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
187
debug config error_reboot
disable
- Do not need reboot switch when fatal error happens, system will hang-up for debug
and enter the debug shell mode for debug..
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set the switch to not need a reboot when a fatal error occurs:
DGS-3627:admin# debug config error_reboot disable
Command: debug config error_reboot disable
Success.
DGS-3627:admin#
debug show status
Purpose
Use the command to show the specified module’s debug status.
Syntax
debug show status { module <module_list> }
Description
Show the debug handler state and the specified module’s debug status.
If the input module list is empty, the states of all registered modules which support debug
module will be shown.
Parameters
<module_list>
- The module list.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To show the specified module’s debug state:
DGS-3627:admin# debug show status module MSTP
Command: debug show status module MSTP
Debug Global State: Enabled
MSTP : Enabled
DGS-3627:admin#
To show the debug state:
DGS-3627:admin# debug show status
Command: debug show status
Debug Global State: Enabled
MSTP
: Disabled
DHCPV6_CLIENT
: Disabled
DHCPV6_RELAY
: Disabled
DHCPV6_SERVER
: Disabled
VRRP
: Disabled
RIPNG
: Disabled
DGS-3627:admin#
Page 192 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
188
debug config state
Purpose
Use the command to set the state of the debug.
Syntax
debug config state [enable | disable]
Description
Use the command to set the state of the debug.
Parameters
enable
- Enable the debug state.
disable
- Disable the debug state.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set the debug state to disabled:
DGS-3627:admin# debug config state disable
Command: debug config state disable
Success.
DGS-3627:admin#
debug show error_reboot state
Purpose
Use the command to show the error reboot status.
Syntax
debug show error_reboot state
Description
Show the error reboot status.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To show the error reboot status.
DGS-3627:admin# debug show error_reboot state
Command: debug show error_reboot state
Error Reboot: Enabled
DGS-3627:admin#
Page 193 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
189
23
DHCP LOCAL RELAY COMMANDS
The DHCP Local Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
config dhcp_local_relay vlan
<vlan_name 32> state [enable | disable]
enable dhcp_local_relay
disable dhcp_local_relay
show dhcp_local_relay
Each command is listed, in detail, in the following sections.
config dhcp_local_relay
Purpose
Used to enable or disable DHCP local relay function to vlan.
Syntax
config dhcp_local _relay vlan <vlan_name 32> state [enable | disable]
Description
The config dhcp_local_relay vlan command is used to enable /disable DHCP local relay
function for specified vlan.
When DHCP local relay is enabled for the VLAN, the DHCP packet will be relayed in
broadcast way without change of the source MAC address and gateway address. DHCP
option 82 will be automatically added.
Parameters
vlan_name
- The name of the VLAN to be enabled DHCP local relay.
state
- Enable or disable DHCP local relay for specified vlan.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable DHCP local relay for default vlan:
DGS-3627:admin# config dhcp_local_relay vlan default state enable
Command: config dhcp_local_relay vlan default state enable
Success.
DGS-3627:admin#
enable dhcp_local_relay
Purpose
Used to enable the DHCP local relay function on the switch.
Syntax
enable dhcp_local_relay
Description
The enable dhcp_local _relay command globally enables the DHCP local relay function on
the switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 194 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
190
Example usage:
To enable the DHCP local relay function:
DGS-3627:admin# enable dhcp_local_relay
Command: enable dhcp_local_relay
Success.
DGS-3627:admin#
disable dhcp_local_relay
Purpose
Used to disable the DHCP local relay function on the switch.
Syntax
disable dhcp_local_relay
Description
The disable dhcp_local _relay command globally disables the DHCP local relay function on
the switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the DHCP local relay function:
DGS-3627:admin# disable dhcp_local_relay
Command: disable dhcp_local_relay
Success.
DGS-3627:admin#
show dhcp_local_relay
Purpose
Used to display the current DHCP local relay configuration.
Syntax
show dhcp_local_relay
Description
The show dhcp_local_relay command displays the current DHCP local relay configuration.
Parameters
None.
Restrictions
None.
Example usage:
To display local dhcp relay status:
DGS-3627:admin# show dhcp_local_relay
Command: show dhcp_local_relay
DHCP/BOOTP Local Relay Status
: Disabled
DHCP/BOOTP Local Relay VID List
: 1,3-4
DGS-3627:admin#
Page 195 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
191
24
DHCP RELAY COMMANDS
The DHCP Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
config dhcp_relay
{hops <value 1-16> | time <sec 0-65535>}
config dhcp_relay add
ipif <ipif_name 12> <ipaddr>
config dhcp_relay delete
ipif <ipif_name 12> <ipaddr>
config dhcp_relay option_82
{state [enable | disable] | check [enable | disable] | policy [replace | drop | keep]}
enable dhcp_relay
disable dhcp_relay
show dhcp_relay
{ipif <ipif_name 12>}
config dhcp_relay option_60 state
[enable | disable]
config dhcp_relay option_60 add
string <mutiword 255> relay <ipaddr> [exact-match | partial-match]
config dhcp_relay option_60 default
[relay <ipaddr>| mode [relay |drop]]
config dhcp_relay option_60 delete
[string <mutiword 255> {relay <ipaddr>}| ipaddress <ipaddr> | all | default {<
ipaddr>}]
show dhcp_relay option_60
{[string <mutiword 255> | ipaddress < ipaddr> | default]}
config dhcp_relay option_61 state
[enable | disable]
config dhcp_relay option_61 add
[mac_address <macaddr> | string <mutiword 255>] [relay <ipaddr> | drop]
config dhcp_relay option_61 default
[relay <ipaddr> | drop]
config dhcp_relay option_61 delete
[mac_address <macaddr> | string <mutiword 255> | all]
show dhcp_relay option_61
Each command is listed, in detail, in the following sections.
config dhcp_relay
Purpose
Used to configure the DHCP relay feature of the switch.
Syntax
config dhcp_relay { hops <value 1-16> | time <sec 0-65535>}
Description
The config dhcp_relay command configures the DHCP relay feature of the switch.
Parameters
hops
- Specifies the maximum number of relay hops that the DHCP/BOOTP packets can
cross. The range is 1 to 16. The default value is 4. The DHCP packet will be dropped when
the relay hop count in the received packet is equal to or greater than this setting.
time
- The secs field in the DHCP packet must be equal to or greater than this setting to be
relayed by the router. The default value is 0.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure DHCP relay status:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top