hit counter script
D-Link DES-3010FA Cli Manual

D-Link DES-3010FA Cli Manual

Layer 2 switch, 8 port 10/100 802.3af poe managed switch plus (1)gigabit copper and (1)sfp interface
Hide thumbs Also See for DES-3010FA:
Table of Contents

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DES-3010FA

  • Page 2: Table Of Contents

    Table of Contents Section 1. Using the CLI... 10 CLI Command Modes... 10 1.1.1 Introduction... 10 1.1.2 User EXEC Mode ... 11 1.1.3 Privileged EXEC Mode ... 11 1.1.4 Global Configuration Mode... 12 1.1.5 Interface Configuration and Specific Configuration Modes ... 12 Starting the CLI...
  • Page 3 Table of Contents show ports security ... 45 Section 4. Clock... 47 clock set ... 47 clock source ... 48 clock timezone ... 49 clock summer-time... 50 sntp authentication-key ... 52 sntp authenticate... 53 sntp trusted-key ... 54 sntp client poll timer ... 55 sntp broadcast client enable ...
  • Page 4 D-Link DES-3010FA/GA/PA CLI Reference Guide show interfaces configuration ... 86 show interfaces status ... 87 show interfaces description... 89 show interfaces counters ... 91 port storm-control include-multicast ... 94 port storm-control broadcast enable ... 95 port storm-control broadcast rate... 96 show ports storm-control...
  • Page 5 Table of Contents clear host ... 126 clear host dhcp... 127 show hosts ... 128 Section 10. LACP Commands... 129 lacp system-priority ... 129 lacp port-priority ... 130 lacp timeout... 131 show lacp ethernet... 132 show lacp port-channel ... 134 Section 11.
  • Page 6 D-Link DES-3010FA/GA/PA CLI Reference Guide Section 15. Port Monitor Commands... 158 port monitor... 158 port monitor vlan-tagging ... 159 show ports monitor... 160 Section 16. System Management... 161 ping ... 161 traceroute... 163 reload ... 165 hostname ... 166 show users... 167 show system ...
  • Page 7 Table of Contents power inline usage-threshold ... 195 power inline traps enable ... 196 show power inline ... 197 Section 20. RMON Commands ... 199 show rmon statistics... 199 rmon collection history ... 201 show rmon collection history ... 202 show rmon history...
  • Page 8 D-Link DES-3010FA/GA/PA CLI Reference Guide spanning-tree max-age ... 243 spanning-tree priority ... 244 spanning-tree disable... 245 spanning-tree cost ... 246 spanning-tree port-priority... 247 spanning-tree portfast ... 248 spanning-tree link-type... 249 spanning-tree pathcost method ... 250 spanning-tree bpdu ... 251 clear spanning-tree detected-protocols... 252 spanning-tree guard root...
  • Page 9 Table of Contents disable... 284 login ... 285 configure ... 286 exit (Configuration)... 287 exit ... 288 end ... 289 help ... 290 terminal data-dump ... 291 show history ... 292 show privilege ... 293 Section 25. VLAN Commands... 294 vlan database...
  • Page 10 D-Link DES-3010FA/GA/PA CLI Reference Guide crypto certificate generate... 323 crypto certificate import... 324 show crypto certificate mycertificate ... 326 ip http port ... 327 ip https port ... 328 show ip http... 329 Section 27. 802.1x Commands ... 330 aaa authentication dot1x... 330 dot1x system-auth-control...
  • Page 11: Section 1. Using The Cli

    Section 1. Using the CLI This chapter describes how to start using the CLI and describes implemented command editing features to assist in using the CLI. CLI Command Modes 1.1.1 Introduction To assist in configuring the device, the Command Line Interface (CLI) is divided into different command modes. Each command mode has its own set of specific commands.
  • Page 12: User Exec Mode

    The Global Configuration mode manages the device configuration on a global level. The Interface Configuration mode configures specific interfaces in the device. 1.1.2 User EXEC Mode After logging into the device, the user is automatically in User EXEC command mode unless the user is defined as a privileged user.
  • Page 13: Global Configuration Mode

    1.1.4 Global Configuration Mode Global Configuration mode commands apply to features that affect the system as a whole, rather than just a spe- cific interface. The configure Privileged EXEC mode command is used to enter the Global Configuration mode. To enter the Global Configuration mode perform the following steps: At the Privileged EXEC mode prompt enter the configure command and press <Enter>.
  • Page 14: Starting The Cli

    • MAC Access-List — Configures conditions required to allow traffic based on MAC addresses. The mac access-list Global Configuration mode command is used to enter the MAC access-list configuration mode.. Starting the CLI The device can be managed over a direct connection to the device console port or via a Telnet connection. The device is managed by entering command keywords and parameters at the prompt.
  • Page 15: Editing Features

    Editing Features 1.3.1 Entering Commands A CLI command is a series of keywords and arguments. Keywords identify a command, and arguments specify configuration parameters. For example, in the command show interfaces status ethernet 8, show, interfaces and status are keywords, ethernet is an argument that specifies the interface type, and 8 specifies the port. To enter commands that require parameters, enter the required parameters after the command keyword.
  • Page 16: Negating The Effect Of Commands

    1.3.1.2 Negating the Effect of Commands For many configuration commands, the prefix keyword no can be entered to cancel the effect of a command or reset the configuration to the default value. This guide describes the negation effect for all applicable commands. 1.3.1.3 Command Completion If the command entered is incomplete, invalid or has missing or invalid parameters, then the appropriate error...
  • Page 17: Screen Display

    Indicates system messages and prompts appearing on the console. Screen Display When a parameter is required to define a range of ports or parameters and all is an option, the default for the command is all when no parameters are defined. For exam- ple, the command interface range port-channel has the option of either entering a range of channels, or selecting all.
  • Page 18: Section 2. Aaa Commands

    Section 2. AAA Commands aaa authentication login The aaa authentication login Global Configuration mode command defines login authentication. To return to the default configuration, use the no form of this command. Syntax aaa authentication login {default | list-name} method1 [method2...] no aaa authentication login {default | list-name} Parameters •...
  • Page 19: Aaa Commands

    AAA Commands User Guidelines The default and optional list names created with the aaa authentication login command are used with the login authentication command. Create a list by entering the aaa authentication login list-name method command for a particular protocol, where list-name is any character string used to name this list.
  • Page 20: Aaa Authentication Enable

    aaa authentication enable The aaa authentication enable Global Configuration mode command defines authentication method lists for accessing higher privilege levels. To return to the default configuration, use the no form of this command. Syntax aaa authentication enable {default | list-name} method1 [method2...] no aaa authentication enable {default | list-name} Parameters •...
  • Page 21 AAA Commands Example The following example sets the enable password for authentication when accessing higher privilege levels. Console(config)# aaa authentication enable default enable Page 20...
  • Page 22: Login Authentication

    login authentication The login authentication Line Configuration mode command specifies the login authentication method list for a remote telnet or console. To return to the default configuration specified by the aaa authentication login com- mand, use the no form of this command. Syntax login authentication {default | list-name} no login authentication...
  • Page 23: Enable Authentication

    enable authentication The enable authentication Line Configuration mode command specifies the authentication method list when accessing a higher privilege level from a remote telnet or console. To return to the default configuration specified by the aaa authentication enable command, use the no form of this command. Syntax enable authentication {default | list-name} no enable authentication...
  • Page 24: Ip Http Authentication

    ip http authentication The ip http authentication Global Configuration mode command specifies authentication methods for HTTP server users. To return to the default configuration, use the no form of this command. Syntax ip http authentication method1 [method2...] no ip http authentication Parameters •...
  • Page 25: Ip Https Authentication

    ip https authentication The ip https authentication Global Configuration mode command specifies authentication methods for HTTPS server users. To return to the default configuration, use the no form of this command. Syntax ip https authentication method1 [method2...] no ip https authentication Parameters •...
  • Page 26: Show Authentication Methods

    show authentication methods The show authentication methods Privileged EXEC mode command displays information about the authentica- tion methods. Syntax show authentication methods Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays the authentication configuration.
  • Page 27: Password

    password The password Line Configuration mode command specifies a password on a line. To remove the password, use the no form of this command. Syntax password password [encrypted] no password Parameters • password — Password for this level (Range: 1-159 characters). •...
  • Page 28: Enable Password

    enable password The enable password Global Configuration mode command sets a local password to control access to user and privilege levels. To remove the password requirement, use the no form of this command. Syntax enable password [level level] password [encrypted] no enable password [level level] Parameters •...
  • Page 29: Username

    username The username Global Configuration mode command creates a user account in the local database. To remove a user name, use the no form of this command. Syntax username name [password password] [level level] [encrypted] no username name Parameters • name —...
  • Page 30: Section 3. Address Table Commands

    Section 3. Address Table Commands bridge address The bridge address Interface Configuration (VLAN) mode command adds a MAC-layer station source address to the bridge table. To delete the MAC address, use the no form of this command. Syntax bridge address mac-address {ethernet interface | port-channel port-channel-number} [permanent | delete-on- reset | delete-on-timeout | secure] no bridge address [mac-address] Parameters...
  • Page 31: Bridge Multicast Filtering

    User Guidelines If multicast routers exist on the VLAN, do not change the unregistered multicast addresses state to drop on the switch ports. If multicast routers exist on the VLAN and IGMP-snooping is not enabled, the bridge multicast forward-all com- mand should be used to enable forwarding all multicast packets to the multicast switches.
  • Page 32: Bridge Multicast Address

    bridge multicast address The bridge multicast address Interface Configuration (VLAN) mode command registers a MAC-layer multicast address in the bridge table and statically adds ports to the group. To unregister the MAC address, use the no form of this command. Syntax bridge multicast address {mac-multicast-address | ip-multicast-address} bridge multicast address {mac-multicast-address | ip-multicast-address} [add | remove] {ethernet interface-list...
  • Page 33: Bridge Multicast Forbidden Address

    bridge multicast forbidden address The bridge multicast forbidden address Interface Configuration (VLAN) mode command forbids adding a spe- cific multicast address to specific ports. Use the no form of this command to return to the default configuration. Syntax bridge multicast forbidden address {mac-multicast-address | ip-multicast-address} {add | remove} {ethernet interface-list | port-channel port-channel-number-list} no bridge multicast forbidden address {mac-multicast-address | ip-multicast-address} Parameters...
  • Page 34: Bridge Multicast Forward-All

    bridge multicast forward-all The bridge multicast forward-all Interface Configuration (VLAN) mode command enables forwarding all multi- cast packets on a port. To restore the default configuration, use the no form of this command. Syntax bridge multicast forward-all {add | remove} {ethernet interface-list | port-channel port-channel-number-list} no bridge multicast forward-all Parameters •...
  • Page 35: Bridge Multicast Forbidden Forward-All

    bridge multicast forbidden forward-all The bridge multicast forbidden forward-all Interface Configuration (VLAN) mode command forbids a port to be a forward-all-multicast port. To restore the default configuration, use the no form of this command. Syntax bridge multicast forbidden forward-all {add | remove} {ethernet interface-list | port-channel port-channel- number-list} no bridge multicast forbidden forward-all Parameters...
  • Page 36: Bridge Aging-Time

    D-Link DES-3010FA/GA/PA CLI Reference Guide bridge aging-time The bridge aging-time Global Configuration mode command sets the address table aging time. To restore the default configuration, use the no form of this command. Syntax bridge aging-time seconds no bridge aging-time Parameters •...
  • Page 37: Clear Bridge

    Address Table Commands clear bridge The clear bridge Privileged EXEC mode command removes any learned entries from the forwarding database. Syntax clear bridge Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example In this example, the bridge tables are cleared.
  • Page 38: Port Security

    port security The port security Interface Configuration mode command locks the port, thereby, blocking unknown traffic and preventing the port from learning new addresses. To return to the default configuration, use the no form of this command. Syntax port security [forward | discard | discard-shutdown] [trap seconds] no port security Parameters •...
  • Page 39: Port Security Routed Secure-Address

    port security routed secure-address The port security routed secure-address Interface Configuration (Ethernet, port-channel) mode command adds a MAC-layer secure address to a routed port. Use the no form of this command to delete a MAC address. Syntax port security routed secure-address mac-address no port security routed secure-address mac-address Parameters •...
  • Page 40: Show Bridge Address-Table

    show bridge address-table Use the show bridge address-table Privileged EXEC command to view entries in the bridge-forwarding data- base. Syntax show bridge address-table [vlan vlan] [ethernet interface | port-channel port-channel-number]] [address mac- address] Parameters • vlan — Specific VLAN, such as VLAN 1. •...
  • Page 41: Show Bridge Address-Table Static

    show bridge address-table static The show bridge address-table static Privileged EXEC mode command displays statically created entries in the bridge-forwarding database. Syntax show bridge address-table static [vlan vlan] [ethernet interface | port-channel port-channel-number] Parameters • vlan — Specifies a valid VLAN, such as VLAN 1. •...
  • Page 42: Show Bridge Address-Table Count

    show bridge address-table count The show bridge address-table count Privileged EXEC mode command displays the number of addresses present in the Forwarding Database. Syntax show bridge address-table count [vlan vlan][ethernet interface-number | port-channel port-channel-number] Parameters • vlan — Specifies a valid VLAN, such as VLAN 1. •...
  • Page 43: Show Bridge Multicast Address-Table

    show bridge multicast address-table The show bridge multicast address-table User EXEC mode command displays multicast MAC address or IP address table information. Syntax show bridge multicast address-table [vlan vlan-id] [address mac-multicast-address | ip-multicast-address] [format ip | format mac] Parameters • vlan-id —...
  • Page 44 Console# show bridge multicast address-table format ip Vlan IP/MAC Address ---- ----------------- 224-239.130|2.2.3 224-239.130|2.2.8 224-239.130|2.2.8 Forbidden ports for multicast addresses: Vlan IP/MAC Address ---- ----------------- 224-239.130|2.2.3 224-239.130|2.2.8 Note A multicast MAC address maps to multiple IP addresses as shown above. Type Ports ------...
  • Page 45: Show Bridge Multicast Filtering

    show bridge multicast filtering The show bridge multicast filtering User EXEC mode command displays the multicast filtering configuration. Syntax show bridge multicast filtering vlan-id Parameters • vlan-id — VLAN ID value. Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 46: Show Ports Security

    show ports security The show ports security Privileged EXEC mode command displays the port-lock status. Syntax show ports security [ethernet interface | port-channel port-channel-number] Parameters • interface — A valid Ethernet port. • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration.
  • Page 47 Disabled Disabled The following tables describes the fields shown above. Field Port Status Action Trap Frequency Desc ription Port number Locked/Unlocked Action on violation Indicates if traps are sent in case of a violation Minimum time between consecutive traps Page 46...
  • Page 48: Section 4. Clock

    Section 4. Clock clock set The clock set Privileged EXEC mode command manually sets the system clock. Syntax clock set hh:mm:ss day month year clock set hh:mm:ss month day year Parameters • hh:mm:ss — Current time in hours (military format), minutes, and seconds (hh: 0 - 23, mm: 0 - 59, ss: 0 - 59). •...
  • Page 49: Clock Source

    Clock clock source The clock source Global Configuration mode command configures an external time source for the system clock. Use no form of this command to disable external time source. Syntax clock source {sntp} no clock source Parameters • sntp — SNTP servers Default Configuration No external clock source Command Mode...
  • Page 50: Clock Timezone

    clock timezone The clock timezone Global Configuration mode command sets the time zone for display purposes. To set the time to the Coordinated Universal Time (UTC), use the no form of this command. Syntax clock timezone hours-offset minutes minutes-offset zone acronym no clock timezone Parameters •...
  • Page 51: Clock Summer-Time

    The clock summer-time Global Configuration mode command configures the system to automatically switch to summer time (daylight saving time). To configure the software not to automatically switch to summer time, use the no form of this command. Syntax...
  • Page 52 User Guidelines In both the date and recurring forms of the command, the first part of the command specifies when summer time begins, and the second part specifies when it ends. All times are relative to the local time zone. The start time is relative to standard time.
  • Page 53: Sntp Authentication-Key

    sntp authentication-key The sntp authentication-key Global Configuration mode command defines an authentication key for Simple Net- work Time Protocol (SNTP). To remove the authentication key for SNTP, use the no form of this command. Syntax sntp authentication-key number md5 value no sntp authentication-key number Parameters •...
  • Page 54: Sntp Authenticate

    sntp authenticate The sntp authenticate Global Configuration mode command grants authentication for received Simple Network Time Protocol (SNTP) traffic from servers. To disable the feature, use the no form of this command. Syntax sntp authenticate no sntp authenticate Default Configuration No authentication Command Mode Global Configuration mode...
  • Page 55: Sntp Trusted-Key

    sntp trusted-key The sntp trusted-key Global Configuration mode command authenticates the identity of a system to which Sim- ple Network Time Protocol (SNTP) will synchronize. To disable authentication of the identity of the system, use the no form of this command. Syntax sntp trusted-key key-number no sntp trusted-key key-number...
  • Page 56: Sntp Client Poll Timer

    D-Link DES-3010FA/GA/PA CLI Reference Guide sntp client poll timer The sntp client poll timer Global Configuration mode command sets the polling time for the Simple Network Time Protocol (SNTP) client. To return to default configuration, use the no form of this command.
  • Page 57: Sntp Broadcast Client Enable

    Clock sntp broadcast client enable The sntp broadcast client enable Global Configuration mode command enables Simple Network Time Protocol (SNTP) broadcast clients. To disable SNTP broadcast clients, use the no form of this command. Syntax sntp broadcast client enable no sntp broadcast client enable Default Configuration The SNTP broadcast client is disabled.
  • Page 58: Sntp Anycast Client Enable

    D-Link DES-3010FA/GA/PA CLI Reference Guide sntp anycast client enable The sntp anycast client enable Global Configuration mode command enables SNTP anycast client. To disable the SNTP anycast client, use the no form of this command. Syntax sntp anycast client enable...
  • Page 59: Sntp Client Enable (Interface)

    sntp client enable (Interface) The sntp client enable Interface Configuration (Ethernet, port-channel, VLAN) mode command enables the Sim- ple Network Time Protocol (SNTP) client on an interface. This applies to both receive broadcast and anycast updates. To disable the SNTP client, use the no form of this command. Syntax sntp client enable no sntp client enable...
  • Page 60: Sntp Unicast Client Enable

    D-Link DES-3010FA/GA/PA CLI Reference Guide sntp unicast client enable The sntp unicast client enable Global Configuration mode command enables the device to use the Simple Net- work Time Protocol (SNTP) to request and accept SNTP traffic from servers. To disable requesting and accepting SNTP traffic from servers, use the no form of this command.
  • Page 61: Sntp Unicast Client Poll

    Clock sntp unicast client poll The sntp unicast client poll Global Configuration mode command enables polling for the Simple Network Time Protocol (SNTP) predefined unicast servers. To disable the polling for SNTP client, use the no form of this com- mand.
  • Page 62: Sntp Server

    sntp server The sntp server Global Configuration mode command configures the device to use the Simple Network Time Protocol (SNTP) to request and accept SNTP traffic from a specified server. To remove a server from the list of SNTP servers, use the no form of this command. Syntax sntp server {ip-address | hostname}[poll] [key keyid] no sntp server host...
  • Page 63: Show Clock

    show clock The show clock User EXEC mode command displays the time and date from the system clock. Syntax show clock [detail] Parameters • detail — Shows timezone and summertime configuration. Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines The symbol that precedes the show clock display indicates the following:...
  • Page 64: Show Sntp Configuration

    show sntp configuration The show sntp configuration Privileged EXEC mode command shows the configuration of the Simple Network Time Protocol (SNTP). Syntax show sntp configuration Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 65: Show Sntp Status

    show sntp status The show sntp status Privileged EXEC mode command shows the status of the Simple Network Time Protocol (SNTP). Syntax show sntp status Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 66: Section 5. Configuration And Image Files

    Section 5. Configuration and Image Files copy The copy Privileged EXEC mode command copies files from a source to a destination. Syntax copy source-url destination-url Parameters • source-url — The source file location URL or reserved keyword of the source file to be copied. (Range: 1-160 characters) •...
  • Page 67 Some invalid combinations of source and destination exist. Specifically, you cannot copy if one of the following conditions exist: The source file and destination file are the same file. xmodem: is the destination file. The source file can be copied to image, boot and null: only. tftp:// is the source file and destination file on the same copy.
  • Page 68 Example The following example copies system image file1 from the TFTP server 172.16.101.101 to a non-active image file. Console# copy tftp://172.16.101.101/file1 image Accessing file 'file1' on 172.16.101.101... Loading file1 from 172.16.101.101: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK] Copy took 0:01:11 [hh:mm:ss] Page 67...
  • Page 69: Delete

    delete The delete Privileged EXEC mode command deletes a file from a flash memory device. Syntax delete url Parameters • url — A reserved keyword of the file to be deleted. (Range: 1-160 characters) The following table displays the reserved keyword: K ey wo r d Sou r c e o r D es t in at io n startup-config...
  • Page 70: Delete Startup-Config

    D-Link DES-3010FA/GA/PA CLI Reference Guide delete startup-config The delete startup-config Privileged EXEC mode command deletes the startup-config file. Syntax delete startup-config Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 71: Show Running-Config

    show running-config The show running-config Privileged EXEC mode command displays the contents of the currently running config- uration file. Syntax show running-config Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Examples The following example displays the contents of the running configuration file.
  • Page 72: Show Startup-Config

    show startup-config The show startup-config Privileged EXEC mode command displays the contents of the startup configuration file. Syntax show startup-config Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Examples The following example displays the contents of the running configuration file.
  • Page 73: Section 6. Ethernet Configuration Commands

    Ethernet Configuration Commands Section 6. Ethernet Configuration Commands interface ethernet The interface ethernet Global Configuration mode command enters the interface configuration mode to configure an Ethernet type interface. Syntax interface ethernet interface Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 74: Interface Range Ethernet

    interface range ethernet The interface range ethernet Global Configuration mode command configures multiple Ethernet type interfaces at the same time. Syntax interface range ethernet {port-range | all} Parameters • port-list — List of valid ports. Where more than one port is listed, separate nonconsecutive ports with a comma and no spaces, use a hyphen to designate a range of ports and group a list separated by commas in brackets.
  • Page 75: Shutdown

    shutdown The shutdown Interface Configuration (Ethernet, port-channel) mode command disables an interface. To restart a disabled interface, use the no form of this command. Syntax shutdown no shutdown Default Configuration The interface is enabled. Command Mode Interface Configuration (Ethernet, port-channel) mode User Guidelines There are no user guidelines for this command.
  • Page 76: Description

    description The description Interface Configuration (Ethernet, port-channel) mode command adds a description to an inter- face. To remove the description, use the no form of this command. Syntax description string no description Parameters • string — Comment or a description of the port to enable the user to remember what is attached to the port. (Range: 1-64 characters) Default Configuration The interface does not have a description.
  • Page 77: Speed

    speed The speed Interface Configuration (Ethernet, port-channel) mode command configures the speed of a given Ethernet interface when not using auto-negotiation. To restore the default configuration, use the no form of this command. Syntax speed {10 | 100 | 1000 |} no speed Parameters •...
  • Page 78: Duplex

    duplex The duplex Interface Configuration (Ethernet) mode command configures the full/half duplex operation of a given Ethernet interface when not using auto-negotiation. To restore the default configuration, use the no form of this command. Syntax duplex {half | full} no duplex Parameters •...
  • Page 79: Negotiation

    negotiation The negotiation Interface Configuration (Ethernet, port-channel) mode command enables auto-negotiation oper- ation for the speed and duplex parameters of a given interface. To disable auto-negotiation, use the no form of this command. Syntax negotiation [capability1 [capability2…capability5]] no negotiation Parameters •...
  • Page 80: Flowcontrol

    flowcontrol The flowcontrol Interface Configuration (Ethernet, port-channel) mode command configures flow control on a given interface. To disable flow control, use the no form of this command. Syntax flowcontrol {auto | on | off} no flowcontrol Parameters • auto — Indicates auto-negotiation •...
  • Page 81: Mdix

    mdix The mdix Interface Configuration (Ethernet) mode command enables cable crossover on a given interface. To dis- able cable crossover, use the no form of this command. Syntax mdix {on | auto} no mdix Parameters • on — Manual mdix •...
  • Page 82: Back-Pressure

    back-pressure The back-pressure Interface Configuration (Ethernet, port-channel) mode command enables back pressure on a given interface. To disable back pressure, use the no form of this command. Syntax back-pressure no back-pressure Default Configuration Back pressure is disabled. Command Mode Interface Configuration (Ethernet, port-channel) mode User Guidelines There are no user guidelines for this command.
  • Page 83: Clear Counters

    clear counters The clear counters User or Privileged EXEC mode command clears statistics on an interface. Syntax clear counters [ethernet interface | port-channel port-channel-number] Parameters • interface — Valid Ethernet port. (Full syntax: port) • port-channel-number — Valid port-channel number. Default Configuration This command has no default configuration.
  • Page 84: Set Interface Active

    D-Link DES-3010FA/GA/PA CLI Reference Guide set interface active The set interface active Privileged EXEC mode command reactivates an interface that was shutdown. Syntax set interface active {ethernet interface port-channel-number} Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 85: Show Interfaces Advertise

    show interfaces advertise The show interfaces advertise User or Privileged EXEC mode command displays auto-negotiation data. Syntax show interfaces advertise [ethernet interface | port-channel port-channel-number] Parameters • interface — Valid Ethernet port. (Full syntax: port) • port-channel-number — Valid port-channel number. Default Configuration This command has no default configuration.
  • Page 86 Enabled Enabled Enabled Enabled Page 85...
  • Page 87: Show Interfaces Configuration

    show interfaces configuration The show interfaces configuration User or Privileged EXEC mode command displays the configuration for all configured interfaces. Syntax show interfaces configuration [ethernet interface | port-channel port-channel-number] Parameters • interface — Valid Ethernet port. (Full syntax: port) • port-channel-number —...
  • Page 88: Show Interfaces Status

    show interfaces status The show interfaces status User or Privileged EXEC mode command displays the status of all configured inter- faces. Syntax show interfaces status [ethernet interface| port-channel port-channel-number] Parameters • interface — A valid Ethernet port. (Full syntax: port) •...
  • Page 89 Not Present Not Present Not Present Not Present Not Present Not Present Page 88...
  • Page 90: Show Interfaces Description

    show interfaces description The show interfaces description User or Privileged EXEC mode command displays the description for all con- figured interfaces. Syntax show interfaces description [ethernet interface | port-channel port-channel-number] Parameters • interface — Valid Ethernet port. (Full syntax: port) •...
  • Page 91 Ethernet Configuration Commands Page 90...
  • Page 92: Show Interfaces Counters

    show interfaces counters The show interfaces counters User or Previlaged EXEC mode command displays traffic seen by the physical interface. Syntax show interfaces counters [ethernet interface | port-channel port-channel-number] Parameters • interface — A valid Ethernet port. (Full syntax: port) •...
  • Page 93 Port OutOctets --------- 62887 24200 InOctets ------- -------- InOctets ------- -------- The following example displays counters for Ethernet port 1. Console# show interfaces counters ethernet 1 Port InOctets ------ ----------- 183892 OutUcastPkts OutMcastPkts ------------ ------------ InUcastPkts InMcastPkts ----------- ----------- InUcastPkts InMcastPkts ----------- -----------...
  • Page 94 Port OutOctets ------ ----------- 9188 FCS Errors: 0 Single Collision Frames: 0 Late Collisions: 0 Oversize Packets: 0 Internal MAC Rx Errors: 0 Received Pause Frames: 0 Transmitted Pause Frames: 0 The following table describes the fields shown in the display: Field Des cription InOctets...
  • Page 95: Port Storm-Control Include-Multicast

    port storm-control include-multicast The port storm-control include-multicast Interface Configuration (Ethernet) mode command counts multicast packets in broadcast storm control. To disable counting multicast packets, use the no form of this command. Syntax port storm-control include-multicast [unknown-unicast] no port storm-control include-multicast Parameters •...
  • Page 96: Port Storm-Control Broadcast Enable

    port storm-control broadcast enable The port storm-control broadcast enable Interface Configuration (Ethernet) mode command enables broadcast storm control. To disable broadcast storm control, use the no form of this command. Syntax port storm-control broadcast enable no port storm-control broadcast enable Default Configuration Broadcast storm control is disabled.
  • Page 97: Port Storm-Control Broadcast Rate

    port storm-control broadcast rate The port storm-control broadcast rate Interface Configuration (Ethernet) mode command configures the maxi- mum broadcast rate. To return to the default configuration, use the no form of this command. Syntax port storm-control broadcast rate rate no port storm-control broadcast rate Parameters •...
  • Page 98: Show Ports Storm-Control

    show ports storm-control The show ports storm-control User or Privileged EXEC mode command displays the storm control configura- tion. Syntax show ports storm-control [interface] Parameters • interface — A valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration. Command Modes User or Privileged EXEC mode User Guidelines...
  • Page 99: Section 7. Gvrp Commands

    GVRP Commands Section 7. GVRP Commands gvrp enable (Global) GARP VLAN Registration Protocol (GVRP) is an industry-standard protocol designed to propagate VLAN informa- tion from device to device. With GVRP, a single device is manually configured with all desired VLANs for the net- work, and all other devices on the network learn these VLANs dynamically.
  • Page 100: Gvrp Enable (Interface)

    gvrp enable (Interface) The gvrp enable Interface Configuration (Ethernet, port-channel) mode command enables GVRP on an interface. To disable GVRP on an interface, use the no form of this command. Syntax gvrp enable no gvrp enable Default Configuration GVRP is disabled on all interfaces. Command Mode Interface Configuration (Ethernet, port-channel) mode User Guidelines...
  • Page 101: Garp Timer

    garp timer The garp timer Interface Configuration (Ethernet, Port channel) mode command adjusts the values of the join, leave and leaveall timers of GARP applications. To return to the default configuration, use the no form of this com- mand. Syntax garp timer {join | leave | leaveall} timer_value no garp timer Parameters...
  • Page 102: Gvrp Vlan-Creation-Forbid

    gvrp vlan-creation-forbid The gvrp vlan-creation-forbid Interface Configuration (Ethernet, port-channel) mode command disables dynamic VLAN creation or modification. To enable dynamic VLAN creation or modification, use the no form of this command. Syntax gvrp vlan-creation-forbid no gvrp vlan-creation-forbid Default Configuration Dynamic VLAN creation or modification is enabled. Command Mode Interface Configuration (Ethernet, port-channel) mode User Guidelines...
  • Page 103: Gvrp Registration-Forbid

    gvrp registration-forbid The gvrp registration-forbid Interface Configuration (Ethernet, port-channel) mode command deregisters all dynamic VLANs on a port and prevents VLAN creation or registration on the port. To allow dynamic registration of VLANs on a port, use the no form of this command. Syntax gvrp registration-forbid no gvrp registration-forbid...
  • Page 104: Clear Gvrp Statistics

    clear gvrp statistics The clear gvrp statistics User or Privileged EXEC mode command clears all GVRP statistical information. Syntax clear gvrp statistics [ethernet interface | port-channel port-channel-number] Parameters • interface — A valid Ethernet port. (Full syntax: port) • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration.
  • Page 105: Show Gvrp Configuration

    show gvrp configuration The show gvrp configuration User or Privileged EXEC mode command displays GVRP configuration informa- tion, including timer values, whether GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP. Syntax show gvrp configuration [ethernet interface | port-channel port-channel-number] Parameters •...
  • Page 106: Show Gvrp Statistics

    show gvrp statistics The show gvrp statistics User or Privileged EXEC mode command displays GVRP statistics. Syntax show gvrp statistics [ethernet interface | port-channel port-channel-number] Parameters • interface — A valid Ethernet port. (Full syntax: port) • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration.
  • Page 107: Show Gvrp Error-Statistics

    show gvrp error-statistics The show gvrp error-statistics User EXEC mode command displays GVRP error statistics. Syntax show gvrp error-statistics [ethernet interface | port-channel port-channel-number] Parameters • interface — A valid Ethernet port. (Full syntax: port) • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration.
  • Page 108: Section 8. Igmp Snooping Commands

    D-Link DES-3010FA/GA/PA CLI Reference Guide Section 8. IGMP Snooping Commands ip igmp snooping (Global) The ip igmp snooping Global Configuration mode command enables Internet Group Management Protocol (IGMP) snooping. To disable IGMP snooping, use the no form of this command.
  • Page 109: Ip Igmp Snooping (Interface)

    ip igmp snooping (Interface) The ip igmp snooping Interface Configuration (VLAN) mode command enables Internet Group Management Protocol (IGMP) snooping on a specific VLAN. To disable IGMP snooping on a VLAN interface, use the no form of this command. Syntax ip igmp snooping no ip igmp snooping Default Configuration...
  • Page 110: Ip Igmp Snooping Host-Time-Out

    ip igmp snooping host-time-out The ip igmp snooping host-time-out Interface Configuration (VLAN) mode command configures the host-time- out. If an IGMP report for a multicast group was not received for a host-time-out period from a specific port, this port is deleted from the member list of that multicast group. To return to the default configuration, use the no form of this command.
  • Page 111: Ip Igmp Snooping Mrouter-Time-Out

    ip igmp snooping mrouter-time-out The ip igmp snooping mrouter-time-out Interface Configuration (VLAN) mode command configures the mrouter-time-out. The ip igmp snooping mrouter-time-out Interface Configuration (VLAN) mode command is used for setting the aging-out time after multicast router ports are automatically learned. To return to the default configuration, use the no form of this command.
  • Page 112: Ip Igmp Snooping Leave-Time-Out

    ip igmp snooping leave-time-out The ip igmp snooping leave-time-out Interface Configuration (VLAN) mode command configures the leave- time-out. If an IGMP report for a multicast group was not received for a leave-time-out period after an IGMP Leave was received from a specific port, this port is deleted from the member list of that multicast group.To return to the default configuration, use the no form of this command.
  • Page 113: Show Ip Igmp Snooping Mrouter

    show ip igmp snooping mrouter The show ip igmp snooping mrouter User or Privileged EXEC mode command displays information on dynam- ically learned multicast router interfaces. Syntax show ip igmp snooping mrouter [interface vlan-id] Parameters • vlan-id — VLAN number. Default Configuration This command has no default configuration.
  • Page 114: Show Ip Igmp Snooping Interface

    show ip igmp snooping interface The show ip igmp snooping interface User or Privileged EXEC mode command displays IGMP snooping con- figuration. Syntax show ip igmp snooping interface vlan-id Parameters • vlan-id — VLAN number. Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines...
  • Page 115: Show Ip Igmp Snooping Groups

    show ip igmp snooping groups The show ip igmp snooping groups User EXEC mode command displays multicast groups learned by IGMP snooping. Syntax show ip igmp snooping groups [vlan vlan-id] [address ip-multicast-address] Parameters • vlan-id — VLAN number. • ip-multicast-address — IP multicast address. Default Configuration This command has no default configuration.
  • Page 116: Section 9. Ip Addressing Commands

    Section 9. IP Addressing Commands ip address The ip address Interface Configuration (Ethernet, VLAN, port-channel) mode command sets an IP address. To remove an IP address, use the no form of this command. Syntax ip address ip-address {mask | prefix-length} no ip address [ip-address] Parameters •...
  • Page 117: Ip Address Dhcp

    ip address dhcp The ip address dhcp Interface Configuration (Ethernet, VLAN, port-channel) mode command acquires an IP address for an Ethernet interface from the Dynamic Host Configuration Protocol (DHCP) server. To deconfigure an acquired IP address, use the no form of this command. Syntax ip address dhcp [hostname host-name] no ip address dhcp...
  • Page 118: Ip Default-Gateway

    D-Link DES-3010FA/GA/PA CLI Reference Guide ip default-gateway The ip default-gateway Global Configuration mode command defines a default gateway (router). To return to the default configuration, use the no form of this command. Syntax ip default-gateway ip-address no ip default-gateway Parameters •...
  • Page 119: Show Ip Interface

    show ip interface The show ip interface Privileged EXEC mode command displays the usability status of configured IP interfaces. Syntax show ip interface [ethernet interface-number | vlan vlan-id | port-channel port-channel number.] Parameters • interface-number — Valid Ethernet port. • vlan-id —...
  • Page 120: Arp

    The arp Global Configuration mode command adds a permanent entry in the Address Resolution Protocol (ARP) cache. To remove an entry from the ARP cache, use the no form of this command. Syntax arp ip_addr hw_addr {ethernet interface-number | vlan vlan-id | port-channel port-channel number.} no arp ip_addr {ethernet interface-number | vlan vlan-id | port-channel port-channel number.} Parameters •...
  • Page 121: Arp Timeout

    IP Addressing Commands arp timeout The arp timeout Global Configuration mode command configures how long an entry remains in the ARP cache. To return to the default configuration, use the no form of this command. Syntax arp timeout seconds no arp timeout Parameters •...
  • Page 122: Clear Arp-Cache

    D-Link DES-3010FA/GA/PA CLI Reference Guide clear arp-cache The clear arp-cache Privileged EXEC mode command deletes all dynamic entries from the ARP cache. Syntax clear arp-cache Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 123: Show Arp

    show arp The show arp Privileged EXEC mode command displays entries in the ARP table. Syntax show arp Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays entries in the ARP table.
  • Page 124: Ip Domain-Name

    Default Configuration A default domain name is not defined. Command Mode Global Configuration mode User Guidelines There are no user guidelines for this command. Example The following example defines default domain name www.D-Link.com. Console (config) # ip domain-name www.D-Link.com Page 123...
  • Page 125: Ip Name-Server

    IP Addressing Commands ip name-server The ip name-server Global Configuration mode command defines the available name servers. To remove a name server, use the no form of this command. Syntax ip name-server server-address [server-address2 … server-address8] no ip name-server [server-address1 … server-address8] Parameters •...
  • Page 126: Ip Host

    No host is defined. Command Mode Global Configuration mode User Guidelines There are no user guidelines for this command. Example The following example defines a static host name-to-address mapping in the host cache. Console(config)# ip host accounting.D-Link.com 176.10.23.1 Page 125...
  • Page 127: Clear Host

    clear host The clear host Privileged EXEC mode command deletes entries from the host name-to-address cache. Syntax clear host {name | *} Parameters • name — Specifies the host entry to be removed. (Range: 1-158 characters • * — Removes all entries. Default Configuration This command has no default configuration.
  • Page 128: Clear Host Dhcp

    clear host dhcp The clear host dhcp Privileged EXEC mode command deletes entries from the host name-to-address mapping received from Dynamic Host Configuration Protocol (DHCP). Syntax clear host dhcp {name | *} Parameters • name — Specifies the host entry to be removed. (Range: 1-158 characters •...
  • Page 129: Show Hosts

    show hosts The show hosts Privileged EXEC mode command displays the default domain name, a list of name server hosts, the static and the cached list of host names and addresses. Syntax show hosts [name] Parameters • name — Specifies the host name. (Range: 1-158 characters) Default Configuration This command has no default configuration.
  • Page 130: Section 10. Lacp Commands

    D-Link DES-3010FA/GA/PA CLI Reference Guide Section 10. LACP Commands lacp system-priority The lacp system-priority Global Configuration mode command configures the system priority. To return to the default configuration, use the no form of this command. Syntax lacp system-priority value no lacp system-priority Parameters •...
  • Page 131: Lacp Port-Priority

    lacp port-priority The lacp port-priority Interface Configuration (Ethernet) mode command configures physical port priority. To return to the default configuration, use the no form of this command. Syntax lacp port-priority value no lacp port-priority Parameters • value — Specifies port priority. (Range: 1 - 65535) Default Configuration The default port priority is 1.
  • Page 132: Lacp Timeout

    lacp timeout The lacp timeout Interface Configuration (Ethernet) mode command assigns an administrative LACP timeout. To return to the default configuration, use the no form of this command. Syntax lacp timeout {long | short} no lacp timeout Parameters • long — Specifies the long timeout value. •...
  • Page 133: Show Lacp Ethernet

    show lacp ethernet The show lacp ethernet Privileged EXEC mode command displays LACP information for Ethernet ports. Syntax show lacp ethernet interface [parameters | statistics | protocol-state] Parameters • interface — Valid Ethernet port. (Full syntax: port) • parameters — Link aggregation parameter information. •...
  • Page 134 distributing: expired: Partner system priority: system mac addr: port Admin key: port Oper key: port Oper number: port Admin priority: port Oper priority: port Oper timeout: LACP Activity: Aggregation: synchronization: collecting: distributing: expired: 1 LACP Statistics: LACP PDUs sent: LACP PDUs received: 1 LACP Protocol State: LACP State Machines: Receive FSM:...
  • Page 135: Show Lacp Port-Channel

    show lacp port-channel The show lacp port-channel Privileged EXEC mode command displays LACP information for a port-channel. Syntax show lacp port-channel [port_channel_number] Parameters • port_channel_number — Valid port-channel number. Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 136: Section 11. Line Commands

    Section 11. Line Commands line The line Global Configuration mode command identifies a specific line for configuration and enters the Line Con- figuration command mode. Syntax line {console | telnet | ssh} Parameters • console — Console terminal line. • telnet —...
  • Page 137: Speed

    speed The speed Line Configuration mode command sets the line baud rate. To return to the default configuration, use the no form of the command. Syntax speed bps no speed Parameters • bps—Baud rate in bits per second (bps). Possible values are 2400, 4800, 9600, 19200, and 38400. Default Configuration The default speed is 9600 bps.
  • Page 138: Exec-Timeout

    exec-timeout The exec-timeout Line Configuration mode command sets the interval that the system waits until user input is detected. To return to the default configuration, use the no form of this command. Syntax exec-timeout minutes [seconds] no exec-timeout Parameters • minutes —...
  • Page 139: History

    history The history Line Configuration mode command enables the command history function. To disable the command history function, use the no form of this command. Syntax history no history Default Configuration The command history function is enabled. Command Mode Line Configuration mode User Guidelines This command enables the command history function for a specified line.
  • Page 140: History Size

    history size The history size Line Configuration mode command configures the command history buffer size for a particular line. To reset the command history buffer size to the default configuration, use the no form of this command. Syntax history size number-of-commands no history size Parameters •...
  • Page 141: Terminal History

    Line Commands terminal history The terminal history User or Priviliged EXEC command enables the command history function for the current ter- minal session. To disable the command history function, use the no form of this command. Syntax terminal history no terminal history Default Configuration The default configuration for all terminal sessions is defined by the history line configuration command.
  • Page 142: Terminal History Size

    D-Link DES-3010FA/GA/PA CLI Reference Guide terminal history size The terminal history size User or Priviliged EXEC command configures the command history buffer size for the current terminal session. To reset the command history buffer size to the default setting, use the no form of this command..
  • Page 143: Show Line

    show line The show line User or Priviliged EXEC mode command displays line parameters. Syntax show line [console | telnet | ssh] Parameters • console — Console terminal line. • telnet — Virtual terminal for remote console access (Telnet). • ssh —...
  • Page 144: Section 12. Management Acl

    Section 12. Management ACL management access-list The management access-list Global Configuration mode command configures a management access list and enters the Management Access-list Configuration command mode. To delete an access list, use the no form of this command. Syntax management access-list name no management access-list name Parameters •...
  • Page 145 The following example creates a management access list called mlist, configures all interfaces to be management interfaces except Ethernet interfaces 1 and 6 and makes the new access list the active list. Console(config)# management access-list mlist Console(config-macl)# deny ethernet 1 Console(config-macl)# deny ethernet 6 Console(config-macl)# permit Console(config-macl)# exit...
  • Page 146: Permit (Management)

    permit (Management) The permit Management Access-List Configuration mode command defines a permit rule. Syntax permit [ethernet interface-number | vlan vlan-id | port-channel port-channel-number | service] permit ip-source ip-address [mask mask | prefix-length] [ethernet interface-number | vlan vlan-id | port-channel port-channel-number | service] Parameters •...
  • Page 147: Deny (Management)

    deny (Management) The deny Management Access-List Configuration mode command defines a deny rule. Syntax deny [ethernet interface-number | vlan vlan-id | port-channel port-channel-number] deny ip-source ip-address [mask mask | prefix-length] [ethernet interface-number | vlan vlan-id | port-channel port-channel-number] Parameters • interface-number —...
  • Page 148: Management Access-Class

    management access-class The management access-class Global Configuration mode command restricts management connections by defining the active management access list. To disable this restriction, use the no form of this command. Syntax management access-class {console-only | name} no management access-class Parameters •...
  • Page 149: Show Management Access-List

    show management access-list The show management access-list Privileged EXEC mode command displays management access-lists. Syntax show management access-list [name] Parameters • name — Specifies the name of a management access list. (Range: 1 - 32 characters) Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines...
  • Page 150: Show Management Access-Class

    show management access-class The show management access-class Privileged EXEC mode command displays the active management access list. Syntax show management access-class Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays information about the active management access list.
  • Page 151: Section 13. Phy Diagnostics Commands

    Section 13. PHY Diagnostics Commands test copper-port tdr The test copper-port tdr Privileged EXEC mode command uses Time Domain Reflectometry (TDR) technology to diagnose the quality and characteristics of a copper cable attached to a port. Syntax test copper-port tdr interface Parameters •...
  • Page 152: Show Copper-Ports Tdr

    show copper-ports tdr The show copper-ports tdr User or Privileged EXEC mode command displays information on the last Time a Domain Reflectometry (TDR) test was performed on the copper ports. Syntax show copper-ports tdr [interface] Parameters • interface — A valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 153: Show Copper-Ports Cable-Length

    show copper-ports cable-length The show copper-ports cable-length User or Privileged EXEC mode command displays the estimated copper cable length attached to a port. Syntax show copper-ports cable-length [interface] Parameters • interface — A valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 154: Show Fiber-Ports Optical-Transceiver

    show fiber-ports optical-transceiver The show fiber-ports optical-transceiver Privileged EXEC command displays the optical transceiver diagnos- tics. Syntax show fiber-ports optical-transceiver [interface] [detailed] Parameters • interface — A valid Ethernet port. (Full syntax: port) • detailed — Detailed diagnostics. Default Configuration This command has no default configuration.
  • Page 155: Section 14. Port Trunking Commands

    Port Trunking Commands Section 14. Port Trunking Commands interface port-channel The interface port-channel Global Configuration mode command enters the interface configuration mode to con- figure a specific port-channel. Syntax interface port-channel port-channel-number Parameters • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration.
  • Page 156: Interface Range Port-Channel

    interface range port-channel The interface range port-channel Global Configuration mode command enters the interface configuration mode to configure multiple port-channels. Syntax interface range port-channel {port-channel-range | all} Parameters • port-channel-range — List of valid port-channels to add. Separate nonconsecutive port-channels with a comma and no spaces.
  • Page 157: Channel-Group

    channel-group The channel-group Interface Configuration (Ethernet) mode command associates a port with a port-channel. To remove a port from a port-channel, use the no form of this command. Syntax channel-group port-channel-number mode {on | auto} no channel-group Parameters • port-channel_number — Specifies the number of the valid port-channel for the current port to join. •...
  • Page 158: Show Interfaces Port-Channel

    show interfaces port-channel The show interfaces port-channel Privileged EXEC mode command displays port-channel information. Syntax show interfaces port-channel [port-channel-number] Parameters • port-channel-number — Valid port-channel number. Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 159: Section 15. Port Monitor Commands

    Section 15. Port Monitor Commands port monitor The port monitor Interface Configuration mode command starts a port monitoring session. To stop a port monitor- ing session, use the no form of this command. Syntax port monitor src-interface [rx | tx] no port monitor src-interface Parameters •...
  • Page 160: Port Monitor Vlan-Tagging

    port monitor vlan-tagging The port monitor Interface Configuration (Ethernet) mode command transmits tagged ingress mirrored packets. To transmit untagged ingress mirrored packets, use the no form of this command. Syntax port monitor vlan-tagging no port monitor vlan-tagging Default Configuration Ingress mirrored packets are transmitted untagged. Command Mode Interface Configuration (Ethernet) mode User Guidelines...
  • Page 161: Show Ports Monitor

    show ports monitor The show ports monitor User or Privileged EXEC mode command displays the port monitoring status. Syntax show ports monitor Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example shows how the port monitoring status is displayed.
  • Page 162: Section 16. System Management

    Section 16. System Management ping The ping User or Privileged EXEC mode command sends ICMP echo request packets to another node on the network. Syntax ping {ip-address | hostname }[size packet_size] [count packet_count] [timeout time_out] Parameters • ip-address — IP address to ping. •...
  • Page 163 Examples The following example displays pinging results: Console> ping 10.1.1.1 Pinging 10.1.1.1 with 64 bytes of data: 64 bytes from 10.1.1.1: icmp_seq=0. time=11 ms 64 bytes from 10.1.1.1: icmp_seq=1. time=8 ms 64 bytes from 10.1.1.1: icmp_seq=2. time=8 ms 64 bytes from 10.1.1.1: icmp_seq=3. time=7 ms ----10.1.1.1 PING Statistics---- 4 packets transmitted, 4 packets received, 0% packet loss round-trip (ms) min/avg/max = 7/8/11...
  • Page 164: Traceroute

    traceroute The traceroute User or Privileged EXEC mode command discovers routes that packets actually take when travel- ing to their destination. Syntax traceroute {ip-address |hostname }[size packet_size] [ttl max-ttl] [count packet_count] [timeout time_out] [source ip-address] [tos tos] Parameters • ip-address — IP address of the destination host. •...
  • Page 165 Examples The following example discovers the routes that packets will actually take when traveling to their destination. Console> traceroute umaxp1.physics.lsa.umich.edu Type Esc to abort. Tracing the route to umaxp1.physics.lsa.umich.edu (141.211.101.64) 1 i2-gateway.stanford.edu (192.68.191.83) 2 STAN.POS.calren2.NET (171.64.1.213) 0 msec 0 msec 0 msec 3 SUNV--STAN.POS.calren2.net (198.32.249.73) 1 msec 1 msec 1 msec 4 Abilene--QSV.POS.calren2.net (198.32.249.162) 5 kscyng-snvang.abilene.ucaid.edu (198.32.8.103)
  • Page 166: Reload

    reload The reload Privileged EXEC mode command reloads the operating system. Syntax reload Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines Caution should be exercised when resetting the device, to ensure that no other activity is being performed. In par- ticular, the user should verify that no configuration files are being downloaded at the time of reset.
  • Page 167: Hostname

    hostname The hostname Global Configuration mode command specifies or modifies the device host name. To remove the existing host name, use the no form of the command. Syntax hostname name no hostname Parameters • name — The host name. of the device. (Range: 1-158 characters) Default Configuration This command has no default configuration.
  • Page 168: Show Users

    show users The show users User or Privileged EXEC mode command displays information about the active users. Syntax show users Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays information about the active users.
  • Page 169: Show System

    There are no user guidelines for this command. Example The following example displays the system information. Console> show system System Description: Switch 8 FE 1GE 1 SFP w/embedded web h w/Embedded Web System Up Time (days,hour:min:sec): System Contact: System Name:...
  • Page 170: Show Version

    show version The show version User or Privileged EXEC mode command displays system version information. Syntax show version Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays system version information (only for demonstration purposes).
  • Page 171: Show System Id

    show system id The show system id User or Privileged EXEC mode command displays system ID information. Syntax show system id Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays the system ID information.
  • Page 172: Section 17. Qos Commands

    D-Link DES-3010FA/GA/PA CLI Reference Guide Section 17. QoS Commands The qos Global Configuration mode command enables quality of service (QoS) on the device. To disable QoS on the device, use the no form of this command. Syntax no qos Default Configuration QoS is disabled on the device.
  • Page 173: Show Qos

    show qos The show qos User or Privileged EXEC mode command displays quality of service (QoS) for the device. Syntax show qos Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays QoS attributes when QoS is disabled on the device.
  • Page 174: Priority-Queue Out Num-Of-Queues

    D-Link DES-3010FA/GA/PA CLI Reference Guide priority-queue out num-of-queues The priority-queue out num-of-queues Global Configuration mode command configures the number of expedite queues. To return to the default configuration, use the no form of this command. Syntax priority-queue out num-of-queues number-of-queues...
  • Page 175: Rate-Limit Interface Configuration

    QoS Commands rate-limit interface configuration The rate-limit interface configuration command limits the rate of the incoming traffic. The no form of this com- mand is used to disable rate limit. Syntax rate-limit rate no rate-limit Parameters • kbps Maximum of kilobits per second of ingress traffic on a port. (Range: 62K - 100M) Defaults 1000 Kbits/Sec Command Modes...
  • Page 176: Show Qos Interface

    show qos interface The show qos interface User or Privileged EXEC mode command displays interface QoS information. Syntax show qos interface [ethernet interface-number | port-channel number] [ queueing | rate-limit | shspers] Parameters • interface-number — Valid Ethernet port number. •...
  • Page 177 Switch> show qos interface 7 rate-limit Port rate-limit [kbps] Page 176...
  • Page 178: Traffic-Shape

    traffic-shape The traffic-shape Interface configuration (Ethernet, Port-Channel) mode command activates the traffic shaper on egress ports or egress queues. Use the no form of this command to disable the shaper. Syntax traffic-shape { committed-rate } [queue-id] no traffic-shape [queue-id] Parameters •...
  • Page 179: Wrr-Queue Cos-Map

    wrr-queue cos-map The wrr-queue cos-map Global Configuration mode command maps Class of Service (CoS) values to a specific egress queue. To return to the default configuration, use the no form of this command. Syntax wrr-queue cos-map queue-id cos1...cos8 no wrr-queue cos-map Parameters •...
  • Page 180: Qos Map Dscp-Queue

    qos map dscp-queue The qos map dscp-queue Global Configuration mode command modifies the DSCP to CoS map. To return to the default map, use the no form of this command. Syntax qos map dscp-queue dscp-list to queue-id no qos map dscp-queue [dscp-list] Parameters •...
  • Page 181: Qos Trust (Global)

    Packets entering a quality of service (QoS) domain are classified at the edge of the QoS domain. When packets are classified at the edge, the switch port within the QoS domain can be configured to one of the trusted states because there is no need to classify the packets at every device in the domain.
  • Page 182: Qos Trust (Interface)

    qos trust (Interface) The qos trust Interface Configuration (Ethernet, port-channel) mode command enables each port trust state while the system is in the basic QoS mode. To disable the trust state on each port, use the no form of this command. Syntax qos trust no qos trust...
  • Page 183: Qos Cos

    qos cos The qos cos Interface Configuration (Ethernet, port-channel) mode command defines the default CoS value of a port. To return to the default configuration, use the no form of this command. Syntax qos cos default-cos no qos cos Parameters •...
  • Page 184: Show Qos Map

    show qos map User or Privileged The show qos map Syntax show qos map [dscp-queue] Parameters • dscp-queue — Indicates the DSCP to queue map. Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 185: Section 18. Radius Commands

    Section 18. Radius Commands radius-server host The radius-server host Global Configuration mode command specifies a RADIUS server host. To delete the specified RADIUS host, use the no form of this command. Syntax radius-server host {ip-address | hostname} [auth-port auth-port-number] [timeout timeout] [retransmit retries] [deadtime deadtime] [key key-string] [source source] [priority priority] [usage type] no radius-server host {ip-address | hostname} Parameters...
  • Page 186 D-Link DES-3010FA/GA/PA CLI Reference Guide Example The following example specifies a RADIUS server host with IP address 192.168.10.1, authentication request port number 20 and a 20-second timeout period. Console(config)# radius-server host 192.168.10.1 auth-port 20 timeout 20 Page 185...
  • Page 187: Radius-Server Key

    radius-server key The radius-server key Global Configuration mode command sets the authentication and encryption key for all RADIUS communications between the device and the RADIUS daemon. To return to the default configuration, use the no form of this command. Syntax radius-server key [key-string] no radius-server key Parameters...
  • Page 188: Radius-Server Retransmit

    D-Link DES-3010FA/GA/PA CLI Reference Guide radius-server retransmit The radius-server retransmit Global Configuration mode command specifies the number of times the software searches the list of RADIUS server hosts. To reset the default configuration, use the no form of this command.
  • Page 189: Radius-Server Source-Ip

    Radius Commands radius-server source-ip The radius-server source-ip Global Configuration mode command specifies the source IP address used for communication with RADIUS servers. To return to the default configuration, use the no form of this command. Syntax radius-server source-ip source no radius-source-ip source Parameters •...
  • Page 190: Radius-Server Timeout

    D-Link DES-3010FA/GA/PA CLI Reference Guide radius-server timeout The radius-server timeout Global Configuration mode command sets the interval during which the device waits for a server host to reply. To return to the default configuration, use the no form of this command.
  • Page 191: Radius-Server Deadtime

    Radius Commands radius-server deadtime The radius-server deadtime Global Configuration mode command improves RADIUS response time when serv- ers are unavailable. The command is used to cause the unavailable servers to be skipped. To return to the default configuration, use the no form of this command. Syntax radius-server deadtime deadtime no radius-server deadtime...
  • Page 192: Show Radius-Servers

    show radius-servers The show radius-servers User or Privileged EXEC mode command displays the RADIUS server settings. Syntax show radius-servers Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines There are no user guidelines for this command. Examples The following example displays RADIUS server settings.
  • Page 193 Radius Commands Page 192...
  • Page 194: Section 19. Power Over Ethernet

    Section 19. Power Over Ethernet power inline The power inline Interface configuration command configures the administrative mode of the inline power on an interface. Syntax power inline {auto | never} Parameters • auto — Turns on the device discovery protocol and applies power to the device. •...
  • Page 195: Power Inline Powered-Device

    power inline powered-device The power inline powered-device Interface configuration command adds a description of the powered device type. Use the no form of this command to remove the description. Syntax power inline powered-device pd-type no power inline powered-device Parameters • pd-type —...
  • Page 196: Power Inline Usage-Threshold

    D-Link DES-3010FA/GA/PA CLI Reference Guide power inline usage-threshold The power inline usage-threshold global configuration command configures the threshold for initiating inline power usage alarms. Use the no form of this command to return to default. Syntax power inline usage-threshold percents...
  • Page 197: Power Inline Traps Enable

    Power Over Ethernet power inline traps enable The power inline traps enable global configuration command enable inline power traps. Use the no form of this command to disable traps. Syntax power inline traps enable no power inline traps enable Parameters This command has no arguments or keywords.
  • Page 198: Show Power Inline

    show power inline The show power inline EXEC command displays information about the inline power. The mode is Privileged EXEC mode. Syntax show power inline [interface] Parameters • interface — Valid Ethernet port. Default Configuration Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 199 Denied Counter Absent Counter Invalid Signature Counter: 0 The following table describes the fields shown in the display: Fi el d Des cri pti o n Power The inline power sourcing equipment operational status. Nominal Power The inline power sourcing equipment nominal power in Watts. Consumed Power Measured usage power in Watts.
  • Page 200: Section 20. Rmon Commands

    Section 20. RMON Commands show rmon statistics The show rmon statistics User or Privileged EXEC mode command displays RMON Ethernet statistics. Syntax show rmon statistics {ethernet interface number | port-channel port-channel-number} Parameters • interface number — Valid Ethernet port. • port-channel-number —...
  • Page 201 The following table describes significant fields shown above: Field De scrip tio n Dropped Octets The total number of octets of data (including those in bad packets) received on the net- work (excluding framing bits but including FCS octets). Packets The total number of packets (including bad packets, broadcast packets, and multicast packets) received.
  • Page 202: Rmon Collection History

    rmon collection history The rmon collection history Interface Configuration (Ethernet, port-channel) mode command enables a Remote Monitoring (RMON) MIB history statistics group on an interface. To remove a specified RMON history statistics group, use the no form of this command. Syntax rmon collection history index [owner ownername] [buckets bucket-number] [interval seconds] no rmon collection history index...
  • Page 203: Show Rmon Collection History

    show rmon collection history The show rmon collection history User or Privileged EXEC mode command displays the requested RMON his- tory group statistics. Syntax show rmon collection history [ethernet interface | port-channel port-channel-number] Parameters • interface — Valid Ethernet port. (Full syntax: port) •...
  • Page 204: Show Rmon History

    show rmon history The show rmon history User or Privileged EXEC mode command displays RMON Ethernet history statistics. Syntax show rmon history index {throughput | errors | other} [period seconds] Parameters • index — Specifies the requested set of samples. (Range: 1 - 65535) •...
  • Page 205 Maximum table size: 500 (800 after reset) Time CRC Align ---------- --------- Jan 18 2002 21:57:00 Jan 18 2002 21:57:30 Console> show rmon history 1 other Sample Set: 1 Interface: 1 Requested samples: 50 Maximum table size: 500 Time -------------------- Jan 18 2002 21:57:00 Jan 18 2002 21:57:30 The following table describes significant fields shown above:...
  • Page 206 Fragments The total number of packets received during this sampling interval that were less than 64 octets in length (excluding framing bits but including FCS octets) had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error), or a bad FCS with a non-inte- gral number of octets (AlignmentError).
  • Page 207: Rmon Alarm

    rmon alarm The rmon alarm Global Configuration mode command configures alarm conditions. To remove an alarm, use the no form of this command. Syntax rmon alarm index variable interval rthreshold fthreshold revent fevent [type type] [startup direction] [owner name] no rmon alarm index Parameters •...
  • Page 208 Example The following example configures the following alarm conditions: • Alarm index — 1000 • Sample interval — 360000 seconds • Rising threshold — 1000000 • Falling threshold — 1000000 • Rising threshold event index — 10 • Falling threshold event index — 20 show rmon alarm-table The show rmon alarm-table User or Privileged EXEC mode command displays the alarms table.
  • Page 209: Show Rmon Alarm

    show rmon alarm The show rmon alarm User or Privileged EXEC mode command displays alarm configuration. Syntax show rmon alarm number Parameters • number — Specifies the alarm index. (Range: 1 - 65535) Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines...
  • Page 210 Interval The interval in seconds over which the data is sampled and compared with the rising and falling thresholds. Sample Type The method of sampling the variable and calculating the value compared against the thresholds. If the value is absolute, the value of the variable is compared directly with the thresholds at the end of the sampling interval.
  • Page 211: Rmon Event

    rmon event The rmon event Global Configuration mode command configures an event. To remove an event, use the no form of this command. Syntax rmon event index type [community text] [description text] [owner name] no rmon event index Parameters • index —...
  • Page 212: Show Rmon Events

    show rmon events The show rmon events User EXEC mode command displays the RMON event table. Syntax show rmon events Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays the RMON event table.
  • Page 213: Show Rmon Log

    show rmon log The show rmon log User EXEC mode command displays the RMON log table. Syntax show rmon log [event] Parameters • event — Specifies the event index. (Range: 0 - 65535) Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines...
  • Page 214 The following table describes the significant fields shown in the display: Field D escr ip tio n Event An index that uniquely identifies the event. Description A comment describing this event. Time The time this entry was created. Page 213...
  • Page 215: Rmon Table-Size

    rmon table-size The rmon table-size Global Configuration mode command configures the maximum size of RMON tables. To return to the default configuration, use the no form of this command. Syntax rmon table-size {history entries | log entries} no rmon table-size {history | log} Parameters •...
  • Page 216: Section 21. Snmp Commands

    Section 21. SNMP Commands snmp-server community The snmp-server community Global Configuration mode command configures the community access string to permit access to the SNMP protocol. To remove the specified community string, use the no form of this command. Syntax snmp-server community community [ro | rw | su] [ip-address][view view-name] snmp-server community-group community group-name [ip-address] no snmp-server community community [ip-address] Parameters...
  • Page 217 SNMP Commands Examples The following example defines community access string public to permit administrative access to SNMP protocol at an administrative station with IP address 192.168.1.20. Console(config)# snmp-server community public su 192.168.1.20 Page 216...
  • Page 218: Snmp-Server View

    snmp-server view The snmp-server view Global Configuration mode command creates or updates a Simple Network Management Protocol (SNMP) server view entry. To remove a specified SNMP server view entry, use the no form of this com- mand. Syntax snmp-server view view-name oid-tree {included | excluded} no snmp-server view view-name [oid-tree] Parameters •...
  • Page 219: Snmp-Server Group

    snmp-server group The snmp-server group Global Configuration mode command configures a new Simple Management Protocol (SNMP) group or a table that maps SNMP users to SNMP views. To remove a specified SNMP group, use the no form of this command. Syntax snmp-server group groupname {v1 | v2 | v3 {noauth | auth | priv} [notify notifyview ] } [read readview] [write writeview]...
  • Page 220: Snmp-Server User

    snmp-server user The snmp-server user Global Configuration mode command configures a new SNMP Version 3 user. To remove a user, use the no form of this command. Syntax snmp-server user username groupname [remote engineid-string] [ auth-md5 password | auth-sha password | auth-md5-key md5-des-keys | auth-sha-key sha-des-keys ] no snmp-server user username [remote engineid-string] Parameters...
  • Page 221 SNMP Commands Examples The following example configures an SNMPv3 user John in group user-group. Console(config)# snmp-server user John user-group Page 220...
  • Page 222: Snmp-Server Engineid Local

    snmp-server engineID local The snmp-server engineID local Global Configuration mode command specifies the Simple Network Manage- ment Protocol (SNMP) engineID on the local device. To remove the configured engine ID, use the no form of this command. Syntax snmp-server engineID local {engineid-string | default} no snmp-server engineID local Parameters •...
  • Page 223 SNMP Commands Examples The following example enables SNMPv3 on the device and sets the local engine ID of the device to the default value. Console(config) # snmp-server engineID local default Page 222...
  • Page 224: Snmp-Server Enable Traps

    D-Link DES-3010FA/GA/PA CLI Reference Guide snmp-server enable traps The snmp-server enable traps Global Configuration mode command enables the device to send SNMP traps. To disable SNMP traps, use the no form of the command. Syntax snmp-server enable traps no snmp-server enable traps Default Configuration SNMP traps are enabled.
  • Page 225: Snmp-Server Filter

    snmp-server filter The snmp-server filter Global Configuration mode command creates or updates a Simple Network Management Protocol (SNMP) server filter entry. To remove the specified SNMP server filter entry, use the no form of this com- mand. Syntax snmp-server filter filter-name oid-tree {included | excluded} no snmp-server filter filter-name [oid-tree] Parameters •...
  • Page 226: Snmp-Server Host

    snmp-server host The snmp-server host Global Configuration mode command specifies the recipient of Simple Network Manage- ment Protocol Version 1 or Version 2 notifications. To remove the specified host, use the no form of this command. Syntax snmp-server host {ip-address | hostname} community-string [traps | informs] [1 | 2] [udp-port port] [filter filter- name] [timeout seconds] [retries retries] no snmp-server host {ip-address | hostname} [traps | informs] Parameters...
  • Page 227: Snmp-Server V3-Host

    snmp-server v3-host The snmp-server v3-host Global Configuration mode command specifies the recipient of Simple Network Man- agement Protocol Version 3 notifications. To remove the specified host, use the no form of this command. Syntax snmp-server v3-host {ip-address | hostname} username [traps | informs] {noauth | auth | priv} [udp-port port] [filter filtername] [timeout seconds] [retries retries] no snmp-server host {ip-address | hostname} username [traps | informs] Parameters...
  • Page 228: Snmp-Server Trap Authentication

    D-Link DES-3010FA/GA/PA CLI Reference Guide snmp-server trap authentication The snmp-server trap authentication Global Configuration mode command enables the device to send SNMP traps when authentication fails. To disable SNMP failed authentication traps, use the no form of this command. Syntax...
  • Page 229: Snmp-Server Contact

    SNMP Commands snmp-server contact The snmp-server contact Global Configuration mode command configures the system contact (sysContact) string. To remove system contact information, use the no form of the command. Syntax snmp-server contact text no snmp-server contact Parameters • text — Specifies the string that describes system contact information. (Range: 1-160 characters) Default Configuration This command has no default configuration.
  • Page 230: Snmp-Server Location

    D-Link DES-3010FA/GA/PA CLI Reference Guide snmp-server location The snmp-server location Global Configuration mode command configures the system location string. To remove the location string, use the no form of this command. Syntax snmp-server location text no snmp-server location Parameters •...
  • Page 231: Snmp-Server Set

    In order to generate configuration files that support those sit- uations, the snmp-server set command is used. This command is case-sensitive. Example The following example configures the scalar MIB sysName with the value D-Link Console(config)# snmp-server set sysName sysName D-Link Page 230...
  • Page 232: Show Snmp

    show snmp The show snmp Privileged EXEC mode command displays the SNMP status. Syntax show snmp Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays the SNMP communications status.
  • Page 233 Version 3 notifications Target Address Type -------------- ----- 192.122.173.42 Inform System Contact: Robert System Location: Marketing The following table describes significant fields shown above. Field Description Community-string Community access string to permit access to the SNMP protocol. Community-access Type of access — read-only, read-write, super access IP Address Management station IP Address.
  • Page 234: Show Snmp Engineid

    show snmp engineid The show snmp engineID Privileged EXEC mode command displays the ID of the local Simple Network Man- agement Protocol (SNMP) engine. Syntax show snmp engineID Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 235: Show Snmp Views

    show snmp views The show snmp views Privileged EXEC mode command displays the configuration of views. Syntax show snmp views [viewname] Parameters • viewname — Specifies the name of the view. (Range: 1-30) Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines...
  • Page 236: Show Snmp Groups

    show snmp groups The show snmp groups Privileged EXEC mode command displays the configuration of groups. Syntax show snmp groups [groupname] Parameters • groupname—Specifies the name of the group. (Range: 1-30) Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 237 Write Name of the view that enables entering data and managing the contents of the agent. Notify Name of the view that enables specifying an inform or a trap. Page 236...
  • Page 238: Show Snmp Filters

    show snmp filters The show snmp filters Privileged EXEC mode command displays the configuration of filters. Syntax show snmp filters [filtername] Parameters • filtername—Specifies the name of the filter. (Range: 1-30) Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 239: Show Snmp Users

    show snmp users The show snmp users Privileged EXEC mode command displays the configuration of users. Syntax show snmp users [username] Parameters • username—Specifies the name of the user. (Range: 1-30) Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 240: Section 22. Spanning-Tree Commands

    D-Link DES-3010FA/GA/PA CLI Reference Guide Section 22. Spanning-Tree Commands spanning-tree The spanning-tree Global Configuration mode command enables spanning-tree functionality. To disable span- ning-tree functionality, use the no form of this command. Syntax spanning-tree no spanning-tree Default Configuration Spanning-tree is enabled.
  • Page 241: Spanning-Tree Mode

    spanning-tree mode The spanning-tree mode Global Configuration mode command configures the spanning-tree protocol. To return to the default configuration, use the no form of this command. Syntax spanning-tree mode {stp | rstp| mstp} no spanning-tree mode Parameters • stp — Indicates that the Spanning Tree Protocol (STP) is enabled. •...
  • Page 242: Spanning-Tree Forward-Time

    D-Link DES-3010FA/GA/PA CLI Reference Guide spanning-tree forward-time The spanning-tree forward-time Global Configuration mode command configures the spanning-tree bridge for- ward time, which is the amount of time a port remains in the listening and learning states before entering the for- warding state.
  • Page 243: Spanning-Tree Hello-Time

    Spanning-Tree Commands spanning-tree hello-time The spanning-tree hello-time Global Configuration mode command configures the spanning tree bridge hello time, which is how often the device broadcasts hello messages to other devices.To return to the default configura- tion, use the no form of this command. Syntax spanning-tree hello-time seconds no spanning-tree hello-time...
  • Page 244: Spanning-Tree Max-Age

    D-Link DES-3010FA/GA/PA CLI Reference Guide spanning-tree max-age The spanning-tree max-age Global Configuration mode command configures the spanning tree bridge maximum age. To return to the default configuration, use the no form of this command. Syntax spanning-tree max-age seconds no spanning-tree max-age Parameters •...
  • Page 245: Spanning-Tree Priority

    Spanning-Tree Commands spanning-tree priority The spanning-tree priority Global Configuration mode command configures the spanning tree priority of the device. The priority value is used to determine which bridge is elected as the root bridge. To return to the default configuration, use the no form of this command. Syntax spanning-tree priority priority no spanning-tree priority...
  • Page 246: Spanning-Tree Disable

    spanning-tree disable The spanning-tree disable Interface Configuration mode command disables spanning tree on a specific port. To enable spanning tree on a port, use the no form of this command. Syntax spanning-tree disable no spanning-tree disable Default Configuration Spanning tree is enabled on all ports. Command Modes Interface Configuration (Ethernet, port-channel) mode User Guidelines...
  • Page 247: Spanning-Tree Cost

    spanning-tree cost The spanning-tree cost Interface Configuration mode command configures the spanning tree path cost for a port. To return to the default configuration, use the no form of this command. Syntax spanning-tree cost cost no spanning-tree cost Parameters • cost —...
  • Page 248: Spanning-Tree Port-Priority

    spanning-tree port-priority The spanning-tree port-priority Interface Configuration mode command configures port priority. To return to the default configuration, use the no form of this command. Syntax spanning-tree port-priority priority no spanning-tree port-priority Parameters • priority — The priority of the port. (Range: 0 - 240 in multiples of 16). Allowed values are :0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 Default Configuration The default port priority for IEEE Spanning TreeProtocol (STP) is 128.
  • Page 249: Spanning-Tree Portfast

    spanning-tree portfast The spanning-tree portfast Interface Configuration mode command enables PortFast mode. In PortFast mode, the interface is immediately put into the forwarding state upon linkup without waiting for the standard forward time delay. To disable PortFast mode, use the no form of this command. Syntax spanning-tree portfast no spanning-tree portfast...
  • Page 250: Spanning-Tree Link-Type

    spanning-tree link-type The spanning-tree link-type Interface Configuration mode command overrides the default link-type setting deter- mined by the duplex mode of the port and enables Rapid Spanning Tree Protocol (RSTP) transitions to the for- warding state. To return to the default configuration, use the no form of this command. Syntax spanning-tree link-type {point-to-point | shared} no spanning-tree spanning-tree link-type...
  • Page 251: Spanning-Tree Pathcost Method

    spanning-tree pathcost method The spanning-tree pathcost method Global Configuration mode command sets the default path cost method. To return to the default configuration, use the no form of this command. Syntax spanning-tree pathcost method {long | short} no spanning-tree pathcost method Parameters •...
  • Page 252: Spanning-Tree Bpdu

    spanning-tree bpdu The spanning-tree bpdu Global Configuration mode command defines BPDU handling when the spanning tree is disabled globally or on a single interface. To return to the default configuration, use the no form of this command. Syntax spanning-tree bpdu {filtering | flooding} Parameters •...
  • Page 253: Clear Spanning-Tree Detected-Protocols

    clear spanning-tree detected-protocols The clear spanning-tree detected-protocols Privileged EXEC mode command restarts the protocol migration process (forces renegotiation with neighboring devices) on all interfaces or on a specified interface. Syntax clear spanning-tree detected-protocols [ethernet interface | port-channel port-channel-number] Parameters • interface —...
  • Page 254: Spanning-Tree Guard Root

    The spanning-tree guard root interface configuration command enables root guard on all spanning tree instances on that interface. Root guard restricts the interface to be the root port for the switch. To disable root guard on the interface use, the no form of this command.
  • Page 255: Spanning-Tree Mst Priority

    spanning-tree mst priority The spanning-tree mst priority Global Configuration mode command configures the device priority for the spec- ified spanning-tree instance. To return to the default configuration, use the no form of this command. Syntax spanning-tree mst instance-id priority priority no spanning-tree mst instance-id priority Parameters •...
  • Page 256: Spanning-Tree Mst Max-Hops

    D-Link DES-3010FA/GA/PA CLI Reference Guide spanning-tree mst max-hops The spanning-tree mst priority Global Configuration mode command configures the number of hops in an MST region before the BDPU is discarded and the port information is aged out. To return to the default configuration, use the no form of this command.
  • Page 257: Spanning-Tree Mst Port-Priority

    spanning-tree mst port-priority The spanning-tree mst port-priority Interface Configuration mode command configures port priority for the specified MST instance. To return to the default configuration, use the no form of this command. Syntax spanning-tree mst instance-id port-priority priority no spanning-tree mst instance-id port-priority Parameters •...
  • Page 258: Spanning-Tree Mst Cost

    spanning-tree mst cost The spanning-tree mst cost Interface Configuration mode command configures the path cost for multiple span- ning tree (MST) calculations. If a loop occurs, the spanning tree considers path cost when selecting an interface to put in the forwarding state. To return to the default configuration, use the no form of this command. Syntax spanning-tree mst instance-id cost cost no spanning-tree mst instance-id cost...
  • Page 259: Spanning-Tree Mst Configuration

    spanning-tree mst configuration The spanning-tree mst configuration Global Configuration mode command enables configuring an MST region by entering the Multiple Spanning Tree (MST) mode. Syntax spanning-tree mst configuration Default Configuration This command has no default configuration. Command Mode Global Configuration mode User Guidelines All devices in an MST region must have the same VLAN mapping, configuration revision number and name.
  • Page 260: Instance (Mst)

    instance (mst) The instance MST Configuration mode command maps VLANS to an MST instance. Syntax instance instance-id {add | remove} vlan vlan-range Parameters • instance-ID—ID of the MST instance (Range: 1-16). • vlan-range—VLANs to be added to or removed from the specified MST instance. To specify a range of VLANs, use a hyphen.
  • Page 261: Name (Mst)

    name (mst) The name MST Configuration mode command defines the configuration name. To return to the default setting, use the no form of this command. Syntax name string Parameters • string—MST configuration name. Case-sensitive (Range: 1-32 characters). Default Configuration The default name is a bridge ID. Command Mode MST Configuration mode User Guidelines...
  • Page 262: Revision (Mst)

    revision (mst) The revision MST configuration command defines the configuration revision number. To return to the default con- figuration, use the no form of this command. Syntax revision value no revision Parameters • value—Configuration revision number (Range: 0-65535). Default Configuration The default configuration revision number is 0.
  • Page 263: Show (Mst)

    show (mst) The show MST Configuration mode command displays the current or pending MST region configuration. Syntax show {current | pending} Parameters • current—Indicates the current region configuration. • pending—Indicates the pending region configuration. Default Configuration This command has no default configuration. Command Mode MST Configuration mode User Guidelines...
  • Page 264: Exit (Mst)

    exit (mst) The exit MST Configuration mode command exits the MST configuration mode and applies all configuration changes. Syntax exit Default Configuration This command has no default configuration. Command Mode MST Configuration mode User Guidelines There are no user guidelines for this command. Example The following example exits the MST configuration mode and saves changes.
  • Page 265: Abort (Mst)

    abort (mst) The abort MST Configuration mode command exits the MST configuration mode without applying the configura- tion changes. Syntax abort Default Configuration This command has no default configuration. Command Mode MST Configuration mode User Guidelines There are no user guidelines for this command. Example The following example exits the MST configuration mode without saving changes.
  • Page 266: Show Spanning-Tree

    show spanning-tree The show spanning-tree Privileged EXEC mode command displays spanning-tree configuration. Syntax show spanning-tree [ethernet interface -number| port-channel port-channel-number] [instance instance-id] show spanning-tree [detail] [active | blockedports] [instance instance-id] show spanning-tree mst-configuration Parameters • interface -number— A valid Ethernet port. •...
  • Page 267 Default port cost method: short Root ID Priority 32768 Address 00:19:28:37:46:00 This switch is the root Hello Time 2 sec Number of topology changes 0 last change occurred 00:01:07 ago Times: hold 1, topology change 35, notification 2 hello 2, max age 20, forward delay 15...
  • Page 268: Section 23. Syslog Commands

    D-Link DES-3010FA/GA/PA CLI Reference Guide Section 23. Syslog Commands logging on The logging on Global Configuration mode command controls error message logging. This command sends debug or error messages to a logging process, which logs messages to designated locations asynchronously to the process that generated the messages.
  • Page 269: Logging

    logging The logging Global Configuration mode command logs messages to a syslog server. To delete the syslog server with the specified address from the list of syslogs, use the no form of this command. Syntax logging {ip-address | hostname} [port port] [severity level] [facility facility] [description text] no logging {ip-address | hostname} Parameters •...
  • Page 270: Logging Console

    D-Link DES-3010FA/GA/PA CLI Reference Guide logging console The logging console Global Configuration mode command limits messages logged to the console based on severity. To disable logging to the console, use the no form of this command. Syntax logging console level...
  • Page 271: Logging Buffered

    Syslog Commands logging buffered The logging buffered Global Configuration mode command limits syslog messages displayed from an internal buffer based on severity. To cancel using the buffer, use the no form of this command. Syntax logging buffered level no logging buffered Parameters •...
  • Page 272: Logging Buffered Size

    D-Link DES-3010FA/GA/PA CLI Reference Guide logging buffered size The logging buffered size Global Configuration mode command changes the number of syslog messages stored in the internal buffer. To return to the default configuration, use the no form of this command.
  • Page 273: Clear Logging

    clear logging The clear logging Privileged EXEC mode command clears messages from the internal logging buffer. Syntax clear logging Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example clears messages from the internal logging buffer.
  • Page 274: Logging File

    D-Link DES-3010FA/GA/PA CLI Reference Guide logging file The logging file Global Configuration mode command limits syslog messages sent to the logging file based on severity. To cancel using the buffer, use the no form of this command. Syntax logging file level...
  • Page 275: Clear Logging File

    clear logging file The clear logging file Privileged EXEC mode command clears messages from the logging file. Syntax clear logging file Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example clears messages from the logging file.
  • Page 276: Aaa Logging

    D-Link DES-3010FA/GA/PA CLI Reference Guide aaa logging The aaa logging Global Configuration mode command enables logging AAA login events. To disable logging AAA login events, use the no form of this command. Syntax aaa logging login no aaa logging login Parameters •...
  • Page 277: File-System Logging

    Syslog Commands file-system logging The file-system logging Global Configuration mode command enables logging file system events. To disable log- ging file system events, use the no form of this command. Syntax file-system logging copy no file-system logging copy Parameters • copy —...
  • Page 278: Management Logging

    D-Link DES-3010FA/GA/PA CLI Reference Guide management logging The management logging global configuration command enables logging management access list (ACL) events. To disable logging management access list events, use the no form of this command. Syntax management logging deny no management logging deny Parameters •...
  • Page 279: Show Logging

    show logging The show logging Privileged EXEC mode command displays the state of logging and the syslog messages stored in the internal buffer. Syntax show logging Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 280 D-Link DES-3010FA/GA/PA CLI Reference Guide 11-Aug-2004 15:41:43: %LINK-3-UPDOWN: Interface Ethernet2, changed state to up 11-Aug-2004 15:41:43: %LINK-3-UPDOWN: Interface Ethernet, changed state to up 11-Aug-2004 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2004 15:41:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up...
  • Page 281: Show Logging File

    show logging file The show logging file Privileged EXEC mode command displays the state of logging and the syslog messages stored in the logging file. Syntax show logging file Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 282 D-Link DES-3010FA/GA/PA CLI Reference Guide 11-Aug-2004 15:41:43: %LINK-3-UPDOWN: Interface Ethernet2, changed state to up 11-Aug-2004 15:41:43: %LINK-3-UPDOWN: Interface Ethernet3, changed state to up 11-Aug-2004 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2004 15:41:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up...
  • Page 283: Show Syslog-Servers

    show syslog-servers The show syslog-servers Privileged EXEC mode command displays the settings of the syslog servers. Syntax show syslog-servers Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays the settings of the syslog servers.
  • Page 284: Section 24. User Interface

    Section 24. User Interface enable The enable User EXEC mode command enters the Privileged EXEC mode. Syntax enable [privilege-level] Parameters • privilege-level — Privilege level to enter the system. (Range: 1 - 15) Default Configuration The default privilege level is 15. Command Mode User EXEC mode User Guidelines...
  • Page 285: Disable

    disable The disable Privileged EXEC mode command returns to the User EXEC mode. Syntax disable [privilege-level] Parameters • privilege-level — Privilege level to enter the system. (Range: 1 - 15) Default Configuration The default privilege level is 1. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 286: Login

    login The login User EXEC mode command changes a login username. Syntax login Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines There are no user guidelines for this command. Example The following example enters Privileged EXEC mode and logs in with username admin. Console>...
  • Page 287: Configure

    configure The configure Privileged EXEC mode command enters the Global Configuration mode. Syntax configure Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example enters Global Configuration mode. Console# configure Console(config)# Page 286...
  • Page 288: Exit (Configuration)

    exit (Configuration) The exit command exits any configuration mode to the next highest mode in the CLI mode hierarchy. Syntax exit Default Configuration This command has no default configuration. Command Mode All configuration modes User Guidelines There are no user guidelines for this command. Example The following example changes the configuration mode from Interface Configuration mode to Privileged EXEC mode.
  • Page 289: Exit

    User Interface exit The exit Privileged/User EXEC mode command closes an active terminal session by logging off the device. Syntax exit Default Configuration This command has no default configuration. Command Mode Privileged and User EXEC modes User Guidelines There are no user guidelines for this command. Example The following example closes an active terminal session.
  • Page 290: End

    The end command ends the current configuration session and returns to the Privileged EXEC mode. Syntax Default Configuration This command has no default configuration. Command Mode All configuration modes. User Guidelines There are no user guidelines for this command. Example The following example changes from Global Configuration mode to Privileged EXEC mode Console(config)# end Console#...
  • Page 291: Help

    help The help command displays a brief description of the help system. Syntax help Default Configuration This command has no default configuration. Command Mode All command modes User Guidelines There are no user guidelines for this command. Example The following example describes the help system Console# help Help may be requested at any point in a command by entering a question mark '?'.
  • Page 292: Terminal Data-Dump

    D-Link DES-3010FA/GA/PA CLI Reference Guide terminal data-dump The terminal data-dump User or Privileged EXEC mode command enables dumping all the output of a show command without prompting. To disable dumping, use the no form of this command. Syntax terminal data-dump...
  • Page 293: Show History

    show history The show history User or Privileged EXEC mode command lists the commands entered in the current session. Syntax show history Default Configuration This command has no default configuration. Command Mode User or Privileged EXEC mode User Guidelines User Guidelines The buffer includes executed and unexecuted commands.
  • Page 294: Show Privilege

    show privilege The show privilege Privileged/User EXEC mode command displays the current privilege level. Syntax show privilege Default Configuration This command has no default configuration. Command Mode Privileged and User EXEC modes User Guidelines There are no user guidelines for this command. Example The following example displays the current privilege level for the Privileged EXEC mode.
  • Page 295: Section 25. Vlan Commands

    Section 25. VLAN Commands vlan database The vlan database Global Configuration mode command enters the VLAN Configuration mode. Syntax vlan database Default Configuration This command has no default configuration. Command Mode Global Configuration mode User Guidelines There are no user guidelines for this command. Example The following example enters the VLAN database mode.
  • Page 296: Vlan

    vlan Use the vlan VLAN Database mode command to create a VLAN. To delete a VLAN, use the no form of this com- mand. Syntax vlan vlan-range no vlan vlan-range Parameters • vlan-range — Specifies a list of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma and no spaces;...
  • Page 297: Interface Vlan

    interface vlan The interface vlan Global Configuration mode command enters the Interface Configuration (VLAN) mode. Syntax interface vlan vlan-id Parameters • vlan-id — Specifies an existing VLAN ID. Default Configuration This command has no default configuration. Command Mode Global Configuration mode User Guidelines There are no user guidelines for this command.
  • Page 298: Interface Range Vlan

    interface range vlan The interface range vlan Global Configuration mode command enables simultaneously configuring multiple VLANs. Syntax interface range vlan {vlan-range | all} Parameters • vlan-range — Specifies a list of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma and no spaces;...
  • Page 299: Name

    name The name Interface Configuration mode command adds a name to a VLAN. To remove the VLAN name, use the no form of this command. Syntax name string no name Parameters • string — Unique name to be associated with this VLAN. (Range: 1-32 characters) Default Configuration No name is defined.
  • Page 300: Private-Vlan Primary

    private-vlan primary The private-vlan primary Interface Configuration (VLAN) mode command configures the primary PVLAN. To return to the default configuration, use the no form of this command. Syntax private-vlan primary no private-vlan primary Default Configuration No PVLANs are configured. Command Mode Interface Configuration (VLAN) mode User Guidelines •...
  • Page 301: Private-Vlan Isolated

    private-vlan isolated The private-vlan isolated Interface Configuration (VLAN) mode command configures the isolated VLAN of the PVLAN. To return to the default configuration, use the no form of this command. Syntax private-vlan isolated vlan-id no private-vlan isolated Parameters • vlan-id — Specifies the ID of the isolated VLAN. Default Configuration No VLAN is configured.
  • Page 302: Private-Vlan Community

    private-vlan community The private-vlan community Interface Configuration (VLAN)mode command associates the primary VLAN with the community VLANs. Syntax private-vlan community {add community-vlan-list | remove community-vlan-list } Parameters • add community-vlan-list — Specifies a list of community VLAN IDs to be associated. Separate nonconsecu- tive VLAN IDs with a comma and no spaces;...
  • Page 303: Switchport Mode

    switchport mode The switchport mode Interface Configuration mode command configures the VLAN membership mode of a port. To return to the default configuration, use the no form of this command. Syntax switchport mode {access | trunk | general} switchport mode private-vlan {promiscuous | community | isolated} no switchport mode Parameters •...
  • Page 304: Switchport Access Vlan

    switchport access vlan The switchport access vlan Interface Configuration mode command configures the VLAN ID when the interface is in access mode. To return to the default configuration, use the no form of this command. Syntax switchport access vlan {vlan-id | dynamic} no switchport access vlan Parameters •...
  • Page 305: Switchport Private-Vlan

    switchport private-vlan The switchport private-vlan Interface Configuration command configures private-vlan port VLANs. To return to the default configuration, use the no form of this command. Syntax switchport private-vlan promiscuous pvlan no switchport private-vlan promiscuous switchport private-vlan isolated pvlan no switchport private-vlan isolated switchport private-vlan community cvlan no switchport private-vlan community Parameters...
  • Page 306: Show Vlan Private-Vlan

    show vlan private-vlan The show vlan private-vlan Privileged EXEC mode command displays information about private VLANs. Syntax show vlan private-vlan [primary vlan-id] Parameters • vlan-id— Specifies the ID of the primary VLAN. Default Configuration This command has no default configuration. Command Mode Privileged EXEC User Guidelines...
  • Page 307: Switchport Trunk Allowed Vlan

    switchport trunk allowed vlan The switchport trunk allowed vlan Interface Configuration mode command adds or removes VLANs to or from a trunk port. Syntax switchport trunk allowed vlan {add vlan-list/all | remove vlan-list/all} Specify all existing IEEE 802.1 VLANs all - Parameters •...
  • Page 308: Switchport Trunk Native Vlan

    switchport trunk native vlan The switchport trunk native vlan Interface Configuration mode command defines the native VLAN when the interface is in trunk mode. To return to the default configuration, use the no form of this command. Syntax switchport trunk native vlan vlan-id no switchport trunk native vlan Parameters •...
  • Page 309: Switchport General Allowed Vlan

    switchport general allowed vlan The switchport general allowed vlan Interface Configuration mode command adds or removes VLANs from a general port. Syntax switchport general allowed vlan add vlan-list | all [tagged | untagged] switchport general allowed vlan remove vlan-list | all all - Specify all existing IEEE 802.1 VLANs.
  • Page 310: Switchport General Pvid

    switchport general pvid The switchport general pvid Interface Configuration mode command configures the PVID when the interface is in general mode. To return to the default configuration, use the no form of this command. Syntax switchport general pvid vlan-id no switchport general pvid Parameters •...
  • Page 311: Switchport General Ingress-Filtering Disable

    switchport general ingress-filtering disable The switchport general ingress-filtering disable Interface Configuration mode command disables port ingress filtering. To return to the default configuration, use the no form of this command. Syntax switchport general ingress-filtering disable no switchport general ingress-filtering disable Default Configuration Ingress filtering is enabled.
  • Page 312: Switchport General Acceptable-Frame-Type Tagged-Only

    switchport general acceptable-frame-type tagged-only The switchport general acceptable-frame-type tagged-only Interface Configuration mode command discards untagged frames at ingress. To return to the default configuration, use the no form of this command. Syntax switchport general acceptable-frame-type tagged-only no switchport general acceptable-frame-type tagged-only Default Configuration All frame types are accepted at ingress.
  • Page 313: Switchport Forbidden Vlan

    switchport forbidden vlan The switchport forbidden vlan Interface Configuration mode command forbids adding specific VLANs to a port. To return to the default configuration, use the remove parameter for this command. Syntax switchport forbidden vlan {add vlan-list/all | remove vlan-list/all} all - Specify all existing IEEE 802.1 VLANs Parameters •...
  • Page 314: Ip Internal-Usage-Vlan

    ip internal-usage-vlan The ip internal-usage-vlan Interface Configuration mode command reserves a VLAN as the internal usage VLAN of an interface. To return to the default configuration, use the no form of this command. Syntax ip internal-usage-vlan vlan-id no ip internal-usage-vlan Parameters •...
  • Page 315: Show Vlan

    show vlan The show vlan Privileged EXEC mode command displays VLAN information. Syntax show vlan [tag vlan-id | name vlan-name ] Parameters • vlan-tag — Displayed by VLAN Tags • vlan-name — Specifies a VLAN name string. (Range: 1 - 32 characters) Default Configuration This command has no default configuration.
  • Page 316: Show Vlan Internal Usage

    show vlan internal usage The show vlan internal usage Privileged EXEC mode command displays a list of VLANs used internally by the device. Syntax show vlan internal usage Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 317: Show Interfaces Switchport

    show interfaces switchport The show interfaces switchport Privileged EXEC mode command displays the switchport configuration. Syntax show interfaces switchport {ethernet interface | port-channel port-channel-number} Parameters • interface — A valid Ethernet port number. • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration.
  • Page 318 D-Link DES-3010FA/GA/PA CLI Reference Guide Page 317...
  • Page 319: Section 26. Web Server

    Web Server Section 26. Web Server ip http server The ip http server Global Configuration mode command enables configuring the device from a browser. To dis- able this function, use the no form of this command. Syntax ip http server no ip http server Default Configuration HTTP server is enabled.
  • Page 320: Ip Https Server

    D-Link DES-3010FA/GA/PA CLI Reference Guide ip https server The ip https server Global Configuration mode command enables configuring the device from a browser. To dis- able this function, use the no form of this command. Syntax ip https server no ip https server Default Configuration HTTPS server is enabled.
  • Page 321: Ip Http Exec-Timeout

    ip http exec-timeout The ip http exec-timeout global configuration command sets the interval in which the system waits for the user input in http sessions before automatic logoff, use the ip http exec-timeout global configuration command. To return to default, use the no form of this command. Syntax ip http exec-timeout minutes [seconds] no ip http exec-timeout...
  • Page 322: Ip Https Certificate

    D-Link DES-3010FA/GA/PA CLI Reference Guide ip https certificate The ip https certificate Global Configuration mode command enables configuring the active certificate for HTTPS. To disable this function, use the no form of this command. Syntax ip https certificate number no ip https certificate Parameters •...
  • Page 323: Show Ip Https

    show ip https The show ip https Global Configuration mode command displays the configuration of the HTTPS server. Syntax show ip https Default Configuration This command has no default setting. Command Mode Privileged EXEC User Guidelines There are no user guidelines for this command. Example The following is an example of using the show ip https command.
  • Page 324: Crypto Certificate Generate

    crypto certificate generate The crypto certificate generate Global Configuration mode command generates self signed certificate for HTTPS . Syntax crypto certificate number generate [key-generate [length]] [passphrase string] [cn common- name] [ou orga- nization-unit] [or organization] [loc location] [st state] [cu country] [duration days] Parameters •...
  • Page 325: Crypto Certificate Import

    Web Server crypto certificate import The crypto certificate import Global Configuration mode command enables to import a certificate signed by Cer- tification Authority for HTTPS. Syntax crypto certificate number import Parameters number - Specifies the certificate number. (Range: 1-2) Default Configuration This command has no default configuration.
  • Page 326 Example The following example enables configuring the device from a browser. Console(config)# crypto certificate 1 import -----BEGIN CERTIFICATE----- dHmUgUm9vdCBDZXJ0aWZpZXIwXDANBgkqhkiG9w0BAQEFAANLADBIAkEAp4HS nnH/xQSGA2ffkRBwU2XIxb7n8VPsTm1xyJ1t11a1GaqchfMqqe0kmfhcoHSWr yf1FpD0MWOTgDAwIDAQABo4IBojCCAZ4wEwYJKwYBBAGCNxQCBAYeBABDAEEw CwR0PBAQDAgFGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFAf4MT9BRD47 ZvKBAEL9Ggp+6MIIBNgYDVR0fBIIBLTCCASkwgdKggc+ggcyGgclsZGFwOi8v L0VByb3h5JTIwU29mdHdhcmUlMjBSb290JTIwQ2VydGlmaWVyLENOPXNlcnZl -----END CERTIFICATE----- Certificate imported successfully. Issued to: router.gm.com Issued by: www.verisign.com Valid from: 8/9/2003 to 8/9/2004 Subject: CN= router.gm.com, 0= General Motors, C= US Finger print: DC789788 DC88A988 127897BC BB789788 Console(config)# ip https server...
  • Page 327: Show Crypto Certificate Mycertificate

    show crypto certificate mycertificate The show crypto certificate mycertificate Global Configuration mode command enables to view SSL certifi- cates of the device. Syntax show crypto certificate mycertificate [number] Parameters • number - Specifies the certificate number. (Range: 1-Specific product) Default Configuration This command has no default setting.
  • Page 328: Ip Http Port

    D-Link DES-3010FA/GA/PA CLI Reference Guide ip http port Syntax ip http port port-number no ip http port Parameters • port-number — Port number for use by the HTTP server. (Range: 1 - 65535) Default Configuration The default port number is 80.
  • Page 329: Ip Https Port

    Web Server ip https port The ip https port Global Configuration mode command specifies the TCP port to be used by the Web browser interface. To return to the default configuration, use the no form of this command. Syntax ip https port port-number no ip https port Parameters •...
  • Page 330: Show Ip Http

    show ip http The show ip http Privileged EXEC mode command displays the HTTP server configuration. Syntax show ip http Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays the HTTP server configuration.
  • Page 331: Section 27. 802.1X Commands

    Section 27. 802.1x Commands aaa authentication dot1x The aaa authentication dot1x Global Configuration mode command specifies one or more authentication, autho- rization, and accounting (AAA) methods for use on interfaces running IEEE 802.1X. To return to the default config- uration, use the no form of this command. Syntax aaa authentication dot1x default method1 [method2...] no aaa authentication dot1x default...
  • Page 332: Dot1X System-Auth-Control

    D-Link DES-3010FA/GA/PA CLI Reference Guide dot1x system-auth-control The dot1x system-auth-control Global Configuration mode command enables 802.1x globally. To return to the default configuration, use the no form of this command. Syntax dot1x system-auth-control no dot1x system-auth-control Default Configuration 802.1x is disabled globally.
  • Page 333: Dot1X Port-Control

    dot1x port-control The dot1x port-control Interface Configuration mode command enables manually controlling the authorization state of the port. To return to the default configuration, use the no form of this command. Syntax dot1x port-control {auto | force-authorized | force-unauthorized} no dot1x port-control Parameters •...
  • Page 334: Dot1X Re-Authentication

    dot1x re-authentication The dot1x re-authentication Interface Configuration mode command enables periodic re-authentication of the client. To return to the default configuration, use the no form of this command. Syntax dot1x re-authentication no dot1x re-authentication Default Configuration Periodic re-authentication is disabled. Command Mode Interface Configuration (Ethernet) User Guidelines...
  • Page 335: Dot1X Timeout Re-Authperiod

    dot1x timeout re-authperiod The dot1x timeout re-authperiod Interface Configuration mode command sets the number of seconds between re-authentication attempts. To return to the default configuration, use the no form of this command. Syntax dot1x timeout re-authperiod seconds no dot1x timeout re-authperiod Parameters •...
  • Page 336: Dot1X Re-Authenticate

    D-Link DES-3010FA/GA/PA CLI Reference Guide dot1x re-authenticate The dot1x re-authenticate Privileged EXEC mode command manually initiates a re-authentication of all 802.1X- enabled ports or the specified 802.1X-enabled port. Syntax dot1x re-authenticate [ethernet interface] Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 337: Dot1X Timeout Quiet-Period

    dot1x timeout quiet-period The dot1x timeout quiet-period Interface Configuration mode command sets the number of seconds that the device remains in the quiet state following a failed authentication exchange (for example, the client provided an invalid password). To return to the default configuration, use the no form of this command. Syntax dot1x timeout quiet-period seconds no dot1x timeout quiet-period...
  • Page 338: Dot1X Timeout Tx-Period

    dot1x timeout tx-period The dot1x timeout tx-period Interface Configuration mode command sets the number of seconds that the device waits for a response to an Extensible Authentication Protocol (EAP)-request/identity frame from the client before resending the request. To return to the default configuration, use the no form of this command. Syntax dot1x timeout tx-period seconds no dot1x timeout tx-period...
  • Page 339: Dot1X Max-Req

    dot1x max-req The dot1x max-req Interface Configuration mode command sets the maximum number of times that the device sends an Extensible Authentication Protocol (EAP)-request/identity frame (assuming that no response is received) to the client, before restarting the authentication process. To return to the default configuration, use the no form of this command.
  • Page 340: Dot1X Timeout Supp-Timeout

    dot1x timeout supp-timeout The dot1x timeout supp-timeout Interface Configuration mode command sets the time for the retransmission of an Extensible Authentication Protocol (EAP)-request frame to the client. To return to the default configuration, use the no form of this command. Syntax dot1x timeout supp-timeout seconds no dot1x timeout supp-timeout...
  • Page 341: Dot1X Timeout Server-Timeout

    dot1x timeout server-timeout The dot1x timeout server-timeout Interface Configuration mode command sets the time that the device waits for a response from the authentication server. To return to the default configuration, use the no form of this command. Syntax dot1x timeout server-timeout seconds no dot1x timeout server-timeout Parameters •...
  • Page 342: Show Dot1X

    show dot1x The show dot1x Privileged or User EXEC mode command displays the 802.1X status of the device or specified interface. Syntax show dot1x [ethernet interface] Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration. Command Mode Privileged or User EXEC mode User Guidelines...
  • Page 343 Port Admin Mode Oper Mode ---- ---------- --------- Auto Unauthorized Quiet period: 60 Seconds Tx period:30 Seconds Max req: 2 Supplicant timeout: 30 Seconds Server timeout: 30 Seconds Session Time (HH:MM:SS): 08:19:17 MAC Address: 00:08:78:32:98:78 Authentication Method: Remote Termination Cause: Supplicant logoff Authenticator State Machine State: HELD Backend State Machine...
  • Page 344 Protocol (EAP)-request frame (assuming that no response is received) to the client before restarting the authentication process. Supplicant timeout Time in seconds the switch waits for a response to an EAP-request frame from the client before resending the request. Server timeout Time in seconds the switch waits for a response from the authentication server before resending the request.
  • Page 345: Show Dot1X Users

    show dot1x users The show dot1x users Privileged or User EXEC mode command displays active 802.1X authenticated users for the device. Syntax show dot1x users [username username] Parameters • username — Supplicant username (Range: 1-160 characters) Default Configuration This command has no default configuration. Command Mode Privileged or User EXEC mode User Guidelines...
  • Page 346 The following table describes significant fields shown above: Field Description Port The port number. Username The username representing the identity of the Supplicant. Session Time The period of time the Supplicant is connected to the system. Authentication Method Authentication method used by the Supplicant to open the session. MAC Address MAC address of the Supplicant.
  • Page 347: Show Dot1X Statistics

    show dot1x statistics The show dot1x statistics Privileged or User EXEC mode command displays 802.1X statistics for the specified interface. Syntax show dot1x statistics ethernet interface Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration. Command Mode Privileged or User EXEC mode User Guidelines...
  • Page 348 The following table describes the significant fields shown in the display: Field EapolFramesRx EapolFramesTx EapolStartFramesRx EapolLogoffFramesRx EapolRespIdFramesRx EapolRespFramesRx EapolReqIdFramesTx EapolReqFramesTx InvalidEapolFramesRx EapLengthErrorFramesRx LastEapolFrameVersion LastEapolFrameSource Description The number of valid EAPOL frames of any type that have been received by this Authenticator. The number of EAPOL frames of any type that have been transmitted by this Authenticator.
  • Page 349: Advanced Features

    ADVANCED FEATURES dot1x auth-not-req The dot1x auth-not-req Interface Configuration (VLAN) mode command enables unauthorized devices access to the VLAN. To disable access to the VLAN, use the no form of this command. Syntax dot1x auth-not-req no dot1x auth-not-req Default Configuration Access is enabled.
  • Page 350: Dot1X Multiple-Hosts

    dot1x multiple-hosts The dot1x multiple-hosts Interface Configuration mode command enables multiple hosts (clients) on an 802.1X- authorized port, where the authorization state of the port is set to auto. To return to the default configuration, use the no form of this command. Syntax dot1x multiple-hosts no dot1x multiple-hosts...
  • Page 351: Dot1X Single-Host-Violation

    dot1x single-host-violation The dot1x single-host-violation Interface Configuration mode command configures the action to be taken, when a station whose MAC address is not the supplicant MAC address, attempts to access the interface. Use the no form of this command to return to default. Syntax dot1x single-host-violation {forward | discard | discard-shutdown} [trap seconds] no port dot1x single-host-violation...
  • Page 352: Dot1X Guest-Vlan

    dot1x guest-vlan The dot1x guest-vlan Interface Configuration (VLAN) mode command defines a guest VLAN. To return to the default configuration, use the no form of this command. Syntax dot1x guest-vlan no dot1x guest-vlan Default Configuration No VLAN is defined as a guest VLAN. Command Mode Interface Configuration (VLAN) mode User Guidelines...
  • Page 353: Dot1X Guest-Vlan Enable

    dot1x guest-vlan enable The dot1x vlans guest-vlan enable Interface Configuration mode command enables unauthorized users on the interface access to the Guest VLAN. To disable access, use the no form of this command Syntax dot1x guest-vlan enable no dot1x guest-vlan enable Default Configuration Disabled.
  • Page 354: Show Dot1X Advanced

    show dot1x advanced The show dot1x advanced Privileged EXEC mode command displays 802.1X advanced features for the device or specified interface. Syntax show dot1x advanced [ethernet interface] Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines...
  • Page 355 802.1x Commands Trap frequency: 100 Status: Single-host locked Violations since last trap: 9 Page 354...
  • Page 356: Troubleshooting

    Listed below are some possible troubleshooting problems and solutions. These error messages include: • Cannot connect to management using RS-232 serial connection • Cannot connect to switch management using Telnet, HTTP, SNMP, etc. • Self-test exceeds 15 seconds • No connection is established and the port LED is on •...
  • Page 357 Use the included cable, or be sure that the pin-out complies with a standard null- modem cable Be sure the switch has a valid IP address, subnet mask and default gateway config- ured Check that your cable is properly con-...
  • Page 358 P r o bl e m s P os s i bl e C a u s e No connection and the port Incorrect ethernet cable, e.g., LED is off crossed rather than straight cable, or vice versa, split pair (incorrect twisting of pairs) Fiber optical cable connec- tion is reversed...
  • Page 359 P r o bl e m s P os s i bl e C a u s e Add and Edit pages do not A pop-up blocker is enabled. open. Lost password Sol ut i o n Disable pop-up blockers. The Password Recovery Procedure enables the user to set the password back to the default setting.
  • Page 360: International Offices

    Australia 1 Giffnock Avenue, North Ryde, NSW 2113 Australia TEL: 61-2-8899-1800 FAX: 61-2-8899-1868 URL: www.dlink.com.au India D-Link House, Kurla Bandra Complex Road, Off CST Road, Santacruz (East), Mumbai - 400098. India TEL: 91-022-26526696/56902210 FAX: 91-022-26528914 URL: www.dlink.co.in Middle East (Dubai) P.O.Box: 500376...
  • Page 361 International Offices Page 360...

Table of Contents