CLI Guide
Page 2
...-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Table of Contents Chapter 1 Using the Command Line Interface 1 Chapter 2 Basic Management Commands 9 Chapter 3 802.1X Commands...31 Chapter 4 Access Authentication Control (AAC) Commands 57 Chapter 5 Access Control List (ACL) Commands 78 Chapter 6 Access Control List (ACL) Egress Command List 107 Chapter 7 ARP Commands...126 Chapter 8 ARP Spoofing Prevention Commands 131 Chapter 9 Asymmetric VLAN Commands 133 Chapter 10 Auto Configuration Commands 135 Chapter 11 Basic IP Commands...138 Chapter 12 Border Gateway...
...-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Table of Contents Chapter 1 Using the Command Line Interface 1 Chapter 2 Basic Management Commands 9 Chapter 3 802.1X Commands...31 Chapter 4 Access Authentication Control (AAC) Commands 57 Chapter 5 Access Control List (ACL) Commands 78 Chapter 6 Access Control List (ACL) Egress Command List 107 Chapter 7 ARP Commands...126 Chapter 8 ARP Spoofing Prevention Commands 131 Chapter 9 Asymmetric VLAN Commands 133 Chapter 10 Auto Configuration Commands 135 Chapter 11 Basic IP Commands...138 Chapter 12 Border Gateway...
CLI Guide
Page 3
...Port Binding (IMPB) Commands 532 Japanese Web-based Access Control (JWAC) Commands 553 Jumbo Frame Commands 577 LACP Configuration Commands 580 Layer 2 Protocol Tunneling (L2PT) Command List 582 Limited Multicast IP Address Commands 587 Link Aggregation Commands 596 LLDP Commands ...601 Loopback Detection Commands 624 Loopback Interface Commands 631 MAC Notification Commands 634 MAC-based Access Control Commands 639 MD5 Configuration Command List 655 Mirror Commands...658 MLD Proxy Commands 664 MLD Snooping Commands 669 MLD Snooping Multicast (MSM) VLAN Commands 686 Modify Login...
...Port Binding (IMPB) Commands 532 Japanese Web-based Access Control (JWAC) Commands 553 Jumbo Frame Commands 577 LACP Configuration Commands 580 Layer 2 Protocol Tunneling (L2PT) Command List 582 Limited Multicast IP Address Commands 587 Link Aggregation Commands 596 LLDP Commands ...601 Loopback Detection Commands 624 Loopback Interface Commands 631 MAC Notification Commands 634 MAC-based Access Control Commands 639 MD5 Configuration Command List 655 Mirror Commands...658 MLD Proxy Commands 664 MLD Snooping Commands 669 MLD Snooping Multicast (MSM) VLAN Commands 686 Modify Login...
CLI Guide
Page 4
...; DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 71 Packet Storm Commands 792 Chapter 72 Password Recovery Commands 797 Chapter 73 Protocol Independent Multicast (PIM) Commands 800 Chapter 74 PIM6-SM Commands 817 Chapter 75 Policy Route Commands 842 Chapter 76 Port Security Commands 846 Chapter 77 Power over Ethernet (PoE) Commands 854 Chapter 78 Power Saving Commands 859 Chapter 79 Precision Time Protocol (PTP) Commands 861 Chapter 80 Protocol VLAN Commands 879 Chapter 81 QoS Commands...885 Chapter 82 Q-in-Q Command ...902...
...; DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 71 Packet Storm Commands 792 Chapter 72 Password Recovery Commands 797 Chapter 73 Protocol Independent Multicast (PIM) Commands 800 Chapter 74 PIM6-SM Commands 817 Chapter 75 Policy Route Commands 842 Chapter 76 Port Security Commands 846 Chapter 77 Power over Ethernet (PoE) Commands 854 Chapter 78 Power Saving Commands 859 Chapter 79 Precision Time Protocol (PTP) Commands 861 Chapter 80 Protocol VLAN Commands 879 Chapter 81 QoS Commands...885 Chapter 82 Q-in-Q Command ...902...
CLI Guide
Page 6
... Gigabit Ethernet switch series are members of the commands contained in the CLI. The Command Line Interface (CLI) can be introduced in the Web UI Reference Guide. DGS-3620-28SC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.015 Copyright(C) 2012 D-Link Corporation. UserName: There is then connected to the Switch's serial port via an RJ-45 to the Harware Installation Guide. 1-1 Accessing the Switch via the Serial Port The Switch's serial port's default settings are as above is no parity 8 data bits 1 stop bit A computer running a terminal...
... Gigabit Ethernet switch series are members of the commands contained in the CLI. The Command Line Interface (CLI) can be introduced in the Web UI Reference Guide. DGS-3620-28SC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.015 Copyright(C) 2012 D-Link Corporation. UserName: There is then connected to the Switch's serial port via an RJ-45 to the Harware Installation Guide. 1-1 Accessing the Switch via the Serial Port The Switch's serial port's default settings are as above is no parity 8 data bits 1 stop bit A computer running a terminal...
CLI Guide
Page 148
Format config out_band_ipif {ipaddress | state [enable | disable] | gateway } (1) Parameters ipaddress - Specify the IP address of the interface. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters - (Optional) The name of the interface. Restrictions None. The parameter must include the mask. - The parameter must include the mask. 143 Specify the IP address of band management port settings. Example To display IP interface settings: DGS-3620-28SC:admin#show ipif Command: show ipif IP Interface VLAN Name Interface Admin State...
Format config out_band_ipif {ipaddress | state [enable | disable] | gateway } (1) Parameters ipaddress - Specify the IP address of the interface. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters - (Optional) The name of the interface. Restrictions None. The parameter must include the mask. - The parameter must include the mask. 143 Specify the IP address of band management port settings. Example To display IP interface settings: DGS-3620-28SC:admin#show ipif Command: show ipif IP Interface VLAN Name Interface Admin State...
CLI Guide
Page 161
... advertise. DGS-3620-28SC:admin# 12-12 config bgp network Description This command is used to clear a route map: 156 If not specified, all networks are advertised. - This name can be applied to 16 characters long. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example Setup network 10.108.0.0/16 to be up to the advertised networks. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters...
... advertise. DGS-3620-28SC:admin# 12-12 config bgp network Description This command is used to clear a route map: 156 If not specified, all networks are advertised. - This name can be applied to 16 characters long. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example Setup network 10.108.0.0/16 to be up to the advertised networks. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters...
CLI Guide
Page 174
... enabled, the router will send the route refresh requests to the neighbor to ask for inbound soft reconfiguration. soft_reconfiguration_inbound: If the setting is specified as a loop and the packet will be cleared. If it is enabled, the route updates sent from 64512 to 65535. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example will have a restriction that the neighbor must be directly connected to it. DGS-3620...
... enabled, the router will send the route refresh requests to the neighbor to ask for inbound soft reconfiguration. soft_reconfiguration_inbound: If the setting is specified as a loop and the packet will be cleared. If it is enabled, the route updates sent from 64512 to 65535. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example will have a restriction that the neighbor must be directly connected to it. DGS-3620...
CLI Guide
Page 214
... link is up , this command can detect whether the error is open , short, or crosstalk. For 1000Base-T link speed RJ45 cables, four pairs of cables will be diagnosed. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 14 Cable Diagnostics Commands cable_diag ports [ | all] 14-1 cable_diag ports Description This command is powered on with errors, this command can detect the cable length. 209 For 10/100Based-TX link speed RJ45 cables, two pairs of cables...
... link is up , this command can detect whether the error is open , short, or crosstalk. For 1000Base-T link speed RJ45 cables, four pairs of cables will be diagnosed. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 14 Cable Diagnostics Commands cable_diag ports [ | all] 14-1 cable_diag ports Description This command is powered on with errors, this command can detect the cable length. 209 For 10/100Based-TX link speed RJ45 cables, two pairs of cables...
CLI Guide
Page 276
... saved in NVRAM. Example To set if the switch needs to local console: DGS-3620-28SC:admin# debug output all console Command: debug output all ] [buffer | console] Parameters module - Control output method of the module output to debug buffer(default). Need reboot switch when fatal error happens.(if the project do not define the default setting, enable for debug. buffer - all modules. Enter the module list here. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug output [module | all console...
... saved in NVRAM. Example To set if the switch needs to local console: DGS-3620-28SC:admin# debug output all console Command: debug output all ] [buffer | console] Parameters module - Control output method of the module output to debug buffer(default). Need reboot switch when fatal error happens.(if the project do not define the default setting, enable for debug. buffer - all modules. Enter the module list here. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug output [module | all console...
CLI Guide
Page 341
... DHCP relay commands while the save command is performed. 22-1 config dhcp_relay Description This command is supported in the BOOTP relay command section. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 22 DHCP Relay Commands config dhcp_relay {hops | time }(1) config dhcp_relay add ipif config dhcp_relay delete ipif config dhcp_relay option_60 add string relay [exact-match | partial- Note: The system supporting DHCP relay will accept BOOTP relay commands in the config file but not allow input from the console...
... DHCP relay commands while the save command is performed. 22-1 config dhcp_relay Description This command is supported in the BOOTP relay command section. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 22 DHCP Relay Commands config dhcp_relay {hops | time }(1) config dhcp_relay add ipif config dhcp_relay delete ipif config dhcp_relay option_60 add string relay [exact-match | partial- Note: The system supporting DHCP relay will accept BOOTP relay commands in the config file but not allow input from the console...
CLI Guide
Page 467
... IP address to the router port. add - Example To configure the router port of the upstream protocol packet. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config igmp_proxy downstream_if add vlan vlanid 2-7 Success. Specify the VLAN ID between 1 and 32 characters. Specify the VLAN ID for the upstream interface. - Specify a list of membership in the IGMP protocol packet. vlanid - Specify the time between repetitions of the host's initial report of ports that are connected to multicast-enabled routers. If...
... IP address to the router port. add - Example To configure the router port of the upstream protocol packet. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config igmp_proxy downstream_if add vlan vlanid 2-7 Success. Specify the VLAN ID between 1 and 32 characters. Specify the VLAN ID for the upstream interface. - Specify a list of membership in the IGMP protocol packet. vlanid - Specify the time between repetitions of the host's initial report of ports that are connected to multicast-enabled routers. If...
CLI Guide
Page 474
.... Example To set up port range 1 to 7 to be configured. DGS-3620-28SC:admin# 39-5 enable igmp_snooping Description This command allows you to be forbidden router ports of ports to enable IGMP snooping on the switch: DGS-3620-28SC:admin#enable igmp_snooping Command: enable igmp_snooping Success. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide add - Specify to delete the router ports. - Specify a range of the default VLAN: DGS-3620-28SC:admin#config router_ports_forbidden default add 1-7 Command: config router_ports_forbidden default add...
.... Example To set up port range 1 to 7 to be configured. DGS-3620-28SC:admin# 39-5 enable igmp_snooping Description This command allows you to be forbidden router ports of ports to enable IGMP snooping on the switch: DGS-3620-28SC:admin#enable igmp_snooping Command: enable igmp_snooping Success. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide add - Specify to delete the router ports. - Specify a range of the default VLAN: DGS-3620-28SC:admin#config router_ports_forbidden default add 1-7 Command: config router_ports_forbidden default add...
CLI Guide
Page 512
... long. 507 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 43 IP Routing Commands create iproute [default | ] [null0 | {} {[primary | backup | weight ]} | ip_tunnel ] delete iproute [default | ] [null0 | | ip_tunnel ] show iproute {[ | ]} {[static | rip | ospf | bgp | hardware]} create ipv6route [default | ] [[ | ] {} {[primary | backup]} | ip_tunnel ] delete ipv6route [[default | ] [ | | ip_tunnel ] | all] show ipv6route {[ | ]} {[static | ripng | ospfv3 | hardware]} enable ecmp ospf disable ecmp ospf config ecmp algorithm {ip_destination...
... long. 507 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 43 IP Routing Commands create iproute [default | ] [null0 | {} {[primary | backup | weight ]} | ip_tunnel ] delete iproute [default | ] [null0 | | ip_tunnel ] show iproute {[ | ]} {[static | rip | ospf | bgp | hardware]} create ipv6route [default | ] [[ | ] {} {[primary | backup]} | ip_tunnel ] delete ipv6route [[default | ] [ | | ip_tunnel ] | all] show ipv6route {[ | ]} {[static | ripng | ospfv3 | hardware]} enable ecmp ospf disable ecmp ospf config ecmp algorithm {ip_destination...
CLI Guide
Page 671
... 4094. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. It will be used to multicast-enabled routers. Format config mld_proxy upstream_if {vlan [ | vlanid ] | router_ports [add | delete] | source_ip | unsolicited_report_interval }(1) Parameters vlan - vlanid - add - If set to be encoded in a group. Specify the VLAN for the upstream interface. - Specify the IPv6 address. DGS-3620-28SC:admin# 60-4 config mld_proxy upstream_if Description This command is sent. - Specify the source IPv6 address of ports to 0, only one...
... 4094. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. It will be used to multicast-enabled routers. Format config mld_proxy upstream_if {vlan [ | vlanid ] | router_ports [add | delete] | source_ip | unsolicited_report_interval }(1) Parameters vlan - vlanid - add - If set to be encoded in a group. Specify the VLAN for the upstream interface. - Specify the IPv6 address. DGS-3620-28SC:admin# 60-4 config mld_proxy upstream_if Description This command is sent. - Specify the source IPv6 address of ports to 0, only one...
CLI Guide
Page 675
... MLD snooping: DGS-3620-28SC:admin#config mld_snooping vlan_name default state enable Command: config mld_snooping vlan_name default state enable Success. Specify the VLAN ID list. - no_limit - Specify to configure the upper limit per second. Enable MLD snooping for ingress MLD control packets. Specifies that the proxy reporting function will be enabled. Enter the source IPv6 address used . - Disable the MLD snooping fast leave function. proxy_reporting - Restrictions Only Administrator, Operator and Power-User level users can process on a specific port/VLAN...
... MLD snooping: DGS-3620-28SC:admin#config mld_snooping vlan_name default state enable Command: config mld_snooping vlan_name default state enable Success. Specify the VLAN ID list. - no_limit - Specify to configure the upper limit per second. Enable MLD snooping for ingress MLD control packets. Specifies that the proxy reporting function will be enabled. Enter the source IPv6 address used . - Disable the MLD snooping fast leave function. proxy_reporting - Restrictions Only Administrator, Operator and Power-User level users can process on a specific port/VLAN...
CLI Guide
Page 980
... restricted_tcn [true | false] | fbpdu [enable | disable ]} (1) Parameters - Specify a true edge connection. false - Specify to use 802.1d STP address, 802.1ad service provider STP address. Example To configure STP: DGS-3620-28SC:admin# config stp maxage 25 Command: config stp maxage 25 Success. auto - hellotime - This is connected to send MSTP BPDU for STP in MSTP. Operation of ports. edge - xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable - nni_bpdu_addr - It can issue this port is a per-Bridge parameter in RSTP...
... restricted_tcn [true | false] | fbpdu [enable | disable ]} (1) Parameters - Specify a true edge connection. false - Specify to use 802.1d STP address, 802.1ad service provider STP address. Example To configure STP: DGS-3620-28SC:admin# config stp maxage 25 Command: config stp maxage 25 Success. auto - hellotime - This is connected to send MSTP BPDU for STP in MSTP. Operation of ports. edge - xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable - nni_bpdu_addr - It can issue this port is a per-Bridge parameter in RSTP...
CLI Guide
Page 981
... BPDU is to propagate a topology change . Enable port to MSTI 64. disable - Specify half-duplex mode. auto - disable - Decide if this command. fbpdu - Restrictions Only Administrator, Operator and Power-User level users can be selected as Root Port. Example To configure STP ports: DGS-3620-28SC:admin# config stp ports 1 externalCost auto Command: config stp ports 1 externalCost auto Success. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide auto - p2p - Decide if this port is received. restricted_tcn - Specify not...
... BPDU is to propagate a topology change . Enable port to MSTI 64. disable - Specify half-duplex mode. auto - disable - Decide if this command. fbpdu - Restrictions Only Administrator, Operator and Power-User level users can be selected as Root Port. Example To configure STP ports: DGS-3620-28SC:admin# config stp ports 1 externalCost auto Command: config stp ports 1 externalCost auto Success. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide auto - p2p - Decide if this port is received. restricted_tcn - Specify not...
CLI Guide
Page 1050
xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 103-11 show config Description This command is used as the input of the device. The expression can issue this command. A filter string is case sensitive. - exclude: Excludes lines that contain the specified filter string. Specifies the boot up to three filter strings (ex: "stp"). file - Specify an absolute path name on the device file system. begin...
xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 103-11 show config Description This command is used as the input of the device. The expression can issue this command. A filter string is case sensitive. - exclude: Excludes lines that contain the specified filter string. Specifies the boot up to three filter strings (ex: "stp"). file - Specify an absolute path name on the device file system. begin...
CLI Guide
Page 1096
... and Power-User level users can issue this VLAN trunking port should participate in the MSTP instances corresponding to these VLANs is used to configure a port as a VLAN trunking port, they are specified as a VLAN trunking port. Example To disable VLAN trunking: DGS-3620-28SC:admin#disable vlan_trunk Command: disable vlan_trunk Success. To change the VLAN trunking setting for an aggregated link, the user must apply the command to form an aggregated link. A VLAN trunking port and a non-VLAN trunking port cannot be advertised by GVRP on these VLANs. Specify the ports as...
... and Power-User level users can issue this VLAN trunking port should participate in the MSTP instances corresponding to these VLANs is used to configure a port as a VLAN trunking port, they are specified as a VLAN trunking port. Example To disable VLAN trunking: DGS-3620-28SC:admin#disable vlan_trunk Command: disable vlan_trunk Success. To change the VLAN trunking setting for an aggregated link, the user must apply the command to form an aggregated link. A VLAN trunking port and a non-VLAN trunking port cannot be advertised by GVRP on these VLANs. Specify the ports as...
CLI Guide
Page 1113
... to access networks is a direct connection to the console port of the switch. Power on the switch will be lit. The following commands can help network administrators reach this feature is only applicable when there is necessary and important. Therefore this goal. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Appendix A Password Recovery Procedure This chapter describes the procedure for resetting passwords on D-Link devices to easily recover passwords. Sometimes, passwords...
... to access networks is a direct connection to the console port of the switch. Power on the switch will be lit. The following commands can help network administrators reach this feature is only applicable when there is necessary and important. Therefore this goal. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Appendix A Password Recovery Procedure This chapter describes the procedure for resetting passwords on D-Link devices to easily recover passwords. Sometimes, passwords...