CLI Guide
Page 5
...(C) 2012 D-Link Corporation. DGS-3120-24TC:admin# There is the command line where all of the Switch via the Web-based management agent are then connected to the Switch's Console port via an included RS-232 to RJ-45 convertor cable. This manual provides a reference...bits • 1 stop bit A computer running a terminal emulation program capable of purpose, format, description, parameters, and examples. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 1 Using Command Line Interface The Switch can be assigned its own IP Address, ...
...(C) 2012 D-Link Corporation. DGS-3120-24TC:admin# There is the command line where all of the Switch via the Web-based management agent are then connected to the Switch's Console port via an included RS-232 to RJ-45 convertor cable. This manual provides a reference...bits • 1 stop bit A computer running a terminal emulation program capable of purpose, format, description, parameters, and examples. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 1 Using Command Line Interface The Switch can be assigned its own IP Address, ...
CLI Guide
Page 8
...-level commands consist of commands such as presented in this manual − angle brackets < > indicate a numerical value or character string, braces { } indicate optional parameters or a choice of the possible next parameters. 4 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config account Command: config account Next possible...
...-level commands consist of commands such as presented in this manual − angle brackets < > indicate a numerical value or character string, braces { } indicate optional parameters or a choice of the possible next parameters. 4 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config account Command: config account Next possible...
CLI Guide
Page 145
... Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 12-5 show switch Device Type : DGS-3120-24TC Gigabit Ethernet Switch Unit ID : 1 MAC Address : 00-00-00-01-02-03 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 2.00.003 Firmware Version : Build...
... Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 12-5 show switch Device Type : DGS-3120-24TC Gigabit Ethernet Switch Unit ID : 1 MAC Address : 00-00-00-01-02-03 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 2.00.003 Firmware Version : Build...
CLI Guide
Page 155
... VLAN Name Interface Admin State DHCPv6 Client State Link Status IPv4 Address Proxy ARP IPv4 State IPv6 State DHCP Option12 State DHCP Option12 Host Name : System : default : Enabled : Disabled : LinkUp : 10.90.90.90/8 (Manual) Primary : Disabled (Local : Disabled) : Enabled : Enabled : Disabled : Total Entries: 1 DGS-3120-24TC:admin# 12-19 enable ipif_ipv6_link_local_auto (EI Mode...
... VLAN Name Interface Admin State DHCPv6 Client State Link Status IPv4 Address Proxy ARP IPv4 State IPv6 State DHCP Option12 State DHCP Option12 Host Name : System : default : Enabled : Disabled : LinkUp : 10.90.90.90/8 (Manual) Primary : Disabled (Local : Disabled) : Enabled : Enabled : Disabled : Total Entries: 1 DGS-3120-24TC:admin# 12-19 enable ipif_ipv6_link_local_auto (EI Mode...
CLI Guide
Page 159
... command. Restrictions Only Administrator, Operator and Power-User level users can be recovered manually or by the Auto-Recovery mechanism to 120 seconds for the Switch. 155 DGS-3120-24TC:admin# 13-3 config bpdu_protection Description This command is used to configure BPDU ...config bpdu_protection recovery_interval Description This command is used to configure the BPDU protection trap state or state for the entire switch: DGS-3120-24TC:admin# config bpdu_protection recovery_timer 120 Commands: config bpdu_protection recovery_timer 120 Success. When a port enters the 'under attack' ...
... command. Restrictions Only Administrator, Operator and Power-User level users can be recovered manually or by the Auto-Recovery mechanism to 120 seconds for the Switch. 155 DGS-3120-24TC:admin# 13-3 config bpdu_protection Description This command is used to configure BPDU ...config bpdu_protection recovery_interval Description This command is used to configure the BPDU protection trap state or state for the entire switch: DGS-3120-24TC:admin# config bpdu_protection recovery_timer 120 Commands: config bpdu_protection recovery_timer 120 Success. When a port enters the 'under attack' ...
CLI Guide
Page 231
... the system's memory pool resources may fail to excute these commands successfully. Upload the debug buffer to release the system's memroy pool resources manually. The pathname specifies the DOS pathname on the TFTP server. This value can be up to 64 characters long. 227 Use the "debug.... Then, the functions which will be used as the debug buffer. clear - Specify the IPv4 address of the TFTP server. - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format debug show the debug buffer's state, or dump, clear, or upload the debug buffer...
... the system's memory pool resources may fail to excute these commands successfully. Upload the debug buffer to release the system's memroy pool resources manually. The pathname specifies the DOS pathname on the TFTP server. This value can be up to 64 characters long. 227 Use the "debug.... Then, the functions which will be used as the debug buffer. clear - Specify the IPv4 address of the TFTP server. - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format debug show the debug buffer's state, or dump, clear, or upload the debug buffer...
CLI Guide
Page 232
...: When selecting to output to the debug buffer and there are debug messages in debug buffer to TFTP server: DGS-3120-24TC:admin# debug buffer upload_toTFTP 10.0.0.90 debugcontent.txt Command: debug buffer upload_toTFTP 10.0.0.90 debugcontent.txt Connecting to debug buffer...DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator users can issue this command. DGS-3120-24TC:admin# 22-4 debug output Description This command is used in a Telnet session, the error message also is output to release the system's memroy pool resources manually...
...: When selecting to output to the debug buffer and there are debug messages in debug buffer to TFTP server: DGS-3120-24TC:admin# debug buffer upload_toTFTP 10.0.0.90 debugcontent.txt Command: debug buffer upload_toTFTP 10.0.0.90 debugcontent.txt Connecting to debug buffer...DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator users can issue this command. DGS-3120-24TC:admin# 22-4 debug output Description This command is used in a Telnet session, the error message also is output to release the system's memroy pool resources manually...
CLI Guide
Page 455
... determining that the loop-detection operation mode will be between 60 and 1000000 seconds. Specify that the loop status has gone. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 44 Loop Back Detection (LBD) Command List config loopdetect {recover_timer [0 | ... CTP (Configuration Test Protocol) packets to detect a loop-back event. When the auto-recovery mechanism is disabled, a user would need to manually recover a disabled port. - This value must be disabled. In port-based mode, the port will transmit all ] state [enable | disable...
... determining that the loop-detection operation mode will be between 60 and 1000000 seconds. Specify that the loop status has gone. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 44 Loop Back Detection (LBD) Command List config loopdetect {recover_timer [0 | ... CTP (Configuration Test Protocol) packets to detect a loop-back event. When the auto-recovery mechanism is disabled, a user would need to manually recover a disabled port. - This value must be disabled. In port-based mode, the port will transmit all ] state [enable | disable...
CLI Guide
Page 471
...the MAC-based access control port mode used for MAC-based Access Control on ports 1 to 8: DGS-3120-24TC:admin# config mac_based_access_control ports 1:1-1:8 max_users no_limit Command: config mac_based_access_control ports 1:1-1:8 max_users no_limit Success. ...number of port used . Enter the aging time value here. Specify to port-based. DGS-3120-24TC:admin# To configure the MAC-based Access Control timer parameters to 0, it means do... user clears the entry state manually. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports -
...the MAC-based access control port mode used for MAC-based Access Control on ports 1 to 8: DGS-3120-24TC:admin# config mac_based_access_control ports 1:1-1:8 max_users no_limit Command: config mac_based_access_control ports 1:1-1:8 max_users no_limit Success. ...number of port used . Enter the aging time value here. Specify to port-based. DGS-3120-24TC:admin# To configure the MAC-based Access Control timer parameters to 0, it means do... user clears the entry state manually. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports -
CLI Guide
Page 485
... None. vlan - (Optional) Specify the VLAN that you would like to 32 characters long. Enter the VLAN ID here. To display the MACbased VLAN entry: DGS-3120-24TC:admin# show mac_based_vlan {mac_address | [vlan | vlanid ]} Parameters mac_address - (Optional) Specify the entry that you would like to display. - This name can be between 1 and... value must be up to display. - Example In the following example, MAC address "00-80-c2-33-c3-45" is assigned to VLAN 300 by manual config. It is assigned to VLAN 400 by VLAN ID. - Since Voice VLAN has higher priority than...
... None. vlan - (Optional) Specify the VLAN that you would like to 32 characters long. Enter the VLAN ID here. To display the MACbased VLAN entry: DGS-3120-24TC:admin# show mac_based_vlan {mac_address | [vlan | vlanid ]} Parameters mac_address - (Optional) Specify the entry that you would like to display. - This name can be between 1 and... value must be up to display. - Example In the following example, MAC address "00-80-c2-33-c3-45" is assigned to VLAN 300 by manual config. It is assigned to VLAN 400 by VLAN ID. - Since Voice VLAN has higher priority than...
CLI Guide
Page 567
... the new entry will be between 0 and 3072. no_limit - xStack® DGS-3120 Series Layer 2 Managed Stackable 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. Format config port_security ports [ | all - Specify to 32 characters long. disable - By default, the setting is deleteonreset. The address will be set to 0, it manually...
... the new entry will be between 0 and 3072. no_limit - xStack® DGS-3120 Series Layer 2 Managed Stackable 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. Format config port_security ports [ | all - Specify to 32 characters long. disable - By default, the setting is deleteonreset. The address will be set to 0, it manually...
CLI Guide
Page 595
... level users can issue this command. all existing static VLANs will run GVRP on the Switch, the administrator should enable GVRP manually. When QinQ is used to 0x88A8; xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 64 QinQ Command List (EI Mode Only) enable qinq disable qinq...
... level users can issue this command. all existing static VLANs will run GVRP on the Switch, the administrator should enable GVRP manually. When QinQ is used to 0x88A8; xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 64 QinQ Command List (EI Mode Only) enable qinq disable qinq...
CLI Guide
Page 596
...:admin# enable qinq Command: enable qinq Success. To run GVRP on the Switch, the administrator should enable GVRP manually. Format config qinq inner_tpid 592 DGS-3120-24TC:admin# 64-3 config qinq inner_tpid Description The command is used to decide if the ingress packet is used to configure the inner TPID of ...
...:admin# enable qinq Command: enable qinq Success. To run GVRP on the Switch, the administrator should enable GVRP manually. Format config qinq inner_tpid 592 DGS-3120-24TC:admin# 64-3 config qinq inner_tpid Description The command is used to decide if the ingress packet is used to configure the inner TPID of ...
CLI Guide
Page 764
... recover time to a forwarding state. Restrictions Only Administrator, Operator and Power-User level users can issue this command. DGS-3120-24TC:admin# 760 DGS-3120-24TC:admin# 86-5 config traffic control auto_recover_time Description This command is logged. This value must be disabled. - Format...recover from shutdown for auto recovery from shutdown forever status. This requires manual entry of the CLI command "config ports [ | all ] state enable" to return the port to 5 minutes: DGS-3120-24TC:admin# config traffic control auto_recover_time 5 Command: config traffic control...
... recover time to a forwarding state. Restrictions Only Administrator, Operator and Power-User level users can issue this command. DGS-3120-24TC:admin# 760 DGS-3120-24TC:admin# 86-5 config traffic control auto_recover_time Description This command is logged. This value must be disabled. - Format...recover from shutdown for auto recovery from shutdown forever status. This requires manual entry of the CLI command "config ports [ | all ] state enable" to return the port to 5 minutes: DGS-3120-24TC:admin# config traffic control auto_recover_time 5 Command: config traffic control...
CLI Guide
Page 787
...be between 1 and 4094. Enter the name of the voice VLAN. - Enter the voice VLAN ID here. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 92 Voice VLAN Command List enable voice_vlan [ | vlanid ] disable...config voice_vlan oui [add | delete] {description } config voice_vlan ports [ | all] [state [enable | disable] | mode [auto {[tag |untag]}|manual]] config voice_vlan aging_time config voice_vlan log state [enable | disable] show voice_vlan show voice_vlan oui show voice_vlan ports {} show voice_vlan voice_device {ports } show voice_vlan...
...be between 1 and 4094. Enter the name of the voice VLAN. - Enter the voice VLAN ID here. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 92 Voice VLAN Command List enable voice_vlan [ | vlanid ] disable...config voice_vlan oui [add | delete] {description } config voice_vlan ports [ | all] [state [enable | disable] | mode [auto {[tag |untag]}|manual]] config voice_vlan aging_time config voice_vlan log state [enable | disable] show voice_vlan show voice_vlan oui show voice_vlan ports {} show voice_vlan voice_device {ports } show voice_vlan...
CLI Guide
Page 790
...-0A-OB-00-00-00 FF-FF-FF-00-00-00 Success. state - Specify that the voice VLAN function for this configuration. DGS-3120-24TC:admin# 92-5 config voice_vlan ports Description This command is auto untagged. The voice VLAN mode. When the port is working in ... the Switch receives LLDP-MED packets, it will join the voice VLAN as an untagged member automatically. manual - Specify a range of ports used to the tag. untag - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level...
...-0A-OB-00-00-00 FF-FF-FF-00-00-00 Success. state - Specify that the voice VLAN function for this configuration. DGS-3120-24TC:admin# 92-5 config voice_vlan ports Description This command is auto untagged. The voice VLAN mode. When the port is working in ... the Switch receives LLDP-MED packets, it will join the voice VLAN as an untagged member automatically. manual - Specify a range of ports used to the tag. untag - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level...
CLI Guide
Page 839
... a packet storm Port LBD loop occurred. Detect untrusted DHCP server IP address BPDU attack happened BPDU attack automatically recover BPDU attack manually recover Temperature exceeds confidence level Temperature recovers to normal. Port blocked Port LBD port recovered. MD Level:, VLAN:, Local(Port ,... no IP information for logging. Gratuituios ARP detected duplicate IP. Packet discard begun Port VID LBD recovered. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Safeguard Engine Packet Storm Loop Back Dection Gratuituios ARP DHCP BPDU ...
... a packet storm Port LBD loop occurred. Detect untrusted DHCP server IP address BPDU attack happened BPDU attack automatically recover BPDU attack manually recover Temperature exceeds confidence level Temperature recovers to normal. Port blocked Port LBD port recovered. MD Level:, VLAN:, Local(Port ,... no IP information for logging. Gratuituios ARP detected duplicate IP. Packet discard begun Port VID LBD recovered. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Safeguard Engine Packet Storm Loop Back Dection Gratuituios ARP DHCP BPDU ...