D-Link xStack Reference Manual

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

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for D-Link xStack

  • Page 2: Table Of Contents

    Distance Vector Multicast Routing Protocol (DVMRP) Command List (RI Mode Only) ... 347 Chapter 31 D-Link License management System (DLMS) Command List ......... 354 Chapter 32 D-Link Unidirectional Link Detection (DULD) Command List (RI and EI Mode Only) ..356 Chapter 33 Energy Efficient Ethernet (EEE) Command List ............... 358...
  • Page 3 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 34 Ethernet Ring Protection Switching (ERPS) Command List (RI and EI Mode Only) ..360 Chapter 35 FDB Command List ......................370 Chapter 36 Filter Command List ......................380 Chapter 37 Flash File System (FFS) Command List ................
  • Page 4 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 70 OSPF Version 3 Command List (RI Mode Only) .............. 694 Chapter 71 Password Recovery Command List .................. 713 Chapter 72 Peripherals Command List ....................716 Chapter 73 Ping Command List ......................
  • Page 5 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 106 TFTP Client Command List ....................989 Chapter 107 Time and SNTP Command List ..................994 Chapter 108 Trace Route Command List .................... 1002 Chapter 109 Traffic Control Command List ..................1005 Chapter 110 Traffic Segmentation 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 3.00.522 Copyright(C) 2013 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 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide default IP address is 10.90.90.90. You can change the default Switch IP address to meet the specification of your networking address scheme. The Switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, and can be found on the initial boot console screen –...
  • Page 8 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide There are a number of helpful features included in the CLI. Entering the ? command will display a list of all of the top-level commands. cable_diag ports cfm linktrace...
  • Page 9 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#config account Command: config account Next possible completions: <username 15> DGS-3120-24TC:admin#config account In the above example, the command config account was entered without the required parameter <username 15>, the CLI returned the Next possible completions: <username 15> prompt. The up arrow cursor control key was pressed to re-enter the previous command (config account) at the command prompt.
  • Page 10 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide authen_enable authen_login authen_policy authentication authorization autoconfig backup bandwidth_control boot_file bpdu_protection command command_history community_encryption config cpu_filter current_config device_status dhcp dhcp_local_relay dhcp_relay dhcp_server dhcpv6_relay dlms dot1v_protocol_group dscp duld dvmrp ecmp...
  • Page 11: Command Syntax Symbols

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Command Syntax Symbols Syntax Description angle brackets < > Encloses a variable or value. Users must specify the variable or value. For example, in the syntax config command_history <value 1-40>...
  • Page 12 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Left Arrow Move cursor to left. Right Arrow Move cursor to right Help user to select appropriate token. P or p Display the previous page. N, n or Space Display the next page.
  • Page 13: Chapter 2 Basic Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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]}...
  • Page 14 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 15: Enable Clipaging

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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:...
  • Page 17 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 18 Press any key to login... DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 3.00.522 Copyright(C) 2013 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 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 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 3.00.522 Copyright(C) 2013 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 3.00.522 Copyright(C) 2013 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 Switch CLI Reference Guide When users issue the “reset” command, the current command prompt will remain in tact. Yet, issuing the “reset system” will return the command prompt to its original factory default value.
  • Page 24: Show Terminal Width

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions None. Example To configure the current terminal width: 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.
  • Page 25 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format config ports [<portlist> | all ] {medium_type [fiber | copper]} {speed [auto | 10_half | 10_full | 100_half | 100_full | 1000_full {[master | slave]}] | flow_control [enable | disable] | learning [enable | disable] | state [enable | disable] | mdix [auto | normal | cross] | [description <desc...
  • Page 26: Show Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#config ports all medium_type copper speed auto Command: config ports all medium_type copper speed auto Success. DGS-3120-24TC:admin# 2-18 show ports Description This command is used to display the current configurations of a range of ports.
  • Page 27 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 28: Chapter 3 802.1Q Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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.
  • Page 31: Config Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 32: Config Vlan Vlanid

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 33: Show Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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...
  • Page 35: Show Vlan Vlanid

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 36 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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. (UnitID:port number).
  • Page 37: Enable Pvid Auto Assign

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 38: Config Gvrp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 39: Show Gvrp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 40: Enable Gvrp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 41 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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.
  • Page 43: Chapter 4 802.1X Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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]...
  • Page 44 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 Switch CLI Reference Guide 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 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 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.
  • Page 48 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 49 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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...
  • Page 51 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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> | supp_timeout <sec 1-65535> | server_timeout <sec 1-65535> | max_req <value 1-10>...
  • Page 53 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 54 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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> - Enter the list of ports used for the configuration here.
  • Page 55 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 56 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 57: Config Radius Add

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 Delete

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format config radius add <server_index 1-3> [<server_ip> | <ipv6addr>] [key <password 32> | encryption_key <password 56>] [default | {auth_port <udp_port_number 1-65535 > | acct_port <udp_port_number 1-65535 > | timeout <sec 1-255> | retransmit<int 1-20>}] Parameters <server_index 1-3>...
  • Page 59: Config Radius

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format config radius delete <server_index 1-3> Parameters <server_index 1-3> - Specify to delete a RADIUS server.Enter the RADIUS server index. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 60: Show Radius

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <udp_port_number 1-65535> - Enter the authentication port number here. This value must be between 1 and 65535. default - Specify that the default port number will be used.
  • Page 61 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# show radius Command: show radius Index 1 IP Address : 172.18.211.71 Auth-Port : 1812 Acct-Port : 1813 Timeout : 5 sec Retransmit : 1234567 Index 2 IP Address : 172.18.211.108...
  • Page 62 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show auth_statistics ports 1:1 Command: show auth_statistics ports 1:1 Port Number : 1:1 EapolFramesRx EapolFramesTx EapolStartFramesRx EapolReqIdFramesTx EapolLogoffFramesRx EapolReqFramesTx EapolRespIdFramesRx EapolRespFramesRx InvalidEapolFramesRx EapLengthErrorFramesRx LastEapolFrameVersion LastEapolFrameSource 00-00-00-00-00-00 CTRL+C ESC q...
  • Page 63 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show auth_diagnostics ports 1:1 Command: show auth_diagnostics ports 1:1 Port Number : 1:1 EntersConnecting EapLogoffsWhileConnecting EntersAuthenticating SuccessWhileAuthenticating TimeoutsWhileAuthenticating FailWhileAuthenticating ReauthsWhileAuthenticating EapStartsWhileAuthenticating EapLogoffWhileAuthenticating ReauthsWhileAuthenticated EapStartsWhileAuthenticated EapLogoffWhileAuthenticated BackendResponses BackendAccessChallenges BackendOtherRequestsToSupplicant...
  • Page 64 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# show auth_session_statistics ports 1:1 Command: show auth_session_statistics ports 1:1 Port Number : 1:1 SessionOctetsRx SessionOctetsTx SessionFramesRx SessionFramesTx SessionId SessionAuthenticMethod Remote Authentication Server SessionTime SessionTerminateCause SupplicantLogoff SessionUserName CTRL+C ESC q...
  • Page 65 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts...
  • Page 66 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 radiusAccClientMalformedResponses radiusAccClientBadAuthenticators radiusAccClientPendingRequests radiusAccClientTimeouts radiusAccClientUnknownTypes radiusAccClientPacketsDropped...
  • Page 67: Chapter 5 Access Authentication Control Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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>...
  • Page 68 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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.
  • Page 70: Disable Password Encryption

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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...
  • Page 72 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 73 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 74 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide tacacs - (Optional) Authentication by the built-in server group “tacacs”. xtacacs - (Optional) Authentication by the built-in server group “xtacacs”. tacacs+ - (Optional) Authentication by the built-in server group “tacacs+”.
  • Page 75 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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 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 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 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 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.
  • Page 82 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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>}...
  • Page 83 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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 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...
  • Page 87: Show Authen Parameter

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 88: Enable Admin

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 Switch CLI Reference Guide Parameters <string 15> - Specify the user-defined server group name. Restrictions Only Administrator level can issue this command. Example To create a user-defined AAA server group called “mix_1”:...
  • Page 91 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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+...
  • Page 92 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters <string 15> - (Optional) Specify the built-in or user-defined server group name. Restrictions Only Administrator level can issue this command. Example To display all AAA server groups:...
  • Page 93 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To 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.
  • Page 94: Show Accounting

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 95 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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: Retransmit

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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: Show Aaa Server_Host

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide xtacacs - Specify XTACACS server host. tacacs+ - Specify TACACS+ server host. radius - Specify RADIUS server host. Restrictions Only Administrator level 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 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 ******...
  • Page 100 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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>}...
  • Page 101 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 102: Encryption_Key ] | Timeout

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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: Encryption_Key ] | Timeout

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 Switch CLI Reference Guide Restrictions Only Administrator level 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.
  • Page 105: Config Accounting Service [Network | Shell | System] State [Enable {[Radius_Only

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 106: Show Accounting Service

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 107 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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> | 802.1p | ethernet_type} | ip {vlan {<hex 0x0-0x0fff>} | source_ip_mask <netmask>...
  • Page 109 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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.
  • Page 110 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide dscp - (Optional) Specify the DSCP mask. icmp - (Optional) Specify that the rule applies to ICMP traffic. type - (Optional) Specify the type of ICMP traffic. code - (Optional) Specify the code of ICMP traffic igmp - (Optional) Specify that the rule applies to IGMP traffic.
  • Page 111 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 Switch CLI Reference Guide <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 Switch CLI Reference Guide Parameters profile_id - Specify the index of the access list profile. <value 1-6> - Enter the profile ID value here. This value must be between 1 and 6. A lower value denotes a higher priority.
  • Page 114 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide and 255. igmp - (Optional) Specify to configure the IGMP parameters. type - (Optional) Specify that the rule will apply to the IGMP Type traffic value. <value 0-255> - Enter the IGMP type traffic value here. This value must be between 0 and 255.
  • Page 115 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide class - (Optional) Specify the value of the IPv6 class. <value 0-255> - Enter the IPv6 class value here. This value must be between 0 and 255. flowlabel - (Optional) Specify the value of the IPv6 flow label.
  • Page 116 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide replace_tos_precedence_with - (Optional) Specify that the IP precedence of the outgoing packet is changed with the new value. If used without an action priority, the packet is sent to the default TC.
  • Page 117 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <name 1-32> - Enter the profile name used here. This name can be up to 32 characters long. Restrictions None. Example To display the current access list table:...
  • Page 118 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 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...
  • Page 120 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 121 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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” color.
  • Page 124 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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...
  • Page 127 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 128: Chapter 7 Access Control List (Acl) Egress Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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.
  • Page 131 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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.
  • Page 134 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 135 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 136 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 Switch CLI Reference Guide -------------------------------------------------------------------------------- Rule ID : 1 (auto assign) Ports: 1:3 Match on DSCP Action: Permit ================================================================================ ================================================================================ Profile ID: 3 Profile name: IPv6 Type: IPv6 MASK on Class Available HW Entries : 126...
  • Page 138 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 139 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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-FF config egress_access_profile profile_id 1 add access_id 1 ethernet source_mac 00 -00-00-00-00-01 vlan_based vlan_id 1 permit create egress_access_profile profile_id 2 profile_name 2 ip source_ip_mask 255.2...
  • Page 140 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide lower value denotes a higher priority. rate - This specifies the rate for single rate two-color mode. Specify the committed bandwidth in Kbps for the flow. The value m and n are determined by the project.
  • Page 141 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide enable - Specify that the ACL counter parameter will be enabled. disable - Specify that the ACL counter parameter will be disabled. sr_tcm - Specify the “single rate three color mode”.
  • Page 142 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 Success.
  • Page 143 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 144 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 145 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 146 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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.
  • Page 149: Clear Arptable

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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...
  • Page 152: Chapter 9 Arp Spoofing Prevention Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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.
  • Page 154: Chapter 10 Asymmetric Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 155 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 156: Chapter 11 Auto-Configuration Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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...
  • Page 158: Chapter 12 Basic Commands Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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> {encrypt [plain_text | sha_1] <password>} show account delete account <username>...
  • Page 159: Config Account

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide encrypt - (Optional) Specify the encryption applied to the account. plain_text - Select to specify the password in plain text form. sha_1 - Select to specify the password in the SHA-I encrypted form.
  • Page 160: Show Account

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters <username> - 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.
  • Page 161: Delete Account

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 ---------------...
  • Page 162: Show Switch

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 163: Enable Telnet

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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>}...
  • Page 164: Enable Web

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 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 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 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 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 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.
  • Page 170: Delete Ipif

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 Switch CLI Reference Guide 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 Switch CLI Reference Guide 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 Switch CLI Reference Guide processing will be disabled. By enable this automatic configuration, the link local address will be automatically configured and IPv6 processing will be started. Format enable ipif_ipv6_link_local_auto [<ipif_name 12> | all] Parameters <ipif_name 12>...
  • Page 174 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#disable ipif_ipv6_link_local_auto newone Command: disable ipif_ipv6_link_local_auto newone Success. DGS-3120-24TC:admin# 12-21 show ipif_ipv6_link_local_auto Description This command is used to display the link local address automatic configuration state. Format show ipif_ipv6_link_local_auto {<ipif_name 12>} Parameters <ipif_name 12>...
  • Page 175: Chapter 13 Bpdu Attack Protection Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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> | infinite]...
  • Page 176 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 177 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 178 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 179 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 180: Chapter 14 Cable Diagnostics Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 181 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 182 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 183: Chapter 15 Command Logging Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 184: Show Command Logging

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 185 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide...
  • Page 186: Chapter 16 Compound Authentication Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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>]...
  • Page 187 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 188: Config Authentication Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 189 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 190 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 191: Show Authentication Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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).
  • Page 192: Enable Authorization Attributes

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 193: Disable Authorization Attributes

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 194: Config Authentication Server Failover

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 195 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 196 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 197: Chapter 17 Configuration Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 198 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 199: Config Configuration

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 200: Show Boot File

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 201 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 202: Chapter 18 Configuration Trap Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 203 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide...
  • Page 204: Chapter 19 Connectivity Fault Management (Cfm) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 205: Create Cfm Md

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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]}...
  • Page 206: Create Cfm Ma

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 207: Config Cfm Ma

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 208: Create Cfm Mep

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 209: Config Cfm Mep

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 210 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 211: Delete Cfm Mep

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 212: Delete Cfm Ma

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 213: Delete Cfm Md

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 214: Disable Cfm

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 215: Config Cfm Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 216: Show Cfm

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 217 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 218: Show Cfm Fault

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 219: Show Cfm Port

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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> - Enter the maintenance domain name used here. This name can be up to 22 characters long.
  • Page 220: Cfm Loopback

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 221: Cfm Linktrace

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <string 22> - Enter the maintenance association name her. 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 here. This value must be between 1 and 4294967295.
  • Page 222: Show Cfm Linktrace

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

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 225: Show Cfm Mipccm

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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. All entries in the MIP CCM database will be shown.
  • Page 226 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 227 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 228 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 229 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 230 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 231 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 232: Chapter 20 Connectivity Fault Management (Cfm) Extension Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 233: Config Cfm Lock

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <int 1-8191> - Enter the MEP ID value here. This value must be between 1 and 8191. period - (Optional) The transmitting interval of AIS PDU. The default period is 1 second.
  • Page 234 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide characters long. ma_index - Specify the maintenance association index. <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 LCK frame.
  • Page 235 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 LCK frame.
  • Page 236: Chapter 21 Cpu Interface Filtering Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 237 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 238 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 239 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 240 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 241 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 242 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 243 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 244 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 245 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 246 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 ================================================================================ ================================================================================ Profile ID: 4...
  • Page 247: Chapter 22 Debug Software Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 248 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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...
  • Page 249 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 250: Debug Buffer

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 251: Debug Output

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 252 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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).
  • Page 253: Debug Config State

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 254 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 255 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 256: Debug Show Status

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 257 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 258 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 259 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 260 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 261 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 262 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 263 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator level 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 264 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator level 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 265 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 266 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator level 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 267 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 22-27 debug ospf (RI Mode Only) Description This command is used to enable or disable OSPF debug flags. Format debug ospf [neighbor_state_change | interface_state_change {dr_bdr_selection} | lsa {all |...
  • Page 268 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#debug ospf neighbor_state_change state enable Command: debug ospf neighbor_state_change state enable Success. DGS-3120-24TC:admin# To enable OSPF interface state change debug: DGS-3120-24TC:admin#debug ospf interface_state_change state enable Command: debug ospf interface_state_change state enable Success.
  • Page 269 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 22-28 debug ospf clear counter (RI Mode Only) Description This command is used to reset the OSPF statistic counters. Format debug ospf clear counter {packet | neighbor | spf} Parameters packet - (Optional) Specify to reset the OSPF packet counter.
  • Page 270 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To enable the OSPF debug log: DGS-3120-24TC:admin#debug ospf log state enable Command: debug ospf log state enable Success. DGS-3120-24TC:admin# 22-30 debug ospf show counter (RI Mode Only) Description This command is used to display OSPF statistic counters.
  • Page 271 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 272 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 273 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator level 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...
  • Page 274 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator level 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...
  • Page 275 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator level 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...
  • Page 276 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format debug ospf show detail type7_link Parameters None. Restrictions Only Administrator level can issue this command. Example To display all type-7 LSAs with detail information: DGS-3120-24TC:admin#debug ospf show detail type7_link...
  • Page 277 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 can issue this command.
  • Page 278 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format debug ospf show log state Parameters None. Restrictions Only Administrator level can issue this command. Example To display the OSPF debug log state: DGS-3120-24TC:admin#debug ospf show log state...
  • Page 279 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 280 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 281 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 282 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 283 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 284 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 285 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 286 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 287 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 288 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator level 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#...
  • Page 289: Chapter 23 Denial-Of-Service (Dos) Attack Prevention Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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]...
  • Page 290 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 291 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 292 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 293: Chapter 24 Dhcp Local Relay Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 294 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 295 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 296 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 297: Chapter 25 Dhcp Relay Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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>...
  • Page 298 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DHCP relay hops and time parameters: DGS-3120-24TC:admin# config dhcp_relay hops 4 time 2 Command: config dhcp_relay hops 4 time 2 Success.
  • Page 299 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide interface level, then the configuration at the interface level has higher priority. In this case, the DHCP server configured on the VLAN will not be used to forward the DHCP packets.
  • Page 300 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show dhcp_relay Command: show dhcp_relay DHCP/BOOTP Relay Status : Disabled DHCP/BOOTP Hops Count Limit DHCP/BOOTP Relay Time Threshold : 2 DHCP Vendor Class Identifier Option 60 State: Disabled...
  • Page 301 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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. DGS-3120-24TC:admin# 25-5 config dhcp_relay delete vlanid Description This command is used to delete an IP address as a destination to forward (relay) DHCP/BOOTP packets.
  • Page 302 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 303 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format show dhcp_relay {ipif <ipif_name 12>} Parameters ipif - (Optional) Specify the IP interface name. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
  • Page 304 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide If the relay servers are not determined either by option 60 or option 61, then per IPIF configured servers will be used to determine the relay servers. Format...
  • Page 305 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DHCP relay option 60 option: DGS-3120-24TC:admin# config dhcp_relay option_60 add string "abc" relay 10.90.90.1 exact-match...
  • Page 306 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To configure the DHCP relay option 60 default drop option: DGS-3120-24TC:admin#config dhcp_relay option_60 default mode drop Command: config dhcp_relay option_60 default mode drop Success. DGS-3120-24TC:admin# 25-12 config dhcp_relay option_60 delete Description This command is used to delete DHCP relay option 60 entry.
  • Page 307 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 25-13 show dhcp_relay option_60 Description This command is used to show DHCP relay option 60 entry by the user specified. Format show dhcp_relay option_60 {[string <multiword 255> | ipaddress <ipaddr> | default]} Parameters string - (Optional) Show the entry which’s string equal the string of specified.
  • Page 308 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide If the relay servers are determined based on option 60 or option 61, then per IPIF configured servers will be ignored. If the relay servers are not determined either by option 60 or option 61, then per IPIF configured servers will be used to determine the relay servers.
  • Page 309 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide long. relay - Specify to relay the packet to a IP address. <ipaddr> - Enter the IP address used for this configuration here. drop - Specify to drop the packet.
  • Page 310 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 25-17 config dhcp_relay option_61 delete Description This command is used to delete an option 61 rule. Format config dhcp_relay option_61 delete [mac_address <macaddr> | string <desc_long 255> | all] Parameters mac_address - The entry with the specified MAC address will be deleted.
  • Page 311 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To display DHCP relay rulers for option 61: 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 ---------------------- -----------...
  • Page 312 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 <desc 32> | vendor1 | vendor2...
  • Page 313 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide vendor4 - If configure to vendor4, the circuit ID uses the following format: System Module Port ID CVID name 1 byte 1 byte 0-128 1 byte 1 byte...
  • Page 314 Restrictions 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 Switch" Command: config dhcp_relay option_82 remote_id user_define "D-Link L2 Switch" Success. DGS-3120-24TC:admin#...
  • Page 315 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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. Format config dhcp_relay option_82 state [enable | disable]...
  • Page 316: Chapter 26 Dhcp Server Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 317 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 318 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 319 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 320 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 321 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 322 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 323 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 324 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 325 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 326 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 327 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 328: Clear Dhcp Binding

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 329: Show Dhcp Binding

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 330 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 331 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 332 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 333 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 334 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 335: Chapter 27 Dhcp Server Screening Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 336 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <portlist> - Enter the list of ports to be configured here. all - Specify that all the port will be used for this configuration. delete permit - Specify to delete a DHCP permit.
  • Page 337 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 dhcp_server Command: show filter dhcp_server Enabled Ports: 1:1-1:10 Trap State: Disabled...
  • Page 338 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#config filter dhcp_server log disable Command: config filter dhcp_server log disable Success. DGS-3120-24TC:admin# 27-4 config filter dhcp_server trap Description This command is used to enable or disable the log function.
  • Page 339: Chapter 28 Dhcpv6 Relay Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 340 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 Command: disable dhcpv6_relay Success.
  • Page 341 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 342 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide state - Enable or disable the DHCPv6 relay state of the interface. enable - Enable the DHCPv6 relay state of the interface. disable - Disable the DHCPv6 relay state of the interface.
  • Page 343 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DHCPv6 relay option 37: DGS-3120-24TC:admin#config dhcpv6_relay option_37 state enable Command: config dhcpv6_relay option_37 state enable Success.
  • Page 344 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show dhcpv6_relay Command: show dhcpv6_relay DHCPv6 Relay Global State : Enabled DHCPv6 Hops Count Limit DHCPv6 Relay Information Option 37 State : Enabled DHCPv6 Relay Information Option 37 Check : Disabled...
  • Page 345: Chapter 29 Digital Diagnostic Monitoring (Ddm) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 346 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 347 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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. When the operating parameter falls below this value, the action associated with the alarm is taken.
  • Page 348 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, and Operator level users can issue this command. Example To configure the port 21’s temperature threshold: DGS-3120-24TC:admin#config ddm ports 1:21 temperature_threshold high_alarm 84.9555 low_alarm -10 high_warning 70 low_warning 2.25251 Command: config ddm ports 1:21 temperature_threshold high_alarm 84.9555...
  • Page 349: Show Ddm

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 350 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 29-4 show ddm ports Description This command is used to show the current operating DDM parameters and configuration values of the optic module of the specified ports. There are two types of thresholds: the administrative configuration and the operation configuration threshold.
  • Page 351 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show ddm ports 1:21 configuration Command: show ddm ports 1:21 configuration Port: 1:21 -------------------------------------------- DDM State : Enabled Shutdown : Alarm Threshold Temperature Voltage Bias-Current TX-Power RX-Power (in Celsius)
  • Page 352: Chapter 30 Distance Vector Multicast Routing Protocol (Dvmrp) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 353: Enable Dvmrp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 354 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 355 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 356 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 357 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 358 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 359: Chapter 31 D-Link License Management System (Dlms) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 31 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>} 31-1 install dlms activation_code Description This command is used to install an activation code to activate or unlock function on the applicance.
  • Page 360 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 of the Switch.
  • Page 361: Chapter 32 D-Link Unidirectional Link Detection (Duld) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 32 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 362 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 32-2 show duld ports Description This command is used to show unidirectional link detection information.
  • Page 363: Chapter 33 Energy Efficient Ethernet (Eee) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 33 Energy Efficient Ethernet (EEE) Command List config eee ports [<portlist> | all] state [enable | disable] show eee ports {<portlist>} 33-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 364 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 365: Chapter 34 Ethernet Ring Protection Switching (Erps) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 34 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>...
  • Page 366 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# enable erps Command: enable erps Success. DGS-3120-24TC:admin# 34-2 disable erps Description This command is used to disable the global ERPS function on a switch. Format disable erps Parameters None.
  • Page 367 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 368 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 369 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide When both the global state and the specified ring ERPS state are enabled, the specified ring will be activated. STP and LBD should be disabled on the ring ports before the specified ring is activated.
  • Page 370 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide enable - Enable the propagation state of topology change for the sub-ring. disable - Disable the propagation state of topology change for the sub-ring. The default value is disabled.
  • Page 371 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 372 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 373 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 374 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 375: Chapter 35 Fdb Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 35 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>...
  • Page 376: Create Fdb Vlanid

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 35-2 create fdb vlanid Description This command is used to create a static entry in the unicast MAC address forwarding table (database).
  • Page 377 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 35-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 378 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 379 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config fdb aging_time 600 Command: config fdb aging_time 600 Success. DGS-3120-24TC:admin# 35-6 config multicast vlan_filtering_mode Description This command is used to configure the multicast packet filtering mode for VLANs.
  • Page 380: Delete Fdb

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 35-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 381 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 382: Show Fdb

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 35-10 show fdb Description This command is used to display the current unicast MAC address forwarding database.
  • Page 383 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 384 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide long. If no parameter is specified, the device will show all multicast filtering settings in the device. Restrictions None. Example To show the multicast vlan_filtering_mode for VLANs: DGS-3120-24TC:admin#show multicast vlan_filtering_mode...
  • Page 385: Chapter 36 Filter Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 36 Filter Command List config filter netbios [<portlist> | all] state [enable | disable] show filter netbios config filter extensive_netbios [<portlist> | all] state [enable | disable]...
  • Page 386 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 387 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 36-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:...
  • Page 388: Chapter 37 Flash File System (Ffs) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 37 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>...
  • Page 389: Change Drive

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 37-2 change drive Description This command is used to change the current drive.
  • Page 390 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 here.
  • Page 391 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# rd c:/abc Command: rd c:/abc Success. DGS-3120-24TC:admin# 37-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 392 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 here.
  • Page 393 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <unit_id> - Enter the unit ID here. <drive_id> - (Optional) Enter the drive ID used here. Examples are C: or D: <pathname> - Specified the file (in path form) to be renamed.
  • Page 394 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 395 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 396 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 37-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 397 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 398 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 399: Chapter 38 Gratuitous Arp Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 38 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>...
  • Page 400 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide that the system received a ARP request packet that is sent by an IP address that match the system’s own IP address. In this case, the system knows that some body out there uses an IP address that is conflict with the system.
  • Page 401 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the Gratuitous ARP learning state: DGS-3120-24TC:admin# config gratuitous_arp learning enable Command: config gratuitous_arp learning enable Success.
  • Page 402 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 38-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. By default, trap is disabled and event log is enabled.
  • Page 403 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable system interface’s gratuitous ARP log and trap: DGS-3120-24TC:admin# disable gratuitous_arp ipif System trap log Command: disable gratuitous_arp ipif System trap log Success.
  • Page 404 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 405: Chapter 39 Internet Group Management Protocol (Igmp) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 39 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> | robustness_variable <value 1-7> | last_member_query_interval <value 1-25>...
  • Page 406: Show Igmp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 407: Show Igmp Group

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 408 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 409 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 39-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.
  • Page 410 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 411 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format delete igmp static_group ipif <ipif_name 12> [group <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 412 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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”:...
  • Page 413: Chapter 40 Igmp Proxy Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 40 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 414 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 40-3...
  • Page 415 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 40-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 416 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 40-5 show igmp_proxy Description This command displays IGMP proxy configuration information or group information on the switch.
  • Page 417 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 418: Chapter 41 Igmp Snooping Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 41 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 419 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide show igmp access_authentication ports [all | <portlist>] clear igmp_snooping statistics counter 41-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> | vlanid <vlanid_list> | all ] { state [enable | disable] | fast_leave [enable | disable] | proxy_reporting {state [enable|disable] | source_ip <ipaddr>}(1)}(1)
  • Page 420 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 41-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. Format config igmp_snooping rate_limit [ports <portlist> | vlanid <vlanid_list>] [<value 1-1000> |...
  • Page 421 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters vlan_name - Specify the name of the VLAN for which IGMP snooping querier is to be configured. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long.
  • Page 422 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To configure the IGMP snooping querier: DGS-3120-24TC:admin# config igmp_snooping querier vlan_name default query_interval 125 state enable Command: config igmp_snooping querier vlan_name default query_interval 125 state enable Success.
  • Page 423 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 41-5 config router_ports Description This command is used to designate a range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router, regardless of protocol, etc.
  • Page 424 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide add - Specify to add the router ports. delete - Specify to delete the router ports. <portlist> - Specify a range of ports to be configured. (UnitID:port number) Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 425 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 41-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. Note that disable igmp_snooping will also disable the forward multicast router only function.
  • Page 426 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format create igmp_snooping static_group [vlan<vlan_name 32> | vlanid <vlanid_list>] <ipaddr> 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 427 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 428 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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. DGS-3120-24TC:admin# 41-12 show igmp_snooping static_group Description This command is used to display the IGMP snooping multicast group static members.
  • Page 429 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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. That is, the learning of an entry is not activated by IGMP membership registration, but activated by the traffic.
  • Page 430 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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. DGS-3120-24TC:admin# 41-14 config igmp_snooping data_driven_learning max_learned_entry (EI and SI Mode Only)
  • Page 431 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format clear igmp_snooping data_driven_group [all | [vlan_name <vlan_name 32> | vlanid <vlanid_list>] [<ipaddr> | all]] Parameters all - Specify all VLANs to which IGMP snooping groups will be deleted.
  • Page 432 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions None. Example To show IGMP snooping: Command: show igmp_snooping IGMP Snooping Global State : Disabled VLAN Name : default Query Interval : 125 Max Response Time : 10...
  • Page 433 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To display the IGMP snooping rate limit for ports 1 to 15: DGS-3120-24TC:admin# show igmp_snooping rate_limit ports 1-15 Command: show igmp_snooping rate_limit ports 1-15 Port Rate Limit...
  • Page 434 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 Expiry Time : 254 Filter Mode : INCLUDE Source/Group : 10.0.0.10/225.0.0.1...
  • Page 435 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Member Ports : 1:5 UP Time : 10 Expiry Time : 258 Filter Mode : EXCLUDE Source/Group : NULL/226.0.0.2 VLAN Name/VID : default/1 Member Ports : 1:5 UP Time...
  • Page 436 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <vlanid_list> - Enter the VLAN ID list here. If no parameter is specified, the system will display all current IGMP snooping forwarding table entries of the Switch. Restrictions None.
  • Page 437 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide all - Specify all VLANs on which the router port resides. static - (Optional) Displays router ports that have been statically configured. dynamic - (Optional) Displays router ports that have been dynamically configured.
  • Page 438 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions None. Example To display the IGMP snooping statistics counter: DGS-3120-24TC:admin# show igmp_snooping statistics counter vlanid 1 Command: show igmp_snooping statistics counter vlanid 1 VLAN Name : Default...
  • Page 439 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# show igmp_snooping statistics counter ports 1 Command: show igmp_snooping statistics counter ports 1 Port #1 ------------------------------------------------ Group Number : 10 Receive Statistics Query IGMP v1 Query IGMP v2 Query...
  • Page 440 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format show igmp access_authentication ports [all | <portlist>] Parameters all - Specify all ports to be displayed. <portlist> - Specify a range of ports to be displayed. Restrictions None.
  • Page 441 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 1:18 Disabled 1:19 Disabled 1:20 Disabled CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry 41-23 clear igmp_snooping statistics counter Description This command is used to clear the IGMP snooping statistics counter.
  • Page 442: Chapter 42 Ip-Mac-Port Binding (Impb) Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 42 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] | protocol [ipv4 | ipv6 | all] | allow_zeroip [enable | disable] | forward_dhcppkt [enable | disable] | stop_learning_threshold <int 0-500>}...
  • Page 443 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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. <ipaddr> - Enter the IP address used here.
  • Page 444 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide packets are detected. If not specified strict or loose, default is strict. disable - Disable ARP inspection function. The default value is disabled. ip_inspection - (Optional) Specify that the IP inspection option will be configured.
  • Page 445 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters <ipv6addr> - Specify the IPv6 address. mac_address - Specify the MAC address. <macaddr> - Enter the MAC address here. ports - (Optional) Configure the portlist or all ports.
  • Page 446 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To configure a static IPv6 IMPB entry so that that IPv6 address fe80::240:5ff:fe00:28 is bound to the MAC address 00-00-00-00-00-11: DGS-3120-24TC:admin#config address_binding ip_mac ipv6address fe80::240:5ff:fe00:28 mac_address 00-00-00-00-00-11...
  • Page 447 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format delete address_binding ip_mac [all | ipaddress <ipaddr> mac_address <macaddr> | ipv6address <ipv6addr> mac_address <macaddr>] Parameters all - Specify that all the MAC address will be used. ipaddress - Specify the learned IP address of the entry in the database.
  • Page 448 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <portlist> - Enter the list of port used here. all - Specify that all the ports will be used. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 449 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show address_binding Command: show address_binding Trap/Log : Disabled DHCP Snoop(IPv4) : Disabled DHCP Snoop(IPv6) : Disabled ND Snoop : Disabled Function Version : 3.96 DGS-3120-24TC:admin# To show the IMPB ports:...
  • Page 450 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 451 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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, S:Static ACL - A:Active I:Inactive IP Address MAC Address...
  • Page 452 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format enable address_binding dhcp_snoop {[ipv6| all]} Parameters ipv6 - (Optional) Specify that IPv6 entries to be enabled. all - (Optional) Specify to enable all DHCP snooping mode. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 453 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# disable address_binding dhcp_snoop Command: disable address_binding dhcp_snoop Success. DGS-3120-24TC:admin# 42-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.
  • Page 454 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 455 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 42-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.
  • Page 456 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 ------ ---------------- ---------...
  • Page 457 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 458 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#enable address_binding nd_snoop Command: enable address_binding nd_snoop Success. DGS-3120-24TC:admin# 42-19 disable address_binding nd_snoop Description This command is used to disable ND snooping on the switch. Format disable address_binding nd_snoop Parameters None.
  • Page 459 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <portlist> - Enter the list of ports used for this configuration here. all - Specify that all the ports will be usd for this configuration. max_entry - Specify the maximum number of entries.
  • Page 460 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show address_binding nd_snoop ports 1:1-1:5 Command: show address_binding nd_snoop ports 1:1-1:5 Port Max Entry ---- --------- No Limit No Limit DGS-3120-24TC:admin# 42-22 show address_binding nd_snoop binding_entry Description This command is used to show the ND snooping binding entries on the Switch.
  • Page 461 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 42-23 clear address_binding nd_snoop binding_entry ports Description This command is used to clear the ND snooping entries on specified ports. Format clear address_binding nd_snoop binding_entry ports [<portlist> | all] Parameters ports - Specify the list of ports that you would like to clear the ND snoop learned entry.
  • Page 462 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To enable the IMPB traps and logs: DGS-3120-24TC:admin# enable address_binding trap_log Command: enable address_binding trap_log Success. DGS-3120-24TC:admin# 42-25 disable address_binding trap_log Description This command is used to disable the IMPB traps and logs.
  • Page 463 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters ports - Specify the list of ports that need to recover the IMPB check. <portlist> - Enter the list of port used here. all - Specify that all the ports will be used.
  • Page 464 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#config address_binding dhcp snooping ports 1:1 limit rate mode drop Command: config address_binding dhcp snooping ports 1:1 limit rate 10 mode drop Success. DGS-3120-24TC:admin# 42-28 config address_binding dhcp snooping recovery_timer Description This command is used to configure the auto recovery timer value.
  • Page 465: Chapter 43 Ip Multicast (Ipmc) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 43 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>}...
  • Page 466 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 43-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.
  • Page 467: Chapter 44 Ip Route Filter Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 44 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 468 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 469 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 44-4 show ip standard access_list Description This command is used to display the information of an access list.
  • Page 470 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 471 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 472 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 473 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 474: Chapter 45 Ip Tunnel Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 45 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)
  • Page 475 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 45-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 476 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 477 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 478 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 479 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 480 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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”):...
  • Page 481 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#enable ip_tunnel tn2 Command: enable ip_tunnel tn2 Success. DGS-3120-24TC:admin# 45-9 disable ip_tunnel Description This command is used to disable a single specified IP tunnel or all IP tunnels on the Switch.
  • Page 482: Chapter 46 Ipv6 Neighbor Discover Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 46 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 483 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 46-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. Both static and dynamic entries can be deleted.
  • Page 484 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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. all - Specify that all the interface will be displayed.
  • Page 485: Show Ipv6 Nd

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the retrans_time of IPv6 ND neighbor solicitation: DGS-3120-24TC:admin# config ipv6 nd ns ipif Zira retrans_time 1000000 Command: config ipv6 nd ns ipif Zira retrans_time 1000000 Success.
  • Page 486 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format config ipv6 nd ra ipif <ipif_name 12> {state [enable | disable] | life_time <sec 0-9000> | reachable_time <millisecond 0-3600000> | retrans_time <millisecond 0-4294967295> | hop_limit <value 0-255> | managed_flag [enable | disable] | other_config_flag [enable | disable] | min_rtr_adv_interval <sec 3-1350>...
  • Page 487 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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. DGS-3120-24TC:admin# 46-7 config ipv6 nd ra prefix_option ipif Description This command is used to configure the prefix option for the router advertisement function.
  • Page 488 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 preferred_life_time 1000 Success. DGS-3120-24TC:admin#...
  • Page 489: Chapter 47 Ipv6 Route Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 47 IPv6 Route Command List (RI and EI Mode Only) 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>...
  • Page 490: Delete Ipv6Route

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 47-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 491 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format show ipv6route {[<ipv6networkaddr> | <ipv6addr>]} {[static | ripng | ospfv3 | hardware] Parameters None. Restrictions <ipv6networkaddr> - (Optional) The destination network of the route. <ipv6addr> - (Optional) Specify the destination 128-bit length IPv6 address to be displayed.
  • Page 492: Chapter 48 Japanese Web-Based Access Control (Jwac) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 48 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 493 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 494 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#disable jwac Command: disable jwac Success. DGS-3120-24TC:admin# 48-3 config jwac Description This command is used to configure the quarantine server URL. If the redirection is enabled and the...
  • Page 495 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 48-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:...
  • Page 496 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 497 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#disable jwac redirect Command: disable jwac redirect Success. DGS-3120-24TC:admin# 48-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 498 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 499 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#disable jwac forcible_logout Command: disable jwac forcible_logout Success. DGS-3120-24TC:admin# 48-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.enable jwac udp_filtering...
  • Page 500 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 48-12 enable jwac quarantine_server_monitor Description This command is used to enable the JWAC quarantine server monitor.
  • Page 501 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 48-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.
  • Page 502 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 48-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 503 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 504 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 505 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 506 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show jwac ports 1-4 Command: show jwac ports 1:1-1:4 Port State Aging Time Idle Time Block Time (min) (min) (sec) Hosts ----- -------- ---------- --------- ---------- ----- Disabled...
  • Page 507 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 48-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.
  • Page 508 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:*****...
  • Page 509 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 48-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:...
  • Page 510 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 511 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC: show jwac auth_state ports 1-3C ommand: show jwac auth_state ports 1-3 Pri - Priority. State - A:Authenticated, B:Blocked, -:Authenticating Time - Aging Time/Idle Time for authenticated entries.
  • Page 512 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 48-28 show jwac update_server Description This command is used to display the JWAC update server.
  • Page 513 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 514 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 515 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 516: Chapter 49 Jumbo Frame Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 49 Jumbo Frame Command List enable jumbo_frame disable jumbo_frame show jumbo_frame 49-1 enable jumbo_frame Description This command is used to configure the jumbo frame setting as enable.
  • Page 517 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 49-3 show jumbo_frame Description This command is used to display the current configuration of jumbo frame.
  • Page 518: Chapter 50 Layer 2 Protocol Tunneling (L2Pt) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 50 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]...
  • Page 519 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 520 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 521 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 522: Chapter 51 Link Aggregation Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 51 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...
  • Page 523 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 51-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 number of link aggregation groups is project dependency.
  • Page 524 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide are separated by a dash. For example, 1:3 would specify switch number 1, port 3. 2:4 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 −...
  • Page 525 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide destination port. 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 526 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 527 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 528 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 51-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. (UnitID:port number).
  • Page 529: Chapter 52 Link Layer Discovery Protocol (Lldp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 52 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 530: Disable Lldp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 531: Config Lldp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 52-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>]...
  • Page 532: Config Lldp Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 533 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 534 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide numerous vendor proprietary variations are responsible for maintaining the topology and connectivity of the network. If EAPOL, GVRP, STP (including MSTP), and LACP protocol identity is enabled on this port and it is enabled to be advertised, then this protocol identity will be advertised.
  • Page 535 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 536 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 537: Show Lldp

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

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 52-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.
  • Page 539 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 540 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 541 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 542 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 543 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 544 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 545 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 546: Show Lldp Statistics

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Unknown TLV type : 31 Unknown TLV Information Bytes : XX XX XX XX XX XX(hex) DGS-3120-24TC:admin# 52-12 show lldp statistics Description This command is used to display an overview of neighbor detection activity on the Switch.
  • Page 547 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 548 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 52-15 config lldp_med log state Description This command is used to configure the log state of LLDP-MED events.
  • Page 549 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 550 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 551 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 52-19 show lldp_med Description This command is used to display the Switch’s general LLDP-MED configuration status. Format show lldp_med Parameters None. Restrictions None. Example To display the Switch’s general LLDP-MED configuration status:...
  • Page 552 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 553 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 554 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 555: Chapter 53 Loopback Detection (Lbd) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 53 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]...
  • Page 556: Config Loopdetect Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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-...
  • Page 557: Disable Loopdetect

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 558: Show Loopdetect

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# disable loopdetect Command: disable loopdetect Success. DGS-3120-24TC:admin# 53-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 559 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 560: Config Loopdetect Log

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 561: Chapter 54 Loopback Interface Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 54 Loopback Interface Command List 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 562 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format config loopback ipif <ipif_name 12> [{ipaddress <network_address> | state [enable | disable]}(1)] Parameters <ipif_name 12> - Enter the IP interface name used for this configuration here. This name can be up to 12 characters long.
  • Page 563 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To delete the loopback interface named loopback1: DGS-3120-24TC:admin#delete loopback ipif loopback1 Command: delete loopback ipif loopback1 Success. DGS-3120-24TC:admin# 54-4 show loopback ipif Description This command is used to display the information of the loopback interface.
  • Page 564: Chapter 55 Mac Notification Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 55 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>}...
  • Page 565 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-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# 55-3 config mac_notification Description This command is used to configure the Switch’s MAC address table notification global settings.
  • Page 566 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 55-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 567 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 568 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 569: Chapter 56 Mac-Based Access Control Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 56 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 570 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 56-2 disable mac_based_access_control Description This command is used to disable MAC-based Access Control.
  • Page 571 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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”.
  • Page 572 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 56-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.
  • Page 573 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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-8 Command: config mac_based_access_control guest_vlan ports 1-8 Success. DGS-3120-24TC:admin# 56-7 config mac_based_access_control ports Description This command is used to configure MAC-based Access Control port’s setting.
  • Page 574 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 575 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 56-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 576 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 577 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 578 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 579 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 56-13 delete mac_based_access_control_local Description This command is used to delete a MAC-based Access Control local database entry.
  • Page 580 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 56-14 config mac_based_access_control authorization attributes Description This command is used to enable or disable the acceptation of an authorized configuration.
  • Page 581 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 56-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 582 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide address. <macaddr> - Enter the MAC address used here. vlan - (Optional) Displays MAC-based Access Control local database entries for a specific target VLAN name. <vlan_name 32> - Enter the VLAN name here. This name can be up to 32 characters long.
  • Page 583 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show mac_based_access_control auth_state ports 1:1-1:4 Command: show mac_based_access_control auth_state ports 1:1-1:4 (P): Port-based Port MAC Address State Priority Aging Time/ Block Time ---- -------------------- -------------- ---- -------- ------------...
  • Page 584 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 56-19 config mac_based_access_control trap state Description This command is used to enable or disable sending of MAC-based Access Control traps. Format config mac_based_access_control trap state [enable | disable] Parameters enable - Enable trap for MAC-based Access Control.
  • Page 585 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To disable log state of MAC-based Access Control: DGS-3120-24TC:admin# config mac_based_access_control log state disable Command: config mac_based_access_control log state disable Success. DGS-3120-24TC:admin#...
  • Page 586: Chapter 57 Mac-Based Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 57 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>]}...
  • Page 587 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 57-2 delete mac_based_vlan Description This command is used to delete the static MAC-based VLAN entry.
  • Page 588 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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> - Enter the MAC address used here.
  • Page 589: Chapter 58 Md5 Configuration Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 58 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>...
  • Page 590 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 591 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#delete md5 key 1 Command: delete md5 key 1 Success. DGS-3120-24TC:admin# 58-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 592: Chapter 59 Mirror Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 59 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 593: Enable Mirror

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 59-2 enable mirror Description This command is used to enable mirror function without having to modify the mirror session configuration.
  • Page 594: Show Mirror

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 59-4 show mirror Description This command is used to display the current mirror function state and mirror session configuration on the Switch.
  • Page 595 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 59-5 create mirror group_id Description This command is used to a mirror group on the switch Format create mirror group_id <value 1-4> Parameters <value 1-4> - Enter a mirro group identify value.
  • Page 596 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide mirror group target port. tx - Only the sent packets on the mirror group source ports will be mirrored to the mirror group target port. both - Both the received and sent packets on the mirror group source ports will be mirrored to the mirror group target port.
  • Page 597: Chapter 60 Multicast Listener Discovery Protocol (Mld) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 60 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 598 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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”:...
  • Page 599 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 ------------ ------- ------ ------ ---------- ------ --------...
  • Page 600: Chapter 61 Mld Proxy Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 61 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 601 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 61-3...
  • Page 602 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 61-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 603 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 61-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 604 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 605: Chapter 62 Mld Snooping Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 62 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 606 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format config mld_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> |all] {state [enable | disable] | 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 607 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format config mld_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_listener_query_interval <sec 1-25> | state [enable | disable] | version <value 1-2>}(1)
  • Page 608 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To configure the MLD snooping querier: DGS-3120-24TC:admin# config mld_snooping querier vlan_name default query_interval 125 state enable Command: config mld_snooping querier vlan_name default query_interval 125 state enable Success.
  • Page 609 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 62-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. This ensures that the forbidden router port will not propagate routing packets out.
  • Page 610 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters When the Switch receives an MLD report packet from a port, this port will be learned as a member port of the multicast group that the port is reported, and the router will be a default member of this multicast group.
  • Page 611 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 62-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> | vlanid <vlanid_list>]} Parameters vlan - (Optional) Specify the name of the VLAN for which you want to view the IGMP snooping configuration.
  • Page 612 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 62-8 show mld_snooping group Description This command is used to display the current MLD snooping group information on the Switch. Format show mld_snooping group {[vlan <vlan_name 32> | vlanid <vlanid_list> | ports <portlist>] {<ipv6addr>}} {data_driven}...
  • Page 613 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# show mld_snooping group Command: show mld_snooping group Source/Group : 2001::1/FE1E::1 VLAN Name/VID : default/1 Member Ports : 1-2 UP Time : 26 Expiry Time : 258 Filter Mode...
  • Page 614 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 62-9 show mld_snooping forwarding Description This command is used to display the Switch’s current MLD snooping forwarding table. It provides an easy way for users to check the list of ports that the multicast group that comes from specific sources will be forwarded to.
  • Page 615 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 62-10 show mld_snooping mrouter_ports Description This command is used to display the currently configured router ports on the Switch. Format show mld_snooping mrouter_ports [vlan <vlan_name 32> | vlanid <vlanid_list> | all] {[static...
  • Page 616 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide The static group will only take effect when MLD snooping is enabled on the VLAN. For those static member ports, the device needs to emulate the MLD protocol operation to the querier, and forward the traffic destined to the multicast group to the member ports.
  • Page 617 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide long. vlanid - Specify the ID of the VLAN on which the static group resides. <vlanid_list> - Enter the VLAN ID list here. <ipv6addr> - Specify the multicast group IP address.
  • Page 618 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To unset port range 9-10 from MLD snooping static member ports for group FF1E::1 on default VLAN: DGS-3120-24TC:admin# config mld_snooping static_group vlan default FF1E::1 delete 2:9-2:10 Command: create mld_snooping static_group vlan default FF1E::1 delete 2:9-2:10 Success.
  • Page 619 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 62-15 config mld_snooping data_driven_learning (EI and SI Mode Only) Description This command is used to enable or disable the data-driven learning of an MLD snooping group. When data-driven learning is enabled for the VLAN, when the Switch receives the IP multicast traffic, on this VLAN, an MLD snooping group will be created.
  • Page 620 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config mld_snooping data_driven_learning vlan default state enable Command: config mld_snooping data_driven_learning vlan default state enable Success. DGS-3120-24TC:admin# 62-16 config mld_snooping data_driven_learning max_learned_entry (EI and SI Mode Only)
  • Page 621 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format clear mld_snooping data_driven_group [all | [vlan_name <vlan_name 32> | vlanid <vlanid_list>] [<ipv6addr>| all]] Parameters all - Specify all VLANs to which IGMP snooping groups will be deleted.
  • Page 622 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To show MLD snooping statistics counters: DGS-3120-24TC:admin# show mld_snooping statistics counter vlanid 1 Command: show mld_snooping statistics counter vlanid 1 VLAN Name : Default ----------------------------------------------- Total Groups...
  • Page 623 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear MLD snooping statistics counter: DGS-3120-24TC:admin# clear mld_snooping statistic counter Command: clear mld_snooping statistic counter Success.
  • Page 624 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config mld_snooping ports 1 rate_limit 100 Command: config mld_snooping ports 1 rate_limit 100 Success. DGS-3120-24TC:admin# 62-21 show mld_snooping rate_limit Description This command is used to configure the rate limit of MLD control packets that are allowed by each port.
  • Page 625: Chapter 63 Mstp Debug Enhancement Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 63 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>}...
  • Page 626: Debug Stp Show Information

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 63-2 debug stp show information...
  • Page 627: Debug Stp Show Flag

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 628: Debug Stp Show Counter

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 629: Debug Stp Clear Counter

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 630: Debug Stp State

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 63-6 debug stp state Description This command is used to enable or disable the STP debug state.
  • Page 631 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 632: Chapter 64 Multicast Filter Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 64 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> | [add | delete] <mcast_address_list>}(1) config mcast_filter_profile ipv6 [profile_id <value 1-24>...
  • Page 633 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 64-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.
  • Page 634 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 here. This value must be between 1 and 24.
  • Page 635 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 636 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 ---- ---------------- ---------------- ---------------- 234.1.1.1 - 238.244.244.244 234.1.1.1 - 238.244.244.244 customer 224.19.62.34 - 224.19.162.200...
  • Page 637 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 638 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 and 3 can join to 100:...
  • Page 639 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 ------ ---------------------------- --------- Infinite Drop Drop Total Entries: 2 DGS-3120-24TC:admin# To display the maximum number of multicast groups that VLANs 1 and 2 can join:...
  • Page 640 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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,3 Command: show limited_multicast_addr ports 1,3 Port Access : Deny...
  • Page 641 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 642 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 643: Chapter 65 Multicast Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 65 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 644 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 645 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 646 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 65-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 647 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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...
  • Page 648 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 65-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 649 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format config mld_snooping multicast_vlan_group_profile <profile_name 1-32> [add | delete] <mcast_v6address_list> Parameters multicast_vlan_group_profile - Specify the multicast VLAN profile name. The maximum length is 32 characters. <profile_name 1-32> - Enter the multicast VLAN group profile name here. This name can be up to 32 characters long.
  • Page 650 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 651 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 652 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add an IGMP snooping profile to a multicast VLAN group with the name “v1”:...
  • Page 653 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 65-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>...
  • Page 654 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 655 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 65-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 656 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 657: Chapter 66 Network Load Balancing (Nlb) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 66 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>...
  • Page 658 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 659 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 66-4 create nlb multicast_fdb Description This command is used to create a NLB multicast FDB entry. The number of supported entries is project dependent.
  • Page 660 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 66-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 661: Show Nlb Fdb

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 662 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 663: Chapter 67 Network Monitoring Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 67 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>}...
  • Page 664: Show Error Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 665: Show Utilization

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 666 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 667: Show Utilization Dram

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show utilization cpu Command: show utilization cpu CPU Utilization ------------------------------------------------------------------------------- Five seconds - 10 % One minute - 10 % Five minutes - 10 % CTRL+C ESC q...
  • Page 668: Show Utilization Flash

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show utilization dram Command: show utilization dram Unit 1 DRAM utilization : Total DRAM : 131072 Used DRAM : 128128 Utilization : 97 % CTRL+C ESC q Quit...
  • Page 669 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format clear counters {ports <portlist>} Parameters ports - (Optional) Specify a range of ports to be configured. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
  • Page 670: Chapter 68 Oam Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 68 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> | window <millisecond 1000- 60000>...
  • Page 671 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 672 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 673 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 674 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 68-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 675 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 676 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 677 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 678: Chapter 69 Open Shortest Path First (Ospf) Version 2 Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 69 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 679 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 680 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 69-2...
  • Page 681 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 69-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 682 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 683 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 684 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 685 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 69-8 delete ospf area Description This command is used to delete an OSPF area.
  • Page 686 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 687 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 69-11 config ospf host_route Description This command is used to configure an OSPF host route.
  • Page 688 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 689 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 69-14 config ospf router_id Description The command is used to configure the router ID for the Switch.
  • Page 690 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 691 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 692 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 693: Enable Ospf

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 694 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 695 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 696 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 697 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 698 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 69-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)
  • Page 699: Chapter 70 Ospf Version 3 Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 70 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 700: Enable Ospfv

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 701 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 702 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 703 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 704 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 705 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 70-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.
  • Page 706 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 707 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 70-11 config ospfv3 aggregation Description This command is used to configure an OSPFv3 area aggregation.
  • Page 708 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 709 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 710 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 711 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 712 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 713 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 714 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 715 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 716 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 70-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 717 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 70-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...
  • Page 718: Chapter 71 Password Recovery Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 71 Password Recovery Command List enable password_recovery disable password_recovery show password_recovery 71-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.
  • Page 719 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 720 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 721: Chapter 72 Peripherals Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 72 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]...
  • Page 722: Show Environment

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 72-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 723: Config Temperature Threshold

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 724: Config Temperature

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 725 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 72-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 726 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#config power trap state enable Command: config power trap state enable Success. DGS-3120-24TC:admin#...
  • Page 727: Chapter 73 Ping Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 73 Ping Command List ping <ipaddr> {times <value 1-255> | timeout <sec 1-99> | source_ip <ipaddr>} ping6 <ipv6addr> {times <value 1-255> | size <value 1-6000> | timeout <sec 1-99> | source_ip <ipv6addr>}...
  • Page 728 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 729 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 730: Chapter 74 Policy Route Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 74 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 731 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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”:...
  • Page 732 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 733: Chapter 75 Port Security Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 75 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 734 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 75-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 735 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 736 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 737 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 75-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 738 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 739 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 740 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 75-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 741: Chapter 76 Power Over Ethernet (Poe) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 76 Power over Ethernet (PoE) Command List 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> | clear_time_range]| priority [critical | high | low] | power_limit [class_0 | class_1 | class_2 | class_3 | user_define <value 1000-35000>]}...
  • Page 742: Config Poe Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To config PoE system-wise was setting: DGS-3120-24PC:admin# config poe system power_limit 250 power_disconnect_method deny_low_priority_port Command: config poe system power_limit 250 power_disconnect_method deny_low_priority_port Success.
  • Page 743: Show Poe System

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide device connected to this port. enable - Specify that state will be enabled. disable - Specify that state will be disabled. time_range - (Optional) Specify the time range that applies to the port of the POE. If time range is configured, the power can only be supplied during the period specified by time range.
  • Page 744: Show Poe Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format show poe system {units <unitlist>} Parameters units - (Optional) Specified units that will be displayed. <unitlist> - Enter the unit list that will be displayed here. If no parameter specified, the system will display the status of all supported poe units in the systems.
  • Page 745 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters <portlist> - (Optional) Specified a list of ports to be displayed. If no parameter specified, the system will display the status for all ports. Restrictions None. Example...
  • Page 746: Chapter 77 Power Saving Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 77 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 747 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 748 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 77-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 749 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 750 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 751 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 752: Chapter 78 Pppoe Circuit Id Insertions Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 78 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)
  • Page 753 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 78-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 754 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 78-4 show pppoe circuit_id_insertion ports Description This command is used to display Switch’s port PPPoE Circuit ID insertion configuration.
  • Page 755 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#...
  • Page 756: Chapter 79 Protocol Independent Multicast (Pim) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 79 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 757 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 758 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 759 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# 79-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>}...
  • Page 760 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 761 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 762 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 763 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 764 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 79-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 765 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 766 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 79-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 767 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 79-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.
  • Page 768 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 79-16 show pim static_rp Description This command is used to list all the static RP settings.
  • Page 769 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 79-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:...
  • Page 770 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 771 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 79-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.
  • Page 772 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 79-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 773 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 774: Chapter 80 Pim For Ipv6 Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 80 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 775 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 776 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 80-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.
  • Page 777 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 778 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 779 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 80-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 780 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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”:...
  • Page 781 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 782 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 80-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).
  • Page 783 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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”:...
  • Page 784 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 785 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 786 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 ------------------------...
  • Page 787 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 80-16 delete pim6 static_rp group Description This command is used to delete a static RP.
  • Page 788 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 789 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 80-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:...
  • Page 790 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 791 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 80-22 config pim6 register_probe_time Description This command is used to configure the PIM6-SM register probe time.
  • Page 792 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 793: Chapter 81 Protocol Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 81 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>]...
  • Page 794 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 81-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.
  • Page 795 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 796 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 797: Show Port Dot1V

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 798 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 799: Chapter 82 Qinq Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 82 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 800: Disable Qinq

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# enable qinq Command: enable qinq Success. DGS-3120-24TC:admin# 82-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 801: Config Qinq Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 802: Show Qinq

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 803: Show Qinq Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 804 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 805 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 806 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 82-10 show vlan_translation Description This command is used to display the existing C-VLAN-based VLAN translation rules.
  • Page 807: Chapter 83 Quality Of Service (Qos) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 83 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> | all]} <cos_id_list 0-7> {{min_rate [no_limit | <value 8-10240000>]} max_rate [no_limit | <value 8-10240000>]}...
  • Page 808 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 809 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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)
  • Page 810 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide no_limit - Specify that there will be no limit on the rate of packets received by the above specified class. <value 8-10240000> - Specify the packet limit, in Kbps, that the above ports will be allowed to receive.
  • Page 811: Config Scheduling

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 812: Show Scheduling

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 83-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 813 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 814 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 815 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 816 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 817 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 83-12 show 802.1p default_priority Description This command is used to display the current configured default priority settings on the Switch.
  • Page 818 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 83-13 enable hol_prevention Description This command is used to enable head of line prevention on the Switch.
  • Page 819 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 820: Config Dscp Trust

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# show hol_prevention Command: show hol_prevention Device HOL Prevention State: Enabled DGS-3120-24TC:admin# 83-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 821: Config Dscp Map

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 822: Show Dscp Map

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 823 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 824: Chapter 84 Remote Switched Port Analyzer (Rspan) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 84 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 825: Disable Rspan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# enable rspan Command: enable rspan Success. DGS-3120-24TC:admin# 84-2 disable rspan Description This command is used to disable the RSPAN function. Format disable rspan Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 826: Delete Rspan Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To create an RSPAN VLAN entry by VLAN name “v2”: DGS-3120-24TC:admin#create rspan vlan vlan_name v2 Command: create rspan vlan vlan_name v2 Success.
  • Page 827: Config Rspan Vlan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 828: Show Rspan

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 Success.
  • Page 829 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide vlan_id - (Optional) Specify the RSPAN VLAN by VLAN ID. <value 1-4094> - Enter the VLAN ID here. This value must be between 1 and 4094. Restrictions None.
  • Page 830: Chapter 85 Routing Information Protocol (Rip) Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 85 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 831 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 832 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 833 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 834 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 835: Chapter 86 Ripng Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 86 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 836 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 837 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 86-4 config ripng ipif Description This command is used to specify the RIPng state or metric value for one or all interfaces.
  • Page 838 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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:...
  • Page 839 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 840 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 841: Chapter 87 Routing Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 87 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 842: Delete Iproute

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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).
  • Page 843: Show Iproute

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 844 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 845 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#config route preference static 70 Command: config route preference static 70 Success. DGS-3120-24TC:admin# 87-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.
  • Page 846 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 87-6 config route redistribute dst ospf src (RI Mode Only) Description This command is used to update the metric or the route map to be associated with the redistributed routes from a specific protocol to OSPF protocol.
  • Page 847 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format delete route redistribute dst ospf src [local | static | rip] Parameters local - Specify the source protocol as local. static - Specify the source protocol as static.
  • Page 848 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide route_map - (Optional) Specify the route map for the redistributed routes. <map_name 16> - Enter the name of the route map. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 849 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To configure the route redistributions: DGS-3120-24TC:admin#config route redistribute dst rip src ospf internal Command: config route redistribute dst rip src ospf internal Success. DGS-3120-24TC:admin# 87-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.
  • Page 850 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the route redistribution settings: DGS-3120-24TC:admin#show route redistribute Command: show route redistribute Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol Protocol...
  • Page 851 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 Protocol Protocol -------- ------------ -------- ------------ OSPF Type-1 Total Entries : 1...
  • Page 852 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show route redistribute dst rip Command: show route redistribute dst rip Route Redistribution Settings Source Destination Type Metric Protocol Protocol -------- ------------ -------- ------------ OSPF Internal Total Entries : 1...
  • Page 853: Show Ipfdb

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 87-15 show ecmp algorithm (RI and EI Mode Only) Description This command is used to display the ECMP route load-balancing algorithm. Format show ecmp algorithm Parameters None. Restrictions None.
  • Page 854 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide long. port - (Optional) Specify a port. <port> - Enter the port number here. Restrictions None. Example To display network address forwarding table: DGS-3120-24TC:admin# show ipfdb Command: show ipfdb...
  • Page 855 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example To display the route preference for all route types: DGS-3120-24TC:admin#show route preference Command: show route preference Route Preference Settings Protocol Preference ---------- ---------- Static Default Local DGS-3120-24TC:admin#...
  • Page 856 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 857: Chapter 88 Rpc Portmapper Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 88 RPC PortMapper Command List config filter rpc_portmapper [<portlist> | all] state [enable | disable] show filter rpc_portmapper 88-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 858 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 859: Chapter 89 Safeguard Engine Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 89 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)
  • Page 860 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 89-2 show safeguard_engine Description This command is used to show safeguard engine information.
  • Page 861: Chapter 90 Sd Card Management Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 90 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 862: Config Backup

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 863 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 90-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.
  • Page 864 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 865 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 90-6 config execute_config time_range Description This command is used to configure configuration state or execute method of a executive schedule.
  • Page 866 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 90-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.
  • Page 867 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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#...
  • Page 868: Chapter 91 Secure Shell (Ssh) Command List

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

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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 870: Config Ssh Authmode

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 871: Show Ssh Authmode

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 91-4 show ssh authmode Description This command is used to show the user authentication method.
  • Page 872: Show Ssh User

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 873: Config Ssh Server

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 874: Enable Ssh

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 91-8 enable ssh Description This command is used to enable SSH server services.
  • Page 875: Show Ssh Server

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 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# 91-10 show ssh server Description This command is used to show the SSH server general information.
  • Page 876 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 91-11 config ssh publickey bypass_login_screen state Description This command is used to enable or disable bypassing login screen which is used to avoid a secondary username/password authentication for users using SSH public key authentication.
  • Page 877 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide <ipv6addr> - Specify the IPv6 address of the TFTP server. src_file - Specify the path name and file name of the TFTP server. It can be a relative path name or an absolute path name.
  • Page 878 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# upload ssh client_public_key 169.168.10.100 dest_file id_rsa_keys Command: upload ssh client_public_key 169.168.10.100 dest_file id_rsa_keys Connecting to server....Done. Upload SSH public key....Done. DGS-3120-24TC:admin#...
  • Page 879: Chapter 92 Secure Sockets Layer (Ssl) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 92 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}}...
  • Page 880: Enable Ssl

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 92-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 881: Disable Ssl

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 92-3 disable ssl Description This command is used to disable SSL feature and supported ciphercuites. Using “disable ssl”...
  • Page 882: Show Ssl

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

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 Enabled RSA_WITH_RC4_128_MD5 0x0004...
  • Page 884: Config Ssl Cachetimeout

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 92-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 885 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 886: Chapter 93 Spanning Tree Protocol (Stp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 93 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> | txholdcount <value 1-10> | fbpdu [enable | disable] | nni_bpdu_addr [dot1d |...
  • Page 887: Disable Stp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#enable stp Command: enable stp Success. DGS-3120-24TC:admin# 93-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.
  • Page 888: Show Stp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 889 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 890 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 93-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 891 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 93-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.
  • Page 892 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 893: Config Stp Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 894: Show Stp Ports

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 895: Config Stp Priority

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 896 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 897: Config Stp Version

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 93-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.
  • Page 898 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 899: Chapter 94 Surveillance Vlan Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 94 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>}...
  • Page 900 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 94-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.
  • Page 901 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#config surveillance_vlan priority 6 Command: config surveillance_vlan priority 6 Success. DGS-3120-24TC:admin# 94-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 902 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 94-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 903 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 904 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 905: Chapter 95 Sflow Command List (Ri And Ei Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 95 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 906 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 907 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 908 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 909 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 910 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 911 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 912: Enable Sflow

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 913: Disable Sflow

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 95-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.
  • Page 914 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 95-13 show sflow flow_sampler Description This command is used to show the sFlow flow sampler configured for ports.
  • Page 915 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 95-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 916 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 917: Chapter 96 Show Technical Support Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 96 Show Technical Support Command List show tech_support upload tech_support_toTFTP <ipaddr> <path_filename 64> 96-1 show tech_support Description This command is especially used by the technical support personnel to dump the device overall operation information.
  • Page 918 DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DES-3200-28P:admin#show tech_support Command: show tech_support #------------------------------------------------------------------------------ DGS-3120-24TC Gigabit Ethernet Switch Technical Support Information Firmware: Build 3.00.522 Copyright(C) 2013 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------ ******************** Basic System Information ******************** [SYS 2000-2-10 04:41:21] Boot Time : 10 Feb 2000...
  • Page 919 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 96-2 upload tech_support_toTFTP Description This command is used to upload the information of technique’s support to TFTP server. The information is project dependent and includes the following information.
  • Page 920: Chapter 97 Simple Mail Transfer Protocol (Smtp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 97 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)
  • Page 921 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 97-3 config smtp Description This command is used to configure SMTP settings.
  • Page 922 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 923 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 924 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 925: Chapter 98 Simple Network Management Protocol (Snmp) Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 98 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 926: Create Snmp Community

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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 927: Delete Snmp Community

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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 928: Show Snmp Community

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 98-4...
  • Page 929: Create Snmp User

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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 930: Delete Snmp User

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 931: Create Snmp Group

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 932: Delete Snmp Group

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 933: Show Snmp Groups

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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.
  • Page 934: Create Snmp View

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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...
  • Page 935: Delete Snmp View

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 936: Show Snmp View

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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.
  • Page 937: Disable Snmp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 98-15 disable snmp Description This command is used to disable the SNMP function.
  • Page 938: Create Snmp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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 939: Show Snmp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 940: Show Snmp Host

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 98-19 show snmp host Description This command is used to display the recipient for which the traps are targeted.
  • Page 941: Show Snmp V6Host

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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.
  • Page 942: Config Snmp Engineid

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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. It is octet string type. It accepts the hex number directly.
  • Page 943 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 98-23 config snmp system_name Description This command is used to configure the name for the Switch.
  • Page 944 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 945: Enable Snmp Traps

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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.
  • Page 946 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# disable snmp traps Command: disable snmp traps Success. DGS-3120-24TC:admin# 98-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 947 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 98-30 enable snmp linkchange_traps Description This command is used to configure the sending of linkchange traps.
  • Page 948 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 949 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 98-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.
  • Page 950: Show Snmp Traps

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 98-35 show snmp traps Description This command is used to display the snmp trap sending status.
  • Page 951: Show Rmon

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 952 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 98-38 enable community_encryption Description This command is used to enable the encryption state on SNMP community string.
  • Page 953 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 98-40 show community_encryption Description This command is used to display the encryption state on SNMP community string.
  • Page 954: Chapter 99 Single Ip Management Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 99 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 955 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 99-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.
  • Page 956 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 : 3.00.522 Device Name MAC Address : 00-01-02-03-04-00...
  • Page 957 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# show sim member Command: show sim member MAC Address Platform / Hold Firmware Device Name Capability Time Version --- ----------------- ------------------------ ----- --------- ---------------- 00-01-02-03-04-00 DES-XXXXS L2 Switch 1.00-B01 aaaaaaaaaaaaaaaa...
  • Page 958 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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# 99-4...
  • Page 959 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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 960 ® xStack DGS-3120 Series Layer 3 Managed Gigabit 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.
  • Page 961 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config sim dp_interval 30 Command: config sim dp_interval 30 Success. DGS-3120-24TC:admin# To change the hold time of discovery protocol: DGS-3120-24TC:admin# config sim hold_time 200 Command: config sim hold_time 200 Success.
  • Page 962 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#download sim_ms configuration_from_tftp 10.55.47.1 D:\dwl600x.tfp members 1 Command: download sim_ms configuration_from_tftp 10.55.47.1 D:\dwl600x.tfp members 1 This device is updating configuration. Please wait several minutes ... Download Status :...
  • Page 963 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To upload configuration: DGS-3120-24TC:admin# upload sim_ms configuration_to_tftp 10.55.47.1 D:\configuration.txt members 1 Command: upload sim_ms configuration_to_tftp 10.55.47.1 D:\configuration.txt members 1 This device is uploading configuration.
  • Page 964: Chapter 100 Stacking Command List (Ei And Si Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 100 Stacking Command List (EI and SI Mode Only) config box_priority current_box_id <value 1-6> priority <value 1-63> config box_id current_box_id <value 1-6> new_box_id [auto | <value 1-6>]...
  • Page 965 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 100-2 config box_id Description This command is used to configure the box ID. By default, the box ID is automatically assigned by the system based topology election results. Administrators can assign box IDs statically. The new box ID will take effect after unit reboot.
  • Page 966 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Message 2: Stack Topology Status: New device is detected; hot insert may happen after n seconds. When this message is shown, it means hot insert of new device is detected. The stack system will do the hot insert action after the timer reaches 0.
  • Page 967 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show stack_information Command: show stack_information Topology : Duplex_Chain My Box ID Master ID Box Count Force Master Role : Disable Trap State : Enabled Log State : Enabled...
  • Page 968 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show stack_device Command: show stack_device Box ID Box Type H/W Version Serial Number ------ ---------------- ----------- -------------------- DGS-3120-24TC PVT93CB000001 DGS-3120-24TC:admin# 100-5 config stacking_mode Description This command is used to configure the state of stacking function. By default stacking mode is enabled.
  • Page 969 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To display stacking mode: DGS-3120-24TC:admin# show stacking_mode Command: show stacking_mode Stacking mode : Enabled...
  • Page 970 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config stacking force_master_role state enable Command: config stacking force_master_role state enable Success. DGS-3120-24TC:admin# 100-8 config stacking trap state Description This command is used to configure trap state for stacking.
  • Page 971 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the stacking log state: DGS-3120-24TC:admin#config stacking log state enable Command: config stacking log state enable Success.
  • Page 972: Chapter 101 Static Multicast Route Command List (Ri Mode Only)

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 101 Static Multicast Route Command List (RI Mode Only) create ipmroute <network_address> rpf_address [<ipaddr> | null] delete ipmroute [<network_address> | all] show ipmroute {<network_address>} 101-1 create ipmroute Description This command is used to create a static multicast route entry on the Switch.
  • Page 973 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 101-2 delete ipmroute Description This command is used to delete static multicast route entries on the switch. Format delete ipmroute [<network_address> | all] Parameters <network_address> - Specify the network address of the static multicast route entry.
  • Page 974 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show ipmroute Command: show ipmroute Index Source IP Address RPF IP Address ----- -------------------- --------------------- 11.0.0.0/8 20.1.1.1 Total Entries DGS-3120-24TC:admin#...
  • Page 975: Chapter 102 Syslog And Trap Source-Interface Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 102 Syslog and Trap Source- interface Command List config syslog source_ipif [<ipif_name 12> {<ipaddr> | <ipv6addr>} | none] show syslog source_ipif config trap source_ipif [<ipif_name 12> {<ipaddr> | <ipv6addr> } | none]...
  • Page 976 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config syslog source_ipif none Command: config syslog source_ipif none Success DGS-3120-24TC:admin# 102-2 show syslog source_ipif Description This command is used to display the syslog source IP interface.
  • Page 977 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters ipif - Specify the IP interface name. If only specify this parameter, the least IPv4 address and the smallest IPv6 address of ipif_name will be used as source IP addresses.
  • Page 978 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Example Show trap source IP interface: DGS-3120-24TC:admin# show trap source_ip Command: show trap source_ip Trap Source IP Interface Configuration: IP Interface : System IPv4 Address : None DGS-3120-24TC:admin#...
  • Page 979: Chapter 103 System Log Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 103 System Log Command List clear log show log {[index <value_list> | severity {module <module_list>} {emergency | alert | critical | error | warning | notice | informational | debug | <level_list 0-7>} | module<module_list>]}...
  • Page 980: Show Log

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# clear log Command: clear log Success. DGS-3120-24TC:admin# 103-2 show log Description This command is used to display the Switch’s history log. Format show log {[index <value_list> | severity {module <module_list>} {emergency | alert | critical | error | warning | notice | informational | debug | <level_list 0-7>} | module<module_list>]}...
  • Page 981: Enable Syslog

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show log index 1-3 Command: show log index 1-3 Index Date Time Level Log Text ----- ---------- -------- ------- ---------------------------------------------- 2011-05-10 04:06:40 CRIT(2) Unit 1, Right Side Fan 2 failed...
  • Page 982: Disable Syslog

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format enable syslog Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable the sending of syslog messages: DGS-3120-24TC:admin# enable syslog Command: enable syslog Success.
  • Page 983: Show Syslog

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 103-6 show syslog Description This command is used to display the syslog protocol global state. Format show syslog Parameters None. Restrictions None. Example To display the syslog protocol global state:...
  • Page 984: Config Syslog Host

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide emergency - Severity level 0 alert - Severity level 1 critical - Severity level 2 error - Severity level 3 warning - Severity level 4 notice - Severity level 5...
  • Page 985 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Format config syslog host [<index 1-4> | all] {severity [emergency | alert | critical | error | warning | notice | informational | debug| <level 0-7>] | facility [local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] | udp_port <udp_port_number>...
  • Page 986: Delete Syslog Host

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#config syslog host all severity debug facility local0 Command: config syslog host all severity debug facility local0 Success. DGS-3120-24TC:admin# 103-9 delete syslog host Description This command is used to delete the syslog host(s).
  • Page 987 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide If no parameter is specified, all hosts will be displayed. Restrictions None. Example To show the syslog host information: DGS-3120-24TC:admin#show syslog host Command: show syslog host Syslog Global State: Disabled...
  • Page 988 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config log_save_timing on_demand Command: config log_save_timing on_demand Success. DGS-3120-24TC:admin# 103-12 show log_save_timing Description This command is used to show the method for saving the log. Format show log_save_timing Parameters None.
  • Page 989 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters unit - (Optional) The attack log messages on the specified unit will be displayed. If unit ID is not specified, then it will be referred to as the master unit.
  • Page 990 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# clear attack_log Command: clear attack_log Success. DGS-3120-24TC:admin#...
  • Page 991: Chapter 104 System Severity Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 104 System Severity Command List config system_severity [trap | log | all] [emergency | alert| critical | error | warning | notice | information | debug | <level 0-7>]...
  • Page 992 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide 104-2 show system_severity Description This command is used to display the severity level controls for the system. Format show system_severity Parameters None. Restrictions None. Example To show severity level control for system:...
  • Page 993: Chapter 105 Telnet Client Command List

    <value 1-65535> - Enter the TCP port number used here. This value must be between 1 and 65535. Restrictions None. Example Telnet to a Switch by specifying the IP address: DGS-3120-24TC:admin# telnet 10.90.90.90 Command: telnet 10.90.90.90 DGS-XXXX Fast Ethernet Switch Command Line Interface Firmware: Build 1.00.B01 Copyright(C) 2006-2009 D-Link Corporation. All rights reserved. UserName:...
  • Page 994: Chapter 106 Tftp Client Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 106 TFTP Client Command List download [firmware_fromTFTP [<ipaddr> | <ipv6addr>] src_file <path_filename 64> {[unit <unit_id> | all]} {dest_file <pathname>} {boot_up} | cfg_fromTFTP [<ipaddr> | <ipv6addr>] src_file <path_filename 64> {[unit <unit_id> | all]} {[increment | dest_file <pathname>]}] upload [cfg_toTFTP [<ipaddr>...
  • Page 995 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide apply the setting to the system. If increment is specified, the existing configuration will not be cleared before applying to the new configuration. If it is not specified, the existing configuration will be cleared before applying to the new configuration.
  • Page 996 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters cfg_toTFTP – Specify that the configuration file will be uploaded to the TFTP server. <ipaddr> - The IP address of the TFTP server. <ipv6addr> - The IPv6 address of the TFTP server.
  • Page 997 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide long. attack_log_toTFTP – Specify that the attack log will be uploaded to the TFTP server. <ipaddr> - The IP address of the TFTP server. <ipv6addr> - The IPv6 address of the TFTP server.
  • Page 998 ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide To upload configuration from TFTP: DGS-3120-24TC:admin#upload cfg_toTFTP 10.90.90.99 dest_file 111.cfg unit 1 src_file c:/config.cfg Command: upload cfg_toTFTP 10.90.90.99 dest_file 111.cfg unit 1 src_file c:/config.cfg Connecting to server....Done.
  • Page 999: Chapter 107 Time And Sntp Command List

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Chapter 107 Time and SNTP Command List config sntp {primary <ipaddr> | secondary <ipaddr> | poll-interval <int 30-99999>} config sntp ipv6server {primary <ipv6addr> | secondary <ipv6addr>}(1) show sntp...
  • Page 1000: Show Sntp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config sntp primary 10.1.1.1 secondary 10.1.1.2 poll- interval 30 Command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Success. DGS-3120-24TC:admin# 107-2 config sntp ipv6server Description This command is used to configure the SNTP IPv6 server information.
  • Page 1001: Enable Sntp

    ® xStack DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To show SNTP: DGS-3120-24TC:admin#show sntp Command: show sntp Current Time Source : System Clock SNTP Status : Disabled IPv4 Primary SNTP Server : None...

This manual is also suitable for:

Xstack dgs-3120-24tc

Table of Contents