D-Link xStack DGS-3120 Series Cli Reference Manual

D-Link xStack DGS-3120 Series Cli Reference Manual

Dgs-3120 series layer 3 managed gigabit ethernet switch
Hide thumbs Also See for xStack DGS-3120 Series:
Table of Contents

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for D-Link xStack DGS-3120 Series

  • Page 2: Table Of Contents

    Domain Name System (DNS) Resolver Command List ............373 Chapter 32 D-Link License management System (DLMS) Command List ..........380 Chapter 33 D-Link Unidirectional Link Detection (DULD) Command List (RI and EI Mode Only) ....382 Chapter 34 Energy Efficient Ethernet (EEE) Command List ............... 384...
  • Page 3 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 35 Ethernet Ring Protection Switching (ERPS) Command List (RI and EI Mode Only)....386 Chapter 36 FDB Command List ........................396 Chapter 37 Filter Command List ........................406 Chapter 38 Flash File System (FFS) Command List ...................
  • Page 4 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 71 OSPF Version 3 Command List (RI Mode Only) ..............725 Chapter 72 Password Recovery Command List ..................744 Chapter 73 Peripherals Command List......................747 Chapter 74 Ping Command List ........................
  • Page 5 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 106 System Log Command List ..................... 1015 Chapter 107 System Severity Command List ....................1027 Chapter 108 Telnet Client Command List....................1029 Chapter 109 TFTP Client Command List..................... 1030 Chapter 110 Time and SNTP Command List ....................
  • Page 6: Using Command Line Interface

    With the serial port properly connected to a management computer, the following screen should be visible. DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 4.00.015 Copyright(C) 2014 D-Link Corporation. All rights reserved. UserName: PassWord: DGS-3120-24TC:admin# There is no initial username or password. Just press the Enter key twice to display the CLI input cursor −...
  • Page 7: Setting The Switch's Ip Address

    DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 4.00.015 Copyright(C) 2014 D-Link Corporation. All rights reserved. UserName: PassWord: WARNING: The stacking members are working on different firmware. DGS-3120-24TC:admin# Setting the Switch’s IP Address...
  • Page 8 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide The IP interface named System on the Switch can be assigned an IP address and subnet mask which can then be used to connect a management station to the Switch’s Telnet or Web-based management agent.
  • Page 9 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config account Command: config account Next possible completions: <username 15> DGS-3120-24TC:admin# In this case, the command config account was entered with the parameter <username 15>. The CLI will then prompt to enter the <username 15> with the message, Next possible completions:. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
  • Page 10 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#the Available commands: cable_diag change clear config copy create debug delete disable download enable erase execute format install login logout move ping ping6 reboot reconfig rename reset save show smtp...
  • Page 11: Command Syntax Symbols

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide mac_based_access_control mac_based_access_control_local mac_based_vlan mac_notification max_mcast_group mcast_filter_profile mirror mld_proxy mld_snooping multicast multicast_fdb name_server ospf ospfv3 packet password_recovery per_queue pim-ssm pim6 policy_route port port_group port_security port_security_entry port_vlan ports power_saving pppoe private_vlan pvid...
  • Page 12: Line Editing Keys

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide braces { } Encloses an optional value or a list of optional arguments. One or more values or arguments can be specified. For example, in the syntax reset {[config | system]} {force_agree} users may choose configure or system in the command.
  • Page 13: Chapter 2 Basic Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 2 Basic Command List show session show serial_port config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] | auto_logout [never | 2_minutes | 5_minutes | 10_minutes | 15_minutes]} enable clipaging disable clipaging login...
  • Page 14 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show session Command: show session Live Time From Level User --- ------------ --------------------------------------- ----- --------------- 00:04:17.870 Serial Port admin Anonymous Total Entries: 1 CTRL+C ESC q Quit SPACE n Next Page Previous Page...
  • Page 15: Enable Clipaging

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] | auto_logout [never | 2_minutes | 5_minutes | 10_minutes | 15_minutes]} Parameters baud_rate - (Optional) The serial bit rate that will be used to communicate with the management host.
  • Page 16: Disable Clipaging

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To enable pausing of the screen display when show command output reaches the end of the page: DGS-3120-24TC:admin# enable clipaging Command: enable clipaging Success.
  • Page 17 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format login Parameters None. Restrictions None. Example To login the Switch with a user name dlink: DGS-3120-24TC:admin# login Command: login UserName:dlink PassWord:**** DGS-3120-24TC:admin# logout Description This command is used to logout the facility. Format logout Parameters...
  • Page 18 Press any key to login... DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 4.00.015 Copyright(C) 2014 D-Link Corporation. All rights reserved. UserName: Description This command is used to display the usage description for all commands in the cuurent login account level or the specific one.
  • Page 19 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide clear Description The command is used to clear screen. Format clear Parameters None. Restrictions None. Example To clear screen: DGS-3120-24TC:admin# clear Command: clear DGS-3120-24TC:admin# 2-10 show command_history Description The command is used to display command history.
  • Page 20 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show command_history Command: show command_history ? ping login show serial_port show session ? config bpdu_protection ports ? reset ? create account ? create ipif show DGS-3120-24TC:admin# 2-11 config command_history Description This command is used to configure the number of commands that the Switch can recall.
  • Page 21 To edit the banner: DGS-3120-24TC:admin#config greeting_message Command: config greeting_message Greeting Messages Editor =============================================================================== DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 4.00.015 Copyright(C) 2014 D-Link Corporation. All rights reserved. =============================================================================== <Function Key> <Control Key> Ctrl+C Quit without save left/right/ Ctrl+W...
  • Page 22 To display greeting message: DGS-3120-24TC:admin#show greeting_ message Command: show greeting_message ============================================================================== DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 4.00.015 Copyright(C) 2014 D-Link Corporation. All rights reserved. ============================================================================== DGS-3120-24TC:admin# 2-14 config command_prompt Description This command is used to modify the command prompt.
  • Page 23: Config Terminal Width

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide default - Enter this command to return the command prompt to its original factory default value. Restrictions Only Administrator and Operator-level users can issue this command. Example To edit the command prompt: DGS-3120-24TC:admin#config command_prompt Prompt# Command: config command_prompt Prompt#...
  • Page 24: Show Terminal Width

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config terminal width 120 Command: config terminal width 120 Success. DGS-3120-24TC:admin# 2-16 show terminal width Description The command is used to display the configuration of current terminal width. Format show terminal width Parameters...
  • Page 25 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <portlist> - Enter a list of ports used here. all - Specify that all the ports will be used for this configuration. medium_type - (Optional) Specify the medium type while the configure ports are combo ports fiber - Specify that the medium type will be set to fiber.
  • Page 26: Show Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide auto_speed_downgrade - (Optional) Specify whether to automatically downgrade the advertised speed when a link cannot be established at the available speed. enable - Enable the automatically downgrading advertised speed. disable - Disable the automatically downgrading advertised speed.
  • Page 27 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ports details Command: show ports details Port : 1:1 -------------------- Port Status : Link Down Description HardWare Type : Gigabits Ethernet MAC Address : 00-01-02-03-04-10 Bandwidth : 1000000Kbit Auto-Negotiation : Enabled...
  • Page 28: Chapter 3 802.1Q Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 3 802.1Q VLAN Command List create vlan <vlan_name 32> tag <vlanid 2-4094> {type [1q_vlan | private_vlan]} {advertisement} create vlan vlanid <vidlist> {type [1q_vlan | private_vlan]} {advertisement} delete vlan <vlan_name 32>...
  • Page 29: Create Vlan Vlanid

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create a VLAN with name “v2” and VLAN ID 2: DGS-3120-24TC:admin# create vlan v2 tag 2 type 1q_vlan advertisement Command: create vlan v2 tag 2 type 1q_vlan advertisement Success.
  • Page 30: Delete Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide delete vlan Description This command is used to delete a previously configured VLAN by the name on the Switch. Format delete vlan <vlan_name 32> Parameters vlan - The VLAN name of the VLAN to be deleted. <vlan_name 32>...
  • Page 31: Config Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To remove VLANs from 10-30: DGS-3120-24TC:admin# delete vlan vlanid 10-30 Command: delete vlan vlanid 10-30 Success. DGS-3120-24TC:admin# config vlan Description This command is used to configure a VLAN based on the name. Format config vlan <vlan_name 32>...
  • Page 32: Config Vlan Vlanid

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide config vlan vlanid Description This command allows you to configure multiple VLANs at one time. But conflicts will be generated if you configure the name of multiple VLANs at one time. Format config vlan vlanid <vidlist>...
  • Page 33: Show Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <portlist> - A range of ports for which you want ingress checking. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
  • Page 34: Show Vlan Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display VLAN settings: DGS-3120-24TC:admin#show vlan Command: show vlan VLAN Trunk State : Disabled VLAN Trunk Member Ports : VLAN Name : default VLAN Type : Static Advertisement : Enabled Member Ports...
  • Page 35: Show Vlan Vlanid

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show vlan ports 1:6 Command: show vlan ports 1:6 Port Untagged Tagged Dynamic Forbidden ----- ---- -------- ------ ------- --------- DGS-3120-24TC:admin# 3-10 show vlan vlanid Description This command is used to display the vlan information using the VLAN ID. Format show vlan vlanid <vidlist>...
  • Page 36 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 3-11 show port_vlan Description This command is used to display the ports’ VLAN attributes on the Switch. Format show port_vlan {<portlist>} Parameters <portlist> - (Optional) Specify a range of ports to be displayed. If no parameter specified, system will display all ports gvrp information.
  • Page 37: Enable Pvid Auto Assign

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 3-12 enable pvid auto assign Description This command is used to enable the auto-assignment of PVID. If “Auto-assign PVID” is enabled, PVID will be possibly changed by PVID or VLAN configuration. When user configures a port to VLAN X’s untagged membership, this port’s PVID will be updated with VLAN X.
  • Page 38: Config Gvrp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the auto-assign PVID: DGS-3120-24TC:admin# disable pvid auto_assign Command: disable pvid auto_assign Success. DGS-3120-24TC:admin# 3-14 show pvid auto_assign...
  • Page 39: Show Gvrp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config gvrp [timer [join | leave | leaveall] < value 100-100000> | nni_bpdu_addr [dot1d | dot1ad]] Parameters timer - Specify that the GVRP timer parameter will be configured. join - (Optional) Specify the Join time will be set.
  • Page 40: Enable Gvrp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display the global setting of GVRP: DGS-3120-24TC:admin#show gvrp Command: show gvrp Global GVRP : Disabled Join Time : 200 Milliseconds Leave Time : 600 Milliseconds LeaveAll Time : 10000 Milliseconds NNI BPDU Address: dot1d DGS-3120-24TC:admin#...
  • Page 41 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the Generic VLAN Registration Protocol (GVRP): DGS-3120-24TC:admin# disable gvrp Command: disable gvrp Success.
  • Page 42: Show Private Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config private_vlan p1 add community vlanid 2-5 Command: config private_vlan p1 add community vlanid 2-5 Success. DGS-3120-24TC:admin# 3-20 show private vlan Description This command is used to show the private VLAN information. Format show private_vlan {[<vlan_name 32>...
  • Page 43: Chapter 4 802.1X Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 4 802.1X Command List enable 802.1x disable 802.1x create 802.1x user <username 15> delete 802.1x user <username 15> show 802.1x user config 802.1x auth_protocol [local | radius_eap] config 802.1x fwd_pdu system [enable | disable] config 802.1x fwd_pdu ports [<portlist>...
  • Page 44 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example Used to enable the 802.1X function: DGS-3120-24TC:admin# enable 802.1x Command: enable 802.1x Success.
  • Page 45 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide create 802.1x user Description This command is used to create an 802.1X user. Format create 802.1x user <username 15> Parameters <username 15> - Enter the username to be added. This value can be up to 15 characters long. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 46 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#delete 802.1x user test Command: delete 802.1x user test Success. DGS-3120-24TC:admin# show 802.1x user Description This command is used to display the 802.1X user. Format show 802.1x user Parameters None.
  • Page 47 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters local - Specify the authentication protocol as local. radius_eap - Specify the authentication protocol as RADIUS EAP. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the 802.1X authentication protocol to RADIUS EAP: DGS-3120-24TC:admin# config 802.1x auth_protocol radius_eap...
  • Page 48 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config 802.1x fwd_pdu system enable Command: config 802.1x fwd_pdu system enable Success. DGS-3120-24TC:admin# config 802.1x fwd_pdu ports Description This command is used to control the forwarding of EAPOL PDU. When 802.1X functionality is disabled globally or for a port, and if 802.1X fwd_pdu is enabled both globally and for the port, a received EAPOL packet on the port will be flooded in the same VLAN to those ports for which 802.1X fwd_pdu is enabled and 802.1X is disabled (globally or just for the port).
  • Page 49 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config 802.1x authorization attributes radius [enable | disable] Parameters radius - If specified to enable, the authorization attributes (for example VLAN, 802.1p default priority, and ACL) assigned by the RADUIS server will be accepted if the global authorization status is enabled.
  • Page 50 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show 802.1x auth_configuration ports Command: show 802.1x auth_configuration ports 1:1 Port Number : 1:1 Capability : None AdminCrlDir : Both OpenCrlDir : Both Port Control : Auto QuietPeriod : 60 TxPeriod...
  • Page 51 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the port capability: DGS-3120-24TC:admin# config 802.1x capability ports 1:1-1:10 authenticator Command: config 802.1x capability ports 1:1-1:10 authenticator Success. DGS-3120-24TC:admin# 4-12 config 802.1x max_users Description This command is used to limit the maximum number of users that can be learned via 802.1X authentication.
  • Page 52 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config 802.1x auth_parameter ports [<portlist> | all] [default | {direction [both | in] | port_control [force_unauth | auto | force_auth] | quiet_period <sec 0-65535> | tx_period <sec 1-65535>...
  • Page 53 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the parameters that control the operation of the authenticator associated with a port: DGS-3120-24TC:admin# config 802.1x auth_parameter ports 1:1-1:20 direction both...
  • Page 54 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config 802.1x init [port_based ports [<portlist> | all] | mac_based ports [<portlist> | all] {mac_address <macaddr>}] Parameters port_based ports- Configure the authentication as port based mode. <portlist>...
  • Page 55 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To re-authenticate the device connected to the port: DGS-3120-24TC:admin# config 802.1x reauth port_based ports all Command: config 802.1x reauth port_based ports all Success.
  • Page 56 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format delete 802.1x guest_vlan <vlan_name 32> Parameters <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete the guest VLAN named “guestVLAN”: DGS-3120-24TC:admin#...
  • Page 57 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config 802.1x guest_vlan ports 1:2-1:8 state enable Command: config 802.1x guest_vlan ports 1:2-1:8 state enable Warning, The ports are moved to Guest VLAN. Success. DGS-3120-24TC:admin# 4-20 show 802.1x guest_vlan Description This command is used to show the information of guest VLANs.
  • Page 58: Config Radius Add

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters enable - Specify to enable the sending of 802.1X traps. disable - Specify to disable the sending of 802.1X traps. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example This example shows how to enable the trap state for 802.1X.
  • Page 59: Config Radius Delete

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <udp_port_number 1-65535> - Enter the accounting port number here. This value must be between 1 and 65535. timeout - The time in second for waiting server reply. The default value is 5 seconds. <sec 1-255>...
  • Page 60: Config Radius

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 4-24 config radius Description This command is used to configure a RADIUS server. Format config radius <server_index 1-3> {ipaddress [<server_ip> | <ipv6addr>] | [key <password 32> | encryption_key <password 56>] | auth_port [<udp_port_number 1-65535 > | default] | acct_port [<udp_port_number 1-65535>...
  • Page 61: Show Radius

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config radius 1 auth_port 60 Command: config radius 1 auth_port 60 Success. DGS-3120-24TC:admin# 4-25 show radius Description This command is used to display RADIUS server configurations. Format show radius Parameters...
  • Page 62 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 4-26 show auth_statistics Description This command is used to display information of authenticator statistics. Format show auth_statistics {ports <portlist>} Parameters ports - (Optional) Specify a range of ports to be displayed. <portlist>...
  • Page 63 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 4-27 show auth_diagnostics Description This command is used to display information of authenticator diagnostics. Format show auth_diagnostics {ports <portlist>} Parameters ports - (Optional) Specify a range of ports to be displayed. <portlist>...
  • Page 64 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 4-28 show auth_session_statistics Description This command is used to display information of authenticator session statistics. Format show auth_session_statistics {ports <portlist>} Parameters ports - (Optional) Specify a range of ports to be displayed. <portlist>...
  • Page 65 DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display authentication client information: DGS-3120-24TC:admin#show auth_client Command: show auth_client radiusAuthClient ==> radiusAuthClientInvalidServerAddresses radiusAuthClientIdentifier D-Link radiusAuthServerEntry ==> radiusAuthServerIndex :3 radiusAuthServerAddress 0.0.0.0 radiusAuthClientServerPortNumber radiusAuthClientRoundTripTime radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions radiusAuthClientAccessAccepts...
  • Page 66 DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display information of RADIUS accounting client: DGS-3120-24TC:admin#show acct_client Command: show acct_client radiusAcctClient ==> radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier D-Link radiusAuthServerEntry ==> radiusAccServerIndex : 1 radiusAccServerAddress 0.0.0.0 radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests radiusAccClientRetransmissions radiusAccClientResponses...
  • Page 67: Chapter 5 Access Authentication Control Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 5 Access Authentication Control Command List enable authen_policy_encryption disable authen_policy_encryption enable password encryption disable password encryption enable authen_policy disable authen_policy show authen_policy create authen_login method_list_name <string 15> config authen_login [default | method_list_name <string 15>] method {tacacs | xtacacs | tacacs+ | radius | server_group <string 15>...
  • Page 68 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide create radius server_host <ipaddr> {auth_port <int 1-65535> | acct_port <int 1-65535> | [key [<key_string 254> | none] | encryption_key <key_string 344>] | timeout <int 1-255> | retransmit <int 1-20>} config radius server_host <ipaddr>...
  • Page 69: Enable Password Encryption

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#enable authen_policy_encryption Command: enable authen_policy_encryption Success. DGS-3120-24TC:admin# disable authen_policy_encryption Description This command is used to disable the authentication policy encryption. When disabled, TACACS+ and RADIUS key will be in the plain text form. Format disable authen_policy_encryption Parameters...
  • Page 70: Disable Password Encryption

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To enable the password encryption: DGS-3120-24TC:admin#enable password encryption Command: enable password encryption Success. DGS-3120-24TC:admin# disable password encryption Description This command is used to disable password encryption.
  • Page 71 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide enable authen_policy Description This command is used to enable system access authentication policy. Enable system access authentication policy. When authentication is enabled, the device will adopt the login authentication method list to authenticate the user for login, and adopt the enable authentication method list to authenticate the enable password for promoting the user‘s privilege to Admin level.
  • Page 72 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To disable system access authentication policy: DGS-3120-24TC:admin# disable authen_policy Command: disable authen_policy Success. DGS-3120-24TC:admin# show authen_policy Description This command is used to display that system access authentication policy is enabled or disabled. Format show authen_policy Parameters...
  • Page 73 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format create authen_login method_list_name <string 15> Parameters <string 15> - The user-defined method list name. This value can be up to 15 characters long. Restrictions Only Administrator-level users can issue this command. Example To create a user-defined method list for user login: DGS-3120-24TC:admin# create authen_login method_list_name login_list_1...
  • Page 74 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide tacacs - (Optional) Specify to authenticate by using the built-in server group called “tacacs”. xtacacs - (Optional) Specify to authenticate by using the built-in server group called “xtacacs”. tacacs+ - (Optional) Specify to authenticate by using the built-in server group called “tacacs+”.
  • Page 75 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 5-11 show authen_login Description This command is used to display the method list of authentication methods for user login. Format show authen_login [default | method_list_name <string 15> | all] Parameters default - Display default user-defined method list for user login.
  • Page 76 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To create a user-defined method list for promoting user's privilege to Admin level: DGS-3120-24TC:admin# create authen_enable method_list_name enable_list_1 Command: create authen_enable method_list_name enable_list_1 Success.
  • Page 77 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure a user-defined method list for promoting user's privilege to Admin level: DGS-3120-24TC:admin# config authen_enable method_list_name enable_list_1 method tacacs+ tacacs local_enable Command: config authen_enable method_list_name enable_list_1 method tacacs+ tacacs local_enable Success.
  • Page 78: Config Authen Application

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show authen_enable [default | method_list_name <string 15> | all] Parameters default - Display default user-defined method list for promoting user's privilege to Admin level. method_list_name - Display the specific user-defined method list for promoting user's privilege to Admin level.
  • Page 79: Show Authen Application

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To configure the login method list for telnet: DGS-3120-24TC:admin# config authen application telnet login method_list_name login_list_1 Command: config authen application telnet login method_list_name login_list_1 Success.
  • Page 80 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 5-18 create authen server_group Description This command is used to create a user-defined authentication server group. The maximum supported number of server groups including built-in server groups is 8. Each group consists of 8 server hosts as maximum.
  • Page 81 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide add - Add a server host to a server group. delete - Remove a server host from a server group. server_host - Server host’s IP address. <ipaddr> - Enter the server host IP address here. protocol - Specify the authentication protocol used.
  • Page 82 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# delete authen server_group mix_1 Command: delete authen server_group mix_1 Success. DGS-3120-24TC:admin# 5-21 show authen server_group Description This command is used to display the authentication server groups. Format show authen server_group {<string 15>} Parameters...
  • Page 83 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide services can be run on the same physical host. The maximum supported number of server hosts is Format create authen server_host <ipaddr> protocol [tacacs | xtacacs | tacacs+ | radius] {port <int 1-65535>...
  • Page 84 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 5-23 config authen server_host Description This command is used to configure an authentication server host. Format config authen server_host <ipaddr> protocol [tacacs | xtacacs | tacacs+ | radius] {port <int 1-65535>...
  • Page 85 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 5-24 delete authen server_host Description This command is used to delete an authentication server host. Format delete authen server_host <ipaddr> protocol [tacacs | xtacacs | tacacs+ | radius] Parameters <ipaddr>...
  • Page 86: Config Authen Parameter Attempt

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display all authentication server hosts: DGS-3120-24TC:admin#show authen server_host Command: show authen server_host IP Address Protocol Port Timeout Retransmit Key -------------------- -------- ----- ------- ---------- ----------------------- 10.1.1.222 TACACS+ 15555 10...
  • Page 87: Show Authen Parameter

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config authen parameter attempt <int 1-255> Parameters <int 1-255> - The amount of attempts for user's trying to login or promote the privilege on console or telnet or SSH. This value must be between 1 and 255. Default value is 3. Restrictions Only Administrator-level users can issue this command.
  • Page 88: Enable Admin

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show authen parameter Command: show authen parameter Response Timeout : 60 seconds User Attempts DGS-3120-24TC:admin# 5-29 enable admin Description This command is used to enter the administrator level privilege. Promote the "user" privilege level to "admin"...
  • Page 89 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide system will prompt the user to input the password interactively. For this case, the user can only input the plain text password. If the password is present in the command, the user can select to input the password in the plain text form or in the encrypted form.
  • Page 90 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <string 15> - Specify the user-defined server group name. Restrictions Only Administrator-level users can issue this command. Example To create a user-defined AAA server group called “mix_1”: DGS-3120-24TC:admin#create aaa server_group mix_1 Command: create aaa server_group mix_1 Success.
  • Page 91 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To add an AAA server host with an IP address of 10.1.1.222 to server group “mix_1”, specifying the TACACS+ protocol: DGS-3120-24TC:admin# config aaa server_group group_name mix_1 add server_host 10.1.1.222 protocol tacacs+ Command: config aaa server_group group_name mix_1 add server_host 10.1.1.222 protocol tacacs+...
  • Page 92 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <string 15> - (Optional) Specify the built-in or user-defined server group name. Restrictions Only Administrator-level users can issue this command. Example To display all AAA server groups: DGS-3120-24TC:admin#show aaa server_group Command: show aaa server_group Group Name...
  • Page 93 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To create a user-defined accounting method list called “shell_acct”: DGS-3120-24TC:admin#create accounting method_list_name shell_acct Command: create accounting method_list_name shell_acct Success. DGS-3120-24TC:admin# 5-36 config accounting Description This command is used to a user-defined or default method list of accounting methods. Format config accounting [default | method_list_name <string 15>] method {tacacs+ | radius | server_group <string 15>...
  • Page 94: Show Accounting

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 5-37 delete accounting method_list_name Description This command is used to delete a user-defined method list of accounting methods. Format delete accounting method_list_name <string 15> Parameters <string 15> - Specify the built-in or user-defined method list. Restrictions Only Administrator-level users can issue this command.
  • Page 95 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display the user-defined accounting method list called “shell_acct”: DGS-3120-24TC:admin#show accounting method_list_name shell_acct Command: show accounting method_list_name shell_acct Method List Name Priority Method Name Comment ---------------- -------- --------------- ------------------...
  • Page 96 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 5-40 create radius server_host Description This command is used to create an RADIUS server host. Format create radius server_host <ipaddr> {auth_port <int 1-65535> | acct_port <int 1-65535> | [key [<key_string 254>...
  • Page 97 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config radius server_host <ipaddr> {auth_port <int 1-65535> | acct_port <int 1-65535> | [key [<key_string 254> | none] | encryption_key <key_string 344>] | timeout <int 1-255> | retransmit <int 1-20>} Parameters <ipaddr>...
  • Page 98 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide xtacacs - Specify XTACACS server host. tacacs+ - Specify TACACS+ server host. radius - Specify RADIUS server host. Restrictions Only Administrator-level users can issue this command. Example To tacacs | xtacacs | tacacs+| delete an AAA server host, with an IP address of 10.1.1.222, that is running the TACACS+ protocol: DGS-3120-24TC:admin#delete aaa server_host 10.1.1.222 protocol tacacs+...
  • Page 99 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show aaa server_host Command: show aaa server_host IP Address Protocl Port Acct Time Retry Key Port -------------------- ------- ----- ----- ---- ----- --------------------------- 10.1.1.222 RADIUS 15555 1813 abc123 Total Entries : 1 DGS-3120-24TC:admin#...
  • Page 100 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 5-45 config tacacs server_host Description This command is used to configure a TACACS server host. Format config tacacs server_host <ipaddr> {port <int 1-65535> | timeout <int 1-255> | retransmit <int 1-20>} Parameters <ipaddr>...
  • Page 101 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <int 1-65535> - Enter the value between 1 and 65535. The default value is 49. timeout - (Optional) Specify the time in second to wait for the server to reply. <int 1-255>...
  • Page 102 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config xtacacs server_host 10.1.1.224 retransmit 5 Command: config xtacacs server_host 10.1.1.224 retransmit 5 Key is meaningless for TACACS and XTACACS. Success. DGS-3120-24TC:admin# 5-48 create tacacs+ server_host Description This command is used to create a TACACS+ server host.
  • Page 103 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 5-49 config tacacs+ server_host Description This command is used to Format config tacacs+ server_host <ipaddr> {port <int 1-65535> | [key [<key_string 254> | none] | encryption_key <key_string 344>] | timeout <int 1-255>} Parameters <ipaddr>...
  • Page 104: Show Aaa

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To enable AAA server password encryption: DGS-3120-24TC:admin#enable aaa_server_password_encryption Command: enable aaa_server_password_encryption Success. DGS-3120-24TC:admin# 5-51 disable aaa_server_password_encryption Description This command is used to disable AAA server password encryption. Format disable aaa_server_password_encryption Parameters...
  • Page 105: Config Accounting Service

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show aaa Parameters None. Restrictions None. Example To display AAA global configuration: DGS-3120-24TC:admin#show aaa Command: show aaa Authentication Policy: Enabled Accounting Network Service State: AAA Method Accounting Network Service Method: acc_telnet Accounting Shell Service State: RADIUS Only Accounting Shell Service Method:...
  • Page 106: Show Accounting Service

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide RADIUS server. By default, the service is disabled. system - Accounting service for system events: reset, reboot. By default, the service is disabled. state - Specify the state of the specified service. enable - Specify to enable the specified accounting service.
  • Page 107 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show accounting service Command: show accounting service Accounting Service ------------------- Network : Enabled Shell : Enabled System : Enabled DGS-3120-24TC:admin#...
  • Page 108: Chapter 6 Access Control List (Acl) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 6 Access Control List (ACL) Command List create access_profile profile_id <value 1-6> profile_name <name 1-32> [ethernet {vlan {<hex 0x0-0x0fff>} | source_mac <macmask 000000000000-ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff>...
  • Page 109 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 256>}} config time_range <range_name 32> [hours start_time <time hh:mm:ss> end_time <time hh:mm:ss> weekdays <daylist> | delete] show time_range show current_config access_profile create access_profile Description This command is used to create access list rules. Support for field selections can have additional limitations that are project dependent.
  • Page 110 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <netmask> - Enter the destination IP address mask here. dscp - (Optional) Specify the DSCP mask. icmp - (Optional) Specify that the rule applies to ICMP traffic. type - (Optional) Specify the type of ICMP traffic.
  • Page 111 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <hex 0x0-0xffff> - Enter the UDP destination port mask value here. icmp - (Optional) Specify a mask for ICMP filtering. type - (Optional) Specify the inclusion of the ICMP type field in the mask. code - (Optional) Specify the inclusion of the ICMP code field in the mask.
  • Page 112 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide profile_name - Specify the name of the profile. The maximum length is 32 characters. <name 1-32> - Enter the profile name here. This value must be between 1 and 32. all - Specify that the whole access list profile will be deleted.
  • Page 113 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 0-7>] | counter [enable | disable]} | mirror {group_id <value 1-4>} | deny] {time_range <range_name 32>} | delete access_id <value 1-256>] Parameters profile_id - Specify the index of the access list profile. <value 1-6>...
  • Page 114 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide and 255. code - Specify that the rule will apply to the ICMP Code traffic value. <value 0-255> - Enter the ICMP code traffic value here. This value must be between 0 and 255.
  • Page 115 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide chunk 4 will be used. <hex 0x0-0xffffffff> - Enter the offset chunk 4 mask here. ipv6 - Specify that the rule applies to IPv6 fields. class - (Optional) Specify the value of the IPv6 class. <value 0-255>...
  • Page 116 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide default TC. <value 0-63> - Enter the replace DSCP with value here. This value must be between 0 and 63. replace_tos_precedence_with - (Optional) Specify that the IP precedence of the outgoing packet is changed with the new value.
  • Page 117 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <value 1-6> - Enter the profile ID used here. This value must be between 1 and 6. A lower value denotes a higher priority. profile_name - (Optional) Specify the name of the profile. <name 1-32>...
  • Page 118 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide ------------------------------------------------------------------------------ Rule ID : 1 Ports: 1:2 Match on VLAN ID DSCP Action: Permit ============================================================================== ============================================================================== Profile ID: 3 Profile name: IPv6ACL Type: IPv6 MASK on Class Available HW Entries : 254 ------------------------------------------------------------------------------ Rule ID : 1...
  • Page 119 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide ============================================================================== DGS-3120-24TC:admin# The following example displays an access profile that supports an entry mask for each rule: DGS-3120-24TC:admin# show access_profile profile_id 2 Command: show access_profile profile_id 2 Access Profile Table Profile ID: 2 Profile Name: 2...
  • Page 120 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show access_profile profile_id 5 Command: show access_profile profile_id 5 Access Profile Table Profile ID: 5 Profile name:5 Type: User Defined MASK on offset_chunk_1 : 3 value : 0x0000FFFF offset_chunk_2 : 5 value : 0x0000FF00 offset_chunk_3 : 14...
  • Page 121 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide The replace DSCP action can be performed on packets that conform (GREEN) and packets that do not conform (YELLOW and RED). If drop YELLOW/RED is selected, the action to replace the DSCP will not take effect.
  • Page 122 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide optional parameter. The default value is 4*1024. <value 0-131072> - Enter the peak burst size value here. This value must be between 0 and 131072. color_blind - (Optional) Specify the meter mode as color-blind. The default is color-blind mode.
  • Page 123 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide when the function is disabled. enable - Specify that the ACL counter option will be enabled. disable - Specify that the ACL counter option will be disabled. exceed - Specify the action when a packet is mapped to the “yellow”...
  • Page 124 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters profile_id - (Optional) Specify the profile ID. <value 1-6> - Enter the profile ID used here. This value must be between 1 and 6. A lower value denotes a higher priority.
  • Page 125 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide hours - Specify the time of a day. start_time - Specify the starting time of a day. <time hh:mm:ss> - Enter the starting time here. (24-hr time). For example, 19:00 means 7PM.
  • Page 126 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display the current time range settings: DGS-3120-24TC:admin# show time_range Command: show time_range Time Range Information ----------------------------- Range Name : test Weekdays : Sun,Tue Start Time : 11:00:00 End Time...
  • Page 127 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show current_config access_profile Command: show current_config access_profile #------------------------------------------------------------------- # ACL create access_profile ethernet vlan profile_id 1 config access_profile profile_id 1 add access_id 1 ethernet vlan default port 1 permit create access_profile ip source_ip_mask 255.255.255.255 profile_id 2 config access_profile profile_id 2 add access_id 1 ip source_ip 10.10.10.10...
  • Page 128: Chapter 7 Access Control List (Acl) Egress Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 7 Access Control List (ACL) Egress Command List (RI and EI Mode Only) create egress_access_profile profile_id <value 1-4> profile_name <name 1-32> [ethernet {vlan {<hex 0x0-0x0fff>} | source_mac <macmask 000000000000-ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff>...
  • Page 129 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide create egress_access_profile profile_id Description This command is used to create an egress access list profile. For example, for some hardware, it may be invalid to specify destination IPv6 address and source IPv6 address at the same time. The user will be prompted for these limitations.
  • Page 130 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide dst_port_mask - Specify the TCP destination port mask. <hex 0x0-0xffff> - Enter the TCP source port mask value here. flag_mask - (Optional) Specify the TCP flag field mask. all - Specify that the TCP flag field mask will be set to 'all'.
  • Page 131 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide delete egress_access_profile Description This command is used to delete egress access profile command can only delete the profile which is created by egress ACL module. Format delete egress_access_profile [profile_id <value 1-4> | profile_name <name 1-32> | all] Parameters profile_id - Specify the index of the egress access list profile.
  • Page 132 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <value 0-255> | source_ipv6 <ipv6addr> {mask <ipv6mask>} | destination_ipv6 <ipv6addr> {mask <ipv6mask>} | [tcp {src_port <value 0-65535> {mask <hex 0x0-0xffff>} | dst_port <value 0-65535> {mask <hex 0x0-0xffff>}} | udp {src_port <value 0-65535> {mask <hex 0x0- 0xffff>} | dst_port <value 0-65535>...
  • Page 133 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <netmask> - Enter the destination network mask here. dscp - (Optional) Specify the value of DSCP. The DSCP value ranges from 0 to 63. <value 0-63> - Enter the DSCP value used here. This value must be between 0 and 63. icmp - (Optional) Specify that the following parameters configured will apply to the ICMP configuration.
  • Page 134 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <ipv6mask> - Enter the IPv6 source address mask value here. destination_ipv6 - (Optional) Specify the value of IPv6 destination address. <ipv6addr> - Enter the source IPv6 destination address here. mask - Specify the IPv6 destination address mask here.
  • Page 135 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide the “counter” is overridden. enable - Specify that the ACL counter feature will be enabled. disable - Specify that the ACL counter feature will be disabled. deny - Specify the packets that match the egress access rule are filtered by the Switch. time_range - (Optional) Specify the name of the time range entry.
  • Page 136 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters profile_id - (Optional) Specify the index of the egress access list profile. <value 1-4> - Enter the profile ID here. This value must be between 1 and 4. A lower value denotes a higher priority.
  • Page 137 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DSCP ICMP Available HW Entries : 127 ------------------------------------------------------------------------------- Rule ID : 1 (auto assign) Ports: 1:3 Match on DSCP Action: Permit =============================================================================== =============================================================================== Profile ID: 3 Profile name: IPv6 Type: IPv6 MASK on Class...
  • Page 138 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show egress_access_profile profile_id 1 Command: show egress_access_profile profile_id 1 Egress Access Profile Table =============================================================================== Profile ID: 1 Profile name: EthernetACL Type: Ethernet MASK on VLAN : 0xFFF 802.1p Available HW Entries : 127 -------------------------------------------------------------------------------...
  • Page 139 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display current configuration of egress access list table: DGS-3120-24TC:admin# show current_config egress_access_profile Command: show current_config egress_access_profile #------------------------------------------------------------------------------ # Egress ACL create egress_access_profile profile_id 1 profile_name 1 ethernet source_mac FF-FF-FF-FF-FF config egress_access_profile profile_id 1 add access_id 1 ethernet source_mac -00-00-00-00-01 vlan_based vlan_id 1 permit...
  • Page 140 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters profile_id - Specify the profile ID. <value 1-4> - Enter the profile ID used here. This value must be between 1 and 4. A lower value denotes a higher priority. profile_name - Specify the name of the profile.
  • Page 141 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide violate - Specify the action when packet is in “red color”. permit - Permit the packet. replace_dscp - (Optional) Changes the DSCP of the packet. <value 0-63> - Enter the DSCP replace value here. This value must be between 0 and 63.
  • Page 142 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure a “two rates three color” flow meter: DGS-3120-24TC:admin#config egress_flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed permit replace_dscp 21 violate drop Command: config egress_flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed permit replace_dscp 21 violate drop...
  • Page 143 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show egress_flow_meter Command: show egress_flow_meter Flow Meter Information ------------------------------------------------------------------------------ Profile ID:1 Aceess ID:1 Mode : trTCM / ColorAware CIR(Kbps):1000 CBS(Kbyte):1000 PIR(Kbps):2000 PBS(Kbyte):2000 Action: Conform : Permit Counter: Enabled Exceed : Drop Counter: Enabled Violate : Drop...
  • Page 144 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# create port_group id 2 name group2 Command: create port_group id 2 name group2 Success. DGS-3120-24TC:admin# config port_group Description This command is used to add or delete a port list to a port group. Format config port_group [id <value 1-64>...
  • Page 145 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters id - Specify the port group ID. <value 1-64> - Enter the port group ID used here. This value must be between 1 and 64. name - Specify the port group name. <name 16>...
  • Page 146 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show port_group Command: show port_group Port Group Table --------------------------------------------- Port Group ID Port Group Name Ports group2 1:1-1:3 Total Entries :1 DGS-3120-24TC:admin#...
  • Page 147: Chapter 8 Address Resolution Protocol (Arp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 8 Address Resolution Protocol (ARP) Command List create arpentry <ipaddr> <macaddr> delete arpentry [<ipaddr> | all] config arpentry <ipaddr> <macaddr> config arp_aging time <min 0-65535> clear arptable show arpentry {ipif <ipif_name 12>...
  • Page 148: Config Arpentry

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format delete arpentry [<ipaddr> | all] Parameters <ipaddr> - The IP address of the end node or station. all - Delete all ARP entries. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an entry of IP address 10.48.74.121 from the ARP table: DGS-3120-24TC:admin# delete arpentry 10.48.74.121...
  • Page 149: Clear Arptable

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config arpentry 10.48.74.121 00-50-BA-00-07-37 Command: config arpentry 10.48.74.121 00-50-BA-00-07-37 Success. DGS-3120-24TC:admin# config arp_aging time Description This command is used to set the maximum amount of time, in minutes, that a dynamic ARP entry can remain in the Switch’s ARP table, without being accessed, before it is dropped from the table.
  • Page 150: Show Arpentry

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear the ARP table: DGS-3120-24TC:admin# clear arptable Command: clear arptable Success. DGS-3120-24TC:admin# show arpentry Description This command is used to displays the ARP table.
  • Page 151 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show arpentry Command: show arpentry ARP Aging Time : 20 Interface IP Address MAC Address Type ------------- --------------- ----------------- --------------- System 10.0.0.0 FF-FF-FF-FF-FF-FF Local/Broadcast System 10.1.1.1 00-02-03-04-05-06 Static System...
  • Page 152: Chapter 9 Arp Spoofing Prevention Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 9 ARP Spoofing Prevention Command List config arp_spoofing_prevention [add gateway_ip <ipaddr> gateway_mac <macaddr> ports [<portlist> | all] | delete gateway_ip <ipaddr>] show arp_spoofing_prevention config arp_spoofing_prevention Description This command is used to configure the spoofing prevention entry to prevent spoofing of MAC for the protected gateway.
  • Page 153 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_mac 00-00-00-11-11-11 ports 1:1-1:2 Command: config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_mac 00-00-00-11-11-11 ports 1:1-1:2 Success. DGS-3120-24TC:admin# show arp_spoofing_prevention Description This command is used to show the ARP spoofing prevention entry. Format show arp_spoofing_prevention Parameters...
  • Page 154: Chapter 10 Asymmetric Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 10 Asymmetric VLAN Command List enable asymmetric_vlan disable asymmetric_vlan show asymmetric_vlan 10-1 enable asymmetric_vlan Description This command is used to enable the asymmetric VLAN function on the Switch. Format enable asymmetric_vlan Parameters...
  • Page 155 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable asymmetric VLANs: DGS-3120-24TC:admin# disable asymmetric_vlan Command: disable asymmetric_vlan Success. DGS-3120-24TC:admin# 10-3 show asymmetric_vlan Description...
  • Page 156: Chapter 11 Auto-Configuration Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 11 Auto-Configuration Command List enable autoconfig disable autoconfig show autoconfig 11-1 enable autoconfig Description This command is used to enable auto configuration. When enabled, during power on initialization, the Switch will get configure file path name and TFTP server IP address from the DHCP server.
  • Page 157: Show Autoconfig

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable autoconfig Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable autoconfig: DGS-3120-24TC:admin# disable autoconfig Command: disable autoconfig Success. DGS-3120-24TC:admin# 11-3 show autoconfig Description...
  • Page 158: Chapter 12 Basic Commands Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 12 Basic Commands Command List create account [admin | operator | power_user | user] <username 15> {encrypt [plain_text | sha_1] <password>} config account <username 15> {encrypt [plain_text | sha_1] <password>} show account delete account <username 15>...
  • Page 159: Config Account

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <username 15> - Enter the username used here. This name can be up to 15 characters long. encrypt - (Optional) Specify the encryption applied to the account. plain_text - Select to specify the password in plain text form.
  • Page 160: Show Account

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <username 15> - Enter the user name of the account that has been defined. encrypt - (Optional) Specify that the password will be encrypted. plain_text - Select to specify the password in plain text form. sha_1 - Select to specify the password in the SHA-I enacrpted form.
  • Page 161: Delete Account

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To display the accounts that have been created: DGS-3120-24TC:admin#show account Command: show account Current Accounts: Username Access Level --------------- ------------ admin...
  • Page 162: Show Switch

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 12-5 show switch Description This command is used to display the Switch information. Format show switch Parameters None. Restrictions None. Example The following is an example for display of the Switch information. DGS-3120-24TC:admin#show switch Command: show switch Device Type...
  • Page 163: Enable Telnet

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 12-6 enable telnet Description This command is used to manage the Switch via TELNET based management software. Use the command to enable TELNET and configure port number. Format enable telnet {<tcp_port_number 1-65535>} Parameters...
  • Page 164: Enable Web

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To disable TELNET: DGS-3120-24TC:admin# disable telnet Command: disable telnet Success. DGS-3120-24TC:admin# 12-8 enable web Description This command is used to manage the Switch via HTTP based management software. Use the command to enable HTTP and configure port number.
  • Page 165 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable HTTP: DGS-3120-24TC:admin# disable web Command: disable web Success. DGS-3120-24TC:admin# 12-10 reboot Description This command is used to restart the Switch.
  • Page 166: Config Firmware Image

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 12-11 reset Description This command is used to provide reset functions. The configuration setting will be reset to the default setting. For the “save system” command, the device will store the reset setting in the NVRAM and then reboot the system.
  • Page 167 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config firmware image {unit <unit_id>} <pathname> boot_up Parameters unit - (Optional) Specify which unit on the stacking system. If it is not specified, it refers to the master unit.
  • Page 168: Config Ipif

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide enable - Specify that the proxy ARP option will be enabled. disable - Specify that the proxy ARP option will be disabled. local - (Optional) This setting controls whether the system provides the proxy reply for the ARP packets destined for IP address located in the same interface as the received interface.
  • Page 169 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide disable - Disable the state of the interface. proxy_arp - Enable/disable of proxy ARP function. It is for IPv4 function. Default: Disabled. and EI Mode Only) enable - Specify that the proxy ARP option will be enabled. disable - Specify that the proxy ARP option will be disabled.
  • Page 170: Delete Ipif

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure an interface’s IPv4 network address: DGS-3120-24TC:admin#config ipif System ipaddress 192.168.69.123/24 vlan default Command: config ipif System ipaddress 192.168.69.123/24 vlan default Success. DGS-3120-24TC:admin# 12-15 delete ipif Description This command is used to delete an IP interface.
  • Page 171: Disable Ipif

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format enable ipif [<ipif_name 12> | all] Parameters ipif_name - Specify the name of the IP interface. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
  • Page 172: Show Ipif

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#disable ipif newone Command: disable ipif newone Success. DGS-3120-24TC:admin# 12-18 show ipif Description This command is used to display an IP interface. Format show ipif {<ipif_name 12>} Parameters ipif_name - Specify the name of the IP interface.
  • Page 173 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 12-19 enable ipif_ipv6_link_local_auto Description This command is used to enable the auto configuration of link local address when there are no IPv6 addresses explicitly configured. When an IPv6 address is explicitly configured, the link local address will be automatically configured, and the IPv6 processing will be started.
  • Page 174 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the IP interface for IPv6 link local automatic: DGS-3120-24TC:admin#disable ipif_ipv6_link_local_auto newone Command: disable ipif_ipv6_link_local_auto newone Success.
  • Page 175 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide When enabling this configuration, the interface enables IPv6 processing and a router advertisement containing an assigned global address prefix will be received on this interface from an IPv6 router. The resulting address that is a combination of the prefix and the interface identifier will be assigned to the interface.
  • Page 176: Chapter 13 Bpdu Attack Protection Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 13 BPDU Attack Protection Command List config bpdu_protection ports [<portlist> | all ] {state [enable | disable] | mode [ drop | block | shutdown} (1) config bpdu_protection recovery_timer [<sec 60-1000000>...
  • Page 177 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To set the port state enable and drop mode: DGS-3120-24TC:admin#config bpdu_protection ports 1:1 state enable mode drop Command: config bpdu_protection ports 1:1 state enable mode drop Success.
  • Page 178 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config bpdu_protection [trap | log] [none | attack_detected | attack_cleared | both] Parameters trap - To specify the trap state. log - To specify the log state. none - Neither attack_detected nor attack_cleared is trapped or logged.
  • Page 179 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#enable bpdu_protection Command: enable bpdu_protection Success. DGS-3120-24TC:admin# 13-5 disable bpdu_protection Description This command is used to disable BPDU protection function globally for the Switch. Format disable bpdu_protection Parameters None.
  • Page 180 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show the bpdu_protection for the entire switch: DGS-3120-24TC:admin#show bpdu_protection Command: show bpdu_protection BPDU Protection Global Settings ---------------------------------------- BPDU Protection Status : Enabled BPDU Protection Recover Time : 120 seconds BPDU Protection Trap Status : Both...
  • Page 181: Chapter 14 Cable Diagnostics Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 14 Cable Diagnostics Command List cable_diag ports [<portlist> | all] 14-1 cable_diag ports Description This command is used to configure cable diagnostics on ports. For FE port, two pairs of cable will be diagnosed.
  • Page 182 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide • When the link partner is powered down with errors, this command can detect whether the error is open, short, or crosstalk. In this case this command can also detect the distance of the error.
  • Page 183 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#cable_diag ports 1:1,1:11-1:12 Command: cable_diag ports 1:1,1:11-1:12 Perform Cable Diagnostics ... Port Type Link Status Test Result Cable Length (M) ------ ---------- ------------- ------------------------- ----------------- 1000BASE-T Link Up 1:11 1000BASE-T Link Down...
  • Page 184: Chapter 15 Command Logging Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 15 Command Logging Command List enable command logging disable command logging show command logging 15-1 enable command logging Description This command is used to enable the command logging function. NOTE: When the Switch is under the booting procedure or in the procedure of downloading the configuration, all configuration commands should not be logged.
  • Page 185: Show Command Logging

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable command logging Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable the command logging: DGS-3120-24TC:admin# disable command logging Command: disable command logging Success.
  • Page 186 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide...
  • Page 187: Chapter 16 Compound Authentication Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 16 Compound Authentication Command List create authentication guest_vlan [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] (RI and EI Mode Only) delete authentication guest_vlan [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] (RI and EI Mode Only) config authentication guest_vlan [vlan <vlan_name 32>...
  • Page 188 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# create authentication guest_vlan vlan guestVLAN Command: create authentication guest_vlan vlan guestVLAN Success. DGS-3120-24TC:admin# 16-2 delete authentication guest_vlan (RI and EI Mode Only) Description This command is used to delete guest VLAN setting, but won’t delete the static VLAN. All ports which enable guest VLAN will move to original VLAN after deleting guest VLAN.
  • Page 189: Config Authentication Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters vlan - Assigned a VLAN as guest VLAN. The VLAN must be an existed static VLAN. <vlan_name 32> - Enter the VLAN name here. This name can be up to 32 characters long. vlanid - Assigned a VLAN as guest VLAN.
  • Page 190 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide disable - Remove the specified VID list from authentication VLAN(s). If "vlanid" is not specified, or all VLANs is disabled, means do not care which VLAN the client comes from, the client will be authenticated if the client's MAC(not care the VLAN) is not authenticated.
  • Page 191 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide delimiter - (Optional)Specify whether to use delimiter and number of delimiters for MAC address. hyphen - (Optional) Use “-” when specifying MAC address, e.g. aa-bb-cc-dd-ee-ff. colon - (Optional) Use “:” when specifying MAC address, e.g. aa:bb:cc:dd:ee:ff. dot - (Optional) Use “.”when specifying MAC address, e.g.
  • Page 192: Show Authentication Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show authentication guest_vlan Command: show authentication guest_vlan Guest VLAN VID Guest VLAN Member Ports: 1:1-1:24 Total Entries: 1 DGS-3120-24TC:admin# 16-7 show authentication ports Description This command is used to display authentication setting on port(s). Format show authentication ports {<portlist>} Parameters...
  • Page 193: Enable Authorization Attributes

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show authentication ports Command: show authentication ports Port Methods Auth Mode Authentication VLAN(s) ---- -------------- ----------- ---------------------- None Host-based None Host-based None Host-based None Host-based None Host-based None Host-based None...
  • Page 194: Disable Authorization Attributes

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# enable authorization attributes Command: enable authorization attributes Success. DGS-3120-24TC:admin# 16-9 disable authorization attributes Description This command is used to disable authorization. Format disable authorization attributes Parameters None.
  • Page 195: Config Authentication Server Failover

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example This example displays authorization status: DGS-3120-24TC:admin#show authorization Command: show authorization Authorization for Attributes: Enabled DGS-3120-24TC:admin# 16-11 config authentication server failover Description This command is used to configure authentication server failover function. Format config authentication server failover [local | permit | block] Parameters...
  • Page 196 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show authentication Parameters None. Restrictions None. Example To show authentication global configuration: DGS-3120-24TC:admin#show authentication Command: show authentication Authentication Server Failover: Block. DGS-3120-24TC:admin# 16-13 show authentication mac_format Description This command is used to display the authentication MAC format settings.
  • Page 197 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show authentication mac_format Command: show authentication mac_format Case : Uppercase Delimiter : Hyphen Delimiter Number DGS-3120-24TC:admin#...
  • Page 198: Chapter 17 Configuration Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 17 Configuration Command List show config [effective | modified | current_config | boot_up | information| file <pathname>] {[include | exclude | begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include | exclude | begin] <filter_string 80>...
  • Page 199 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide setting regarding STP is not displayed. The lower level setting will only be displayed when the higher level setting is enabled. NOTE: This parameter is only for the current configuration. modified - Show only the commands which are not from the ‘reset’...
  • Page 200: Config Configuration

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example The following example illustrates how the special filters ‘modified’ and .’effective’ affect the configuration display: DGS-3120-24TC:admin# show config modified Command:show config modified enable loopdetect enable ssl config ipif System vlan default ipaddress 192.168.3.4/8 state enable create arpentry 10.1.1.1 00-00-00-00-00-01 DGS-3120-24TC:admin# show config effective...
  • Page 201: Show Boot File

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the Switch’s configuration file as boot up: DGS-3120-24TC:admin#config configuration config.cfg boot_up Command: config configuration config.cfg boot_up Success. DGS-3120-24TC:admin# 17-3 save Description This command is used to save the current configuration to a file. This command is required to be supported regardless of whether file system is supported or whether multiple configuration files are supported.
  • Page 202 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show boot_file Parameters None. Restrictions None. Example To display the boot file: DGS-3120-24TC:admin#show boot_file Command: show boot_file Bootup Firmware : /c:/runtime.had Bootup Configuration : /c:/config.cfg DGS-3120-24TC:admin#...
  • Page 203: Chapter 18 Configuration Trap Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 18 Configuration Trap Command List config configuration trap {save [enable | disable] | upload [enable | disable] | download [enable | disable]} 18-1 config configuration trap Description This command is used to configure the trap status of configuration saving completed, configuration uploading completed and configuration downloading completed.When set to enabled, the SNMP...
  • Page 204 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide...
  • Page 205: Chapter 19 Connectivity Fault Management (Cfm) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 19 Connectivity Fault Management (CFM) Command List (RI and EI Mode Only) create cfm md <string 22> {md_index <uint 1-4294967295>} level <int 0-7> config cfm md [<string 22> | md_index <uint 1-4294967295>] {mip [none | auto | explicit] | sender_id [none | chassis | manage | chassis_manage]} create cfm ma <string 22>...
  • Page 206: Create Cfm Md

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide remote_mepid <int 1-8191> show cfm pkt_cnt {[ports <portlist> {[rx | tx]} | [rx | tx] | ccm]} clear cfm pkt_cnt {[ports <portlist> {[rx | tx]} | [rx | tx] | ccm]} config cfm trap [ais | lock] state [enable | disable] 19-1 create cfm md...
  • Page 207: Create Cfm Ma

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <string 22> - Enter the maintenance domain name. This name can be up to 22 characters long. md_index - Specify the maintenance domain index. <uint 1-4294967295> - Enter the maintenance domain index value here. This value must be between 1 and 4294967295.
  • Page 208: Config Cfm Ma

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <uint 1-4294967295> - Enter the maintenance association index value here. This value must be between 1 and 4294967295. md - Specify the maintenance domain name. <string 22> - Enter the maintenance domain name here. This name can be up to 22 characters long.
  • Page 209: Create Cfm Mep

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide be between 1 and 4294967295. vlanid - (Optional) Specify the VLAN Identifier. Different MAs must be associated with different VLANs. <vlanid 1-4094> - Enter the VLAN ID used here. This value must be between 1 and 4094. mip - (Optional) This is the control creation of MIPs.
  • Page 210: Config Cfm Mep

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format create cfm mep <string 32> mepid <int 1-8191> md [<string 22> | md_index <uint 1- 4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>] direction [inward | outward] port <port>...
  • Page 211 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide • Error CCM Received: priority 4 • Some Remote MEPs Down: priority 3 • Some Remote MEP MAC Status Errors: priority 2 • Some Remote MEP Defect Indications: priority 1 If multiple types of the fault occur on an MEP, only the fault with the highest priority will be alarmed.
  • Page 212: Delete Cfm Mep

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <centisecond 250-1000> - Enter the alarm time value here. This value must be between 250 and 1000 centiseconds. alarm_reset_time - (Optional) This is the dormant duration time before a defect is triggered before the fault can be re-alarmed.
  • Page 213: Delete Cfm Ma

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete a CFM MEP: DGS-3120-24TC:admin# delete cfm mep mepname mep1 Command: delete cfm mep mepname mep1 Success.
  • Page 214: Delete Cfm Md

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# delete cfm ma op1 md op_domain Command: delete cfm ma op1 md op_domain Success. DGS-3120-24TC:admin# 19-9 delete cfm md Description This command is used to delete a previously created maintenance domain. All the MEPs and maintenance associations created in the maintenance domain will be deleted automatically.
  • Page 215: Disable Cfm

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the CFM globally: DGS-3120-24TC:admin# enable cfm Command: enable cfm Success. DGS-3120-24TC:admin# 19-11 disable cfm Description...
  • Page 216: Config Cfm Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 19-12 config cfm ports Description This command is used to enable or disable the CFM function on a per-port basis. By default, the CFM function is disabled on all ports. If the CFM is disabled on a port: 1.
  • Page 217: Show Cfm

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show the CFM ports: DGS-3120-24TC:admin#show cfm ports 1:3-1:6 Command: show cfm ports 1:3-1:6 Port State ----- -------- Enabled Enabled Enabled Disabled DGS-3120-24TC:admin# 19-14 show cfm Description This command is used to show the CFM configuration.
  • Page 218 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show the CFM configuration: DGS-3120-24TC:admin#show cfm Command: show cfm CFM State: Enabled AIS Trap State: Disabled LCK Trap State: Disabled MD Index MD Name Level ---------- ----------------------...
  • Page 219: Show Cfm Fault

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Port : 1:2 Direction : Inward CFM Port Status : Enabled MAC Address : 00-01-02-03-04-02 MEP State : Enabled CCM State : Enabled PDU Priority Fault Alarm : Disabled Alarm Time : 250 centisecond((1/100)s)
  • Page 220: Show Cfm Port

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show cfm fault {md [<string 22> | md_index <uint 1-4294967295>] {ma [<string 22> | ma_index <uint 1-4294967295>]}} Parameters md - (Optional) Specify the maintenance domain name. <string 22>...
  • Page 221: Cfm Loopback

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide outward - Specify that the MEP direction will be outward facing. If not specified, both directions and the MIP are shown. vlanid - (Optional) Specify the VLAN identifier. If not specified, all VLANs are shown. <vlanid 1-4094>...
  • Page 222: Cfm Linktrace

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <string 22> - Enter the maintenance association name. This name can be up to 22 characters long. ma_index - Specify the maintenance association index. <uint 1-4294967295> - Enter the maintenance association index value. This value must be between 1 and 4294967295.
  • Page 223: Show Cfm Linktrace

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <string 32> - Enter the MEP name used. This name can be up to 32 characters long. mepid - Specify the MEP ID used. <int 1-8191> - Enter the MEP ID used. This value must be between 1 and 8191. md - Specify the maintenance domain name.
  • Page 224 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide md - Specify the maintenance domain name. <string 22> - Enter the maintenance domain name. This name can be up to 22 characters long. md_index - Specify the maintenance domain index. <uint 1-4294967295>...
  • Page 225: Delete Cfm Linktrace

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show cfm linktrace mep mep1 trans_id 26 Command: show cfm linktrace mep mep1 trans_id 26 Transaction ID: 26 From MEP mep1 to 00-11-22-33-44-55 Start Time 2008-01-01 12:00:00 MEPID Ingress MAC Address Egress MAC Address...
  • Page 226: Show Cfm Mipccm

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To delete the CFM link trace reply: DGS-3120-24TC:admin# delete cfm linktrace mepname mep1 Command: delete cfm linktrace mepname mep1 Success. DGS-3120-24TC:admin# 19-21 show cfm mipccm Description This command is used to show the MIP CCM database entries.
  • Page 227 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config cfm mp_ltr_all [enable | disable] Parameters enable - Specify that the MP's reply to the LTR function will be set to all. disable - Disable sending the all MPs replay LTRs function. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 228 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 19-24 show cfm remote_mep Description This command is used to show remote MEPs. Format show cfm remote_mep [mepname <string 32> | md [<string 22> | md_index <uint 1- 4294967295>] ma [<string 22>...
  • Page 229 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show cfm remote_mep mepname mep1 remote_mepid 2 Command: show cfm remote_mep mepname mep1 remote_mepid 2 Remote MEPID MAC Address : 00-11-22-33-44-02 Status : OK : Yes Port State : Blocked Interface Status...
  • Page 230 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide CFM TX Statistics ----------------------------------------------------------- Port AllPkt ----- -------- -------- -------- -------- -------- -------- 3988 3984 DGS-3120-24TC:admin# show cfm pkt_cnt ccm Command: show cfm pkt_cnt ccm CCM RX counters: XCON = Cross-connect CCMs Error...
  • Page 231 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format clear cfm pkt_cnt {[ports <portlist> {[rx | tx]} | [rx | tx] | ccm]} Parameters ports - (Optional) The ports which require need the counters clearing. If not specified, all ports will be cleared.
  • Page 232 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide enable – Enable the CFM trap state. This is the default. disable – Disable the CFM trap state. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example DGS-3120-24TC:admin#config cfm trap ais state enable Command: config cfm trap ais state enable...
  • Page 233: Chapter 20 Connectivity Fault Management (Cfm) Extension Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 20 Connectivity Fault Management (CFM) Extension Command List (RI and EI Mode Only) config cfm ais md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>] mepid <int 1-8191>...
  • Page 234: Config Cfm Lock

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <uint 1-4294967295> - Enter the maintenance association index value here. This value must between 1 and 4294967295. mepid - The MEP ID in the MD which sends AIS frame. <int 1-8191>...
  • Page 235 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide characters long. md_index - Specify the maintenance domain index. <uint 1-4294967295> - Enter the maintenance domain index value here. This value must between 1 and 4294967295. ma - Specify the maintenance association name. <string 22>...
  • Page 236 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <uint 1-4294967295> - Enter the maintenance domain index value here. This value must between 1 and 4294967295. ma - Specify the maintenance association name. <string 22> - Enter the maintenance association name here. This name can be up to 22 characters long.
  • Page 237: Chapter 21 Cpu Interface Filtering Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 21 CPU Interface Filtering Command List create cpu access_profile profile_id <value 1-5> [ethernet {vlan | source_mac <macmask 000000000000-ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff> | 802.1p | ethernet_type} | ip {vlan | source_ip_mask <netmask> | destination_ip_mask <netmask> | dscp | [icmp {type | code } | igmp {type} | tcp {src_port_mask <hex 0x0-0xffff>...
  • Page 238 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_16-31 <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_32-47 <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_48-63 <hex 0x0-0xffffffff>...
  • Page 239 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide and 15. <hex 0x0-0xffffffff> - Enter the mask pattern offset of the frame between 0 and 15 here. offset_16-31 - (Optional) Specify that the mask pattern offset of the frame will be between 16 and 31.
  • Page 240 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#create cpu access_profile profile_id 1 ethernet vlan source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p ethernet_type Command: create cpu access_profile profile_id 1 ethernet vlan source_mac 00-00- 00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p ethernet_type Success.
  • Page 241 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config cpu access_profile profile_id <value 1-5> [add access_id [auto_assign | <value 1- 100>] [ethernet {[vlan <vlan_name 32> | vlan_id <vlanid 1-4094>] | source_mac <macaddr> | destination_mac <macaddr> | 802.1p <value 0-7> | ethernet_type <hex 0x0-0xffff>} | ip {[vlan <vlan_name 32>...
  • Page 242 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide destination_ip - (Optional) Specify an IP destination address. <ipaddr> - Enter the destination IP address used for this configuration here. mask - (Optional) Specify the mask. <netmask> - Specify the mask. dscp - (Optional) Specify the value of DSCP, the value can be configured 0 to 63.
  • Page 243 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <hex 0x0-0xffffffff> - Enter the mask pattern offset of the frame between 16 and 31 here. offset_32-47 - (Optional) Specify that the mask pattern offset of the frame will be between 32 and 47.
  • Page 244 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide delete - Specify to delete a rule from the profile ID entered. access_id - Specify the index of access list entry. The range of this value is 1-100. <value 1-100>...
  • Page 245 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 21-5 disable cpu interface filtering Description This command is used to disable CPU interface filtering control. Format disable cpu_interface_filtering Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable cpu_interface_filtering: DGS-3120-24TC:admin# disable cpu_interface_filtering...
  • Page 246 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show cpu access_profile Command: show cpu access_profile CPU Interface Filtering State: Disabled CPU Interface Access Profile Table Total Unused Rule Entries : 497 Total Used Rule Entries =============================================================================== Profile ID: 1 Type: IPv6...
  • Page 247 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide =============================================================================== Profile ID: 3 Type: Ethernet MASK on Source MAC : FF-FF-FF-FF-FF-FF Unused Rule Entries: 99 ------------------------------------------------------------------------------- Rule ID : 1 Ports: 1:1-1:24,2:1-2:24,3:1-3:24 Match on Source MAC : 00-00-22-B0-61-51 Action: Deny...
  • Page 248: Chapter 22 Debug Software Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 22 Debug Software Command List debug error_log [dump | clear | upload_toTFTP <ipaddr> <path_filename 64>] debug show error_reboot state debug buffer [utilization | dump | clear | upload_toTFTP <ipaddr> <path_filename 64>] debug output [module <module_list>...
  • Page 249 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide debug vrrp clear counter (RI Mode Only) debug vrrp log state [enable | disable] (RI Mode Only) debug vrrp show counter (RI Mode Only) debug vrrp show flag (RI Mode Only) debug vrrp show log state (RI Mode Only)
  • Page 250 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# debug error_log dump Command: debug error_log dump ************************************************************************** # debug log: 1 # level: fatal # clock: 10000ms # time : 2009/03/11 13:00:00 ====================== SOFTWARE FATAL ERROR ======================= Invalid mutex handle : 806D6480 Current TASK : bcmARL.0 ------------------------- TASK STACKTRACE ------------------------...
  • Page 251: Debug Buffer

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display the error reboot status: DGS-3120-24TC:admin#debug show error_reboot state Command: debug show error_reboot state Error Reboot: Enabled DGS-3120-24TC:admin# 22-3 debug buffer...
  • Page 252: Debug Output

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show the debug buffer’s state: DGS-3120-24TC:admin# debug buffer utilization Command: debug buffer utilization Allocate from System memory pool Total size 2 MB Utilization rate DGS-3120-24TC:admin# To clear the debug buffer: DGS-3120-24TC:admin# debug buffer clear Command: debug buffer clear...
  • Page 253 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters module - Specify the module list. <module_list> - Enter the module list here. all - Control output method of all modules. buffer - Direct the debug message of the module output to debug buffer(default). console - Direct the debug message of the module output to local console.
  • Page 254: Debug Config State

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# debug config error_reboot disable Command: debug config error_reboot disable Success. DGS-3120-24TC:admin# 22-6 debug config state Description This command is used to set the state of the debug. Format debug config state [enable | disable] Parameters...
  • Page 255 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To clear cpu port counter of all ports: DGS-3120-24TC:admin#debug clear cpu port counter all Command: debug clear cpu port counter all Success.
  • Page 256 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show debug cpu port counter by CoS on port 1:1 and 1:2: DGS-3120-24TC:admin#debug show cpu port counter 1:1-1:2 by_cos Command: debug show cpu port counter 1:1-1:2 by_cos Ports:1 CoS 0 rx:0 tx:0 1 rx:0 tx:0...
  • Page 257: Debug Show Status

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display debug information of JWAC: DGS-3120-24TC:admin#debug show jwac auth_info Command: debug show jwac auth_info ACL Index Bitmap DB (jwac_db_acl_bmp): Internal TCP Port Number (jwac_internal_port_bitmap): Connection DB: No Host Current AUTH DB (_jwac_db_nodes): No Host...
  • Page 258 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug show status Command: debug show status Debug Global State : Enabled MSTP : Disabled IMPB : Disabled DHCPv6_CLIENT : Disabled DHCPv6_RELAY : Disabled ERPS : Disabled DGS-3120-24TC:admin# 22-11 debug dhcpv6_client state enable Description...
  • Page 259 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disabled the DHCPv6 client debug function: DGS-3120-24TC:admin#debug dhcpv6_client state disable Command: debug dhcpv6_client state disable Success.
  • Page 260 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 22-14 debug dhcpv6_client packet Description This command is used to enable or disable debug information flag for DHCPv6 client packet, including packet receiving and sending. Format debug dhcpv6_client packet [all | receiving | sending] state [enable | disable] Parameters all - Set packet receiving and sending debug flags.
  • Page 261 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enabled the DHCPv6 relay debug function: DGS-3120-24TC:admin#debug dhcpv6_relay state enable Command: debug dhcpv6_relay state enable Success. DGS-3120-24TC:admin# 22-16 debug dhcpv6_relay state disable Description This command is used to disable DHCPv6 relay debug functions. Format debug dhcpv6_relay state disable Parameters...
  • Page 262 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters buffer - Let the debug message output to buffer. console - Let the debug message output to console. Restrictions Only Administrator-level users can issue this command. Example To set debug information to output to a console: DGS-3120-24TC:admin#debug dhcpv6_relay output console...
  • Page 263 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 22-19 debug dhcpv6_relay hop_count state Description This command is used to enable or disable debug information flag about the hop count. Format debug dhcpv6_relay hop_count state [enable | disable] Parameters enable - Specify to enable the hop count state.
  • Page 264 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To print out all debug IMPB messages: DGS-3120-24TC:admin# debug address_binding all state enable Command: debug address_binding all state enable Success.
  • Page 265 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable RIPng debug globally: DGS-3120-24TC:admin#debug ripng state disable Command: debug ripng state disable Success. DGS-3120-24TC:admin# 22-23 debug ripng show flag (RI Mode Only) Description This command is used to display the RIPng debug flag setting.
  • Page 266 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 22-24 debug ripng flag (RI Mode Only) Description This command is used to enable or disable the RIPng debug flag. Format debug ripng flag [{interface | packet [all | rx | tx ] | route} | all] state [enable | disable] Parameters interface - (Optional) The state of the RIPng interface debug.
  • Page 267 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To stop IMPB debug: starting when the IMPB module receives an ARP/IP or DHCP packet: DGS-3120-24TC:admin# no debug address_binding Command: no debug address_binding Success.
  • Page 268 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug show address_binding binding_state_table dhcpv6_snooping Command: debug show address_binding binding_state_table dhcpv6_snooping S (State) - S: Start, L: Live, D :Detection, R: Renew, B: Bound Time - Expiry Time (sec) IP Address MAC Address Time...
  • Page 269 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide state - Specify to set the configured OSPF debug flag’s state. enable - Specify that the configured OSPF debug flag’s state will be enabled. disable - Specify that the configured OSPF debug flag’s state will be disabled. Restrictions Only Administrator-level users can issue this command.
  • Page 270 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug ospf retransmission state enable Command: debug ospf retransmission state enable Success. DGS-3120-24TC:admin# To enable all OSPF SPF debug flags: DGS-3120-24TC:admin#debug ospf spf all state enable Command: debug ospf spf all state enable Success.
  • Page 271 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format debug ospf log state [enable | disable] Parameters enable - Specify that the OSPF debug log state will be enabled. disable - Specify that the OSPF debug log state will be disabled. Restrictions Only Administrator-level users can issue this command.
  • Page 272 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug ospf show counter Command: debug ospf show counter OSPF Debug Statistic Counters Packet Receiving: Total : 30 Hello : 30 LSAck Drop Auth Fail : 0 Packet Sending: Total : 59...
  • Page 273 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display all AS external LSAs with detail information: DGS-3120-24TC:admin#debug ospf show detail external_link Command: debug ospf show detail external_link OSPF Phase2 External Link: =========== AREA 0.0.0.0: AS-External LSA: Link-State ID: 192.168.205.0 Advertising Router: 1.1.1.1...
  • Page 274 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To display all Network LSAs with detail information: DGS-3120-24TC:admin#debug ospf show detail net_link Command: debug ospf show detail net_link OSPF Phase2 NET Link: =========== AREA 0.0.0.0:...
  • Page 275 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To display all Router LSAs with detail information: DGS-3120-24TC:admin#debug ospf show detail rt_link Command: debug ospf show detail rt_link OSPF Phase2 RT Link: =========== AREA 0.0.0.0:...
  • Page 276 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display all Summary LSAs with detail information: DGS-3120-24TC:admin#debug ospf show detail summary_link Command: debug ospf show detail summary_link OSPF Phase2 Summary Link: =========== AREA 0.0.0.0:...
  • Page 277 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format debug ospf show detail type7_link Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display all type-7 LSAs with detail information: DGS-3120-24TC:admin#debug ospf show detail type7_link Command: debug ospf show detail type7_link OSPF Phase2 NSSA-External Link: ===========...
  • Page 278 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 22-36 debug ospf show flag (RI Mode Only) Description This command is used to display the OSPF debug flag’s settings. Format debug ospf show flag Parameters None. Restrictions Only Administrator-level users can issue this command.
  • Page 279 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format debug ospf show log state Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display the OSPF debug log state: DGS-3120-24TC:admin#debug ospf show log state Command: debug ospf show log state OSPF Log State: Enabled DGS-3120-24TC:admin#...
  • Page 280 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug ospf show redistribution Command: debug ospf show redistribution OSPF Redistribution List: Nexthop State Type Tag ------------------ --------------- ----- ---- --------------- 1.1.1.0/24 0.0.0.0 0.0.0.0 OSPF ASE Table: Nexthop State Type Tag ------------------...
  • Page 281 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug ospf show request_list Command: debug ospf show request_list OSPF Request List: Area 0.0.0.0: Circuit: 1.1.1.1 Neighbor: 90.2.0.1 IP: 1.1.1.2 LSID: 192.194.134.0 RTID: 90.2.0.1 LSID: 192.194.135.0 RTID: 90.2.0.1 LSID: 192.194.136.0 RTID: 90.2.0.1 LSID: 192.194.137.0...
  • Page 282 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug ospf show summary_list Command: debug ospf show summary_list OSPF Summary List: Area 0.0.0.0: Circuit: 1.1.1.1 Neighbor: 90.2.0.1 IP: 1.1.1.2 LSID: 1.1.1.1 RTID: 1.1.1.1 Circuit: 2.2.2.1 Circuit: 10.1.1.6 DGS-3120-24TC:admin# 22-41 debug ospf state (RI Mode Only) Description...
  • Page 283 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format debug vrrp [vr_state_change | packet [all | {receiving | sending}(1)] | mac_addr_update | interface_change | timers] state [enable | disable] Parameters vr_state_change - Specify the VRRP virtual router state change debug flag. packet - Specify to set the VRRP packet flags.
  • Page 284 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide To enable the VRRP interface state change debug flag: DGS-3120-24TC:admin#debug vrrp interface_change state enable Command: debug vrrp interface_change state enable Success. DGS-3120-24TC:admin# To enable the VRRP timers debug flag: DGS-3120-24TC:admin#debug vrrp timers state enable Command: debug vrrp timers state enable Success.
  • Page 285 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format debug vrrp log state [enable | disable] Parameters enable - Specify that the VRRP debug log state will be enabled. disable - Specify that the VRRP debug log state will be disabled. Restrictions Only Administrator-level users can issue this command.
  • Page 286 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug vrrp show counter Command: debug vrrp show counter VRRP debug statistic counters Received ADV : 9 Drop : 52 Auth fail Sent ADV DGS-3120-24TC:admin# 22-46 debug vrrp show flag (RI Mode Only) Description This command is used to display VRRP debug flag settings.
  • Page 287 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 22-47 debug vrrp show log state (RI Mode Only) Description The command is used to display the VRRP debug log state. Format debug vrrp show log state Parameters None.
  • Page 288 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug vrrp state enable Command: debug vrrp state enable Success. DGS-3120-24TC:admin# 22-49 debug pim ssm (RI Mode Only) Description This command is used to enable the PIM-SSM debug function. Format debug pim ssm Parameters...
  • Page 289 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable the PIM-SSM debug function: DGS-3120-24TC:admin#no debug pim ssm Command: no debug pim ssm Success. DGS-3120-24TC:admin# 22-51 debug show cpu utilization...
  • Page 290 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#debug show cpu utilization Command: debug show cpu utilization Five seconds - 13 % One minute - 12 % Five minutes - 12 % Process Name 5Sec 1Min 5Min -----------------...
  • Page 291: Chapter 23 Denial-Of-Service (Dos) Attack Prevention Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 23 Denial-of-Service (DoS) Attack Prevention Command List config dos_prevention dos_type [{land_attack | blat_attack | tcp_null_scan | tcp_xmasscan | tcp_synfin | tcp_syn_srcport_less_1024 | ping_death_attack | tcp_tiny_frag_attack}(1) | all] {action [drop] | state [enable | disable]}(1) show dos_prevention {land_attack | blat_attack | tcp_null_scan | tcp_xmasscan | tcp_synfin | tcp_syn_srcport_less_1024 | ping_death_attack | tcp_tiny_frag_attack}...
  • Page 292 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config dos_prevention dos_type land_attack blat_attack action drop state enable Command: config dos_prevention dos_type land_attack blat_attack action drop state enable Success. DGS-3120-24TC:admin# 23-2 show dos_prevention Description This command is used to display DoS prevention information. Format show dos_prevention {land_attack | blat_attack | tcp_null_scan | tcp_xmasscan | tcp_synfin | tcp_syn_srcport_less_1024 | ping_death_attack | tcp_tiny_frag_attack}...
  • Page 293 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show dos_prevention Command: show dos_prevention Trap:Disabled Log:Disabled Function Version : 1.01 DoS Type State Action Frame Counts -------------------------- -------- ---------------- ------------ Land Attack Enabled Drop Blat Attack Enabled Drop TCP Null Scan...
  • Page 294 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config dos_prevention trap disable Command: config dos_prevention trap disable Success. DGS-3120-24TC:admin# 23-4 config dos_prevention log Description This command is used to enable or disable the DoS prevention log state. Format config dos_prevention log [enable | disable] Parameters...
  • Page 295: Chapter 24 Dhcp Local Relay Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 24 DHCP Local Relay Command List config dhcp_local_relay vlan <vlan_name 32> state [enable | disable] config dhcp_local_relay vlan vlanid <vlan_id 1-4094> state [enable | disable] enable dhcp_local_relay disable dhcp_local_relay show dhcp_local_relay 24-1...
  • Page 296 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 24-2 config dhcp_local_relay vlan vlanid Description This command is used to enable or disable DHCP local relay function for specified VLAN ID. Format config dhcp_local_relay vlan vlanid <vlan_id 1-4094> state [enable | disable] Parameters vlanid - Specify the VLAN ID that the DHCP local relay function will be enabled.
  • Page 297 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enable the DHCP local relay function: DGS-3120-24TC:admin# enable dhcp_local_relay Command: enable dhcp_local_relay Success. DGS-3120-24TC:admin# 24-4 disable dhcp_local_relay Description This command is used to globally disable the DHCP local relay function on the Switch. Format disable dhcp_local_relay Parameters...
  • Page 298 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display local dhcp relay status: DGS-3120-24TC: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-3120-24TC:admin#...
  • Page 299: Chapter 25 Dhcp Relay Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 25 DHCP Relay Command List config dhcp_relay {hops <int 1-16> | time <sec 0-65535>} config dhcp_relay add ipif <ipif_name 12> <ipaddr> config dhcp_relay add vlanid <vlan_id_list> <ipaddr> config dhcp_relay delete ipif <ipif_name 12>...
  • Page 300 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide time - (Optional) The time 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. <sec 0-65535>...
  • Page 301 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 25-3 config dhcp_relay add vlanid Description This command is used to add an IP address as a destination to forward (relay) DHCP/BOOTP packets. If there is an IP interface in the VLAN and it has configured a DHCP server at the interface level, then the configuration at the interface level has higher priority.
  • Page 302 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete a DHCP/BOOTP server to the relay table: DGS-3120-24TC:admin# config dhcp_relay delete ipif System 10.43.21.12 Command: config dhcp_relay delete ipif System 10.43.21.12 Success.
  • Page 303 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format enable dhcp_relay Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the DHCP relay function. DGS-3120-24TC:admin# enable dhcp_relay Command: enable dhcp_relay Success.
  • Page 304 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# disable dhcp_relay Command: disable dhcp_relay Success. DGS-3120-24TC:admin# 25-8 show dhcp_relay Description This command is used to display the current DHCP relay configuration. Format show dhcp_relay {ipif <ipif_name 12>} Parameters ipif - (Optional) Specify the IP interface name.
  • Page 305 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show dhcp_relay Command: show dhcp_relay DHCP/BOOTP Relay Status : Enabled DHCP/BOOTP Hops Count Limit DHCP/BOOTP Relay Time Threshold : 2 DHCP Vendor Class Identifier Option 60 State: Disabled DHCP Client Identifier Option 61 State: Disabled DHCP Relay Agent Information Option 82 State : Disabled...
  • Page 306 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the state of dhcp_relay option 60: DGS-3120-24TC:admin# config dhcp_relay option_60 state enable Command: config dhcp_relay option_60 state enable Success DGS-3120-24TC:admin# 25-10 config dhcp_relay option_60 add Description This command is used to configure the option 60 relay rules.
  • Page 307 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 25-11 config dhcp_relay option_60 default Description This command is used to configure the DHCP relay option 60 default drop option. When there are no match servers found for the packet based on option 60, the relay servers will be determined by the default relay server setting.
  • Page 308 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config dhcp_relay option_60 delete [string <multiword 255> {relay <ipaddr>} | ipaddress <ipaddr> | all | default {<ipaddr>}] Parameters string - Delete all the entries whose string is equal to the string of specified if ipaddress is not specified <multiword 255>...
  • Page 309 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show DHCP option 60 information: DGS-3120-24TC:admin#show dhcp_relay option_60 Command: show dhcp_relay option_60 Default Processing Mode: Drop Default Servers: Matching Rules: String Match Type IP Address ------- ---------...
  • Page 310 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the state of dhcp_relay option 61: DGS-3120-24TC:admin# config dhcp_relay option_61 state enable Command: config dhcp_relay option_61 state enable Success DGS-3120-24TC:admin# 25-15 config dhcp_relay option_61 add Description This command is used to add a rule to determine the relay server based on option 61.
  • Page 311 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 25-16 config dhcp_relay option_61 default Description This command is used to configure the default ruler for option 61. Format config dhcp_relay option_61 default [relay <ipaddr> | drop] Parameters relay - Specify to relay the packet that has no option matching 61 matching rules to an IP address.
  • Page 312 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To remove a DHCP relay option 61 entry: DGS-3120-24TC:admin# config dhcp_relay option_61 delete mac_address 00-11-22- 33-44-55 Command: config dhcp_relay option_61 delete mac_address 00-11-22-33-44-55 Success...
  • Page 313 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show dhcp_relay option_61 Command: show dhcp_relay option_61 Default Relay Rule: 10.90.90.200 Matching Rules: Client-ID Type Relay Rule ---------------------- ----------- ---------------- String Drop abcde String 10.90.90.1 00-11-22-33-44-55 MAC Address Drop Total Entries: 3...
  • Page 314 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 25-20 config dhcp_relay option_82 circuit_id Description This command is used to configure the DHCP relay option 82 circuit ID. Format config dhcp_relay option_82 circuit_id [default | user_define <sentence 32> | vendor1 | vendor2 | vendor3 | vendor4 | vendor5 | vendor6] Parameters default - If configured to default, the circuit ID use the original format:...
  • Page 315 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide User-defined 1 byte 1 byte Maximum 32 bytes a. Sub-option type 1 (1 means circuit ID). b. Length: Total length of user-defined string. By default, the length is 0 with no field value.
  • Page 316 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte Chassis Port (0x45) (0x74) (0x2F) (0x30) (0x2F) number (0x3A) 1 byte 1 byte 1 byte 1 byte...
  • Page 317 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the ciruit ID as vendor 2: DGS-3120-24TC:admin#config dhcp_relay option_82 circuit_id vendor2 Command: config dhcp_relay option_82 circuit_id vendor2 Success. DGS-3120-24TC:admin# 25-21 config dhcp_relay option_82 policy Description This command is used to specify the way to process the packets from the client side which have the 82 option field, and are not dropped since the check function is disabled.
  • Page 318 Only Administrator, Operator and Power-User level users can issue this command. Example To configure the content in Remote ID sub-option: DGS-3120-24TC:admin#config dhcp_relay option_82 remote_id user_define "D-Link L3 Switch" Command: config dhcp_relay option_82 remote_id user_define "D-Link L3 Switch" Success. DGS-3120-24TC:admin# 25-23 config dhcp_relay option_82 state Description This command is used to configure the state of the DHCP relay agent information option 82 of the switch.
  • Page 319 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config dhcp_relay option_82 state [enable | disable] Parameters enable - When the state is enabled, the DHCP packet will be inserted with the option 82 field before being relayed to server.
  • Page 320 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the inner VID as 10 to the DHCP server with the IP of 10.0.0.1: DGS-3120-24TC:admin#config dhcp_relay server_cvid 10.0.0.1 10 Command: config dhcp_relay server_cvid 10.0.0.1 10 Success.
  • Page 321 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <portlist> - (Optional) Enter the list of ports that will be used for this configuration. If this parameter is not specified, then all ports will be configured. circuit_id - Specify the content in the Circuit ID sub-option.
  • Page 322 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show dhcp_relay port_option_82 1:1-1:4 Command: show dhcp_relay port_option_82 1:1-1:4 DHCP Relay Agent Information Option 82 Per port info: Port Type Option 82 Remote ID Value Option 82 Circuit ID Value ----- -------- -------------------------------- ---------------------------- vendor3 12345678...
  • Page 323: Chapter 26 Dhcp Server Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 26 DHCP Server Command List (RI Mode Only) create dhcp excluded_address begin_address <ipaddr> end_address <ipaddr> delete dhcp excluded_address [begin_address <ipaddr> end_address <ipaddr> | all] show dhcp excluded_address create dhcp pool <pool_name 12>...
  • Page 324 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <ipaddr> - Specify the ending address of the IP address range. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To specify the IP address that DHCP server should not assign to clients: DGS-3120-24TC: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...
  • Page 325 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 26-3 show dhcp excluded_address Description This command is used to display the groups of IP addresses which are excluded from being a legal assigned IP address. Format show dhcp excluded_address Parameters None.
  • Page 326 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create a DHCP pool: DGS-3120-24TC:admin#create dhcp pool dhcppool01 Command: create dhcp pool dhcppool01 Success.
  • Page 327 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide a request from the client, the server will automatically find a pool to allocate the address. If the request is relayed to the server by the intermediate device, the server will match the gateway IP address carried in the packet against the network of each DHCP pool.
  • Page 328 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the domain name option of the DHCP pool: DGS-3120-24TC:admin#config dhcp pool domain_name dhcppool01 nba.com Command: config dhcp pool domain_name dhcppool01 nba.com Success. DGS-3120-24TC:admin# 26-8 config dhcp pool dns_server Description This command is used to specify the IP address of a DNS server that is available to a DHCP client.
  • Page 329 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Windows Internet Naming Service (WINS) is a name resolution service that Microsoft DHCP clients use to correlate host names to IP addresses within a general grouping of networks. If a NetBIOS name server is not specified, the NetBIOS name server information will not be provided to the client.
  • Page 330 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the NetBIOS node type: DGS-3120-24TC:admin#config dhcp pool netbios_node_type dhcppool01 hybrid Command: config dhcp pool netbios_node_type dhcppool01 hybrid Success.
  • Page 331 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 26-12 config dhcp pool lease Description This command is used to specify the duration of the DHCP pool lease. By default, each IP address assigned by a DHCP server comes with a one-day lease, which is the amount of time that the address is valid.
  • Page 332 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <pool_name 12> - Specify the DHCP pool name. <file_name 64> - (Optional) Specify the file name of the boot image. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the boot file: DGS-3120-24TC:admin#config dhcp pool boot_file dhcppool01 boot.had...
  • Page 333 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 26-15 config dhcp ping_packets Description This command is used to specify the number of ping packets the DHCP server sends to an IP address before assigning this address to a requesting client. By default, the DHCP server pings a pool address twice before assigning the address to a DHCP client.
  • Page 334 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the time out value for ping packets: DGS-3120-24TC:admin#config dhcp ping_timeout 500 Command: config dhcp ping_timeout 500 Success.
  • Page 335: Clear Dhcp Binding

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#create dhcp pool manual_binding dhcppool01 10.10.10.1 hardware_address 00-80-C8-02-02-02 type ethernet Command: create dhcp pool manual_binding dhcppool01 10.10.10.1 hardware_address 00-80-C8-02-02-02 type ethernet Success. DGS-3120-24TC:admin# 26-18 delete dhcp pool manual_binding Description This command is used to delete DHCP server manual binding.
  • Page 336: Show Dhcp Binding

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <pool_name 12> - Specify the DHCP pool name to clear. <ipaddr> - Specify the IP address to clear. all - Specify to clear all IP addresses. all - Specify to clear all DHCP pool names and IP addresses.
  • Page 337 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Total Entries: 4 DGS-3120-24TC:admin# 26-21 show dhcp pool Description This command is used to display the information for DHCP pool. If pool name is not specified, information for all pools will be displayed. Format show dhcp pool {<pool_name 12>} Parameters...
  • Page 338 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show dhcp pool manual_binding {<pool_name 12>} Parameters <pool_name 12> - (Optional) Specify the DHCP pool name. Restrictions None. Example To display the configured manual binding entries: DGS-3120-24TC:admin#show dhcp pool manual_binding Command: show dhcp pool manual_binding Pool Name...
  • Page 339 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enable DHCP server: DGS-3120-24TC:admin#enable dhcp_server Command: enable dhcp_server Success. DGS-3120-24TC:admin# 26-24 disable dhcp_server Description This command is used to disable the DHCP server function on the switch. Format disable dhcp_server Parameters...
  • Page 340 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display the DHCP server status: DGS-3120-24TC:admin#show dhcp_server Command: show dhcp_server DHCP Server Global State: Enabled Ping Packet Number Ping Timeout : 500 ms DGS-3120-24TC:admin# 26-26 clear dhcp conflict_ip Description...
  • Page 341 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 26-27 show dhcp conflict_ip Description This command is used to display the IP address that has been identified as being in conflict. The DHCP server will use ping packet to determine whether an IP address is conflicting with other hosts before binding this IP.
  • Page 342: Chapter 27 Dhcp Server Screening Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 27 DHCP Server Screening Command List config filter dhcp_server [add permit server_ip <ipaddr> {client_mac <macaddr>} ports [<portlist> | all] | delete permit server_ip <ipaddr> {client_mac <macaddr>} ports [<portlist> | all] | ports [<portlist>...
  • Page 343 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide | all] | ports [<portlist> | all] state [enable | disable] | illegal_server_log_suppress_duration [1min | 5min | 30min]] Parameters add permit - Specify to add a DHCP permit. server_ip - The IP address of the DHCP server to be filtered.
  • Page 344 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 27-2 show filter dhcp_server Description This command is used to display the DHCP server/client filter list created on the Switch. Format show filter dhcp_server Parameters None. Restrictions None.
  • Page 345 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters enable - Enable the log function. disable - Disable the log function. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the log function. DGS-3120-24TC:admin#config filter dhcp_server log disable Command: config filter dhcp_server log disable Success.
  • Page 346 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 27-5 create filter dhcpv6_server permit sip Description This command used to create a permit entry. The specific DHCPv6 server packets, with the source IPv6 address, will be forwarded on the specified port(s). Format create filter dhcpv6_server permit sip <ipv6addr>...
  • Page 347 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enable the Filter DHCPv6 Server log state: DGS-3120-24TC:admin#config filter dhcpv6_server log enable Command: config filter dhcpv6_server log enable Success. DGS-3120-24TC:admin# 27-7 config filter dhcpv6_server ports Description This command is used to configure the state of filter DHCPv6 server packets on the switch.
  • Page 348 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config filter dhcpv6_server trap [enable | disable] Parameters enable - Specify that the trap for the filter DHCPv6 server will be enabled. The trap for filter DHCPv6 server will be sent out.
  • Page 349 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Trap State: Enabled State: Enabled Permit Source Address Table: Source IP Address Port --------------------------------------- --------------- 2200::5 Total Entries:1 DGS-3120-24TC:admin# 27-10 delete filter dhcpv6_server permit sip Description This command is used to delete a filter DHCPv6 server permit entry. Format delete filter dhcpv6_server permit sip <ipv6addr>...
  • Page 350 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <ipv6addr> - Enter the source address of entry which will be created into the Filter ICMPv6 RA All-nodes forward list here. state - Specify whether the port’s filter DHCPv6 server function is enabled or disabled. enable - Specify that the filter option is enabled.
  • Page 351 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 27-13 config filter icmpv6_ra_all_node ports Description This command is used to configure the state of the filter ICMPv6 RA all-nodes packets on the switch. The filter ICMPv6 RA all-nodes function is used to filter the ICMPv6 RA all-nodes packets on the specific port(s) and receive the trust packets from the specific source.
  • Page 352 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters enable - Specify that the trap for the filter ICMPv6 RA all-nodes will be enabled. The trap for filter ICMPv6 RA all-nodes will be sent out. disable - Specify that the trap for the filter ICMPv6 RA all-nodes will be disabled.
  • Page 353 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 2200::5 Total Entries:1 DGS-3120-24TC:admin# 27-16 delete filter icmpv6_ra_all_node permit sip Description This command is used to delete a filter ICMPv6 RA all-nodes permit entry. Format delete filter icmpv6_ra_all_node permit sip <ipv6addr> Parameters <ipv6addr>...
  • Page 354: Chapter 28 Dhcpv6 Relay Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 28 DHCPv6 Relay Command List enable dhcpv6_relay disable dhcpv6_relay config dhcpv6_relay [add|delete] ipif <ipif_name 12> <ipv6addr> config dhcpv6_relay hop_count <value 1-32> config dhcpv6_relay ipif [<ipif_name 12> | all] state [enable | disable] config dhcpv6_relay option_37 {state [enable | disable] | check [enable | disable] | remote_id [default | cid_with_user_define <desc 128>...
  • Page 355 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 28-2 disable dhcpv6_relay Description This command is used to disable the DHCPv6 relay function on the Switch. Format disable dhcpv6_relay Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DHCPv6 relay global state to disable: DGS-3120-24TC:admin#disable dhcpv6_relay...
  • Page 356 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To add a DHCPv6 server to the relay table: DGS-3120-24TC:admin# config dhcpv6_relay add ipif System 2001:DB8:1234:0:218:FEFF:FEFB:CC0E Command: config dhcpv6_relay add ipif System 2001:DB8:1234:0:218:FEFF:FEFB:CC0E Success. DGS-3120-24TC:admin# 28-4 config dhcpv6_relay hop_count Description This command is used to configure the DHCPv6 relay hop count of the Switch.
  • Page 357 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <ipif_name 12> - Specify the name of the IP interface. all - The value all indicates all configured IP interfaces. state - Enable or disable the DHCPv6 relay state of the interface. enable - Enable the DHCPv6 relay state of the interface.
  • Page 358 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide user_define – Use the user-defined string as the remote ID. <desc 128> - Enter the string. vendor1 - Specify that the remote ID will be the System MAC address of the Switch. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 359 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide enable - Specify to enable the check function. disable - Specify to disable the check function. interface_id - (Optional) Specify the format of the Interface ID. default - Specify to used the default formation for the Interface ID. cid - Specify to use the CID format for the Interface ID.
  • Page 360 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters ipif - (Optional) The IP information for DHCPv6 relay. <ipif_name 12> - The name of the IP interface in which DHCPv6 relay is to be enabled. Restrictions None.
  • Page 361 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the DHCPv6 local relay function for the default VLAN: DGS-3120-24TC:admin#config dhcpv6_local_relay vlan default state enable Command: config dhcpv6_local_relay vlan default state enable Success.
  • Page 362 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the DHCPv6 local relay function’s global state: DGS-3120-24TC:admin#disable dhcpv6_local_relay Command: disable dhcpv6_local_relay Success.
  • Page 363 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide...
  • Page 364: Chapter 29 Digital Diagnostic Monitoring (Ddm) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 29 Digital Diagnostic Monitoring (DDM) Command List (RI and EI Mode Only) config ddm [trap | log] [enable | disable] config ddm ports [<portlist> | all] [[temperature_threshold {high_alarm <degrees> | low_alarm <degrees>...
  • Page 365 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config ddm log enable Command: config ddm log enable Success. DGS-3120-24TC:admin# To configure DDM trap state to enable: DGS-3120-24TC:admin#config ddm trap enable Command: config ddm trap enable Success.
  • Page 366 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide high_alarm - (Optional) Specify the high threshold for the alarm. When the operating parameter rises above this value, the action associated with the alarm is taken. <voltage> - Enter the high threshold alarm value used here. low_alarm - (Optional) Specify the low threshold for the alarm.
  • Page 367 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide reload_threshold – Specify to reload the default threshold configuration of special ports. If the ports are link-up with optic modules, all thresholds of those ports will be set to the hardware defaults.
  • Page 368 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide To configure the port 21’s receive power threshold: DGS-3120-24TC:admin#config ddm ports 1:21 rx_power_threshold high_alarm 4.55 low_alarm 0.01 high_warning 3.5 low_warning 0.03 Command: config ddm ports 1:21 rx_power_threshold high_alarm 4.55 low_alarm 0.01 high_warning 3.5 low_warning 0.03 Success.
  • Page 369: Show Ddm

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 29-4 show ddm Description This command is used to display the DDM global settings. Format show ddm Parameters None. Restrictions None. Example To display the DDM global settings: DGS-3120-24TC:admin#show ddm Command: show ddm DDM Log...
  • Page 370 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display ports 21-22’s operating parameters: DGS-3120-24TC:admin#show ddm ports 1:21-1:22 status Command: show ddm ports 1:21-1:22 status Port Temperature Voltage Bias-Current TX-Power RX-Power (in Celsius) (mA) (mW) (mW)
  • Page 371: Chapter 30 Distance Vector Multicast Routing Protocol (Dvmrp) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 30 Distance Vector Multicast Routing Protocol (DVMRP) Command List (RI Mode Only) config dvmrp [ipif <ipif_name 12> | all] {metric <value 1-31> | probe <sec 1-65535> | neighbor_timeout <sec 1-65535>...
  • Page 372: Enable Dvmrp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure DVMRP configurations of IP interface called ‘System’: DGS-3120-24TC:admin#config dvmrp ipif System neighbor_timeout 30 metric 1 probe Command: config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5 Success.
  • Page 373 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable dvmrp Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable DVMRP: DGS-3120-24TC:admin#disable dvmrp Command: disable dvmrp Success. DGS-3120-24TC:admin# 30-4 show dvmrp...
  • Page 374 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show dvmrp Command: show dvmrp DVMRP Global State : Disabled Interface IP Address Neighbor Timeout Probe Metric State ------------ ----------------- ---------------- ----- ------ -------- System 10.90.90.90 Disabled Total Entries: 1 DGS-3120-24TC:admin# 30-5...
  • Page 375 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show dvmrp neighbor Command: show dvmrp neighbor DVMRP Neighbor Address Table Interface Neighbor Address Generation ID Expire Time --------------- ---------------- ------------- ----------- System 10.48.74.123 Total Entries : 1 DGS-3120-24TC:admin# 30-6 show dvmrp nexthop...
  • Page 376 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show dvmrp nexthop Command: show dvmrp nexthop DVMRP Routing Next Hop Table Source Address/NetMask Interface Name Type ---------------------- --------------- ------ 10.0.0.0/8 Leaf 10.0.0.0/8 Leaf 20.0.0.0/8 System Leaf 20.0.0.0/8 Leaf 30.0.0.0/8...
  • Page 377 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show dvmrp routing_table Command: show dvmrp routing_table DVMRP Routing Table Source Address/Netmask Upstream Neighbor Metric Learned Interface Expire ---------------------- ----------------- ------ ------- ---------- ------ 10.0.0.0/8 10.90.90.90 Local System 20.0.0.0/16 20.1.1.1...
  • Page 378: Chapter 31 Domain Name System (Dns) Resolver Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 31 Domain Name System (DNS) Resolver Command List config name_server add [<ipaddr> | <ipv6addr>] {primary} config name_server delete [<ipaddr> | <ipv6addr>] {primary} config name_server timeout <sec 1-60> show name_server create host_name <name 255>...
  • Page 379 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config name_server delete [<ipaddr> | <ipv6addr>] {primary} Parameters <ipaddr> - Enter the DNS Resolver name server IPv4 address used here. <ipv6addr> - Enter the DNS Resolver name server IPv6 address used here. primary –...
  • Page 380 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config name_server timeout 10 Command: config name_server timeout 10 Success. DGS-3120-24TC:admin# 31-4 show name_server Description This command is used to display the current DNS Resolver name servers and name server time out on the Switch.
  • Page 381 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 31-5 create host_name Description This command is used to create the static host name entry of the Switch. Format create host_name <name 255> [<ipaddr> | <ipv6addr>] Parameters <name 255>...
  • Page 382 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To delete the static host name entry “www.example.com”: DGS-3120-24TC:admin# delete host_name www.example.com Command: delete host_name www.example.com Success. DGS-3120-24TC:admin# 31-7 show host_name Description This command is used to display the current host name. Format show host_name {static | dynamic} Parameters...
  • Page 383 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Total Static Entries: Dynamic Host Name Table Total Dynamic Entries: 0 DGS-3120-24TC:admin# 31-8 enable dns_resolver Description This command is used to enable the DNS Resolver state of the Switch. Format enable dns_resolver Parameters...
  • Page 384 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the DNS Resolver state to disabled: DGS-3120-24TC:admin# disable dns_resolver Command: disable dns_resolver Success. DGS-3120-24TC:admin#...
  • Page 385: Chapter 32 D-Link License Management System (Dlms) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 32 D-Link License management System (DLMS) Command List install dlms activation_code <string 25> {unit <unit_id 1-6>} show dlms license {unit <unit_id 1-6>} 32-1 install dlms activation_code Description This command is used to install an activation code to activate or unlock function on the applicance.
  • Page 386 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show dlms license {unit <unit_id 1-6>} Parameters unit - (Optional) Specify the Swithc in the switch stack. <unit_id 1-6> - Enter the unit ID value. This value must be between 1 and 6. Restrictions None.
  • Page 387: Chapter 33 D-Link Unidirectional Link Detection (Duld) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 33 D-Link Unidirectional Link Detection (DULD) Command List (RI and EI Mode Only) config duld ports [<portlist> | all ] {state [enable | disable] | mode [shutdown | normal] | discovery_time <sec 5-65535>}(1)
  • Page 388 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config duld ports 1 state enable Command: config duld ports 1:1 state enable Success. DGS-3120-24TC:admin# 33-2 show duld ports Description This command is used to show unidirectional link detection information. Format show duld ports {<portlist>} Parameters...
  • Page 389: Chapter 34 Energy Efficient Ethernet (Eee) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 34 Energy Efficient Ethernet (EEE) Command List config eee ports [<portlist> | all] state [enable | disable] show eee ports {<portlist>} 34-1 config eee ports Description This command is used to enable or disable the EEE function on the specified port(s) on the Switch.
  • Page 390 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <portlist> - (Optional) Specify a list of ports to be displayed. Restrictions None. Example To display the EEE state: DGS-3120-24TC:admin#show eee ports 1:1-1:6,1:9 Command: show eee ports 1:1-1:6,1:9 Port State ---------...
  • Page 391: Chapter 35 Ethernet Ring Protection Switching (Erps) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 35 Ethernet Ring Protection Switching (ERPS) Command List (RI and EI Mode Only) enable erps disable erps create erps raps_vlan <vlanid 1-4094> delete erps raps_vlan <vlanid 1-4094> config erps raps_vlan <vlanid 1-4094>...
  • Page 392 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enable ERPS: DGS-3120-24TC:admin# enable erps Command: enable erps Success. DGS-3120-24TC:admin# 35-2 disable erps Description This command is used to disable the global ERPS function on a switch. Format disable erps Parameters...
  • Page 393 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <vlanid 1-4094> - Specify the VLAN which will be the R-APS VLAN. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create an R-APS VLAN: DGS-3120-24TC:admin# create erps raps_vlan 4094 Command: create erps raps_vlan 4094 Success.
  • Page 394 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 35-5 config erps raps_vlan Description This command is used to configure the ERPS R-APS VLAN settings. The ring MEL is one field in the R-APS PDU. Note that if CFM (Connectivity Fault Management) and ERPS are used at the same time, the R-APS PDU is one of a suite of Ethernet OAM PDU.
  • Page 395 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide unblocked RPL port and start to send R-APS PDU with an RB flag after the link recovery is confirmed within this period of time. When both the global state and the specified ring ERPS state are enabled, the specified ring will be activated.
  • Page 396 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide sub_ring - Specify that the sub-ring is being configured. raps_vlan - Specify the R-APS VLAN. <vlanid 1-4094> - Enter the VLAN ID used here. tc_propagation - Specify that the topology propagation state will be configured. state - Specify the topology propagation state.
  • Page 397 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide To configure the RPL port for a specific R-APS VLAN: DGS-3120-24TC:admin#config erps raps_vlan 4094 rpl_port west Command: config erps raps_vlan 4094 rpl_port west Success. DGS-3120-24TC:admin# To configure the protected VLAN for a specific R-APS VLAN: DGS-3120-24TC:admin# config erps raps_vlan 4094 protected_vlan add vlanid 10-20 Command: config erps raps_vlan 4094 protected_vlan add vlanid 10-20 Success.
  • Page 398 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide To configure the state of topology change propagation: DGS-3120-24TC:admin# config erps raps_vlan 4094 sub_ring raps_vlan 4093 tc_propagation state enable Command: config erps raps_vlan 4094 sub_ring raps_vlan 4093 tc_propagation state enable Success.
  • Page 399 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters trap - Specify to enable or disable the ERPS trap state. enable - Enter enable to enable the trap state. disable - Enter disable to disable the trap state. The default value is disabled. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 400 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display ERPS information: DGS-3120-24TC:admin# show erps Command: show erps ERPS Information Global Status : Enabled Log Status : Disabled Trap Status : Disabled ------------------------ R-APS VLAN : 4092 Ring Status : Enabled...
  • Page 401: Chapter 36 Fdb Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 36 FDB Command List create fdb <vlan_name 32> <macaddr> [port <port> | drop] create fdb vlanid <vidlist> <macaddr> [port <port> | drop] create multicast_fdb <vlan_name 32> <macaddr> config multicast_fdb <vlan_name 32>...
  • Page 402: Create Fdb Vlanid

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide To filter a unicast MAC: DGS-3120-24TC:admin# create fdb default 00-00-00-00-01-02 drop Command: create fdb default 00-00-00-00-01-02 drop Success. DGS-3120-24TC:admin# 36-2 create fdb vlanid Description This command is used to create a static entry in the unicast MAC address forwarding table (database).
  • Page 403 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 36-3 create multicast_fdb Description This command is used to create a static entry in the multicast MAC address forwarding table (database). Format create multicast_fdb <vlan_name 32> <macaddr> Parameters <vlan_name 32>...
  • Page 404 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide are IP multicast addresses, which cannot be specified as the static L2 multicast MAC address. add - Specify to add ports to the multicast forwarding table. delete - Specify to remove ports from the multicast forwarding table. <portlist>...
  • Page 405 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config fdb aging_time 600 Command: config fdb aging_time 600 Success. DGS-3120-24TC:admin# 36-6 config multicast vlan_filtering_mode Description This command is used to configure the multicast packet filtering mode for VLANs. The registered group will be forwarded to the range of ports in the multicast forwarding database.
  • Page 406: Delete Fdb

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 36-7 delete fdb Description This command is used to delete an entry from the forwarding database. Format delete fdb <vlan_name 32> <macaddr> Parameters <vlan_name 32> - The name of the VLAN on which the MAC address resides. The maximum name length is 32.
  • Page 407 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear all FDB dynamic entries: DGS-3120-24TC:admin# clear fdb all Command: clear fdb all Success.
  • Page 408: Show Fdb

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show multicast_fdb Command: show multicast_fdb VLAN Name : default MAC Address : 01-00-5C-11-22-33 Egress Ports : 1:1-1:5 Mode : Static Total Entries: 1 DGS-3120-24TC:admin# 36-10 show fdb Description This command is used to display the current unicast MAC address forwarding database.
  • Page 409 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show fdb Command: show fdb Unicast MAC Address Aging Time = 300 VLAN Name MAC Address Port Type Status ---- -------------------------------- ----------------- ----- ------- ------- default 00-01-02-03-04-00 CPU Self Forward default...
  • Page 410 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide vlan - (Optional) Specify the name of the VLAN. The maximum name length is 32. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long.
  • Page 411: Chapter 37 Filter Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 37 Filter Command List config filter netbios [<portlist> | all] state [enable | disable] show filter netbios config filter extensive_netbios [<portlist> | all] state [enable | disable] show filter extensive_netbios 37-1 config filter netbios...
  • Page 412 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the DHCP server/client filter list created on the Switch: DGS-3120-24TC:admin# show filter netbios Command: show filter netbios Enabled Ports: 1-3 DGS-3120-24TC:admin# 37-3 config filter extensive_netbios...
  • Page 413 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 37-4 show filter extensive_netbios Description This command is used to display the extensive netbios state on the Switch. Format show filter extensive_netbios Parameters None. Restrictions None. Example To display the extensive_state created on the Switch: DGS-3120-24TC:admin# show filter extensive_netbios Command: show filter extensive_netbios...
  • Page 414: Chapter 38 Flash File System (Ffs) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 38 Flash File System (FFS) Command List show storage_media_info {[unit <unit_id> | all]} change drive {unit <unit_id>} <drive_id> md {{unit <unit_id>} <drive_id>} <pathname> rd {{unit <unit_id>} <drive_id>} <pathname> cd {<pathname>} dir {{unit <unit_id>} <drive_id>} {<pathname>} rename {{unit <unit_id>} <drive_id>} <pathname>...
  • Page 415: Change Drive

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide GS-3120-24TC:admin#show storage_media_info Command: show storage_media_info Unit Drive Media Type Size Label FS Type Version ---- ----- ---------- -------- ----------- ------- ------- Flash 28 MB Ver2.1 DGS-3120-24TC:admin# 38-2 change drive Description This command is used to change the current drive.
  • Page 416 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters unit – (Optional) Specify a unit ID if in the stacking system. If not specified, it refers to the master unit. <unit_id> - Enter the unit ID value. This value must be between 1 and 6. <drive_id>...
  • Page 417 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# rd c:/abc Command: rd c:/abc Success. DGS-3120-24TC:admin# 38-5 Description This command is used to change the current directory. The current directory is changed under the current drive. If you want to change the working directory to the directory in another drive, then you need to change the current drive to the desired drive, and then change the current directory.
  • Page 418 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters unit - (Optional) Specify a unit ID if in the stacking system. If not specified, it refers to the master unit. <unit_id> - Enter the unit ID value. This value must be between 1 and 6. <drive_id>...
  • Page 419 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <unit_id> - Enter the unit ID value. This value must be between 1 and 6. <drive_id> - (Optional) Enter the drive ID used here. Examples are C: or D: <pathname>...
  • Page 420 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#dir Command: dir Directory of /unit2:/c: Idx Info Attr Size Update Time Name --- ------- ---- -------- ------------------- ---------------- drw- 0 2000/04/02 06:02:04 12 2 CFG(*) -rw- 29661 2000/04/01 05:54:38 config.cfg 3 RUN(*) -rw- 4879040...
  • Page 421 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <drive_id> - (Optional) Enter the drive ID used here. Examples are C: or D: <pathname> - Specify the file to be deleted. If it is specified in the associated form, then it is related to the current directory.
  • Page 422 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 38-10 move Description This command is used to move a file around the file system. Files in a drive located in a unit can be moved to another drive located in another unit. Note that when a file is moved, it can be specified whether to rename at the same time.
  • Page 423 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format copy {{unit <unit_id>} <drive_id>} <pathname> {{unit <unit_id>} <drive_id>} <pathname> Parameters unit - (Optional) Unit ID in the stacking system. If not specified, it refers to the master unit. <unit_id>...
  • Page 424 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To format a drive: DGS-3120-24TC:admin#format d: fat32 aaaa Command: format d: fat32 aaaa Formatting......Done Success DGS-3120-24TC:admin#...
  • Page 425: Chapter 39 Gratuitous Arp Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 39 Gratuitous ARP Command List config gratuitous_arp send ipif_status_up [enable | disable] config gratuitous_arp send dup_ip_detected [enable | disable] config gratuitous_arp learning [enable | disable] config gratuitous_arp send periodically ipif <ipif_name 12> interval <value 0-65535> enable gratuitous_arp {ipif <ipif_name 12>} {trap | log}(1) disable gratuitous_arp {ipif <ipif_name 12>} {trap | log}(1) show gratuitous_arp {ipif <ipif_name 12>}...
  • Page 426 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 39-2 config gratuitous_arp send dup_ip_detected Description The command is used to enable or disable the sending of gratuitous ARP request packet while duplicate IP is detected. The duplicate IP detected means that the system received an ARP request packet that is sent by an IP address that matches the system’s own IP address.
  • Page 427 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters enable - Enable learning of ARP entry based on the received gratuitous ARP packet. disable - Disable learning of ARP entry based on the received gratuitous ARP packet. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 428 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config gratuitous_arp send periodically ipif System interval 5 Command: config gratuitous_arp send periodically ipif System interval 5 Success. DGS-3120-24TC:admin# 39-5 enable gratuitous_arp Description The command is used to enable gratuitous ARP trap and log state. The switch can trap and log the IP conflict event to inform the administrator.
  • Page 429 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters ipif - (Optional) Interface name of L3 interface <ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long. trap - Specify to disable the trap function.
  • Page 430 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show gratuitous_arp Command: show gratuitous_arp Send on IPIF Status Up : Enabled Send on Duplicate IP Detected : Enabled Gratuitous ARP Learning : Enabled IP Interface Name : System Gratuitous ARP Trap : Enabled Gratuitous ARP Log...
  • Page 431: Chapter 40 Internet Group Management Protocol (Igmp) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 40 Internet Group Management Protocol (IGMP) Command List (RI Mode Only) config igmp [ipif <ipif_name 12> | all] {version <value 1-3> | query_interval <sec 1-31744> | max_response_time <sec 1-25>...
  • Page 432: Show Igmp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide state - Specify the IGMP state on a router interface. enable - Specify that the IGMP state will be enabled. disable - Specify that the IGMP state will be disabled. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 433: Show Igmp Group

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show igmp Command: show igmp IGMP Interface Configurations Interface IP Address/Netmask Ver- Query Maximum Robust- Last State sion Response ness Member Time Value Query Interval ------------ ------------------ ---- ------ -------- ------- -------- -------- System 10.90.90.90/8...
  • Page 434 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show igmp group Command: show igmp group Interface Multicast Group Last Reporter IP Querier IP Expire ------------ --------------- --------------- --------------- --------- System 224.0.0.2 10.42.73.111 10.48.74.122 System 224.0.0.9 10.20.53.1 10.48.74.122 System...
  • Page 435 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config igmp check_subscriber_source_network ipif System enable Command: config igmp check_subscriber_source_network ipif System enable Success. DGS-3120-24TC:admin# 40-5 show igmp check_subscriber_source_network Description This command is used to display the status of the IGMP report/leave message source IP check. Format show igmp check_subscriber_source_network {ipif <ipif_name 12>} Parameters...
  • Page 436 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show igmp check_subscriber_source_network Command: show igmp check_subscriber_source_network Interface IP Address/Netmask Check Subscriber Source Network ------------ ------------------ ------------------------- System 10.90.90.90/8 Enabled 1.1.1.1/8 Disabled 11.1.1.1/8 Disabled 20.1.1.1/8 Disabled n100 100.3.2.2/8 Disabled Total Entries: 5...
  • Page 437 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format delete igmp static_group ipif <ipif_name 12> [group <multicast_ipaddr> | all] Parameters <ipif_name 12> - Enter the IP interface name used for this configuration. This name can be up to 12 characters long.
  • Page 438 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 12 characters long. If no parameter is specified, the system will display all IGMP static groups. Restrictions None. Example To display all IGMP static groups on the interface “n20”: DGS-3120-24TC:admin#show igmp static_group ipif n20 Command: show igmp static_group ipif n20 Interface...
  • Page 439: Chapter 41 Igmp Proxy Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 41 IGMP Proxy Command List (RI Mode Only) enable igmp_proxy disable igmp_proxy config igmp_proxy downstream_if [add | delete] vlan [<vlan_name 32> | vlanid <vidlist>] config igmp_proxy upstream_if {vlan [<vlan_name 32> | vlanid <vlanid1-4094>] | router_ports [add | delete] <portlist>...
  • Page 440 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the IGMP proxy: DGS-3120-24TC:admin#disable igmp_proxy Command: disable igmp_proxy Success. DGS-3120-24TC:admin# 41-3 config igmp_proxy downstream_if Description...
  • Page 441 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config igmp_proxy downstream_if add vlan vlanid 2-7 Command: config igmp_proxy downstream_if add vlan vlanid 2-7 Success. DGS-3120-24TC:admin# 41-4 config igmp_proxy upstream_if Description This command is used to configure the setting for the IGMP proxy’s upstream interface. The IGMP proxy plays the host role on the upstream interface.
  • Page 442 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config igmp_proxy upstream_if vlan default router_ports add Command: config igmp_proxy upstream_if vlan default router_ports add 1:3 Success. DGS-3120-24TC:admin# 41-5 show igmp_proxy Description This command displays IGMP proxy configuration information or group information on the switch. The display status item means group entry is determined by whether or not the chip is inserted.
  • Page 443 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show igmp_proxy group Command: show igmp_proxy group Dest-V : The destination VLAN. : Active : Inactive Dest IP Source IP Dest-V Member Ports Status ----------- ------------- ------ ---------------- --------- 224.2.2.2 NULL...
  • Page 444: Chapter 42 Igmp Snooping Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 42 IGMP Snooping Command List The Internet Group Management Protocol (IGMP) is a L3 protocol used to manage the membership of Internet Protocol multicast groups. IGMP is used by IP hosts and adjacent multicast routers to establish multicast group memberships.
  • Page 445 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide show igmp access_authentication ports [all | <portlist>] clear igmp_snooping statistics counter 42-1 config igmp_snooping Description This command is used to configure IGMP snooping on the Switch. Format config igmp_snooping [vlan_name <vlan_name 32>...
  • Page 446 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config igmp_snooping vlan_name default state enable Command: config igmp_snooping vlan_name default state enable Success. DGS-3120-24TC:admin# 42-2 config igmp_snooping rate_limit Description This command is used to configure the rate of IGMP control packet that is allowed per port or per VLAN.
  • Page 447 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config igmp_snooping querier [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {query_interval <sec 1-65535> | max_response_time <sec 1-25> | robustness_variable <value 1-7> | last_member_query_interval <sec 1-25> | state [enable | disable] | version <value 1-3>}(1) Parameters vlan_name - Specify the name of the VLAN for which IGMP snooping querier is to be configured.
  • Page 448 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide IGMP packet received by the VLAN has a version higher than the specified version, this packet will be dropped. <value 1-3> - Enter the version number here. This value must be between 1 and 3. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 449 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config igmp access_authentication ports all state enable Command: config igmp access_authentication ports all state enable Success. DGS-3120-24TC:admin# 42-5 config router_ports Description This command is used to designate a range of ports as being connected to multicast-enabled routers.
  • Page 450 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config router_ports_forbidden [ <vlan_name 32> | vlanid <vlanid_list> ] [add | delete] <portlist> Parameters <vlan_name 32> - Specify the name of the VLAN on which the router port resides. vlanid - Specify the ID of the VLAN on which the router port resides.
  • Page 451 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# enable igmp_snooping Command: enable igmp_snooping Success. DGS-3120-24TC:admin# 42-8 disable igmp_snooping Description This command is used to disable IGMP snooping on the Switch. Disabling IGMP snooping allows all IGMP and IP multicast traffic to flood within a given IP interface.
  • Page 452 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide The static member port will only affect V2 IGMP operation. The Reserved IP multicast address 224.0.0.X must be excluded from the configured group. The VLAN must be created first before a static group can be created. Format create igmp_snooping static_group [vlan<vlan_name 32>...
  • Page 453 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <ipaddr> - Specify the multicast group IP address. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an IGMP snooping static group for VLAN 1, group 239.1.1.1: DGS-3120-24TC:admin# delete igmp_snooping static_group vlan default 239.1.1.1 Command: delete igmp_snooping static_group vlan default 239.1.1.1 Success.
  • Page 454 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To unset port range 9-10 from IGMP snooping static member ports for group 239.1.1.1 on default VLAN: DGS-3120-24TC:admin# config igmp_snooping static_group vlan default 239.1.1.1 delete 2:9-2:10 Command: create igmp_snooping static_group vlan default 239.1.1.1 delete 2:9- 2:10 Success.
  • Page 455 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 42-13 config igmp_snooping data_driven_learning (EI and SI Mode Only) Description This command is used to enable or disable the data driven learning of an IGMP snooping group. When data-driven learning is enabled for the VLAN, when the Switch receives the IP multicast traffic on this VLAN, an IGMP snooping group will be created.
  • Page 456 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enable the data driven learning of an IGMP snooping group on the default VLAN: DGS-3120-24TC:admin# config igmp_snooping data_driven_learning vlan default state enable Command: config igmp_snooping data_driven_learning vlan default state enable Success.
  • Page 457 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 42-15 clear igmp_snooping data_driven_group (EI and SI Mode Only) Description This command is used to delete the IGMP snooping group(s) learned by data driven. Format clear igmp_snooping data_driven_group [all | [vlan_name <vlan_name 32> | vlanid <vlanid_list>] [<ipaddr>...
  • Page 458 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide vlanid - (Optional) Specify the ID of the VLAN for which you want to view the IGMP snooping configuration. <vlanid_list> - Enter the VLAN ID list here. If the VLAN is not specified, the system will display all current IGMP snooping configurations.
  • Page 459 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <vlanid_list> - Enter the VLAN ID list here. Restrictions None. Example To display the IGMP snooping rate limit for ports 1 to 5: DGS-3120-24TC:admin#show igmp_snooping rate_limit ports 1-5 Command: show igmp_snooping rate_limit ports 1:1-1:5 Port Rate Limit(pkt/sec)
  • Page 460 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show IGMP snooping groups when IGMP v3 is supported: DGS-3120-24TC:admin# show igmp_snooping group Command: show igmp_snooping group Source/Group : 10.0.0.1/225.0.0.1 VLAN Name/VID : default/1 Member Ports : 1:5 UP Time...
  • Page 461 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide To show IGMP snooping groups when only IGMP v2 is supported: The third item is a data-driven learned entry. If the member port list is empty, the multicast packets will be forwarded to the router ports.
  • Page 462 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters vlan - (Optional) Specify the name of the VLAN for which you want to view IGMP snooping forwarding table information. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long.
  • Page 463 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters vlan - Specify the name of the VLAN on which the router port resides. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long.
  • Page 464 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters vlan - Specify a VLAN to be displayed. <vlan_name> - Enter the VLAN name here. vlanid - Specify a list of VLANs to be displayed. <vlanid_list> - Enter the VLAN ID list here. ports - Specify a list of ports to be displayed.
  • Page 465 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Total : 21 Total Entries : 1 DGS-3120-24TC:admin# To display the IGMP snooping statistics counter for a port: DGS-3120-24TC:admin# show igmp_snooping statistics counter ports 1 Command: show igmp_snooping statistics counter ports 1 Port #1 ------------------------------------------------ Group Number...
  • Page 466 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 42-22 show igmp access_authentication ports Description This command is used to display the current IGMP Access Control configuration. Format show igmp access_authentication ports [all | <portlist>] Parameters all - Specify all ports to be displayed.
  • Page 467 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1:12 Disabled 1:13 Disabled 1:14 Disabled 1:15 Disabled 1:16 Disabled 1:17 Disabled 1:18 Disabled 1:19 Disabled 1:20 Disabled CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry 42-23 clear igmp_snooping statistics counter Description...
  • Page 468: Chapter 43 Ip-Mac-Port Binding (Impb) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 43 IP-MAC-Port Binding (IMPB) Command List (RI and EI Mode Only) create address_binding ip_mac ipaddress <ipaddr> mac_address <macaddr> {ports [<portlist> | all]} config address_binding ip_mac ports [<portlist> | all] {arp_inspection [strict | loose | disable] | ip_inspection [enable | disable] | nd_inspection [enable | disable] | protocol [ipv4 | ipv6 | all] | allow_zeroip [enable | disable] | forward_dhcppkt [enable | disable] | stop_learning_threshold <int 0-500>}...
  • Page 469 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 43-1 create address_binding ip_mac Description This command is used to create an IMPB entry. Format create address_binding ip_mac ipaddress <ipaddr> mac_address <macaddr> {ports [<portlist> | all]} Parameters ipaddress - Specify the IP address used for the IMPB entry.
  • Page 470 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters ports - Specify the ports used for this configuration. <portlist> - Enter the list of ports used for this configuration here. all - Specify that all the ports will be used. arp_inspection - (Optional) Specify that the ARP inspection option will be configured.
  • Page 471 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 43-3 create address_binding ip_mac ipv6address Description This command is used to create an IP-MAC-Port binding entry using IPv6. Format create address_binding ip_mac ipv6address <ipv6addr> mac_address <macaddr> {ports [ <portlist>| all ]} Parameters <ipv6addr>...
  • Page 472 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide mac_address - Specify the MAC address. <macaddr> - Enter the MAC address here. ports - (Optional) Configure the portlist to apply, if ports are not configured, then it will apply to all ports.
  • Page 473 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# delete address_binding blocked vlan_name v31 mac_address 00-00-00-00-00-11 Command: delete address_binding blocked vlan_name v31 mac_address 00-00-00-00- 00-11 Success. DGS-3120-24TC:admin# 43-6 delete address_binding ip_mac Description This command is used to delete an IMPB entry. Format delete address_binding ip_mac [all | ipaddress <ipaddr>...
  • Page 474 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config address_binding ip_mac ipaddress <ipaddr> mac_address <macaddr> {ports [<portlist> | all]} Parameters ipaddress - Specify the IP address of the entry being updated. <ipaddr> - Enter the IP address used here. mac_address - Specify the MAC address of the entry being updated <macaddr>...
  • Page 475 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show the IMPB global configuration: DGS-3120-24TC:admin#show address_binding Command: show address_binding Roaming state : Enabled Trap/Log : Disabled DHCP Snoop(IPv4) : Disabled DHCP Snoop(IPv6) : Disabled ND Snoop : Disabled Autosave state...
  • Page 476 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters all - Specify that all the addresses in the database that the system has auto learned and blocked to be displayed. vlan_name - Specify the name of the VLAN to which the blocked MAC address belongs. <vlan_name>...
  • Page 477 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show IMPB entries: DGS-3120-24TC:admin#show address_binding ip_mac all Command: show address_binding ip_mac all M(Mode) - D:DHCP, N:ND S:Static ACL - A:Active I:Inactive IP Address MAC Address ACL Ports --------------------------------------- ----------------- -- -- --------------...
  • Page 478 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide statically configured in ARP mode the auto learned entry will not be created. In a situation where the entry is statically configured on one port and the entry is auto-learned on another port, the auto-learned entry will not be created.
  • Page 479 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To disable DHCP IPv4 snooping mode: DGS-3120-24TC:admin# disable address_binding dhcp_snoop Command: disable address_binding dhcp_snoop Success. DGS-3120-24TC:admin# 43-13 clear address_binding dhcp_snoop binding_entry ports Description This command is used to clear the DHCP snooping entries learned for the specified ports. Format clear address_binding dhcp_snoop binding_entry ports [<portlist>...
  • Page 480 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters max_entry - (Optional) To show the maximum number of entries per port. ports - Specify the ports used for this configuration. <portlist> - Enter a list of ports used here. If no parameters are specified, show DHCP snooping displays the enable/disable state.
  • Page 481 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 43-15 show address_binding dhcp_snoop binding_entry Description This command is used to display the DHCP snooping binding entries. Format show address_binding dhcp_snoop binding_entry {port <port>} Parameters port – (Optional) Specify the port used for this configuration. <port>...
  • Page 482 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display the DHCP snooping limit rate entries: DGS-3120-24TC:admin#show address_binding dhcp_snoop limit_rate Command: show address_binding dhcp_snoop limit_rate Port Rate Limit (pps) Action ------ ---------------- --------- No Limit No Limit...
  • Page 483 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <portlist> - Enter the list of ports you would like to set the maximum number of entries that can be learned. all - Specify that all the ports to be used. limit - Specify the maximum number.
  • Page 484 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enable the auto-save option: DGS-3120-24TC:admin# config address_binding dhcp_snoop_entry file save_dhcp.cfg autosave enable Command: config address_binding dhcp_snoop_entry filename save_dhcp.cfg autosave enable Success. DGS-3120-24TC:admin# 43-19 enable address_binding nd_snoop Description This command is used to enable ND snooping on the switch.
  • Page 485 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the ND snooping function on the switch: DGS-3120-24TC:admin#disable address_binding nd_snoop Command: disable address_binding nd_snoop Success.
  • Page 486 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config address_binding nd_snoop ports 1:1-1:3 max_entry 10 Command: config address_binding nd_snoop ports 1:1-1:3 max_entry 10 Success. DGS-3120-24TC:admin# 43-22 show address_binding nd_snoop Description This command is used to display the status of ND snooping on the Switch. Format show address_binding nd_snoop {ports <portlist>} Parameters...
  • Page 487 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 43-23 show address_binding nd_snoop binding_entry Description This command is used to show the ND snooping binding entries on the Switch. Format show address_binding nd_snoop binding_entry {port <port>} Parameters port - (Optional) Specify a port used for this display.
  • Page 488 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear ND snooping entry on ports 1:1-1:3: DGS-3120-24TC:admin#clear address_binding nd_snoop binding_entry ports 1:1-1:3 Command: clear address_binding nd_snoop binding_entry ports 1:1-1:3 Success.
  • Page 489 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable address_binding trap_log Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable IMPB traps and logs: DGS-3120-24TC:admin# disable address_binding trap_log Command: disable address_binding trap_log Success.
  • Page 490 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config address_binding recover_learning ports 6-7 Command: config address_binding recover_learning ports 6-7 Success. DGS-3120-24TC:admin# 43-28 config address_binding dhcp snooping ports Description This command is used to configure the DHCP snooping rate limit state. Format config address_binding dhcp snooping ports [<portlist>...
  • Page 491 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config address_binding dhcp snooping recovery_timer [<sec 60-1000000> | infinite] Parameters <sec 60-1000000> - Enter a value between 60 and 1000000 for the time interval used by the auto-recovery mechanism.
  • Page 492 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enable IMPB roaming: DGS-3120-24TC:admin# enable address_binding roaming Command: enable address_binding roaming Success. DGS-3120-24TC:admin# 43-31 disable address_binding roaming Description This command is used to disable IMPB roaming. When disabled, all dynamic entries learned through DHCP/ND snooping on a specific port will not have chance to change to the learning port, even if the switch detects that the client already changed ports.
  • Page 493 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format download address_binding snoop_entry_fromTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] filename <path_filename 64> Parameters <ipaddr> - Enter the IPv4 address of the TFTP server here. <ipv6addr> - Enter the IPv6 address of the TFTP server here. <domain_name 255>...
  • Page 494 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To upload the DHCP snooping binding table: DGS-3120-24TC:admin# upload address_binding snoop_entry_toTFTP 10.90.90.6 filename impb.cfg Command: upload address_binding snoop_entry_toTFTP 10.90.90.6 filename impb.cfg Connecting to server....
  • Page 495: Chapter 44 Ip Multicast (Ipmc) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 44 IP Multicast (IPMC) Command List (RI Mode Only) show ipmc {ipif <ipif_name 12> | protocol [inactive | dvmrp | pim]} show ipmc cache {group <group>} {ipaddress <network_address>} 44-1 show ipmc Description...
  • Page 496 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 44-2 show ipmc cache Description This command is used to display the IP multicast forwarding cache. Format show ipmc cache {group <group>} {ipaddress <network_address>} Parameters group - (Optional) Specify the multicast group. <group>...
  • Page 497: Chapter 45 Ip Route Filter Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 45 IP Route Filter Command List (RI Mode Only) create ip standard access_list <list_name 16> config ip standard access_list <list_name 16> [add | delete] <network_address> [deny | permit] delete ip standard access_list [list_name <list_name 16>...
  • Page 498 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config ip standard access_list <list_name 16> [add | delete] <network_address> [deny | permit] Parameters <list_name 16> - Enter the name of the access list. add - Add the entry to the access list. delete - Delete the entry from the access list.
  • Page 499 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To delete an access list named by “list1”: DGS-3120-24TC:admin#delete ip standard access_list list_name list1 Command: delete ip standard access_list list_name list1 Success. DGS-3120-24TC:admin# 45-4 show ip standard access_list Description This command is used to display the information of an access list.
  • Page 500 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <map_name 16> - Enter the route map name. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create a route map named map1: DGS-3120-24TC:admin#create route_map map1 Command: create route_map map1 Success.
  • Page 501 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <list_name 16> - Enter the name of the IP access list. metric - Specify to match the metric of the routes. <uint 0-4294967294> - Enter the value of the metric. route_type - Specify to match the type of the routes.
  • Page 502 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide route map still exists. all – Delete all route maps. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete the route map: DGS-3120-24TC:admin#delete route_map map_name map1 Command: delete route_map map_name map1 Success.
  • Page 503 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show route_map Command: show route_map route_map : map1 -------------------------- sequence : 10 (Permit) Match clauses: Set clauses: ----------------- sequence : 20 (Permit) Match clauses: Set clauses: Total Route Map Count:1 DGS-3120-24TC:admin#...
  • Page 504: Chapter 46 Ip Tunnel Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 46 IP Tunnel Command List (RI Mode Only) create ip_tunnel <tunnel_name 12> delete ip_tunnel <tunnel_name 12> config ip_tunnel manual <tunnel_name 12> {ipv6address <ipv6networkaddr> | source <ipaddr> | destination <ipaddr>}(1) config ip_tunnel 6to4 <tunnel_name 12>...
  • Page 505 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 46-2 delete ip_tunnel Description This command is used to delete an IP tunnel interface. Format delete ip_tunnel <tunnel_name 12> Parameters <tunnel_name 12> - Enter the IP tunnel interface name used here. This name can be up to 12 characters long.
  • Page 506 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide address. <ipv6networkaddr> - Enter the IPv6 address used here. source - (Optional) Specify the source IPv4 address of the IPv6 tunnel interface. It is used as the source address for packets in the IPv6 tunnel.
  • Page 507 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide configured. The 32 bits following the initial 2002::/16 prefix correspond to an IPv4 address assigned to the tunnel source. <ipv6networkaddr> - Enter the IPv6 address used here. source - (Optional) Specify the IPv4 source address for a packet sent to the remote end of the 6to4 tunnel.
  • Page 508 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <ipv6networkaddr> - Enter the IPv6 address used here. source - (Optional) Specify the source IPv4 address of this IPv6 tunnel interface. It is used as the source address for packets in the IPv6 tunnel. The tunnel destination IPv4 address is extracted from the last 32 bits of the remote tunnel endpoint’s IPv6 ISATAP address.
  • Page 509 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide destination - (Optional) Specify the destination address of the GRE tunnel interface. It is used as the destination address for packets in the tunnel. <ipaddr> - Enter the IPv4 destination address. <ipv6addr>...
  • Page 510 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <tunnel_name 12> - (Optional) Enter the IP tunnel interface name used here. This name can be up to 12 characters long. Restrictions None. Example To show an IP tunnel interface’s information (Tunnel name is “tn2”): DGS-3120-24TC:admin#show ip_tunnel tn2 Command: show ip_tunnel tn2 Tunnel Interface...
  • Page 511 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#enable ip_tunnel tn2 Command: enable ip_tunnel tn2 Success. DGS-3120-24TC:admin# 46-9 disable ip_tunnel Description This command is used to disable a single specified IP tunnel or all IP tunnels on the Switch. Format disable ip_tunnel {<tunnel_name 12>} Parameters...
  • Page 512: Chapter 47 Ipv6 Neighbor Discover Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 47 IPv6 Neighbor Discover Command List create ipv6 neighbor_cache ipif <ipif_name 12> <ipv6addr> <macaddr> delete ipv6 neighbor_cache ipif [<ipif_name 12> | all] [<ipv6addr> | static | dynamic | all] show ipv6 neighbor_cache ipif [<ipif_name 12>...
  • Page 513 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# create ipv6 neighbor_cache ipif System 3ffc::1 00-01-02- 03-04-05 Command: create ipv6 neighbor_cache ipif System 3ffc::1 00-01-02-03-04-05 Success. DGS-3120-24TC:admin# 47-2 delete ipv6 neighbor_cache Description This command is used to delete a neighbor cache entry or static neighbor cache entries from the address cache or all address cache entries on this IP interface.
  • Page 514 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show ipv6 neighbor_cache ipif [<ipif_name 12> | all] [ipv6address <ipv6addr> | static | dynamic | all] Parameters ipif - Specify the IPv6 interface name <ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long.
  • Page 515: Show Ipv6 Nd

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long. retrans_time - Neighbor solicitation’s re-transmit timer in millisecond. <millisecond 0-4294967295> - Enter the re-transmit timer value here. This value must be between 0 and 4294967295 milliseconds.
  • Page 516 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 47-6 config ipv6 nd ra ipif (RI Mode Only) Description This command is used to configure the RA parameters of a specified interface. Format config ipv6 nd ra ipif <ipif_name 12> {state [enable | disable] | life_time <sec 0-9000> | reachable_time <millisecond 0-3600000>...
  • Page 517 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the RA state as enabled and the life_time of the “System” interface to be 1000 seconds: DGS-3120-24TC:admin#config ipv6 nd ra ipif System state enable life_time 1000 Command: config ipv6 nd ra ipif System state enable life_time 1000 Success.
  • Page 518 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the value of the preferred_life_time of prefix option to be 1000 seconds for the prefix 3ffe:501:ffff:100::/64, which is the prefix of the ip1 interface: DGS-3120-24TC:admin#config ipv6 nd ra prefix_option ipif ip1 3ffe:501:ffff:100::/64 preferred_life_time 1000 Command: config ipv6 nd ra prefix_option ipif ip1 3ffe:501:ffff:100::/64...
  • Page 519: Chapter 48 Ipv6 Route Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 48 IPv6 Route Command List create ipv6route [default | <ipv6networkaddr>] [[<ipif_name 12> <ipv6addr> | <ipv6addr>] {<metric 1-65535>} {[primary|backup]} | ip_tunnel <tunnel_name 12>] delete ipv6route [[default | <ipv6networkaddr>] [<ipif_name 12> <ipv6addr> | <ipv6addr> | ip_tunnel <tunnel_name 12>] | all] show ipv6route {[<ipv6networkaddr>...
  • Page 520: Delete Ipv6Route

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#create ipv6route default System 3FFC::1 1 primary Command: create ipv6route default System 3FFC::1 1 primary Success. DGS-3120-24TC:admin# 48-2 delete ipv6route Description This command is used to delete an IPv6 static route. If the next hop is a global address, it is not needed to indicate the interface name.
  • Page 521 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show ipv6route {[<ipv6networkaddr> | <ipv6addr>]} {[static | ripng | ospfv3 | hardware]} Parameters None. Restrictions <ipv6networkaddr> - (Optional) The destination network of the route. (RI and EI Mode Only) <ipv6addr>...
  • Page 522: Chapter 49 Japanese Web-Based Access Control (Jwac) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 49 Japanese Web-Based Access Control (JWAC) Command List enable jwac disable jwac config jwac [quarantine_server_url [<string 128> | ipv6 <string 128>] | clear_quarantine_server_url {ipv6}] show jwac enable jwac redirect disable jwac redirect config jwac redirect {destination [quarantine_server | jwac_login_page] | delay_time <sec 0-...
  • Page 523 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Using the JWAC function, PC users need to pass two stages of authentication. The first stage is to do the authentication with the quarantine server and the second stage is the authentication with the Switch.
  • Page 524 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#disable jwac Command: disable jwac Success. DGS-3120-24TC:admin# 49-3 config jwac Description This command is used to configure the quarantine server URL. If the redirection is enabled and the redirection destination is a quarantine server, when a HTTP request from an unauthenticated host which is not headed to a quarantine server reaches the Switch, the Switch will handle this HTTP packet and send back a message to the host to make it access the quarantine server with the...
  • Page 525 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 49-4 show jwac Description This command is used to display the JWAC configuration settings. Format show jwac Parameters None. Restrictions None. Example To display the current JWAC configuration: DGS-3120-24TC:admin#show jwac Command: show jwac State...
  • Page 526 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide URL. When redirect jwac_login_page is enabled, the unauthenticated host will be redirected to the jwac_login_page on the Switch to finish authentication. When enable redirect to quarantine server is in effect, a quarantine server must be configured first. Format enable jwac redirect Parameters...
  • Page 527 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#disable jwac redirect Command: disable jwac redirect Success. DGS-3120-24TC:admin# 49-7 config jwac redirect Description This command is used to configure redirect destination and delay time before an unauthenticated host is redirected to the quarantine server or the JWAC login web page.
  • Page 528 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format enable jwac forcible_logout Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable JWAC forcible logout: DGS-3120-24TC:admin#enable jwac forcible_logout Command: enable jwac forcible_logout Success.
  • Page 529 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#disable jwac forcible_logout Command: disable jwac forcible_logout Success. DGS-3120-24TC:admin# 49-10 enable jwac udp_filtering Description This command is used to enable the JWAC UDP filtering function. When UDP filtering is enabled, all UDP and ICMP packets except DHCP and DNS packets from unauthenticated hosts will be dropped.
  • Page 530 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable JWAC UDP filtering: DGS-3120-24TC:admin#disable jwac udp_filtering Command: disable jwac udp_filtering Success. DGS-3120-24TC:admin# 49-12 enable jwac quarantine_server_monitor Description This command is used to enable the JWAC quarantine server monitor.
  • Page 531 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 49-13 disable jwac quarantine_server_monitor Description This command is used to disable JWAC quarantine server monitoring. Format disable jwac quarantine_server_monitor Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable JWAC quarantine server monitoring: DGS-3120-24TC:admin#disable jwac quarantine_server_monitor...
  • Page 532 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To set the quarantine server error timeout: DGS-3120-24TC:admin#config jwac quarantine_server_error_timeout 60 Command: config jwac quarantine_server_error_timeout 60 Success. DGS-3120-24TC:admin# 49-15 config jwac virtual_ip Description This command is used to configure JWAC virtual IP addresses used to accept authentication requests from an unauthenticated host.
  • Page 533 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide need to be able to have access to accomplish authentication. Before the client passes authentication, it should be added to the Switch with its IP address. For example, the client may need to access update.microsoft.com or some sites of the Anti-Virus software companies to check whether the OS or Anti-Virus software of the client are the latest;...
  • Page 534 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config jwac switch_http_port <tcp_port_number 1-65535> {[http | https]} Parameters <tcp_port_number 1-65535> - Specify a TCP port which the JWAC switch listens to and uses to finish the authenticating process. http - (Optional) Specify the JWAC run HTTP protocol on this TCP port.
  • Page 535 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide state. infinite - Specify to indicate the idle state of the authenticated host on the port will never be checked. The default value is infinite. <min 1-1440> - Specify an idle time between 1 and 1440 minutes. block_time - If a host fails to pass the authentication, it will be blocked for a period specified by the blocking time.The default value is 60 seconds.
  • Page 536 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show jwac ports 1:1-1:4 Command: show jwac ports 1:1-1:4 Port State Aging Time Idle Time Block Time (min) (min) (sec) Hosts ----- -------- ---------- --------- ---------- ----- Disabled 1440 Infinite...
  • Page 537 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 49-21 create jwac user Description This command is used to create JWAC users in the local database. When “local” is chosen while configuring the JWAC RADIUS protocol, the local database will be used. Format create jwac user <username 15>...
  • Page 538 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure a JWAC user: DGS-3120-24TC:admin#config jwac user 112233 Command: config jwac user 112233 Enter a old password:***** Enter a case-sensitive new password:****** Enter the new password again for confirmation:******...
  • Page 539 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 49-24 show jwac user Description This command is used to display JWAC users in the local database. Format show jwac user Parameters None. Restrictions None. Example To display the current JWAC local users: DGS-3120-24TC:admin#show jwac user Command: show jwac user User Name...
  • Page 540 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide authenticating - (Optional) Specify the state of host to delete. blocked - (Optional) Specify the state of host to delete. mac_addr - Delete a specified host with this MAC address. <macaddr>...
  • Page 541 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC: show jwac auth_state ports 1:1-1:4 Command: show jwac auth_state ports 1:1-1:4 Pri - Priority. State - A:Authenticated, B:Blocked, -:Authenticating Time - Aging Time/Idle Time for authenticated entries. Port MAC Address State VID...
  • Page 542 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To disable the configuration authorized from the local database: DGS-3120-24TC:admin#config jwac authorization attributes local disable Command: config jwac authorization attributes local disable Success. DGS-3120-24TC:admin# 49-28 show jwac update_server Description This command is used to display the JWAC update server.
  • Page 543 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config jwac authentication_page element [japanese | english] [default | page_title <desc 128> | login_window_title <desc 32> | user_name_title <desc 16> | password_title <desc 16> | logout_window_title <desc 32> | notification_line <value 1-5> <desc 128>] Parameters japanese - Specify to change to the Japanese page.
  • Page 544 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config jwac authenticate_page [japanese | english] Parameters japanese - Specify to change to the Japanese page. english - Specify to change to the English page. This is the default page. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 545 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show jwac authenticate_page Command: show jwac authenticate_page Current Page : English Version English Page Element ----------------------------------------------------------- Page Title Login Window Title : Authentication Login User Name Title : User Name Password Title : Password...
  • Page 546: Chapter 50 Jumbo Frame Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 50 Jumbo Frame Command List enable jumbo_frame disable jumbo_frame show jumbo_frame 50-1 enable jumbo_frame Description This command is used to configure the jumbo frame setting as enable. Format enable jumbo_frame Parameters...
  • Page 547 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable the Jumbo frame: DGS-3120-24TC:admin# disable jumbo_frame Command: disable jumbo_frame Success. DGS-3120-24TC:admin# 50-3 show jumbo_frame Description This command is used to display the current configuration of jumbo frame.
  • Page 548: Chapter 51 Layer 2 Protocol Tunneling (L2Pt) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 51 Layer 2 Protocol Tunneling (L2PT) Command List enable l2protocol_tunnel disable l2protocol_tunnel config l2protocol_tunnel ports [<portlist> | all] type [uni tunneled_protocol [{stp | gvrp | protocol_mac [01-00-0C-CC-CC-CC | 01-00-0C-CC-CC-CD]}(1) | all] {threshold <value 0- 65535>} | nni | none] show l2protocol_tunnel {[uni | nni]} 51-1...
  • Page 549 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the Layer 2 protocol tunneling function: DGS-3120-24TC:admin#disable l2protocol_tunnel Command: disable l2protocol_tunnel Success.
  • Page 550 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 01-00-0C-CC-CC-CD - Specify the MAC address as 01-00-0C-CC-CC-CD. all - All tunnel-abled Layer 2 protocols will be tunneled on the ports. threshold - (Optional) Specify the drop threshold for packets-per-second accepted on the UNI ports.
  • Page 551 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show l2protocol_tunnel Command: show l2protocol_tunnel Global State : Enabled UNI Ports : 1:1-1:4 NNI Ports DGS-3120-24TC:admin# To show Layer 2 protocol tunneling information summary: DGS-3120-24TC:admin#show l2protocol_tunnel uni Command: show l2protocol_tunnel uni Tunneled Threshold...
  • Page 552: Chapter 52 Link Aggregation Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 52 Link Aggregation Command List create link_aggregation group_id <value 1-32> {type [lacp | static]} delete link_aggregation group_id <value 1-32> config link_aggregation group_id <value 1-32> {master_port <port> | ports <portlist> | state [enable | disable] | trap [enable | disable]} config link_aggregation algorithm [mac_source | mac_destination | mac_source_dest | ip_source | ip_destination | ip_source_dest | l4_src_port | l4_dest_port | l4_src_dest_port]...
  • Page 553 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 52-2 delete link_aggregation group_id Description This command is used to delete a previously configured link aggregation group. Format delete link_aggregation group_id <value 1-32> Parameters group_id - Specify the group id. The group number identifies each of the groups. <value 1-32>...
  • Page 554 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. <portlist> - Enter the list of port used for the configuration here. state - (Optional) Enable or disable the specified link aggregation group.
  • Page 555 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure link aggregation algorithm for mac-source-dest: DGS-3120-24TC:admin# config link_aggregation algorithm mac_source_dest Command: config link_aggregation algorithm mac_source_dest Success.
  • Page 556 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = MAC-Source-Dest Group ID Type : LACP Master Port : 1:5 Member Port : 1:5-1:7 Active Port Status : Enabled Flooding Port : 7 Trap : Disabled...
  • Page 557 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = MAC-Source-Dest Group ID Type : LACP Master Port : 1:5 Member Port : 1:5-1:7 Active Port Status : Disabled Flooding Port : Trap : Disabled...
  • Page 558 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 52-7 show lacp_port Description This command is used to display the current mode of LACP of the ports. Format show lacp_port <portlist> Parameters lacp_port - Specified a range of ports to be configured. <portlist>...
  • Page 559: Chapter 53 Link Layer Discovery Protocol (Lldp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 53 Link Layer Discovery Protocol (LLDP) Command List enable lldp disable lldp config lldp [message_tx_interval <sec 5-32768> | message_tx_hold_multiplier <int 2-10> | tx_delay <sec 1-8192> | reinit_delay <sec 1-10>] config lldp notification_interval <sec 5-3600>...
  • Page 560: Disable Lldp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format enable lldp Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable LLDP: DGS-3120-24TC:admin# enable lldp Command: enable lldp Success.
  • Page 561: Config Lldp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 53-3 config lldp Description This command is used to change the packet transmission interval. Format config lldp [message_tx_interval <sec 5-32768> | message_tx_hold_multiplier <int 2-10> | tx_delay <sec 1-8192> | reinit_delay <sec 1-10>] Parameters message_tx_interval - Changes the interval between consecutive transmissions of LLDP advertisements on any given port.
  • Page 562: Config Lldp Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters notification_interval - Specify the timer of notification interval for sending notification to configured SNMP trap receiver(s). The default setting is 5 seconds. <sec 5-3600> - Enter the notification interval value here. This value must be between 5 and 3600 seconds.
  • Page 563 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide packets from neighbor devices. rx_only - Configure the specified port(s) to receive LLDP packets from neighbors, but block outbound packets to neighbors. tx_and_rx - Configure the specified port(s) to both transmit and receive LLDP packets. disable - Disable LLDP packet transmit and receive on the specified port(s).
  • Page 564 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide disable - Specify that the Dot1 TLV VLAN name will be disabled. dot1_tlv_protocol_identity - This TLV optional data type indicates whether the corresponding Local System's Protocol Identity instance will be transmitted on the port. The Protocol Identity TLV provides a way for stations to advertise protocols that are important to the operation of the network.
  • Page 565 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide To configure port 1:1-1:5 to transmit and receive: DGS-3120-24TC:admin#config lldp ports 1:1-1:5 admin_status tx_and_rx Command: config lldp ports 1:1-1:5 admin_status tx_and_rx Success. DGS-3120-24TC:admin# To enable ports 1-2 for manage address entry: DGS-3120-24TC:admin#config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable Command: config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable...
  • Page 566 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config lldp ports all dot1_tlv_vlan_name vlanid 1-3 enable Command: config lldp ports all dot1_tlv_vlan_name vlanid 1-3 enable Success. DGS-3120-24TC:admin# To configure exclude the protocol identity TLV from the outbound LLDP advertisements for all ports: DGS-3120-24TC:admin# config lldp ports all dot1_tlv_protocol_identity all...
  • Page 567: Show Lldp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config lldp forward_message enable Command: config lldp forward_message enable Success. DGS-3120-24TC:admin# 53-7 show lldp Description This command is used to display the Switch’s general LLDP configuration status. Format show lldp Parameters...
  • Page 568: Show Lldp Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 53-8 show lldp mgt_addr Description This command is used to display the LLDP management address information. Format show lldp mgt_addr {[ipv4 {<ipaddr>} | ipv6 {<ipv6addr>}]} Parameters ipv4 - (Optional) Specify the IPv4 address used for the display. <ipaddr>...
  • Page 569 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display the LLDP port 1 TLV option configuration: DGS-3120-24TC:admin#show lldp ports 1:1 Command: show lldp ports 1:1 Port ID : 1:1 ----------------------------------------------------------------- Admin Status : TX_and_RX Notification Status : Enabled...
  • Page 570 Command: show lldp local_ports 1:1 mode detailed Port ID : 1:1 ----------------------------------------------------------------------------- Port ID Subtype : MAC Address Port ID : 00-01-02-03-04-01 Port Description : D-Link DGS-3120-24TC R2.00.010 Port 1 on Unit 1 Port PVID Management Address Count Subtype : IPv4 Address : 0.0.0.0...
  • Page 571 Port ID : 1:1 ----------------------------------------------------------------------------- Port ID Subtype : MAC Address Port ID : 00-01-02-03-04-01 Port Description : D-Link DGS-3120-24TC R2.00.010 Port 1 on Unit 1 Port PVID Management Address Count PPVID Entries Count VLAN Name Entries Count Protocol Identity Entries Count...
  • Page 572 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <portlist> - (Optional) Specified a range of ports to be configured. When port list is not specified, information for all ports will be displayed. mode – (Optional) Specify to display the information in various modes. brief - Display the information in brief mode.
  • Page 573 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Entity 3 Chassis ID Subtype : MACADDRESS Chassis ID : 00-01-02-03-04-05 Port ID Subtype : LOCAL Port ID : 2/3 Port Description : RMON Port 2 on Unit 3 DGS-3120-24TC:admin# To display remote table in normal mode: DGS-3120-24TC:admin#...
  • Page 574 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Power Via MDI : (See detail) Link Aggregation : (See detail) Maximum Frame Size : 1536 DGS-3120-24TC:admin# To display remote table in detailed mode: DGS-3120-24TC:admin# show lldp remote_ports 1:1 mode detailed Command: show lldp remote_ports 1:1 mode detailed Port ID : 1 ---------------------------------------------------------------------...
  • Page 575 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide PPVID Enable : Enable VLAN Name Entries Entry 1 VLAN ID VLAN Name : V1 Entry 2 VLANID VLAN Name : V2 Entry 3 VLAN ID VLAN Name : V3 Protocol Identity Entries Entry 1...
  • Page 576: Show Lldp Statistics

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Unknown TLV type : 31 Unknown TLV Information Bytes : XX XX XX XX XX XX(hex) DGS-3120-24TC:admin# 53-12 show lldp statistics Description This command is used to display an overview of neighbor detection activity on the Switch. Format show lldp statistics Parameters...
  • Page 577 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide information for all ports will be displayed. Restrictions None. Example To display statistics information of port 1: DGS-3120-24TC:admin# show lldp statistics ports 1:1 Command: show lldp statistics ports 1:1 Port ID: 1 ------------------------------------------------------------------------ lldpStatsTxPortFramesTotal...
  • Page 578 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config lldp_med fast_start repeat_count 5 Command: config lldp_med fast_start repeat_count 5 Success. DGS-3120-24TC:admin# 53-15 config lldp_med log state Description This command is used to configure the log state of LLDP-MED events. Format config lldp_med log state [enable | disable] Parameters...
  • Page 579 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide state - Enable or disable the SNMP trap notification of topology change detected state. enable - Enable the SNMP trap notification of topology change detected. disable - Disable the SNMP trap notification of topology change detected. The default notification state is disabled.
  • Page 580 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To enable transmitting all capabilities on all ports: DGS-3120-24TC:admin#config lldp_med ports all med_transmit_capabilities all state enable Command: config lldp_med ports all med_transmit_capabilities all state enable Success.
  • Page 581 : B1 Firmware Revision : 3.00.501 Software Revision : 4.00.015 Serial Number : PVT93CB000001 Manufacturer Name : D-Link Model Name : DGS-3120-24TC Gigabit Ethernet S Asset ID PoE Device Type : PSE Device PoE PSE Power Source : Primary LLDP-MED Configuration:...
  • Page 582 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show lldp_med local_ports {<portlist>} Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Restrictions None. Example To display LLDP-MED information currently available for populating outbound LLDP-MED advertisements for port 1:1: DGS-3120-24TC:admin#show lldp_med local_ports 1:1 Command: show lldp_med local_ports 1:1...
  • Page 583 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display remote entry information: DGS-3120-24TC:admin#show lldp_med remote_ports 1:1 Command: show lldp_med remote_ports 1:1 Port ID : 1:1 --------------------------------------------------------------------------- Remote Entities Count : 1 Entity 1 Chassis ID Subtype : MAC Address...
  • Page 584 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Location Information Location Subtype: CivicAddress Location Information Extended Power Via MDI Power Device Type: PD Device Power Priority : High Power Source : From PSE Power Request : 8 Watts Inventory Management: Hardware Revision...
  • Page 585: Chapter 54 Loopback Detection (Lbd) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 54 Loopback Detection (LBD) Command List config loopdetect {recover_timer [0 | <sec 60-1000000>] | interval <sec 1-32767> | mode [port- based | vlan-based]} config loopdetect ports [<portlist> | all] state [enable | disable] enable loopdetect disable loopdetect show loopdetect...
  • Page 586: Config Loopdetect Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To set the auto-recover time to 0, which disables the auto-recovery mechanism, the interval to 20 seconds and specify VLAN-based mode: DGS-3120-24TC:admin# config loopdetect recover_timer 0 interval 20 mode vlan- based Command: config loopdetect recover_timer 0 interval 20 mode vlan-based Success.
  • Page 587: Disable Loopdetect

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format enable loopdetect Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the LBD function globally: DGS-3120-24TC:admin# enable loopdetect Command: enable loopdetect Success.
  • Page 588: Show Loopdetect

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# disable loopdetect Command: disable loopdetect Success. DGS-3120-24TC:admin# 54-5 show loopdetect Description This command is used to display the LBD global configuration. Format show loopdetect Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 589 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show loopdetect ports {<portlist>} Parameters ports - Specify the range of member ports that will display the LBD settings. <portlist> - Enter the list of port to be configured here. If no port is specified, the configuration for all ports will be displayed.
  • Page 590: Config Loopdetect Log

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To specify that traps will be sent when the loop condition is detected or cleared: DGS-3120-24TC:admin# config loopdetect trap both Command: config loopdetect trap both Success.
  • Page 591: Chapter 55 Loopback Interface Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 55 Loopback Interface Command List (RI Mode Only) create loopback ipif <ipif_name 12> {<network_address>} {state [enable | disable]} config loopback ipif <ipif_name 12> [{ipaddress <network_address> | state [enable | disable]}(1)] delete loopback ipif [<ipif_name 12>...
  • Page 592 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 55-2 config loopback ipif Description This command is used to configure the loopback interface parameters. Format config loopback ipif <ipif_name 12> [{ipaddress <network_address> | state [enable | disable]}(1)] Parameters <ipif_name 12>...
  • Page 593 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete the loopback interface named loopback1: DGS-3120-24TC:admin#delete loopback ipif loopback1 Command: delete loopback ipif loopback1 Success.
  • Page 594: Chapter 56 Mac Notification Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 56 MAC Notification Command List enable mac_notification disable mac_notification config mac_notification {interval <sec 1-2147483647> | historysize <int 1-500>} config mac_notification ports [<portlist> | all] [enable | disable] show mac_notification show mac_notification ports {<portlist>} 56-1...
  • Page 595 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable mac_notification function: DGS-3120-24TC:admin# disable mac_notification Command: disable mac_notification Success. DGS-3120-24TC:admin# 56-3 config mac_notification Description...
  • Page 596 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 56-4 config mac_notification ports Description This command is used to configure the port’s MAC address table notification status settings. Format config mac_notification ports [<portlist> | all] [enable | disable] Parameters <portlist>...
  • Page 597 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show the Switch’s Mac address table notification global settings: DGS-3120-24TC:admin# show mac_notification Command: show mac_notification Global Mac Notification Settings State : Enabled Interval History Size : 500 DGS-3120-24TC:admin# 56-6...
  • Page 598 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show mac_notification ports Command: show mac_notification ports Port MAC Address Table Notification State ------ ------------------------------------ Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled 1:10 Disabled DGS-3120-24TC:admin#...
  • Page 599: Chapter 57 Mac-Based Access Control Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 57 MAC-based Access Control Command List enable mac_based_access_control disable mac_based_access_control config mac_based_access_control password <passwd 16> config mac_based_access_control password_type [manual_string | client_mac_address] config mac_based_access_control method [local | radius] config mac_based_access_control guest_vlan ports <portlist>...
  • Page 600 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enable the MAC-based Access Control global state: DGS-3120-24TC:admin# enable mac_based_access_control Command: enable mac_based_access_control Success. DGS-3120-24TC:admin# 57-2 disable mac_based_access_control Description This command is used to disable MAC-based Access Control. Format disable mac_based_access_control Parameters...
  • Page 601 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters password - In RADIUS mode, the Switch will communicate with the RADIUS server using this password. The maximum length of the key is 16. <password> - Enter the password used here. The default password is “default”. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 602 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 57-5 config mac_based_access_control method Description This command is used to configure the MAC-based Access Control authentication method. Format config mac_based_access_control method [local | radius] Parameters local - Specify to authenticate via the local database. radius - Specify to authenticate via a RADIUS server.
  • Page 603 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To set the MAC-based Access Control guest VLAN membership: DGS-3120-24TC:admin# config mac_based_access_control guest_vlan ports 1:1-1:8 Command: config mac_based_access_control guest_vlan ports 1:1-1:8 Success. DGS-3120-24TC:admin# 57-7 config mac_based_access_control ports Description This command is used to configure MAC-based Access Control port’s setting.
  • Page 604 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters ports - Specify a range of ports for configuring the MAC-based Access Control function parameters. <portlist> - Enter the list of port used for this configuration here. all - Specify all existed ports of switch for configuring the MAC-based Access Control function parameters.
  • Page 605 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config mac_based_access_control ports 1:1-1:8 aging_time infinite block_time 120 Command: config mac_based_access_control ports 1:1-1:8 aging_time infinite block_time 120 Success. DGS-3120-24TC:admin# 57-8 create mac_based_access_control Description This command is used to assign a static 802.1Q VLAN as a MAC-based Access Control guest VLAN.
  • Page 606 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format delete mac_based_access_control [guest_vlan <vlan_name 32> | guest_vlanid <vlanid 1- 4094>] Parameters guest_vlan - Specify the name of the MAC-based Access Control’s guest VLAN. <vlan_name 32> - Enter the VLAN name here. This name can be up to 32 characters long. guest_vlanid - Specify the VID of the MAC-based Access Control’s guest VLAN.
  • Page 607 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To clear MAC-based Access Control clients’ authentication information for all ports: DGS-3120-24TC:admin# clear mac_based_access_control auth_state ports all Command: clear mac_based_access_control auth_state ports all Success. DGS-3120-24TC:admin# To delete the MAC-based Access Control authentication information for the host that has a MAC address of 00-00-00-47-04-65: DGS-3120-24TC:admin# clear mac_based_access_control auth_state mac_addr 00-00- 00-47-04-65...
  • Page 608 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To create one MAC-based Access Control local database entry for MAC address 00-00-00-00-00- 01 and specify that the host will be assigned to the “default” VLAN after the host has been authorized: DGS-3120-24TC:admin# create mac_based_access_control_local mac 00-00-00-00-00- 01 vlan default...
  • Page 609 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config mac_based_access_control_local mac 00-00-00-00-00- 01 vlan default Command: config mac_based_access_control_local mac 00-00-00-00-00-01 vlan default Success. DGS-3120-24TC:admin# 57-13 delete mac_based_access_control_local Description This command is used to delete a MAC-based Access Control local database entry. Format delete mac_based_access_control_local [mac <macaddr>...
  • Page 610 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# delete mac_based_access_control_local vlan VLAN3 Command: delete mac_based_access_control_local vlan VLAN3 Success. DGS-3120-24TC:admin# 57-14 config mac_based_access_control authorization attributes Description This command is used to enable or disable the acceptation of an authorized configuration. When authorization is enabled for MAC-based Access Controls with RADIUS authentication, the authorized attributes (for example VLAN, 802.1p default priority, and ACL) assigned by the RADUIS server will be accepted if the global authorization status is enabled.
  • Page 611 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 57-15 show mac_based_access_control Description This command is used to display the MAC-based Access Control setting. Format show mac_based_access_control {ports {<portlist>}} Parameters ports – (Optional) Displays the MAC-based Access Control settings for a specific port or range of ports.
  • Page 612 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show mac_based_access_control Command: show mac_based_access_control MAC-based Access Control ------------------------------------ State : Disabled Method : Local Password Type : Manual String Password : default Max User : No Limit Guest VLAN Guest VLAN Member Ports: RADIUS Authorization...
  • Page 613 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show mac_based_access_control_local vlan default Command: show mac_based_access_control_local vlan default MAC Address ----------------- ---- 00-00-00-00-00-01 00-00-00-00-00-04 Total Entries:2 DGS-3120-24TC:admin# 57-17 show mac_based_access_control auth_state Description This command is used to display the MAC-based Access Control authentication status. Format show mac_based_access_control auth_state ports {<portlist>} Parameters...
  • Page 614 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 57-18 config mac_based_access_control max_users Description This command is used to configure the maximum number of authorized clients. Format config mac_based_access_control max_users [<value 1-1000> | no_limit] Parameters max_users - Specify to set the maximum number of authorized clients on the whole device. <value 1-1000>...
  • Page 615 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To enable trap state of MAC-based Access Control: DGS-3120-24TC:admin# config mac_based_access_control trap state enable Command: config mac_based_access_control trap state enable Success. DGS-3120-24TC:admin# 57-20 config mac_based_access_control log state Description This command is used to enable or disable generating of MAC-based Access Control logs.
  • Page 616: Chapter 58 Mac-Based Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 58 MAC-based VLAN Command List create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1- 4094>] {priority <value 0-7>} delete mac_based_vlan {mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1- 4094>]} show mac_based_vlan {mac_address <macaddr>...
  • Page 617 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# create mac_based_vlan mac_address 00-11-22-33-44-55 vlanid Command: create mac_based_vlan mac_address 00-11-22-33-44-55 vlanid 100 Success. DGS-3120-24TC:admin# 58-2 delete mac_based_vlan Description This command is used to delete the static MAC-based VLAN entry. Format delete mac_based_vlan {mac_address <macaddr>...
  • Page 618 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show mac_based_vlan {mac_address <macaddr> | [vlan <vlan_name 32> | vlanid <vlanid 1- 4094>]} Parameters mac_address - (Optional) Specify the entry that you would like to display. <macaddr>...
  • Page 619: Chapter 59 Md5 Configuration Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 59 MD5 Configuration Command List (RI Mode Only) create md5 key <key_id 1-255> <password 16> config md5 key <key_id 1-255> <password 16> delete md5 key <key_id 1-255> show md5 {key <key_id 1-255>} 59-1 create md5...
  • Page 620 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide authenticate every packet exchanged between OSPF routers. It is used as a security mechanism to limit the exchange of network topology information to the OSPF routing domain. Format config md5 key <key_id 1-255>...
  • Page 621 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#delete md5 key 1 Command: delete md5 key 1 Success. DGS-3120-24TC:admin# 59-4 show md5 Description This command is used to display the MD5 key table. Format show md5 {key <key_id 1-255>} Parameters key - (Optional) Specify that the MD5 key will be displayed.
  • Page 622: Chapter 60 Mirror Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 60 Mirror Command List config mirror port <port> {[add | delete] source ports <portlist> [rx | tx | both]} enable mirror disable mirror show mirror {group_id <value 1-4>} create mirror group_id <value 1-4>...
  • Page 623: Enable Mirror

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config mirror port 1:3 add source ports 1:7-1:12 both Command: config mirror port 1:3 add source ports 1:7-1:12 both Success. DGS-3120-24TC:admin# 60-2 enable mirror Description This command is used to enable mirror function without having to modify the mirror session configuration.
  • Page 624: Show Mirror

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To disable mirroring function: DGS-3120-24TC:admin# disable mirror Command: disable mirror Success. DGS-3120-24TC:admin# 60-4 show mirror Description This command is used to display the current mirror function state and mirror session configuration on the Switch.
  • Page 625 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show mirror Command: show mirror Mirror Global State: Enabled Group ID State : Enabled Target Port : 1:10 Source Ports : 1:11-1:14 : 1:11-1:14 DGS-3120-24TC:admin# 60-5 create mirror group_id Description This command is used to a mirror group on the switch Format...
  • Page 626 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config mirror group_id <value 1-4> {target_port <port> | [add | delete] source ports <portlist> [rx | tx | both] | state [enable | disable]}(1) Parameters <value 1-4> - Enter a mirro group identify value. target_port - The port that receives the packets duplicated at the mirror port.
  • Page 627 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To delete mirror group 3: DGS-3120-24TC:admin#delete mirror group_id 3 Command: delete mirror group_id 3 Success. DGS-3120-24TC:admin#...
  • Page 628: Chapter 61 Multicast Listener Discovery Protocol (Mld) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 61 Multicast Listener Discovery Protocol (MLD) Command List (RI Mode Only) config mld [ipif <ipif_name 12> | all] {query_interval <sec 1-31744> | max_response_time <sec 1- 25> | robustness_variable <value 2-7> | last_listener_query_interval <sec 1-25> | version <value 1-2>...
  • Page 629 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide disable - Specify that the MLD state will be disabled. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the MLD on the IP interface “System”: DGS-3120-24TC:admin#config mld ipif System version 1 state enable Command: config mld ipif System version 1 state enable Success.
  • Page 630 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show mld Command: show mld MLD Interface Configurations MRT = Maximum Response Time, LLQI = Last Listener Query Interval Interface Version Query Robustness LLQI State ------------ ------- ------ ------ ---------- ------ -------- System Enabled Total Entries: 1...
  • Page 631: Chapter 62 Mld Proxy Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 62 MLD Proxy Command List (RI Mode Only) enable mld_proxy disable mld_proxy config mld_proxy downstream_if [add | delete] vlan [<vlan_name 32> | vlanid <vidlist>] config mld_proxy upstream_if {vlan [<vlan_name 32> | vlanid <vlanid 1-4094>] | router_ports [add | delete] <portlist>...
  • Page 632 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the MLD proxy: DGS-3120-24TC:admin#disable mld_proxy Command: disable mld_proxy Success. DGS-3120-24TC:admin# 62-3 config mld_proxy downstream_if Description...
  • Page 633 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config mld_proxy downstream_if add vlan vlanid 2-7 Command: config mld_proxy downstream_if add vlan vlanid 2-7 Success. DGS-3120-24TC:admin# 62-4 config mld_proxy upstream_if Description This command is used to configure the setting for the MLD proxy’s upstream interface. The MLD proxy plays the host role on the upstream interface.
  • Page 634 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config mld_proxy upstream_if vlan default router_ports add Command: config mld_proxy upstream_if vlan default router_ports add 1:3 Success. DGS-3120-24TC:admin# 62-5 show mld_proxy Description This command is used to display the MLD proxy’s configuration or group information. The display status item means group entry is determined by whether or not the chip has been inserted.
  • Page 635 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show mld_proxy group Command: show mld_proxy group Source : NULL Group : FF1E::0202 Downstream VLAN Member Ports : 3,6 Status : Active Source : FF80::200 Group : FF1E::0202 Downstream VLAN Member Ports : 2,5,8...
  • Page 636: Chapter 63 Mld Snooping Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 63 MLD Snooping Command List The Multicast Listener Discovery (MLD) is used by IPv6 routers to discover multicast listeners on a directly attached link, much as IGMP is used in IPv4. The protocol is embedded in ICMPv6 instead of using a separate protocol.
  • Page 637 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config mld_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {state [enable | disable] | topology_changes_notification [ignore | process] | fast_done [enable | disable] | proxy_reporting {state [enable | disable] | source_ip <ipv6addr>}(1)}(1) Parameters vlan_name - Specify the name of the VLAN for which MLD snooping is to be configured.
  • Page 638 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 63-2 config mld_snooping querier Description This command is used to configure the timer in seconds between general query transmissions, the maximum time in seconds to wait for reports from listeners, and the permitted packet loss that is guaranteed by MLD snooping.
  • Page 639 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide packet received by the interface has a version higher than the specified version, this packet will be dropped. <value 1-2> - Enter the version number value here. This value must be between 1 and 2. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 640 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config mld_snooping mrouter_ports vlan default add 1:1- 1:10 Command: config mld_snooping mrouter_ports vlan default add 1:1-1:10 Success. DGS-3120-24TC:admin# 63-4 config mld_snooping router_ports_forbidden Description This command is used to designate a range of ports as being not connected to multicast-enabled routers.
  • Page 641 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide If forward multicast router only is enabled, the Switch will forward all multicast traffic to the multicast router, only. Otherwise, the Switch forwards all multicast traffic to any IP router. Format enable mld_snooping Parameters...
  • Page 642 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To disable MLD snooping on the Switch: DGS-3120-24TC:admin# disable mld_snooping Command: disable mld_snooping Success. DGS-3120-24TC:admin# 63-7 show mld_snooping Description This command is used to display the current MLD snooping configuration on the Switch. Format show mld_snooping {[vlan <vlan_name 32>...
  • Page 643 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Command: show mld_snooping MLD Snooping Global State : Disabled VLAN Name : default Query Interval : 125 Max Response Time : 10 Robustness Value Last Listener Query Interval Querier State : Disabled Querier Role...
  • Page 644 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show an MLD snooping group when MLD v2 is supported: The first item means that for ports 1-2, the data from the 2001::1/FE1E::1 will be forwarded. The second item means that for port 3, the data from the 2002::2/FE1E::1 must not be forwarded.
  • Page 645 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show mld_snooping group data_driven Command: show mld_snooping group data_driven Source/Group : NULL/FF1E::5 VLAN Name/VID : default/1 Member Ports Router Ports : 24 UP Time : 100 Expiry Time : 200 Filter Mode...
  • Page 646 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show mld_snooping forwarding Command: show mld_snooping forwarding VLAN Name : default Source IP : 2001::1 Multicast Group: FE1E::1 Port Member : 2,7 VLAN Name : default Source IP : 2001::2 Multicast Group: FF1E::1...
  • Page 647 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show mld_snooping mrouter_ports all Command: show mld_snooping mrouter_ports all VLAN Name : default Static Router Port : 1:1-1:10 Dynamic Router Port Router IP : FE08::1 Forbidden Router Port : 1:11 Total Entries: 1 DGS-3120-24TC:admin#...
  • Page 648 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# create mld_snooping static_group vlan default FF1E::1 Command: create mld_snooping static_group vlan default FF1E::1 Success. DGS-3120-24TC:admin# 63-12 delete mld_snooping static_group Description This command is used to delete a MLD Snooping multicast static group. Format delete mld_snooping static_group [vlan <vlan_name 32>...
  • Page 649 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config mld_snooping static_group [vlan <vlan_name 32> | vlanid <vlanid_list>] <ipv6addr> [add | delete] <portlist> Parameters vlan - Specify the name of the VLAN on which the static group resides. <vlan_name 32>...
  • Page 650 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display all the MLD snooping static groups: DGS-3120-24TC:admin# show mld_snooping static_group VLAN ID/Name IP Address Static Member Ports -------------- ------------------ ------------------------ 1 / default FF1E ::1 2:9-2:10 Total Entries : 1...
  • Page 651 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide disable - Enter disable to disable the data driven learning state. aged_out - (Optional) Enable or disable the aging out of entries. By default, the state is disabled. enable - Enter enable to enable the aged out option.
  • Page 652 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To set the maximum number of groups that can be learned by data driven: DGS-3120-24TC:admin# config mld_snooping data_driven_learning max_learned_entry Command: config mld_snooping data_driven_learning max_learned_entry 50 Success. DGS-3120-24TC:admin# 63-17 clear mld_snooping data_driven_group (EI and SI Mode Only) Description...
  • Page 653 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show mld _snooping statistic counter [vlan <vlan_name> | vlanid <vlanid_list> | ports <portlist>] Parameters vlan - Specify a VLAN to be displayed. <vlan_name> - Enter the VLAN name here. vlanid - Specify a list of VLANs to be displayed.
  • Page 654 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide MLD v1 Report MLD v2 Report : 10 MLD v1 Done Total : 11 Total Entries : 1 DGS-3120-24TC:admin# 63-19 clear mld_snooping statistic counter Description This command is used to clear MLD snooping statistics counters. Format clear mld _snooping statistics counter Parameters...
  • Page 655 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters ports - Specify a range of ports to be configured. <portlist> - Enter the range of ports to be configured here. vlanid - Specify a range of VLANs to be configured. <vlanid_list>...
  • Page 656 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show mld_snooping rate_limit ports 1:1-1:5 Command: show mld_snooping rate_limit ports 1:1-1:5 Port Rate Limit(pkt/sec) -------- -------------------- No Limit No Limit No Limit No Limit Total Entries: 5 DGS-3120-24TC:admin#...
  • Page 657: Chapter 64 Mstp Debug Enhancement Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 64 MSTP debug enhancement Command List debug stp config ports [<portlist> | all] [event | bpdu | state_machine | all] state [disable | brief | detail] debug stp show information debug stp show flag {ports <portlist>} debug stp show counter {ports [<portlist>...
  • Page 658: Debug Stp Show Information

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# debug stp config ports all all state brief Command: debug stp config ports all all state brief Warning: only support local device. Success. DGS-3120-24TC:admin# 64-2 debug stp show information Description This command is used to display STP detailed information, such as the hardware tables, the STP state machine, etc.
  • Page 659: Debug Stp Show Flag

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Regional Root Bridge : 32768/00-01-70-33-21-02 Internal Root Cost Designated Bridge : 32768/00-01-70-33-21-02 Designated Port Message Age Max Age : 20 Forward Delay : 15 Hello Time -------------------------------------- Designated Priority And Times: Instance 0: --------------------------------------...
  • Page 660: Debug Stp Show Counter

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief Brief 1:10 Brief Brief Brief 1:11 Brief Brief Brief 1:12...
  • Page 661: Debug Stp Clear Counter

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# debug stp show counter ports 1:9 Command: debug stp show counter ports 1:9 STP Counters -------------------------------------- Port 1:9 Receive: Transmit: Total STP Packets Total STP Packets Configuration BPDU Configuration BPDU : 0 TCN BPDU...
  • Page 662: Debug Stp State

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# debug stp clear counter ports all Command: debug stp clear counter ports all Warning: only support local device. Success. DGS-3120-24TC:admin# 64-6 debug stp state Description This command is used to enable or disable the STP debug state. Format debug stp state [enable | disable] Parameters...
  • Page 663 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config stp trap {topo_change [disable | enable ] | new_root [enable | disable]}(1) Parameters topo_change - Specify the state of sending new root traps. The default state is enable. disable - Disable sending new root traps.
  • Page 664: Chapter 65 Multicast Filter Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 65 Multicast Filter Command List create mcast_filter_profile {[ipv4 | ipv6]} profile_id <value 1-24> profile_name <name 32> config mcast_filter_profile [profile_id <value 1-24> | profile_name <name 32>] {profile_name <name 32>...
  • Page 665 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# create mcast_filter_profile profile_id 2 profile_name MOD Command: create mcast_filter_profile profile_id 2 profile_name MOD Success. DGS-3120-24TC:admin# 65-2 config mcast_filter_profile Description This command is used to add or delete a range of multicast IP addresses to or from the profile. Format config mcast_filter_profile [profile_id <value 1-24>...
  • Page 666 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config mcast_filter_profile ipv6 [profile_id <value 1-24> | profile_name <name 32>] {profile_name <name 32> | [add | delete] <mcastv6_address_list>}(1) Parameters profile_id - ID of the profile. <value 1-24> - Enter the profile ID value . This value must be between 1 and 24. profile_name - Provides a meaningful description for the profile.
  • Page 667 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide all - All multicast address profiles will be deleted. profile_name - Specify to display a profile based on the profile name. <name 32> - Enter the profile name value here. The profile name can be up to 32 characters long.
  • Page 668 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display all the defined multicast address profiles: DGS-3120-24TC:admin#show mcast_filter_profile Command: show mcast_filter_profile Profile ID Name Multicast Addresses ---------- -------------------------------- ------------------------------- 225.1.1.1-225.1.1.10 Total Entries: 1 DGS-3120-24TC:admin# 65-6 config limited_multicast_addr Description...
  • Page 669 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide all - Specify to delete all multicast address profile.. access - Specify the access of packets matching the addresses defined in the profiles. permit - Specify that packets matching the addresses defined in the profiles will be permitted. The default mode is permit.
  • Page 670 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide replace - The new group will replace the eldest group in the register table. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the maximum number of multicast group that ports 1:1 and 1:3 can join to 100: DGS-3120-24TC:admin#config max_mcast_group ports 1:1,1:3 max_group 100 Command: config max_mcast_group ports 1:1,1:3 max_group 100...
  • Page 671 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show max_mcast_group ports 1:1-1:2 Command: show max_mcast_group ports 1:1-1:2 Port Max Multicast Group Number Action ------ ---------------------------- --------- Drop Infinite Drop Total Entries: 2 DGS-3120-24TC:admin# To display the maximum number of multicast groups that VLANs 1 and 2 can join: DGS-3120-24TC:admin#show max_mcast_group vlanid 1-2 Command: show max_mcast_group vlanid 1-2 VLAN...
  • Page 672 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show the limited multicast address range on ports 1 and 3: DGS-3120-24TC:admin#show limited_multicast_addr ports 1:1,1:3 Command: show limited_multicast_addr ports 1:1,1:3 Port : 1:1 Access : Permit Profile ID Name...
  • Page 673 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config cpu_filter l3_control_pkt <portlist> [{dvmrp | pim | igmp_query}(1) | all] state [enable | disable] Parameters <portlist> - Specify the port list to filter control packets. dvmrp - Specify to filter the DVMRP control packets.
  • Page 674 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show cpu_filter l3_control_pkt ports 1:1-1:2 Command: show cpu_filter l3_control_pkt ports 1:1-1:2 Port IGMP Query DVMRP ---- ---------- -------- -------- Disabled Enabled Disabled Disabled Enabled Disabled DGS-3120-24TC:admin#...
  • Page 675: Chapter 66 Multicast Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 66 Multicast VLAN Command List create [igmp_snooping | mld_snooping] multicast_vlan <vlan_name 32> <vlanid 2-4094> {remap_priority [<value 0-7> | none] {replace_priority}} config igmp_snooping multicast_vlan <vlan_name 32> {[add | delete] [member_port <portlist> | [source_port <portlist>...
  • Page 676 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format create [igmp_snooping | mld_snooping] multicast_vlan <vlan_name 32> <vlanid 2-4094> {remap_priority [<value 0-7> | none] {replace_priority}} Parameters igmp_snooping - Specify to configure VLAN for IGMP snooping. mld_snooping - Specify to configure VLAN for MLD snooping. multicast_vlan - The name of the multicast VLAN to be created.
  • Page 677 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters multicast_vlan - The name of the multicast VLAN to be configured. <vlan_name 32> - Enter the VLAN here. The VLAN name can be up to 32 characters long. add - Specify that the entry will be added to the specified multicast VLAN.
  • Page 678 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 66-3 config mld_snooping multicast_vlan Description This command is used to add member ports and source ports to a list of multicast VLAN member ports. Member ports automatically become untagged members of the multicast VLAN and source ports automatically become tagged members of the multicast VLAN.
  • Page 679 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <vlanid 1-4094> - Enter the customer VLAN ID. null - Specify to not have the customer VLAN ID carrying in MLD query. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure an MLD snooping multicast VLAN with the name “v1”, make ports 1 and 3 members of the VLAN, and set the state to enable:...
  • Page 680 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# create igmp_snooping multicast_vlan_group_profile test Command: create igmp_snooping multicast_vlan_group_profile test Success. DGS-3120-24TC:admin# 66-5 config igmp_snooping multicast_vlan_group_profile Description This command is used to configure an IGMP snooping multicast group profile on the Switch and add or delete multicast addresses for the profile.
  • Page 681 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 66-6 config mld_snooping multicast_vlan_group_profile Description This command is used to configure an MLD snooping multicast group profile on the Switch and add or delete multicast addresses for the profile. Format config mld_snooping multicast_vlan_group_profile <profile_name 1-32>...
  • Page 682 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format delete [igmp_snooping | mld_snooping] multicast_vlan_group_profile [profile_name <profile_name 1-32> | all] Parameters igmp_snooping - Specify to delete an IGMP snooping group profile. mld_snooping - Specify to delete an MLD snooping group profile. profile_name - Specify the multicast VLAN profile name.
  • Page 683 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display all IGMP snooping multicast VLAN profiles: DGS-3120-24TC:admin# show igmp_snooping multicast_vlan_group_profile Command: show igmp_snooping multicast_vlan_group_profile Profile Name Multicast Addresses --------------------- -------------------------------- 234.1.1.1 - 238.244.244.244 239.1.1.1 - 239.2.2.2 Customer 224.19.62.34 - 224.19.162.200 Total Entries : 2...
  • Page 684 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide delete - Used to de-associate a profile from a multicast VLAN. profile_name - Specify the multicast VLAN profile name. <profile_name 1-32> - Enter the multicast VLAN profile name here. The name can be up to 32 characters long.
  • Page 685 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 66-11 delete [igmp_snooping | mld_snooping] multicast_vlan Description This command is used to delete an IGMP or MLD snooping multicast VLAN. Format delete [igmp_snooping | mld_snooping] multicast_vlan <vlan_name 32> Parameters igmp_snooping - Specify that an IGMP snooping multicast VLAN will be deleted.
  • Page 686 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To enable the IGMP snooping multicast VLAN function globally: DGS-3120-24TC:admin# enable igmp_snooping multicast_vlan Command: enable igmp_snooping multicast_vlan Success. DGS-3120-24TC:admin# 66-13 disable [igmp_snooping | mld_snooping] multicast_vlan Description...
  • Page 687 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 66-14 config [igmp_snooping | mld_snooping] multicast_vlan forward_unmatched Description This command is used to configure the forwarding mode for multicast VLAN unmatched packets. When the Switch receives an IGMP/MLD snooping packet, it will match the packet against the multicast profile to determine which multicast VLAN to associate with.
  • Page 688 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters igmp_snooping - Specify that IGMP snooping multicast VLANs will be displayed. mld_snooping - Specify that MLD snooping multicast VLANs will be displayed. multicast_vlan - The name of the multicast VLAN to be shown. <vlan_name 32>...
  • Page 689: Chapter 67 Network Load Balancing (Nlb) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 67 Network Load Balancing (NLB) Command List create nlb unicast_fdb <macaddr> config nlb unicast_fdb <macaddr> [add | delete] <portlist> delete nlb unicast_fdb <macaddr> create nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid 1-4094>] <macaddr> config nlb multicast_fdb [<vlan_name 32>|vlanid <vlanid 1-4094>] <macaddr>...
  • Page 690 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config nlb unicast_fdb <macaddr> [add | delete] <portlist> Parameters <macaddr> - Specify the MAC address of the NLB unicast FDB entry to be configured. add - Specify to add the ports. delete - Specify to delete the ports.
  • Page 691 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#delete nlb unicast_fdb 02-bf-01-01-01-01 Command: delete nlb unicast_fdb 02-BF-01-01-01-01 Success. DGS-3120-24TC:admin# 67-4 create nlb multicast_fdb Description This command is used to create a NLB multicast FDB entry. The network load balancing command set is used to support the Microsoft server load balancing application where multiple servers can share the same IP address and MAC address.
  • Page 692 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# create nlb multicast_fdb default 03-bf-01-01-01-01 Command: create nlb multicast_fdb default 03-bf-01-01-01-01 Success. DGS-3120-24TC:admin# 67-5 config nlb multicast_fdb Description This command is used to add or delete the forwarding ports for the specified NLB multicast FDB entry.
  • Page 693: Show Nlb Fdb

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format delete nlb multicast_fdb [<vlan_name 32> |vlanid <vlanid 1-4094>] <macaddr> Parameters <vlan_name 32> - Specify the VLAN of the NLB multicast FDB entry to be deleted. vlanid - Specify the VLAN by VLAN ID. <vlanid 1-4094>...
  • Page 694 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show nlb fdb Command: show nlb fdb MAC Address VLAN ID Egress Ports ----------------- ---------- ---------------------------------- 03-bf-01-01-01-01 1:1-1:5,1:24,2:24 03-bf-01-01-01-01 1:1-1:5,1:24,2:24 Total Entries : 2 DGS-3120-24TC:admin#...
  • Page 695: Chapter 68 Network Monitoring Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 68 Network Monitoring Command List show packet ports <portlist> show error ports <portlist> show utilization [cpu | ports] show utilization dram {unit <unit_id>} show utilization flash {unit <unit_id>} clear counters {ports <portlist>} 68-1 show packet ports...
  • Page 696: Show Error Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show packet ports 1:7 Command: show packet ports 1:7 Port Number : 1:7 ================================================================== Frame Size/Type Frame Counts Frames/sec --------------- ---------------------- ----------- 65-127 128-255 256-511 512-1023 1024-1518 Unicast RX Multicast RX Broadcast RX...
  • Page 697: Show Utilization

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show error ports 1:3 Command: show error ports 1:3 Port Number : 1:3 RX Frames TX Frames --------- --------- CRC Error Excessive Deferral Undersize CRC Error Oversize Late Collision Fragment Excessive Collision...
  • Page 698: Show Utilization Dram

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show utilization ports Command: show utilization ports Port TX/sec RX/sec Util Port TX/sec RX/sec Util ----- ---------- ---------- ---- ----- ---------- ---------- ---- 1:21 1:22 1:23 1:24 1:10 1:11...
  • Page 699: Show Utilization Flash

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters unit - (Optional) Specify the Switch unit ID to be displayed. <unit_id> - Enter the unit ID value. This value must be between 1 and 6. Restrictions None.
  • Page 700: Clear Counters

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show utilization flash Command: show utilization flash Unit 1 Flash Memory Utilization : Total Flash : 29618 Used Flash : 5422 Utilization : 18 % CTRL+C ESC q Quit SPACE n Next Page...
  • Page 701: Chapter 69 Oam Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 69 OAM Command List (RI and EI Mode Only) config ethernet_oam ports [<portlist> | all ] [mode [active | passive] | state [enable | disable] | link_monitor [error_symbol {threshold <range 0-4294967295>...
  • Page 702 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config ethernet_oam ports [<portlist> | all] [mode [active | passive] | state [enable | disable] | link_monitor [error_symbol {threshold <range 0-4294967295> | window <millisecond 1000- 60000> | notify_state [enable | disable]}(1) | error_frame {threshold <range 0-4294967295> | window <millisecond 1000-60000>...
  • Page 703 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide critical_link_event –Specify critical link event. dying_gasp - An unrecoverable local failure condition has occurred. critical_event - An unspecified critical event has occurred. notify_state - Specify the event notification status. The default state is enable. enable - Specify to enable event notification.
  • Page 704 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config ethernet_oam ports 1 link_monitor error_frame threshold 2 window 1000 notify_state enable Command: config ethernet_oam ports 1 link_monitor error_frame threshold 2 window 1000 notify_state enable Success. DGS-3120-24TC:admin# To configure the error frame seconds threshold to 2 and period to 10000 ms for port 1: DGS-3120-24TC:admin# config ethernet_oam ports 1 link_monitor...
  • Page 705 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config ethernet_oam ports 1 received_remote_loopback process Command: config ethernet_oam ports 1 received_remote_loopback process Success. DGS-3120-24TC:admin# 69-2 show ethernet_oam ports Description This command is used to display Ethernet OAM information, including status, configuration, statistics, and event log, on specified ports.
  • Page 706 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide • Variable: It indicates that the OAM entity can send and receive variable requests to monitor the attribute value as described in the IEEE 802.3 Clause 30 MIB. The event log displays Ethernet OAM event log information.
  • Page 707 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show ethernet_oam ports 1 statistics Command: show ethernet_oam ports 1 statistics Port 1 ------------------------------------------------------------ Information OAMPDU TX Information OAMPDU RX Unique Event Notification OAMPDU TX Unique Event Notification OAMPDU RX Duplicate Event Notification OAMPDU TX: 0 Duplicate Event Notification OAMPDU RX: 0 Loopback Control OAMPDU TX...
  • Page 708 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# clear ethernet_oam ports 1 statistics Command: clear ethernet_oam ports 1 statistics Success. DGS-3120-24TC:admin# To clear port 1 OAM events: DGS-3120-24TC:admin# clear ethernet_oam ports 1 event_log Command: clear ethernet_oam ports 1 event_log Success.
  • Page 709: Chapter 70 Open Shortest Path First (Ospf) Version 2 Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 70 Open Shortest Path First (OSPF) Version 2 Command List (RI Mode Only) config ospf [ipif <ipif_name 12> | all] {area <area_id> | priority <value> | hello_interval <sec 1- 65535>...
  • Page 710 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <key_id 1-255>] | metric <value 1-65535> | state [enable | disable] | passive [enable | disable] | distribute_list_in [access_list <list_name 16> | none]}(1) Parameters ipif - Specify the name of the IP interface. <ipif_name 12>...
  • Page 711 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config ospf ipif System priority 2 hello_interval 20 metric 2 state enable Command: config ospf ipif System priority 2 hello_interval 20 metric 2 state enable Success. DGS-3120-24TC:admin# 70-2 create ospf aggregation Description...
  • Page 712 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 70-3 config ospf aggregation Description This command is used to configure the OSPF area aggregation settings. Format config ospf aggregation <area_id> <network_address> lsdb_type [summary {advertise [enable | disable]} | nssa_ext {advertise [enable | disable]}] Parameters <area_id>...
  • Page 713 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <area_id> - A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain. <network_address> - The IP address that uniquely identifies the network that corresponds to the OSPF Area.
  • Page 714 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ospf aggregation Command: show ospf aggregation OSPF Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------ -------- --------- 10.48.74.122 192.168.0.0/16 Summary Enabled Total Entries : 1 DGS-3120-24TC:admin# 70-6...
  • Page 715 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To create an OSPF area: DGS-3120-24TC:admin#create ospf area 10.48.74.122 type stub stub_summary enable metric 1 Command: create ospf area 10.48.74.122 type stub stub_summary enable metric 1 Success.
  • Page 716 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config ospf area 10.48.74.122 type stub stub_summary enable metric 1 Command: config ospf area 10.48.74.122 type stub stub_summary enable metric 1 Success. DGS-3120-24TC:admin# 70-8 delete ospf area Description This command is used to delete an OSPF area.
  • Page 717 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display OSPF areas configuration: DGS-3120-24TC:admin#show ospf area Command: show ospf area OSPF Area Settings Area ID Type Stub Import Summary LSA Stub Default Cost Translate --------------- ------ ----------------------- ----------------- --------- 0.0.0.0 Normal None...
  • Page 718 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Command: create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Success. DGS-3120-24TC:admin# 70-11 config ospf host_route Description This command is used to configure an OSPF host route. Format config ospf host_route <ipaddr>...
  • Page 719 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <ipaddr> - Enter the host’s IP address used here. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an OSPF host route: DGS-3120-24TC:admin#delete ospf host_route 10.48.74.122 Command: delete ospf host_route 10.48.74.122 Success.
  • Page 720 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ospf host_route Command: show ospf host_route OSPF Host Route Settings Host Address Metric Area ID --------------- ------ --------------- 10.48.74.122 10.1.1.1 Total Entries : 1 DGS-3120-24TC:admin# 70-14 config ospf router_id Description The command is used to configure the router ID for the Switch.
  • Page 721 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format create ospf virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1- 255>]} Parameters <area_id> - Specify a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain.
  • Page 722 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config ospf virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1- 255>]}(1) Parameters <area_id> - Specify a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain.
  • Page 723 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format delete ospf virtual_link <area_id> <neighbor_id> Parameters <area_id> - Specify a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain. <neighbor_id>...
  • Page 724: Enable Ospf

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ospf virtual_link Command: show ospf virtual_link Virtual Interface Configuration Transit Virtual Hello Dead Authentication Link Area ID Neighbor Router Interval Interval Status --------------- --------------- -------- -------- -------------- ------ 10.1.1.1 20.1.1.1 None...
  • Page 725 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable ospf Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable OSPF on the Switch: DGS-3120-24TC:admin#disable ospf Command: disable ospf Success.
  • Page 726 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ospf Command: show ospf OSPF Router ID : 10.90.90.90 (Auto selected) State : Disabled OSPF Interface Settings Interface IP Address Area ID State Link Metric Status ------------ ------------------ --------------- -------- --------- --------- System 10.90.90.90/8...
  • Page 727 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display the link state database of OSPF: DGS-3120-24TC:admin#show ospf lsdb Command: show ospf lsdb Area LSDB Advertising Link State Cost Sequence Type Router ID Number --------------- --------- --------------- ----------------- -------- --------- 0.0.0.0...
  • Page 728 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ospf neighbor Command: show ospf neighbor IP Address of Router ID of Neighbor Neighbor Neighbor Neighbor Priority State --------------- --------------- -------- ------------- 10.48.74.122 10.2.2.2 Initial Total Entries : 1 DGS-3120-24TC:admin# 70-24 show ospf virtual_neighbor Description...
  • Page 729 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 70-25 config ospf default-information Description This command is used to change the status of originating the OSPF default external route. Format config ospf default-information {originate [always | default | none] | mettype [1 | 2] | metric <value 1-65535>}(1) Parameters originate - (Optional) Specify the status of originating default information.
  • Page 730: Chapter 71 Ospf Version 3 Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 71 OSPF Version 3 Command List (RI Mode Only) config ospfv3 router_id <ipaddr> enable ospfv3 disable ospfv3 config ospfv3 [ipif <ipif_name 12> | all] {area <area_id> | priority <value 0-255> | hello_interval <sec 1-65535>...
  • Page 731: Enable Ospfv

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide IPv4 address among the IP interfaces to be the router ID. The default value of OSPFv3 router ID is 0.0.0.0 (auto-selected). Only with executing this command, the OSPFv3 router ID can be changed.
  • Page 732 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable ospfv3 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable OSPFv3: DGS-3120-24TC:admin#disable ospfv3 Command: disable ospfv3 Success. DGS-3120-24TC:admin# 71-4 config ospfv3...
  • Page 733 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide link is accomplished through an instance ID contained in the OSPFv3 packet header. If the instance ID configured on the interface and that of a received OSPFv3 packets do not match, the interface discards the packet and no neighbor relationship can be established.
  • Page 734 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display OSPFv3 configurations: DGS-3120-24TC:admin#show ospfv3 Command: show ospfv3 OSPFv3 Router ID : 1.1.1.1 State : Disabled OSPFv3 Interface Settings Interface Area ID State Link Metric Instance ID...
  • Page 735 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide stub_summary - (Optional) Specify whether the OSPFv3 stub area imports inter-area prefix LSA advertisements. enable - Import inter-area prefix LSA into this stub area. disable - Stop importing inter-area prefix LSA into this stub area. metric - (Optional) Specify the cost of default inter-area prefix LSA in OSPFv3 stub area.
  • Page 736 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure OSPFv3 area: DGS-3120-24TC:admin#config ospfv3 area 2.2.2.2 type stub Command: config ospfv3 area 2.2.2.2 type stub Success. DGS-3120-24TC:admin# 71-8 delete ospfv3 area Description This command is used to delete an OSPFv3 area. The backbone area (0.0.0.0) can not be deleted. Format delete ospfv3 area <area_id>...
  • Page 737 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <area_id> - (Optional) Enter the OSPFv3 area ID. It is a 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 area in the OSPFv3 domain. Restrictions None.
  • Page 738 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To create an OSPFv3 area aggregation: DGS-3120-24TC:admin#create ospfv3 aggregation 2.2.2.2 2000::/16 advertise enable Command: create ospfv3 aggregation 2.2.2.2 2000::/16 advertise enable Success. DGS-3120-24TC:admin# 71-11 config ospfv3 aggregation Description This command is used to configure an OSPFv3 area aggregation.
  • Page 739 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format delete ospfv3 aggregation <area_id> <ipv6networkaddr> Parameters <area_id> - Enter the OSPFv3 area ID where the aggregation belongs to. <ipv6networkaddr> - Enter the IPv6 network address of the aggregation. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 740 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ospfv3 aggregation Command: show ospfv3 aggregation OSPFv3 Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------ -------- --------- 2.2.2.2 2000::/16 Summary Enabled Total Entries: 1 DGS-3120-24TC:admin# 71-14 show ospfv3 lsdb...
  • Page 741 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ospfv3 lsdb Command: show ospfv3 lsdb Router LSA (Area 0.0.0.0) Link State ID Adv Router Seq# Link 0.0.0.0 2.2.2.2 0x80000003 Link LSA (Interface System) Link State ID Adv Router Seq# Prefix...
  • Page 742 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ospfv3 neighbor Command: show ospfv3 neighbor Router ID of Interface Neighbor Neighbor Neighbor Name Priority State --------------- ------------ -------- ------------- 10.10.10.10 System Full 20.20.20.20 Full Total Entries: 2 DGS-3120-24TC:admin# 71-16 show ospfv3 virtual_neighbor Description...
  • Page 743 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format create ospfv3 virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | instance <value 0-255>} Parameters <area_id> - Specify a 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 area in the OSPFv3 domain.
  • Page 744 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <area_id> - Specify a 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 area in the OSPFv3 domain. This area is the transit area where the virtual link is built.
  • Page 745 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an OSPFv3 virtual link: DGS-3120-24TC:admin#delete ospfv3 virtual_link 1.1.1.1 60.60.60.60 Command: delete ospfv3 virtual_link 1.1.1.1 60.60.60.60 Success.
  • Page 746 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ospfv3 virtual_link Command: show ospfv3 virtual_link Virtual Interface Configuration Transit Virtual Hello Dead Instance ID Link Area ID Neighbor Router Interval Interval Status --------------- --------------- -------- -------- ----------- ------ 1.1.1.1 60.60.60.60 Down...
  • Page 747 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#create ipv6route redistribute dst ospfv3 src static Command: create ipv6route redistribute dst ospfv3 src static Success. DGS-3120-24TC:admin# 71-22 config ipv6route redistribute dst ospfv3 src Description This command is used to configure the settings of the IPv6 route redistribution to import route of other protocol into OSPFv3.
  • Page 748 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 71-23 delete ipv6route redistribute dst ospfv3 src Description This command is used to remove the IPv6 route redistribution to stop importing route of other protocol into OSPFv3. Format delete ipv6route redistribute dst ospfv3 src [local | static | ripng] Parameters...
  • Page 749: Chapter 72 Password Recovery Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 72 Password Recovery Command List enable password_recovery disable password_recovery show password_recovery 72-1 enable password_recovery Description This command is used to enable the password recovery mode. NOTE: This command does not take effect until being saved. Format enable password_recovery Parameters...
  • Page 750 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable password_recovery Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable the password recovery mode: DGS-3120-24TC:admin# disable password_recovery Command: disable password_recovery Success. DGS-3120-24TC:admin# 72-3 show password_recovery...
  • Page 751 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display the password recovery state: DGS-3120-24TC:admin# show password_recovery Command: show password_recovery Running Configuration : Enabled NV-RAM Configuration : Enabled DGS-3120-24TC:admin#...
  • Page 752: Chapter 73 Peripherals Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 73 Peripherals Command List show device_status show environment config temperature threshold {high <temperature -500-500> | low <temperature -500-500>} config temperature [trap | log] state [enable | disable] config fan trap state [enable | disable] config power trap state [enable | disable] enable light {timeout [infinite | <sec 1-3600>]}...
  • Page 753: Show Environment

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 73-2 show environment Description This command is used to display current status of power(s) and fan(s) on the system. Format show environment Parameters None. Restrictions None. Example To display the standalone device environment:...
  • Page 754: Config Temperature Threshold

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show environment Command: show environment High Warning Temperature Threshold(Celsius) : Low Warning Temperature Threshold(Celsius) Unit Internal Power : Active External Power : Fail Right Fan 1 : Speed Low (3000 RPM) Right Fan 2 : Speed Low...
  • Page 755: Config Temperature

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <temperature -500-500> - Enter the high threshold temperature here. low - (Optional) To configure low threshold value. n is the low threshold value. <temperature -500-500> - Enter the low threshold temperature here. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 756 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 73-5 config fan trap state Description This command is used to configure the trap state for fan warning event. Format config fan trap state [enable | disable] Parameters enable - Enable trap state for warning fan event.
  • Page 757 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config power trap state enable Command: config power trap state enable Success. DGS-3120-24TC:admin# 73-7 enable light Description This command is used to turn on all the port LEDs on the Switch. When enabled, all port LEDs will light solid green.
  • Page 758 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To return all the port LEDs to the normal state: DGS-3120-24TC:admin#disable light Command: disable light Success.
  • Page 759: Chapter 74 Ping Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 74 Ping Command List ping [<ipaddr> | <domain_name 255>] {times <value 1-255> | timeout <sec 1-99> | source_ip <ipaddr>} ping6 [<ipv6addr> | <domain_name 255>] {times <value 1-255> | size <value 1-6000> | timeout <sec 1-99>...
  • Page 760 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# ping 10.51.17.1 times 4 Command: ping 10.51.17.1 times 4 Reply from 10.51.17.1, time<10ms Reply from 10.51.17.1, time<10ms Reply from 10.51.17.1, time<10ms Reply from 10.51.17.1, time<10ms Ping Statistics for 10.51.17.1 Packets: Sent =4, Received =4, Lost =0 DGS-3120-24TC:admin# 74-2...
  • Page 761 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# ping6 3000::1 times 4 Command: ping6 3000::1 times 4 Reply from 3000::1, bytes=100, time<10ms Reply from 3000::1, bytes=100, time<10ms Reply from 3000::1, bytes=100, time<10ms Reply from 3000::1, bytes=100, time<10ms Ping Statistics for 3000::1 Packets: Sent =4, Received =4, Lost =0 DGS-3120-24TC:admin#...
  • Page 762: Chapter 75 Policy Route Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 75 Policy Route Command List (RI Mode Only) create policy_route name <policyroute_name 32> delete policy_route name <policyroute_name 32> config policy_route name <policyroute_name 32> acl profile_id <value 1-6> access_id <value 1- 256>...
  • Page 763 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <policyroute_name 32> - The policy route name. The maximum length is 32 characters. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an IP route entry in the Switch’s IP routing table named “duhon”: DGS-3120-24TC:admin#delete policy_route name duhon Command: delete policy_route name duhon...
  • Page 764 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure all packets which match ACL rule profile ID=1 and access ID=1, and then route to 20.1.1.100: DGS-3120-24TC:admin#config policy_route name danilo acl profile_id 1 access_id 1 nexthop 20.1.1.100 state enable Command: config policy_route name danilo acl profile_id 1 access_id 1 nexthop 20.1.1.100 state enable...
  • Page 765: Chapter 76 Port Security Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 76 Port Security Command List config port_security system max_learning_addr [<max_lock_no 1-3072> | no_limit] config port_security ports [<portlist> | all] [{admin_state [enable | disable] | max_learning_addr <max_lock_no 0-3072> | action [drop | shutdown] | lock_address_mode [permanent | deleteontimeout | deleteonreset]} | {vlan [<vlan_name 32>...
  • Page 766 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config port_security system max_learning_addr 256 Command: config port_security system max_learning_addr 256 Success. DGS-3120-24TC:admin# 76-2 config port_security ports Description This command is used to configure the admin state, the maximum number of addresses that can be learnt and the lock address mode.
  • Page 767 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide vlanid - Specify the VLAN ID used here. <vidlist> - Enter the VLAN ID used here. max_learning_addr - Specify the maximum learning address value. <max_lock_no 0-3072> - Enter the maximum learning address value here. This value must be between 0 and 3072.
  • Page 768 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the maximum number of VLAN-based port security entries on VLAN 1 to be 64: DGS-3120-24TC:admin# config port_security vlan vlanid 1 max_learning_addr 64 Command: config port_security vlan vlanid 1 max_learning_addr 64 Success.
  • Page 769 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 76-5 clear port_security_entry Description This command is used to clear the MAC entries learned by the port security function. Format clear port_security_entry {ports [<portlist> | all] {[vlan <vlan_name 32> | vlanid <vidlist>]}} Parameters ports - (Optional) Specify the range of ports to be configured.
  • Page 770 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide parameter is null, to show the entries on all of the ports. <portlist> - Enter the list of port used for this configuration here. vlan - (Optional) Specify the name of the VLAN that the port security settings will be displayed for.
  • Page 771 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display the global configuration of port security: DGS-3120-24TC:admin#show port_security Command: show port_security Port Security Trap State : Disabled Port Security Log State : Disabled System Maximum Address : 256 VLAN Configuration (Only VLANs with limitation are displayed) VLAN Name...
  • Page 772 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 76-9 config port_security log state Description This command is used to enable or disable the port security log. When the port security log is enabled, if there is a new MAC that violates the pre-defined port security configuration, the MAC, port and other relevant information will be logged, otherwise, no log will be generated.
  • Page 773: Config Poe System

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 77 Power over Ethernet (PoE) Command List (DGS-3120- 24PC and DGS-3120-48PC Only) config poe system {units [<unitlist> | all]} {power_limit <value 37-760>| power_disconnect_method [deny_next_port | deny_low_priority_port] | legacy_pd [enable | disable]} config poe ports [all | <portlist>] { state [enable | disable]| [time_range <range_name 32>...
  • Page 774: Config Poe Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide deny_low_priority_port - If there are ports that have been supplied power that have a priority lower than the new port, the port with the lowest priority will be disconnected. This process will stop until enough power is released for the new port.
  • Page 775 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 2. Manually configure the corresponding port’s power limit value to 30 Watts using the config poe ports [all | <portlist>] power_limit user_define 30000 command. Format config poe ports [all | <portlist>] { state [enable | disable] | [time_range <range_name 32> | clear_time_range] | priority [critical | high | low] | power_limit [class_0 | class_1 | class_2 | class_3 | user_define <value 1000-35000>]} Parameters...
  • Page 776: Show Poe System

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24PC:admin#config poe ports 1-4 state enable priority critical power_limit class_1 Command: config poe ports 1:1-1:4 state enable priority critical power_limit class_1 Success. DGS-3120-24PC:admin# config poe ports 5 state enable priority critical power_lim it user_define 1000 Command: config poe ports 1:5 state enable priority critical power_limit...
  • Page 777: Show Poe Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24PC:admin#show poe system units 1 Command: show poe system units 1 Unit: 1 PoE System Information --------------------------------------------------- Power Limit : 760(Watts) Power Consumption : 0(Watts) Power Remained : 371(Watts) Power Disconnection Method : Deny Next Port Detection Legacy PD...
  • Page 778 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24PC:admin#show poe ports 1:1-1:6 Command: show poe ports 1:1-1:6 Port State Priority Power Limit(mW) Time Range Class Power(mW) Voltage(decivolt) Current(mA) Status =============================================================================== Enabled 15400(User-defined) : Interim state during line detection Enabled 15400(User-defined) : Interim state during line detection...
  • Page 779: Chapter 78 Power Saving Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 78 Power Saving Command List config power_saving mode {length_detection | link_detection | led | port | hibernation} [enable | disable] config power_saving hibernation [[add | delete] time_range <range_name 32> | clear_time_range] config power_saving led [[add | delete] time_range <range_name 32>...
  • Page 780 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide led - (Optional) Specify to configure the power saving state of port LED. port - (Optional) Specify to configure the power saving state of port. hibernation - (Optional) Specify to configure the power saving state of system hibernation. enable - Specify to enable power saving state.
  • Page 781 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config power_saving hibernation add time_range range_1 Command: config power_saving hibernation add time_range range_1 Success. DGS-3120-24TC:admin# 78-3 config power_saving led Description This command is used to add or delete the power saving schedule on the LED of all ports. When any schedule is up, all port’s LED will be turned off even device’s LED working on PoE mode.
  • Page 782 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config power_saving port [<portlist> | all] [[add | delete] time_range <range_name 32> | clear_time_range] Parameters <portlist> - Specify a range of ports. all - Specify all ports. add - Specify to add a time range.
  • Page 783 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters length_detection - (Optional) Display the length detection configuration of power saving. link_detection - (Optional) Display the link detection configuration of power saving. led - (Optional) Display the port LED configuration of power saving. port - (Optional) Display the port configuration of power saving.
  • Page 784 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To disable the LED admin state: DGS-3120-24TC:admin#config led state disable Command: config led state disable Success. DGS-3120-24TC:admin# 78-7 show led...
  • Page 785: Chapter 79 Pppoe Circuit Id Insertions Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 79 PPPoE Circuit ID Insertions Command List (RI and EI Mode Only) config pppoe circuit_id_insertion state [enable | disable] config pppoe circuit_id_insertion ports <portlist> {state [enable | disable] | circuit_id [mac | ip | udf <string 32>]}(1) show pppoe circuit_id_insertion show pppoe circuit_id_insertion ports {<portlist>}...
  • Page 786 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 79-2 config pppoe circuit_id_insertion ports Description This command is used to configure port’s PPPoE Circuit ID insertion function. When the port’s state and the global state are enabled, the system will insert the Circuit ID TAG to the received PPPoE discovery initiation and request packet if the TAG is absent, and remove the Circuit ID TAG from the received PPPoE offer and session confirmation packet.
  • Page 787 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To display PPPoE circuit ID insertion status: DGS-3120-24TC:admin#show pppoe circuit_id_insertion Command: show pppoe circuit_id_insertion Global PPPoE State: Enabled DGS-3120-24TC:admin# 79-4 show pppoe circuit_id_insertion ports Description This command is used to display Switch’s port PPPoE Circuit ID insertion configuration.
  • Page 788 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#...
  • Page 789: Chapter 80 Protocol Independent Multicast (Pim) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 80 Protocol Independent Multicast (PIM) Command List (RI Mode Only) config pim [[ipif <ipif_name 12> | all] {hello <sec 1-18724> | jp_interval <sec 1-18724> | state [enable | disable] | mode [dm | sm | sm-dm] | dr_priority <uint 0-4294967294>}(1) | register_probe_time <value 1-127>...
  • Page 790 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <sec 1-18724> - Enter the hello time value here. This value must be between 1 and 18724 seconds. The default value is 30 seconds. jp_interval - Specify the interval between transmitting (flooding to all interfaces) multicast messages to downstream routers, and automatically ‘pruning’...
  • Page 791 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format enable pim Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable PIM: DGS-3120-24TC:admin#enable pim Command: enable pim Success. DGS-3120-24TC:admin# 80-3 disable pim...
  • Page 792 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# 80-4 show pim neighbor Description This command is used to display the current PIM neighbor router table. Format show pim neighbor {ipif <ipif_name 12> | ipaddress <network_address>} Parameters ipif - (Optional) Specify the name of the IP interface for which you want to display the current PIM neighbor router table.
  • Page 793 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters ipif - (Optional) Specify the name of the IP interface used to display the PIM configuration. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
  • Page 794 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters ipif - Specify the IP interface used for this configuration. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
  • Page 795 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display the C-BSR settings: DGS-3120-24TC:admin#show pim cbsr Command: show pim cbsr PIM Candidate-BSR Table C-BSR Hash Mask Len : 30 C-BSR Bootstrap Period : 60 Interface IP Address Priority...
  • Page 796 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the candidate rendezvous point (RP) holdtime, priority and wildcard prefix count: DGS-3120-24TC:admin#config pim crp holdtime 150 priority 192 wildcard_prefix_cnt 0 Command: config pim crp holdtime 150 priority 192 wildcard_prefix_cnt 0 Success.
  • Page 797 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 80-10 delete pim crp group Description This command is used to delete a multicast group range from the C-RP server list. Format delete pim crp group <network_address> Parameters <network_address>...
  • Page 798 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show pim crp Command: show pim crp PIM Candidate-RP Table C-RP Holdtime : 150 C-RP Priority : 192 C-RP Wildcard Prefix Count : 0 Group Interface ------------------ ------------------ 224.1.2.3/32 System Total Entries: 1...
  • Page 799 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 80-13 show pim ipmroute Description This command is used to list all the entries of multicast routing, includes (*,G), (S,G) and (S,G,rpt). Format show pim ipmroute Parameters None.
  • Page 800 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 80-14 create pim static_rp group Description This command is used to create a static RP. Format create pim static_rp group <network_address> rp <ipaddr> Parameters group - Specify to assign the multicast group address for this static RP. <network_address>...
  • Page 801 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To delete a static RP: DGS-3120-24TC:admin#delete pim static_rp group 239.1.1.0/24 Command: delete pim static_rp group 239.1.1.0/24 Success. DGS-3120-24TC:admin# 80-16 show pim static_rp Description This command is used to list all the static RP settings. Format show pim static_rp Parameters...
  • Page 802 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 80-17 show pim rpset Description This command is used to list all the RPset information. Format show pim rpset Parameters None. Restrictions None. Example To list all the RPset information: DGS-3120-24TC:admin#show pim rpset Command: show pim rpset PIM RP-Set Table...
  • Page 803 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format create pim register_checksum_include_data rp_address <ipaddr> Parameters <ipaddr> - Specify that the RP will expect to receive a register packet in which the checksum will be included in the data portion. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 804 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#delete pim register_checksum_include_data rp_address 24.1.2.3 Command: delete pim register_checksum_include_data rp_address 24.1.2.3 Success. DGS-3120-24TC:admin# 80-20 show pim register_checksum_include_data_rp_list Description This command is used to list all the RPs of the registered checksum, including the data. Format show pim register_checksum_include_data_rp_list Parameters...
  • Page 805 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 80-21 config pim-ssm Description This command is used to enable the SSM (Source-Specific Multicast) service model in PIM-SM on the switch. The PIM-SSM function will take active only when SSM service model and PIM-SM state both enabled.
  • Page 806 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display PIM-SSM state and group range: DGS-3120-24TC:admin#show pim-ssm Command: show pim-ssm SSM Service Model State : Enabled SSM Group : 232.0.0.0/8 DGS-3120-24TC:admin#...
  • Page 807: Chapter 81 Pim For Ipv6 Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 81 PIM for IPv6 Command List (RI Mode Only) config pim6 [ipif <ipif_name 12> | all] {hello_interval <sec 0-18000> | triggered_hello_delay <sec 0-60> | propagation_delay <sec 0-32> | override_interval <sec 0-65> | jp_interval <sec 0- 18000>...
  • Page 808 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide hello_interval – Specify the interval of issuing hello packets fo find neighboring routers. <sec 0-18000> - Enter the time between 0 and 18000 seconds. The default value is 30. triggered_hello_delay - Specify the maximum time, in seconds, before the router sends a triggered PIM Hello message on the specified interface.
  • Page 809 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 81-2 show pim6 Description This command is used to display the PIM6 configurations. Format show pim6 {ipif <ipif_name 12>} Parameters ipif - (Optional) Specify to the IP interface name to be displayed. <ipif_name 12>...
  • Page 810 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show pim6 ipif System Command: show pim6 ipif System Interface name : System Interface Link-Local Address Interface Global Address PIM6 Mode : SM State : Enabled Designated Router Designated Router Priority Designated Router Priority Enabled : True Hello Interval...
  • Page 811 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide seconds. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the C-BSR on the interface “System”: DGS-3120-24TC:admin#config pim6 cbsr ipif System state enable priority 64 hash_masklen 126 Command: config pim6 cbsr ipif System state enable priority 64 hash_masklen 126 Success.
  • Page 812 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 81-5 config pim6 crp Description This command is used to configure the PIM6 C-RP related parameters. Format config pim6 crp [rp <ipif_name 12> | all] {priority <value 0-255> | interval <sec 1-16383>}(1) Parameters ipif - Specify to apply the configurations to this specific IP interface.
  • Page 813 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add a multicast group range “FF1E::12EF:1023/64” into the serve list of the C-RP “System”: DGS-3120-24TC:admin#create pim6 crp group FF1E::12EF:1023/64 rp System Command: create pim6 crp group FF1E::12EF:1023/64 rp System Success.
  • Page 814 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format enable pim6 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the PIM global state for an IPv6 network: DGS-3120-24TC:admin#enable pim6 Command: enable pim6 Success.
  • Page 815 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 81-10 config pim6 last_hop_spt_switchover Description This command is used to make the last hop router to decide whether to receive the multicast data from the shared tree or switch over to the shortest path tree (SPT). Format config pim6 last_hop_spt_switchover [never | immediately] Parameters...
  • Page 816 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show the PIM6 neighbors: DGS-3120-24TC:admin#show pim6 neighbor Command: show pim6 neighbor PIM6 Neighbor Address Table Interface Neighbor Address -------------- ---------------- System FE80::200:FF:FE26:66D0 FE80::200:FF:FE26:66D1 Total Entries : 2 DGS-3120-24TC:admin# To show the PIM6 neighbors of interface “n20”: DGS-3120-24TC:admin# show pim6 neighbor ipif n20...
  • Page 817 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show the whole IPv6 multicast routing table generated on the Switch: DGS-3120-24TC:admin#show pim6 mroute Command: show pim6 mroute Total (*,*,RP) Entries Total (*,G) Entries Total (S,G) Entries Total (S,G,rpt) Entries : 1 Group...
  • Page 818 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <ipif_name 12> - Enter the IPv6 interface name. Restrictions None. Example To show the whole IPv6 multicast routing table of (*, G) generated on the switch: DGS-3120-24TC:admin#show pim6 mroute star_g Command: show pim6 mroute star_g (*, G) Entry Table -------------------------...
  • Page 819 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show all (S, G) route entries generated on the Switch: DGS-3120-24TC:admin#show pim6 mroute s_g Command: show pim6 mroute s_g (S, G) Entry Table ------------------------ Group : FF13::100...
  • Page 820 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To create a static RP: DGS-3120-24TC:admin#create pim6 static_rp group FF02::11/64 rp 3000::12 Command: create pim6 static_rp group FF02::11/64 rp 3000::12 Success. DGS-3120-24TC:admin# 81-16 delete pim6 static_rp group Description This command is used to delete a static RP.
  • Page 821 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide disable - Specify to disable embedded RP support in PIM6. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the embedded RP state: DGS-3120-24TC:admin#config pim6 embedded_rp state enable Command: config pim6 embedded_rp state enable Success.
  • Page 822 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 81-19 show pim6 static_rp Description This command is used to display all static RP settings. Format show pim6 static_rp Parameters None. Restrictions None. Example To show the static RP: DGS-3120-24TC:admin#show pim6 static_rp Command: show pim6 static_rp PIM6 Static RP Table...
  • Page 823 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show all the active RP information: DGS-3120-24TC:admin#show pim6 rpset Command: show pim6 rpset Bootstrap Router: 3120::110 PIM6 RP-Set Table --------------------------------------------- Group : FF3D::/64 RP Address : 3121::110 Hold Time...
  • Page 824 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To specify the switch calculates the register packet checksum including the data portion: DGS-3120-24TC:admin#config pim6 register_checksum_calculate include_data Command: config pim6 register_checksum_calculate include_data Success. DGS-3120-24TC:admin# 81-22 config pim6 register_probe_time Description This command is used to configure the PIM6-SM register probe time.
  • Page 825 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <sec 3-655535> - Enter the period during which a PIM DR stops sending Register-encapsulated data to the RP after receiving a Register-Stop message. The default value is 60. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 826: Chapter 82 Protocol Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 82 Protocol VLAN Command List create dot1v_protocol_group group_id <int 1-16> {group_name <name 32>} config dot1v_protocol_group [group_id <int 1-16> | group_name <name 32>] [add protocol [ethernet_2 | ieee802.3_snap | ieee802.3_llc] <protocol_value> | delete protocol [ethernet_2 | ieee802.3_snap | ieee802.3_llc] <protocol_value>] delete dot1v_protocol_group [group_id <int 1-16>...
  • Page 827 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 82-2 config dot1v_protocol_group add protocol Description This command is used to add a protocol to a protocol group. The selection of a protocol can be a pre-defined protocol type or a user defined protocol. Format config dot1v_protocol_group [group_id <int 1-16>...
  • Page 828 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters group_id - Specify the group ID to be deleted. <int 1-16> - Enter the group ID used here. group_name - Specify the name of the group to be deleted. <name 32>...
  • Page 829 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show dot1v_protocol_group group_id 10 Command: show dot1v_protocol_group group_id 10 Protocol Protocol Frame Type Protocol Group ID Group Name Value --------- --------------- ------------ ------------ General Group EthernetII 86dd Success.
  • Page 830: Show Port Dot1V

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example The example is to assign VLAN marketing-1 for untaged ipv6 packet ingress from port 3. To configure the group ID 10 on port 3 to be associated with VLAN marketing-1: DGS-3120-24TC:admin#config port dot1v ports 1:3 add protocol_group group_id 10 vlan marketing-1...
  • Page 831 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show port dot1v ports 1:1 Command: show port dot1v ports 1:1 Port: 1:1 Protocol Group ID VLAN Name Protocol Priority ------------------- --------------------------------- ----------------- default VLAN2 VLAN3 VLAN4 Success.
  • Page 832: Chapter 83 Qinq Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 83 QinQ Command List (RI and EI Mode Only) enable qinq disable qinq config qinq inner_tpid <hex 0x1-0xffff> config qinq ports [<portlist> | all] {role [uni | nni] | missdrop [enable | disable] | outer_tpid <hex 0x1 - 0xffff>...
  • Page 833: Disable Qinq

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# enable qinq Command: enable qinq Success. DGS-3120-24TC:admin# 83-2 disable qinq Description This command is used to disable the QinQ. When QinQ is disabled, all dynamic learned L2 addresses will be cleared, all dynamic registered VLAN entries will be cleared, and GVRP will be disabled.
  • Page 834: Config Qinq Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters inner_tpid - Specify the inner-TPID of the system. <hex 0x1-0xffff> - Enter the inner-TPID of the system here. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the inner TPID in the system to 0x9100: DGS-3120-24TC:admin# config qinq inner_tpid 0x9100...
  • Page 835: Show Qinq

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure port list 1-4 as NNI port and set the TPID to 0x88A8: DGS-3120-24TC:admin# config qinq ports 1:1-1:4 role nni outer_tpid 0x88A8 Command: config qinq ports 1:1-1:4 role nni outer_tpid 0x88A8 Success.
  • Page 836: Show Qinq Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show qinq inner_tpid Parameters None. Restrictions None. Example To display the inner-TPID of a system: DGS-3120-24TC:admin# show qinq inner_tpid Command: show qinq inner_tpid Inner TPID: 0x9100 DGS-3120-24TC:admin# 83-7 show qinq ports...
  • Page 837 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show qinq ports 1:1-1:2 Command: show qinq ports 1:1-1:2 Port ID: --------------------------------------------------------- Role: Miss Drop: Disabled Outer Tpid: 0x88a8 Add Inner Tag: Disabled Port ID: --------------------------------------------------------- Role: Miss Drop: Disabled...
  • Page 838 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To replace the C-Tag in which the CVID is 20, with the S-Tag and the S-VID is 200 at UNI Port 1: DGS-3120-24TC:admin# create vlan_translation ports 1:1 replace cvid 20 svid 200 Command: create vlan_translation ports 1:1 replace cvid 20 svid 200 Success.
  • Page 839 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# delete vlan_translation ports 1:1-1:4 Command: delete vlan_translation ports 1:1-1:4 Success. DGS-3120-24TC:admin# 83-10 show vlan_translation Description This command is used to display the existing C-VLAN-based VLAN translation rules. Format show vlan_translation {[ports <portlist>...
  • Page 840: Chapter 84 Quality Of Service (Qos) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 84 Quality of Service (QoS) Command List config bandwidth_control [<portlist> | all] {rx_rate [no_limit | <value 8-10240000>] | tx_rate [no_limit | <value 8-10240000>]} show bandwidth_control {<portlist>} config per_queue bandwidth_control {ports [<portlist>...
  • Page 841 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide maximum limit in Kbits/sec. The actual bandwidth will be an adjusted value based on the user specified bandwidth. The actual limit may be equal to the user specified limit, but will not exceed it..
  • Page 842 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display port bandwidth control table: DGS-3120-24TC:admin#show bandwidth_control 1:1-1:10 Command: show bandwidth_control 1:1-1:10 Bandwidth Control Table Port RX Rate TX Rate Effective RX Effective TX (Kbit/sec) (Kbit/sec) (Kbit/sec) (Kbit/sec)
  • Page 843 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide specified class. <value 8-10240000> - Specify the packet limit, in Kbps, that the above ports will be allowed to receive. If the specified rate is not multiple of minimum granularity, the rate will be adjusted.
  • Page 844: Config Scheduling

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show per_queue bandwidth_control 1:10 Command: show per_queue bandwidth_control 1:10 Queue Bandwidth Control Table On Port: 1:10 Queue Min Rate(Kbit/sec) Max Rate(Kbit/sec) No Limit No Limit No Limit No Limit No Limit No Limit...
  • Page 845: Show Scheduling

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 84-6 config scheduling_mechanism Description This command is used to configure the traffic scheduling mechanism for each CoS queue. Format config scheduling_mechanism {ports [<portlist> | all]} [strict | wrr] Parameters ports - (Optional) Specify a range of ports to be configured.
  • Page 846 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <portlist> - (Optional) Specify a range of ports to be displayed. If no parameter specified, system will display all ports scheduling configurations. Restrictions None. Example To display the traffic scheduling parameters for each CoS queue on port 1:1(take eight hardware priority queues for example): DGS-3120-24TC:admin#show scheduling 1:1 Command: show scheduling 1:1...
  • Page 847 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show scheduling mechanism: DGS-3120-24TC:admin#show scheduling_mechanism Command: show scheduling_mechanism Port Mode ----- ------ Strict Strict Strict Strict Strict Strict Strict Strict Strict 1:10 Strict 1:11 Strict 1:12 Strict 1:13...
  • Page 848 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide priority queues available. They are numbered between 0 (the lowest priority) and 7 (the highest priority). Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the 802.1p user priority: DGS-3120-24TC:admin#config 802.1p user_priority 1 3...
  • Page 849 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show 802.1p user_priority Command: show 802.1p user_priority QOS Class of Traffic: Priority-0 -> <Class-2> Priority-1 -> <Class-0> Priority-2 -> <Class-1> Priority-3 -> <Class-3> Priority-4 -> <Class-4> Priority-5 ->...
  • Page 850 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config 802.1p default_priority all 5 Command: config 802.1p default_priority all 5 Success. DGS-3120-24TC:admin# 84-12 show 802.1p default_priority Description This command is used to display the current configured default priority settings on the Switch. The default priority can also be assigned by the RADIUS server through the authentication process.
  • Page 851 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show 802.1p default_priority 1:1-1:10 Command: show 802.1p default_priority 1:1-1:10 Port Priority Effective Priority ---- ----------- ------------------ 1:10 DGS-3120-24TC:admin# 84-13 enable hol_prevention Description This command is used to enable head of line prevention on the Switch. Format enable hol_prevention Parameters...
  • Page 852 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable hol_prevention Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable HOL prevention on the Switch: DGS-3120-24TC:admin# disable hol_prevention Command: disable hol_prevention Success.
  • Page 853: Config Dscp Trust

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show hol_prevention Command: show hol_prevention Device HOL Prevention State: Enabled DGS-3120-24TC:admin# 84-16 config dscp trust Description This command is used to configure the state of DSCP trust per port. When DSCP is not trusted, 802.1p is trusted.
  • Page 854: Config Dscp Map

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <portlist> - (Optional) A range of ports to display. If not specify the port, all ports for DSCP trust status on the Switch will be displayed. Restrictions None.
  • Page 855: Show Dscp Map

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <portlist> - Enter the list of port used for this configuration here. all - Specify that all the ports will be included in this configuration. dscp_priority - Specify a list of DSCP value to be mapped to a specific priority. <dscp_list>...
  • Page 856 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide dscp_dscp - Specify a list of DSCP value to be mapped to a specific DSCP. dscp - (Optional) This specifies DSCP value that will be mapped. <dscp_list> - Enter the DSCP list here. Restrictions None.
  • Page 857: Chapter 85 Reboot Schedule Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 85 Reboot Schedule Command List config reboot schedule [in <min 1-43200> | at <end_time hh:mm> {<date ddmthyyyy>}] {save_before_reboot} show reboot schedule delete reboot schedule 85-1 config reboot schedule Description This command is used to configure reboot time and save parameters for the reboot schedule on the Switch.
  • Page 858 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Examples This example shows how to reboot the device after 10 minutes and not to save the configuration before doing so. DGS-3120-24TC:admin# config reboot schedule in 10 Command: config reboot schedule in 10 Success.
  • Page 859 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show reboot schedule Command: show reboot schedule Reboot Schedule Settings --------------------------- Reboot schedule at 1 Sep 2013 23:00:00 (in 26234 minutes) Save before reboot: Yes DGS-3120-24TC:admin# 85-3 delete reboot schedule Description...
  • Page 860: Chapter 86 Remote Switched Port Analyzer (Rspan) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 86 Remote Switched Port ANalyzer (RSPAN) Command List enable rspan disable rspan create rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] delete rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] config rspan vlan [vlan_name <vlan_name>...
  • Page 861: Disable Rspan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example Configure RSPAN state to enable: DGS-3120-24TC:admin# enable rspan Command: enable rspan Success. DGS-3120-24TC:admin# 86-2 disable rspan Description This command is used to disable the RSPAN function. Format disable rspan Parameters...
  • Page 862: Delete Rspan Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters vlan_name - Create the RSPAN VLAN by VLAN name. <vlan_name> - Enter the VLAN name here. vlan_id - Create the RSPAN VLAN by VLAN ID. <vlanid 1-4094> - Enter the VLAN ID here. This value must be between 1 and 4094. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 863: Config Rspan Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To delete an RSPAN VLAN entry by VLAN name “v2”: DGS-3120-24TC:admin#delete rspan vlan vlan_name v2 Command: delete rspan vlan vlan_name v2 Success. DGS-3120-24TC:admin# To delete an RSPAN VLAN entry by VLAN ID “3”: DGS-3120-24TC:admin#delete rspan vlan vlan_id 3 Command: delete rspan vlan vlan_id 3 Success.
  • Page 864: Show Rspan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide tx - (Optional) Only monitor egress packets. both - (Optional) Monitor both ingress and egress packets. Restrictions Only Administrator and Operator-level users can issue this command. Example To configure an RSPAN source entry without source target port: DGS-3120-24TC:admin#config rspan vlan vlan_name v2 source add ports 1:2-1:5 rx Command: config rspan vlan vlan_name v2 source add ports 1:2-1:5 rx...
  • Page 865 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters vlan_name - (Optional) Specify the RSPAN VLAN by VLAN name <vlan_name> - Enter the VLAN name here. vlan_id - (Optional) Specify the RSPAN VLAN by VLAN ID. <value 1-4094>...
  • Page 866: Chapter 87 Routing Information Protocol (Rip) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 87 Routing Information Protocol (RIP) Command List (RI Mode Only) enable rip disable rip config rip [ipif <ipif_name 12> | all] {authentication [enable <password 16> | disable] | tx_mode [disable | v1_only | v1_compatible | v2_only] | rx_mode [v1_only| v2_only | v1_or_v2 | disable] | state [enable | disable] | distribute_list_in [access_list <list_name 16>...
  • Page 867 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable rip Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable RIP: DGS-3120-24TC:admin#disable rip Command: disable rip Success. DGS-3120-24TC:admin# 87-3 config rip...
  • Page 868 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide rx_mode - Specify the RIP receive mode. v1_only - Specify to receive RIP version 1 format packets. v2_only - Specify to receive RIP version 2 format packets. v1_or_v2 - Specify to receive both v1 and v2 packets.
  • Page 869 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the RIP timers: DGS-3120-24TC:admin#config rip timers update 60 timeout 360 garbage_collection Command: config rip timers update 60 timeout 360 garbage_collection 240 Success.
  • Page 870 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show rip Command: show rip RIP Global State : Enabled Update Time : 30 seconds Timeout Time : 180 seconds Garbage Collection Time : 120 seconds RIP Interface Settings Interface IP Address TX Mode...
  • Page 871: Chapter 88 Ripng Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 88 RIPng Command List (RI Mode Only) enable ripng disable ripng config ripng {method [no_horizon | split_horizon | poison_reverse ] | update <sec 5-65535> | expire <sec 1-65535> | garbage_collection <sec 1-65535>}(1) config ripng ipif [<ipif_name 12>...
  • Page 872 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable ripng Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable RIPng globally: DGS-3120-24TC:admin#disable ripng Command: disable ripng Success.
  • Page 873 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the RIPng method as poison reverse: DGS-3120-24TC:admin#config ripng method poison_reverse Command: config ripng method poison_reverse Success. DGS-3120-24TC:admin# 88-4 config ripng ipif Description This command is used to specify the RIPng state or metric value for one or all interfaces. Format config ripng ipif [<ipif_name 12>...
  • Page 874 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show ripng {ipif <ipif_name 12>} Parameters ipif - (Optional) Specify the interface name. <ipif_name 12> - Enter the interface name. Restrictions None. Example To display RIPng information: DGS-3120-24TC:admin#show ripng Command: show ripng Global State:...
  • Page 875 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format create ipv6route redistribute dst ripng src [local | static | ospfv3] {metric <value 0-16>} Parameters local - Redistribute local routes into RIPng. static - Redistribute static routes into RIPng. ospfv3 - Redistribute OSPFv3 routes into RIPng.
  • Page 876 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the RIPng route redistribution: DGS-3120-24TC:admin#config ipv6route redistribute dst ripng src local metric 6 Command: config ipv6route redistribute dst ripng src local metric 6 Success.
  • Page 877: Chapter 89 Routing Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 89 Routing Command List create iproute [default | <network_address>] [<ipaddr> {<metric 1-65535>} {[primary | backup | weight <value 1-4>]} | null0 | ip_tunnel <tunnel_name 12>] delete iproute [default | <network_address>] [<ipaddr> | null0 | ip_tunnel <tunnel_name 12>] show iproute {[<network_address>...
  • Page 878: Delete Iproute

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format create iproute [default | <network_address>] [<ipaddr> {<metric 1-65535>} {[primary | backup | weight <value 1-4>]} | null0 | ip_tunnel <tunnel_name 12>] Parameters default - Create an IP default route (0.0.0.0/0). <network_address>...
  • Page 879: Show Iproute

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <tunnel_name 12> - Enter the IP tunnel interface name. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an IP default route: DGS-3120-24TC:admin# delete iproute default 10.1.1.254 Command: delete iproute default 10.1.1.254 Success.
  • Page 880 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show iproute Command: show iproute Routing Table IP Address/Netmask Gateway Interface Cost Protocol ------------------ --------------- ------------ -------- -------- 10.1.1.0/24 0.0.0.0 System Local 192.168.1.0/24 0.0.0.0 Local Total Entries : 2 DGS-3120-24TC:admin# 89-4 config route preference (RI Mode Only)
  • Page 881 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 89-5 create route redistribute dst ospf src (RI Mode Only) Description This command is used to redistribute routing information from other routing protocols into OSPF. Format create route redistribute dst ospf src [local | static | rip] {mettype [1 | 2] | metric <value 0- 16777214>...
  • Page 882 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters local - Redistribute local routes into OSPF. static - Redistribute static routes into OSPF. rip - Redistribute RIP routes into OSPF. mettype - (Optional) Allow the selection of one of two methods for calculating the metric value. 1 - 1 calculates the metric (for other routing protocols to OSPF) by adding the destination’s interface cost to the metric entered in the Metric field.
  • Page 883 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To delete route redistribution settings: DGS-3120-24TC:admin#delete route redistribute dst ospf src local Command: delete route redistribute dst ospf src local Success. DGS-3120-24TC:admin# 89-8 create route redistribute dst rip src (RI Mode Only) Description This command is used to redistribute routing information from other routing protocols into RIP.
  • Page 884 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#create route redistribute dst rip src ospf all metric 2 Command: create route redistribute dst rip src ospf all metric 2 Success. DGS-3120-24TC:admin# 89-9 config route redistribute dst rip src (RI Mode Only) Description This command is used to update the metric to be associated with the redistributed routes from a specific protocol to RIP protocol.
  • Page 885 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 89-10 delete route redistribute dst rip src (RI Mode Only) Description This command is used to stop redistribution of routes from one source protocol to RIP. Format delete route redistribute dst rip src [local | static | ospf] Parameters local - Specify the source protocol as local.
  • Page 886 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show route redistribute Command: show route redistribute Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol Protocol -------- ------------ -------- ------------ ------------ OSPF Internal OSPF Type-1 Total Entries : 2 DGS-3120-24TC:admin# 89-12 show route redistribute dst ospf (RI Mode Only) Description...
  • Page 887 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show route redistribute dst ospf Command: show route redistribute dst ospf Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol Protocol -------- ------------ -------- ------ ------------ OSPF Type-1 Total Entries : 1 DGS-3120-24TC:admin#...
  • Page 888 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 89-14 config ecmp algorithm (RI Mode Only) Description This command is used to configure the ECMP route load- balancing algorithm. It is effective for ECMP routing. ECMP routing can be adopted either by OSPF dynamic routes or by static routes which are configured with equal weight.
  • Page 889: Show Ipfdb

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To display the ECMP hash algorithm: GS-3120-24TC:admin#show ecmp algorithm Command: show ecmp algorithm ECMP for OSPF : Enabled ECMP Load Balance Algorithm : Destination IP : used. Source IP : used.
  • Page 890 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show ipfdb Command: show ipfdb Interface IP Address Port Learned ------------ --------------- ------ --------- System 10.1.1.101 Dynamic System 10.1.40.22 Dynamic System 10.2.27.250 Dynamic Total Entries: 3 DGS-3120-24TC:admin# 89-17 show route preference (RI Mode Only) Description...
  • Page 891 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show route preference Command: show route preference Route Preference Settings Protocol Preference ---------- ---------- Static Default Local OSPF Intra OSPF Inter OSPF ExtT1 OSPF ExtT2 DGS-3120-24TC:admin# 89-18 enable ecmp ospf (RI Mode Only) Description This command is used to activate the OSPF ECMP function.
  • Page 892 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable ecmp ospf Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the OSPF ECMP function: DGS-3120-24TC:admin#disable ecmp ospf Command: disable ecmp ospf Success.
  • Page 893: Chapter 90 Rpc Portmapper Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 90 RPC PortMapper Command List config filter rpc_portmapper [<portlist> | all] state [enable | disable] show filter rpc_portmapper 90-1 config filter rpc_portmapper Description This command is used to configure the Switch to deny TCP/UDP packets with port number 135 on the network.
  • Page 894 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the RPC portmapper state: DGS-3120-24TC:admin#show filter rpc_portmapper Command: show filter rpc_portmapper Enabled Ports: 1:1-1:10 DGS-3120-24TC:admin#...
  • Page 895: Chapter 91 Safeguard Engine Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 91 Safeguard Engine Command List config safeguard_engine {state [enable | disable] | utilization {rising <value 20-100> | falling <value 20-100>}(1) | trap_log [enable|disable] | mode [ strict | fuzzy]}(1) show safeguard_engine 91-1 config safeguard_engine...
  • Page 896 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# config safeguard_engine state enable utilization rising 50 falling 30 trap_log enable Command: config safeguard_engine state enable utilization rising 50 falling 30 trap_log enable Success. DGS-3120-24TC:admin# 91-2 show safeguard_engine Description This command is used to show safeguard engine information.
  • Page 897: Chapter 92 Sd Card Management Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 92 SD Card Management Command List create backup [config | log] time_range <range_name 32> filename <pathname> {state [enable | disable]} config backup [config | log] time_range <range_name 32> filename <pathname> state [enable | disable] delete backup [config | log] [all | time_range <range_name 32>...
  • Page 898: Config Backup

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To create a backup schedule on time range "range_1": DGS-3120-24TC:admin#create backup config time_range range_1 filename c:/bk- confi Command: create backup config time_range range_1 filename c:/bk-config-1 Success. DGS-3120-24TC:admin# 92-2 config backup...
  • Page 899 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 92-3 delete backup Description This command is used to delete schedule backup. Format delete backup [config | log] [all | time_range <range_name 32> {filename <pathname>}] Parameters config - Schedule to back up configuration. log - Schedule to back up log.
  • Page 900 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show all backup schedules: DGS-3120-24TC:admin#show backup Command: show backup Backup Schedule Entry 1 Time Range : range_1 Type : configuration Filename : c:/bk-config-1 State : Disabled Total Entries1 DGS-3120-24TC:admin# 92-5...
  • Page 901 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#create execute_config time_range range-1 config c:/vlan- config state enable Command: create execute_config time_range range-1 config c:/vlan-config state enable Success. DGS-3120-24TC:admin# 92-6 config execute_config time_range Description This command is used to configure configuration state or execute method of a executive schedule. Format config execute_config time_range <range_name 32>...
  • Page 902 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 92-7 delete execute_config Description This command is used to delete the schedule of executing configuration. Format delete execute_config [all | time_range <range_name 32> {config <pathname>}] Parameters all - Delete all the schedules of executing configuration. time_range - The time range of the schedules that execute configuration to be deleted.
  • Page 903 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To display all the executive schedules: DGS-3120-24TC:admin#show execute_config Command: show execute_config Time Range : range-1 Filename : c:/vlan-config Method : Reset State : Enabled Total Entries1 DGS-3120-24TC:admin# 92-9 execute config...
  • Page 904: Chapter 93 Secure File Transfer Protocol (Sftp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 93 Secure File Transfer Protocol (SFTP) Command List enable sftp server disable sftp server config sftp server {timeout <sec 30-600>} show sftp server 93-1 enable sftp server Description This command is used to enable the SFTP function globally.
  • Page 905 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable sftp server Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the SFTP server. DGS-3120-24TC:admin#disable sftp server Command: disable sftp server Success.
  • Page 906 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Success. DGS-3120-24TC:admin# 93-4 show sftp server Description This command is used to show the parameters of the SFTP server. Format show sftp server Parameters None. Restrictions None. Example To show the parameters of the SFTP server.
  • Page 907: Chapter 94 Secure Shell (Ssh) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 94 Secure Shell (SSH) Command List config ssh algorithm [3DES | AES128 | AES192 | AES256 | arcfour | blowfish | cast128 | twofish128 | twofish192 | twofish256 | MD5| SHA1 | RSA | DSA] [enable | disable] show ssh algorithm config ssh authmode [password | publickey | hostbased] [enable | disable] show ssh authmode...
  • Page 908: Show Ssh Algorithm

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide enable - Enabled the algorithm. disable - Disables the algorithm. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable SSH server public key algorithm: DGS-3120-24TC:admin#config ssh algorithm DSA enable Command: config ssh algorithm DSA enable Success.
  • Page 909: Config Ssh Authmode

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show ssh algorithm Command: show ssh algorithm Encryption Algorithm -------------------------- 3DES : Enabled AES128 : Enabled AES192 : Enabled AES256 : Enabled Arcfour : Enabled Blowfish : Enabled Cast128 : Enabled...
  • Page 910: Show Ssh Authmode

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure user authentication method: DGS-3120-24TC:admin# config ssh authmode publickey enable Command: config ssh authmode publickey enable Success. DGS-3120-24TC:admin# 94-4 show ssh authmode Description This command is used to show the user authentication method. Format show ssh authmode Parameters...
  • Page 911: Show Ssh User

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config ssh user <username 15> authmode [hostbased [hostname <domain_name 32> | hostname_IP <domain_name 32> [<ipaddr> | <ipv6addr>]] | password | publickey] Parameters user - Specify the user name. <username 15>...
  • Page 912: Config Ssh Server

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show user information about SSH configuration: DGS-3120-24TC:admin# show ssh user authmode Command: show ssh user authmode Current Accounts: User Name Authentication Host Name Host IP ---------- --- -------------- ---------...
  • Page 913: Enable Ssh

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure SSH server maximum session number is 3: DGS-3120-24TC:admin# config ssh server maxsession 3 Command: config ssh server maxsession 3 Success. DGS-3120-24TC:admin# 94-8 enable ssh Description This command is used to enable SSH server services.
  • Page 914: Show Ssh Server

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the SSH server services: DGS-3120-24TC:admin#disable ssh Command: disable ssh Success. DGS-3120-24TC:admin# 94-10 show ssh server Description...
  • Page 915 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show ssh server Command: show ssh server The SSH Server Configuration Maximum Session Connection Timeout : 120 Authentication Fail Attempts : 2 Rekey Timeout : Never TCP Port Number : 22 Bypass Login Screen State : Disabled...
  • Page 916 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 94-12 download ssh client_pub_key Description This command is used to download the SSH public key file on client computer to the switch through TFTP protocol. Format download ssh client_pub_key [<ipaddr> | <ipv6addr> | <domain_name 255>] src_file <path_filename 64>...
  • Page 917 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters <ipaddr> - Specify the IPv4 address of the TFTP server. <ipv6addr> - Specify the IPv6 address of the TFTP server. <domain_name 255> - Enter the domain name of the TFTP server. src_file - Specify the path name and file name of the TFTP server.
  • Page 918 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide user - Specify the user account that will be used for this configuration. <username 15> - Enter the user account's user name here. This name can be up to 15 characters long.
  • Page 919 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show ssh client_pub_key Command: show ssh client_pub_key Key ID User Name : ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA2ubZ/h5yrP8vEmYeDcpZP/TA8SR7q0tZcywKcTujES0Ue/muoyy tJhTZuI2B2Z4A4ufJ1yCR9NTWrL4mhJNJOspGLssBeHbf6HtGwyInYm5MJBqeoht0RrS8NIa2VWsvQc xQQSoNeS7J5ROvfSpgTdYBsTosJUHzBvNsGy4w1S0= rsa-key-20110603 Key ID User Name : User1 ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIBJv3BYQ7DeO0mDatPa//wG3j/5yhBZw9mY+xw1ovskDE6/os7swVj w3wK+Tt40GJVdVVF7w195prYA+tYcBFy5iJpnwykwwxD09BMVwHhvZs9/U4LaAek2USarYfQU7ZoNof OC3F86EPtsUJ2s98rMAa6DYqRS+JyH/IpA8T1x5w== rsa-key-20110603 DGS-3120-24TC:admin#...
  • Page 920: Chapter 95 Secure Sockets Layer (Ssl) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 95 Secure Sockets Layer (SSL) Command List download ssl certificate <ipaddr> certfilename <path_filename 64> keyfilename <path_filename 64> enable ssl {ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA | DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5 | RSA_with_RC4_128_SHA}} disable ssl {ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA | DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5 |...
  • Page 921: Enable Ssl

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# download ssl certificate 10.55.47.1 certfilename cert.der keyfilename pkey.der Command: download ssl certificate 10.55.47.1 certfilename cert.der keyfilename pkey.der Success. DGS-3120-24TC:admin# 95-2 enable ssl Description This command is used to enable SSL status and it’s ciphersuites. Using “enable ssl” command will enable SSL feature which means enable SSLv3 and TLSv1.
  • Page 922: Disable Ssl

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# enable ssl Command: enable ssl Note: Web will be disabled if SSL is enabled. Success. DGS-3120-24TC:admin# 95-3 disable ssl Description This command is used to disable SSL feature and supported ciphercuites. Using “disable ssl” command will disable SSL feature and for each ciphersuites status user must specified it by this command.
  • Page 923: Show Ssl

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# disable ssl Command: disable ssl Success. DGS-3120-24TC:admin# 95-4 delete ssl certificate Description This command is used to delete a certification on the Switch. Format delete ssl certificate <path_filename 64> Parameters <path_filename 64>...
  • Page 924: Show Ssl Cachetimeout

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <path_filename 64> - (Optioanl) Specify the certification file name on the Switch. Restrictions None. Example To show SSL: DGS-3120-24TC:admin#show ssl Command: show ssl SSL Status Disabled RSA_WITH_RC4_128_MD5 0x0004 Enabled RSA_WITH_RC4_128_SHA...
  • Page 925: Config Ssl Cachetimeout

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show SSL cache timeout: DGS-3120-24TC:admin#show ssl cachetimeout Command: show ssl cachetimeout Cache timeout is 600 second(s) DGS-3120-24TC:admin# 95-7 config ssl cachetimeout Description This command is used to configure cahce timeout value which is designed for dlktimer library to remove the session id after expired.
  • Page 926 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config ssl certificate chain [default | <cert_list>] Parameters default - Specify to use all certificates to constitute the SSL certificate chain. <cert_list> - Specify chain of certifications on the Switch. Restrictions Only Administrator-level users can issue this command.
  • Page 927: Chapter 96 Spanning Tree Protocol (Stp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 96 Spanning Tree Protocol (STP) Command List enable stp disable stp config stp {maxage <value 6-40> | maxhops <value 6-40> | hellotime <value 1-2> | forwarddelay <value 4-30>...
  • Page 928: Disable Stp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#enable stp Command: enable stp Success. DGS-3120-24TC:admin# 96-2 disable stp Description This command is used to disable STP globally. Format disable stp Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable STP: DGS-3120-24TC:admin#disable stp...
  • Page 929: Show Stp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <value 6-40> - Enter the maximum age value here. This value must be between 6-40. maxhops - (Optional) Used to restrict the forwarded times of one BPDU. The default value is 20. <value 6-40>...
  • Page 930 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show STP: DGS-3120-24TC:admin#show stp Command: show stp STP Bridge Global Settings --------------------------- STP Status : Enabled STP Version : RSTP Max Age : 25 Hello Time Forward Delay : 15 Max Hops...
  • Page 931 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#create stp instance_id 2 Command: create stp instance_id 2 Warning:There is no VLAN mapping to this instance_id! Success. DGS-3120-24TC:admin# 96-6 config stp instance_id Description This command is used to map or remove the VLAN range of the specified MST instance for the existed MST instances.
  • Page 932 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 96-7 delete stp instance_id Description This command is used to delete an MST Instance. Format delete stp instance_id <value 1-15> Parameters instance_id - Specify the MSTP instance ID. Instance 0 represents for default instance, CIST. <value 1-15>...
  • Page 933 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To change the name and revision level of the MST configuration identification: DGS-3120-24TC:admin#config stp mst_config_id name R&D_BlockG revision_level 1 Command: config stp mst_config_id name R&D_BlockG revision_level 1 Success.
  • Page 934: Config Stp Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config stp mst_ports <portlist> instance_id <value 0-15> {internalCost [auto | <value 1- 200000000>] | priority <value 0-240>} Parameters mst_ports - Specify to be distinguished from the parameters of ports only at CIST level. <portlist>...
  • Page 935: Show Stp Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide hellotime - (Optional) The default value is 2 . This parameter is for MSTP version. For STP and RSTP version, uses the per system hellotime parameter. <value 1-2> - Enter the hello time value here. This value must be between 1 and 2. migrate - (Optional) Operation of management in order to specify the port to send MSTP BPDU for a delay time.
  • Page 936: Config Stp Priority

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show stp ports {<portlist>} Parameters ports - To show parameters of the designated port numbers, to be distinguished from showing parameters of the bridge. <portlist> - (Optional) Enter a list of ports used for the configuration here. Restrictions None.
  • Page 937 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <value 0-61440> - Enter the bridge priority value here. This value must be between 0 and 61440. instance_id - Identifier to distinguish different STP instances. <value 0-15> - Enter the STP instance ID here. This value must be between 0 and 15. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 938: Config Stp Version

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 96-15 config stp version Description This command is used to configure the STP version. Format config stp version [mstp | rstp | stp] Parameters version - To decide to run under which version of STP. mstp - Multiple Spanning Tree Protocol.
  • Page 939 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters instance - Specify the MSTP instance ID. <value 0-15> - (Optional) Enter the MSTP instance ID value here. This value must be between 0 and 15. Restrictions None.
  • Page 940: Chapter 97 Surveillance Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 97 Surveillance VLAN Command List enable surveillance_vlan [<vlan_name 32> | vlanid <vlanid 1-4094>] disable surveillance_vlan config surveillance_vlan priority <int 0-7> config surveillance_vlan oui [add | delete] <macaddr> <macmask> {component_type [vms | vms_client | video_encoder | network_storage | other] description <desc 32>} config surveillance_vlan ports [<portlist>...
  • Page 941 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 97-2 disable surveillance_vlan Description This command is used to disable surveillance VLAN globally. Format disable surveillance_vlan Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the surveillance VLAN: DGS-3120-24TC:admin#disable surveillance_vlan...
  • Page 942 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#config surveillance_vlan priority 6 Command: config surveillance_vlan priority 6 Success. DGS-3120-24TC:admin# 97-4 config surveillance_vlan oui Description This command is used to configure the user-defined surveillance traffic OUI. OUI is used by the Switch to identify the surveillance traffic packets.
  • Page 943 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 97-5 config surveillance_vlan ports Description This command is used to configure the surveillance VLAN state on the specific ports. Format config surveillance_vlan ports [<portlist> | all] state [enable | disable] Parameters <portlist>...
  • Page 944 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To set the aging time of the surveillance VLAN to 60 minutes: DGS-3120-24TC:admin#config surveillance_vlan aging_time 60 Command: config surveillance_vlan aging_time 60 Success.
  • Page 945 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show surveillance_vlan {[oui | ports {<portlist>} | device {ports <portlist>}]} Parameters oui - (Optional) The OUI information of the surveillance VLAN. ports - (Optional) Specify a range of ports to be displayed. <portlist>...
  • Page 946: Chapter 98 Sflow Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 98 sFlow Command List (RI and EI Mode Only) create sflow flow_sampler ports [<portlist> | all] analyzer_server_id <value 1-4> {rate <value 0- 65535> | maxheadersize <value 18-256>} config sflow flow_sampler ports [<portlist>...
  • Page 947 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide been sampled that will be encapsulated and forwarded to the server. If not specified, the default value is 128. <value 18-256> - Enter the maximum header size here. This value must be between 18 and 256.
  • Page 948 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example Configure the sFlow sampler the rate of port 1 to be 0: DGS-3120-24TC:admin#config sflow flow_sampler ports 1:1 rate 0 maxheadersize 18 Command: config sflow flow_sampler ports 1:1 rate 0 maxheadersize 18 Success.
  • Page 949 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters ports - Specify the list of ports to be configured. <portlist> - Enter the list of ports that will be used for this configuration here. all - Specify all ports on the Switch. analyzer_server_id - The ID of a analyzer server.
  • Page 950 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example Configure the interval of sFlow counter poller port 1 to be 0: DGS-3120-24TC:admin#config sflow counter_poller ports 1:1 interval disable Command: config sflow counter_poller ports 1:1 interval disable Success.
  • Page 951 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format create sflow analyzer_server <value 1-4> owner <name 16> {timeout [<sec 1-2000000> | infinite] | collectoraddress <ipaddr> | collectorport <udp_port_number 1-65535> | maxdatagramsize <value 300-1400>} Parameters analyzer_server - The ID of analyzer server. <value 1-4>...
  • Page 952 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config sflow analyzer_server <value 1-4> {timeout [<sec 1-2000000> | infinite] | collectoraddress <ipaddr> | collectorport <udp_port_number 1-65535> | maxdatagramsize <value 300-1400>} Parameters analyzer_server - The ID of analyzer server. <value 1-4>...
  • Page 953: Enable Sflow

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters analyzer_server - The ID of analyzer server that to be deleted. <value 1-4> - Enter the analyzer server ID value here. This value must be between 1 and 4. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 954: Disable Sflow

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 98-11 disable sflow Description This command is used to disable the sFlow function on the Switch. Format disable sflow Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example Disable the sFlow globally: DGS-3120-24TC:admin# disable sflow...
  • Page 955 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show the sFlow information: DGS-3120-24TC:admin#show sflow Command: show sflow sFlow Version : V5 sFlow Address : 10.90.90.90 sFlow State : Disabled DGS-3120-24TC:admin# 98-13 show sflow flow_sampler Description This command is used to show the sFlow flow sampler configured for ports.
  • Page 956 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 98-14 show sflow counter_poller Description This command is used to display the sFlow counter pollers which have been configured for port. Format show sflow counter_poller Parameters None. Restrictions None.
  • Page 957 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To show the sFlow flow sampler information of ports which have been created: DGS-3120-24TC:admin#show sflow analyzer_server Command: show sflow analyzer_server sFlow Analyzer_server Information ------------------------------ Server ID Owner : sflow Timeout...
  • Page 958: Chapter 99 Show Technical Support Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 99 Show Technical Support Command List show tech_support upload tech_support_toTFTP <ipaddr> <path_filename 64> 99-1 show tech_support Description This command is especially used by the technical support personnel to dump the device overall operation information.
  • Page 959 DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Command: show tech_support #------------------------------------------------------------------------------ DGS-3120-24TC Gigabit Ethernet Switch Technical Support Information Firmware: Build 4.00.015 Copyright(C) 2014 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------ ******************** Basic System Information ******************** [SYS 2013-11-30 09:38:25] Boot Time...
  • Page 960 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 99-2 upload tech_support_toTFTP Description This command is used to upload the information of technical support to the TFTP server. The upload information includes the following: • Basic System information •...
  • Page 961: Chapter 100 Simple Mail Transfer Protocol (Smtp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 100 Simple Mail Transfer Protocol (SMTP) Command List enable smtp disable smtp config smtp {server <ipaddr> | server_port <port_number 1-65535> | self_mail_addr <mail_addr 254> | [add mail_receiver <mail_addr 254> | delete mail_receiver <index 1-8>]}(1) show smtp smtp send_testmsg 100-1 enable smtp...
  • Page 962 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format disable smtp Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable SMTP status: DGS-3120-24TC:admin#disable smtp Command: disable smtp Success. DGS-3120-24TC:admin# 100-3 config smtp Description This command is used to configure SMTP settings.
  • Page 963 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure an SMTP server IP address: DGS-3120-24TC:admin#config smtp server 172.18.208.9 Command: config smtp server 172.18.208.9 Success. DGS-3120-24TC:admin# To configure an SMTP server port: DGS-3120-24TC:admin#config smtp server_port 25 Command: config smtp server_port 25 Success.
  • Page 964 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format show smtp Parameters None. Restrictions None. Example To display the current SMTP information: DGS-3120-24TC:admin#show smtp Command: show smtp SMTP Status : Disabled SMTP Server Address : 172.18.208.9 SMTP Server Port : 25 Self Mail Address...
  • Page 965 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To test whether the SMTP server can be reached: DGS-3120-24TC:admin#smtp send_testmsg Command: smtp send_testmsg Subject:e-mail heading Content:e-mail content Sending mail, please wait...
  • Page 966: Chapter 101 Simple Network Management Protocol (Snmp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 101 Simple Network Management Protocol (SNMP) Command List create snmp community <community_string 32> view <view_name 32> [read_only | read_write] create snmp community_masking view <view_name 32> [ read_only | read_write] delete snmp community <community_string 32>...
  • Page 967: Create Snmp Community

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-1 create snmp community Description This command is used to create an SNMP community string. Use an SNMP community string to define the relationship between the SNMP manager and the agent.
  • Page 968: Delete Snmp Community

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-2 create snmp community_masking view Description This command is used to create a secure method to create a SNMP community string. Format create snmp community_masking view <view_name 32> [ read_only | read_write] Parameters <view_name 32>...
  • Page 969: Show Snmp Community

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To delete a SNMP community “System”: DGS-3120-24TC:admin# delete snmp community System Command: delete snmp community System Success. DGS-3120-24TC:admin# 101-4 show snmp community Description This command is used to display the community string configurations.
  • Page 970: Create Snmp User

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-5 create snmp user Description This command is used to create a new user to an SNMP group originated by this command. Format create snmp user <user_name 32> <groupname 32> {encrypted [by_password auth [md5 <auth_password 8-16>...
  • Page 971: Delete Snmp User

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# create snmp user user123 group123 encrypted by_password auth md5 12345678 priv des 12345678 Command: create snmp user user123 group123 encrypted by_password auth md5 12345678 priv des 12345678 Success.
  • Page 972: Create Snmp Group

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To show SNMP user: DGS-3120-24TC:admin# show snmp user Command: show snmp user Username Group Name VerAuthPriv -------------------------------- -------------------------- ----------- initial initial V3 NoneNone user123 group123 V3 MD5 DES...
  • Page 973: Delete Snmp Group

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide long. Restrictions Only Administrator-level users can issue this command. Example To create SNMP group “group123”: DGS-3120-24TC:admin# create snmp group group123 v3 auth_priv read_view CommunityView write_view CommunityView notify_view CommunityView Command: create snmp group group123 v3 auth_priv read_view CommunityView write_view CommunityView notify_view CommunityView Success.
  • Page 974: Show Snmp Groups

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-10 show snmp groups Description This command is used to display the names of groups on the Switch and the security model, level, the status of the different views. Format show snmp groups Parameters...
  • Page 975: Create Snmp View

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show snmp groups Command: show snmp groups Vacm Access Table Settings Group Name : public ReadView Name : CommunityView WriteView Name Notify View Name : CommunityView Securiy Model : SNMPv1 Securiy Level...
  • Page 976: Delete Snmp View

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide <oid> - Object-Identified tree, MIB tree. view_type - Specify the access type of the MIB tree in this view. included - Includes for this view. excluded - Excluded for this view. Restrictions Only Administrator-level users can issue this command.
  • Page 977: Show Snmp View

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-13 show snmp view Description This command is used to display the SNMP view record. Format show snmp view {<view_name 32>} Parameters view - (Optional) View name of the user who likes to show. <view_name 32>...
  • Page 978: Disable Snmp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable SNMP: DGS-3120-24TC:admin# enable snmp Command: enable snmp Success. DGS-3120-24TC:admin# 101-15 disable snmp Description This command is used to disable the SNMP function.
  • Page 979: Create Snmp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-16 create snmp Description This command is used to create a recipient of an SNMP trap operation. Format create snmp [host <ipaddr> | v6host <ipv6addr>] [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]] <auth_string 32>...
  • Page 980: Show Snmp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters host - The IP address of the recipient for which the traps are targeted. <ipaddr> - Enter the IP address used for the configuration here. v6host - The IPv6 address of the recipient for which the traps are targeted. <ipv6addr>...
  • Page 981: Show Snmp Host

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show snmp Command: show snmp System Name System Location System Contact SNMP Trap : Enabled SNMP State : Enabled DGS-3120-24TC:admin# 101-19 show snmp host Description This command is used to display the recipient for which the traps are targeted. Format show snmp host {<ipaddr>} Parameters...
  • Page 982: Show Snmp V6Host

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-20 show snmp v6host Description This command is used to display the recipient for which the traps are targeted. Format show snmp v6host {<ipv6addr>} Parameters v6host - (Optional) Specify the IPv6 host address. <ipv6addr>...
  • Page 983: Config Snmp Engineid

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-21 config snmp engineID Description This command is used to configure a identifier for the SNMP engine on the Switch. Format config snmp engineID <snmp_engineID 10-64> Parameters engineID - Identify for the SNMP engine on the Switch.
  • Page 984 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show SNMP engine ID: DGS-3120-24TC:admin# show snmp engineID Command: show snmp engineID SNMP Engine ID : 1023457890 DGS-3120-24TC:admin# 101-23 config snmp system_name Description This command is used to configure the name for the Switch.
  • Page 985 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config snmp system_location {<sw_location>} Parameters system_location - A maximum of 128 characters is allowed. And NULL string is accepted <sw_location> - (Optional) Enter the system location string here. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 986: Enable Snmp Traps

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-26 enable snmp traps Description This command is used to enable SNMP trap support. Format enable snmp traps Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable SNMP trap support: DGS-3120-24TC:admin# enable snmp traps...
  • Page 987 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# disable snmp traps Command: disable snmp traps Success. DGS-3120-24TC:admin# 101-28 enable snmp authenticate_traps Description This command is used to enable SNMP authentication failure trap support. Format enable snmp authenticate_traps Parameters None.
  • Page 988 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To disable SNMP authentication trap support: DGS-3120-24TC:admin# disable snmp authenticate_traps Command: disable snmp authenticate_traps Success. DGS-3120-24TC:admin# 101-30 enable snmp linkchange_traps Description...
  • Page 989 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable the sending of linkchange traps: DGS-3120-24TC:admin# disable snmp linkchange_traps Command: disable snmp linkchange_traps Success.
  • Page 990 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 101-33 config snmp coldstart_traps Description This command is used to configure the trap for coldstart event. Format config snmp coldstart_traps [enable | disable] Parameters enable - Enable the trap of the coldstart event. The default state is enabled. disable - Disable the trap of the coldstart event.
  • Page 991: Show Snmp Traps

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Example To configure the trap state for warmstart event: DGS-3120-24TC:admin# config snmp warmstart_traps enable Command: config snmp warmstart_traps enable Success. DGS-3120-24TC:admin# 101-35 show snmp traps Description This command is used to display the snmp trap sending status. Format show snmp traps {linkchange_traps {ports <portlist>}} Parameters...
  • Page 992: Show Rmon

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config rmon trap {rising_alarm [enable | disable] | falling_alarm [enable | disable]} (1) Parameters rising_alarm - (Optional) Specify the trap state for rising alarm. The default state is enabled. enable - Specify that the rising alarm function will be enabled.
  • Page 993 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show rmon Command: show rmon RMON Rising Alarm Trap : Enabled RMON Falling Alarm Trap : Enabled DGS-3120-24TC:admin# 101-38 enable community_encryption Description This command is used to enable the encryption state on SNMP community string. Format enable community_encryption Parameters...
  • Page 994 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To disable the encryption state on SNMP community string: DGS-3120-24TC:admin#disable community_encryption Command: disable community_encryption Success. DGS-3120-24TC:admin# 101-40 show community_encryption Description This command is used to display the encryption state on SNMP community string.
  • Page 995: Chapter 102 Single Ip Management Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Chapter 102 Single IP Management Command List enable sim disable sim show sim {[candidates {<candidate_id 1-100>} | members{<member_id 1-32>} | group {commander_mac <macaddr>} | neighbor]} reconfig [member_id <value 1-32> | exit] config sim_group [add <candidate_id 1-100>...
  • Page 996 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 102-2 disable sim Description This command is used to disable single IP management on the Switch. Format disable sim Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable SIM: DGS-3120-24TC:admin# disable sim...
  • Page 997 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Restrictions None. Example To show the self information in detail: DGS-3120-24TC:admin#show sim Command: show sim SIM Version : VER-1.61 Firmware Version : 4.00.015 Device Name MAC Address : 00-01-02-03-04-00 Capabilities : L3...
  • Page 998 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin#show sim member Command: show sim members ID MAC Address Platform / Hold Firmware Device Name Capability Time Version -- ----------------- -------------------------- ---- --------- ---------------- 00-01-02-03-04-00 Product-Code L2 Switch 1.00-B01 Device-Name-01 00-55-55-00-55-00 Product-Code L3 Switch...
  • Page 999 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide DGS-3120-24TC:admin# show sim neighbor Command: show sim neighbor Neighbor Table Port MAC Address Role ------ ------------------ --------- 00-35-26-00-11-99 Commander 00-35-26-00-11-91 Member 00-35-26-00-11-90 Candidate Total Entries: 3 DGS-3120-24TC:admin# 102-4 reconfig Description This command is used to re-telnet to member.
  • Page 1000 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config sim_group [add <candidate_id 1-100> {<password>} | delete <member_id 1-32>] Parameters add - Specify to add a specific candidate to the group. <candidate_id 1-100> - Enter the candidate ID to be added to the group here. This value must be between 1 and 100.
  • Page 1001 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide Format config sim [[commander {group_name <groupname 64>} | candidate] | dp_interval <sec 30- 90> | hold_time <sec 100-255>] Parameters commander - Specify to transfer the role to the commander. group_name - (Optional) Specify that if the user is the commander, the user can update the name of group.

This manual is also suitable for:

Xstack dgs-3120-24pcXstack dgs-3120-48pc

Table of Contents