D-Link DES-3226L Cli Command Reference

D-Link DES-3226L Cli Command Reference

Layer 2 switch, 24 port 10/100 managed switch plus 2 combo gigabit copper/sfp ports
Hide thumbs Also See for DES-3226L:
Table of Contents

Advertisement

DES-3226L
Release 2

Layer 2 Switch

24 Port 10/100 Managed Switch
Plus 2 Combo Gigabit Copper/SFP Ports

CLI Command Reference

Business Class Networking

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DES-3226L

  • Page 1: Layer 2 Switch

    DES-3226L Release 2 Layer 2 Switch 24 Port 10/100 Managed Switch Plus 2 Combo Gigabit Copper/SFP Ports CLI Command Reference Business Class Networking...
  • Page 3: Table Of Contents

    Copyright Statement ......... . D-Link DES-3226L Overview......17 Scope .
  • Page 4 D-Link DES-3226L Command Line Reference bridge aging-time..........
  • Page 5 snmp-server community......... . no snmp-server community .
  • Page 6 D-Link DES-3226L Command Line Reference no vlan port tagging all ......... 54 vlan pvid.
  • Page 7 show igmpsnooping mrouter interface ......show igmpsnooping mrouter vlan ........show mac-address-table igmpsnooping .
  • Page 8 D-Link DES-3226L Command Line Reference show gvrp configuration .........
  • Page 9 dot1x timeout ..........no dot1x timeout .
  • Page 10 ........
  • Page 11: List Of Figures

    List of Figures List of Figures Figure 1. Mode-based CLI ......... . 26 Figure 2.
  • Page 12 D-Link DES-3226L Command Line Reference...
  • Page 13: List Of Tables

    List of Tables List of Tables Table 1. Parameter Conventions ........20 Table 2.
  • Page 14 D-Link DES-3226L Command Line Reference...
  • Page 15: About This Book

    This document is intended for system administrators who configure and operate systems using D-Link DES-3226L software. It provides an understanding of the configuration options of the D-Link DES- 3226L software. This document assumes that the reader has a basic knowledge of Ethernet and networking concepts.
  • Page 16 D-Link DES-3226L Command Line Reference...
  • Page 17: D-Link Des-3226L Overview

    Fast Ethernet and Gigabit Ethernet switching continues to evolve from high-end backbone applications to desktop switching applications. The price of the technology continues to decline, while performance and feature sets continue to improve. The D-Link DES-3226L provides a flexible solution to these ever- increasing needs.
  • Page 18 D-Link DES-3226L Command Line Reference...
  • Page 19: Command Structure

    Command Structure The command-line interface (CLI) is a text-based way to manage and monitor the system. You can access the CLI by using a direct serial connection or by using a remote logical connection with telnet or SSH. This chapter describes the CLI syntax, conventions, and help. It contains the following sections: “Command Syntax”...
  • Page 20: Parameter Values

    D-Link DES-3226L Command Line Reference The parameters for a command might include mandatory values, optional values, or keyword choices. Table 1 describes the conventions this document uses to distinguish between value types. Table 1. Parameter Conventions Symbol <> angle brackets...
  • Page 21: Slot-Port Naming Convention

    Character strings Slot-Port Naming Convention D-Link DES-3226L software references physical entities such as cards and ports by using a Slot-Port (SP) naming convention. The D-Link DES-3226L software also uses this convention to identify certain logical entities such as Link Aggregation (LAG) or Port-Channel interfaces.
  • Page 22: Cli Line-Editing Conventions

    D-Link DES-3226L Command Line Reference CLI Line-Editing Conventions Table 5 describes the key combinations you can use to edit commands or increase the speed of command entry. You can access this list from the CLI by entering EXEC modes. Table 5. CLI Editing Conventions...
  • Page 23: Using Cli Help

    Display switch options and settings. Enable/Disable. Configure Network Parameters of the router. Select DHCP, BootP, or None as the network config protocol. Configure the Management VLAN ID of the switch. Enter the IP Address. Press Enter to execute the command mac-address-table monitor...
  • Page 24 D-Link DES-3226L Command Line Reference...
  • Page 25: Command-Line Interface Modes

    Command-Line Interface Modes The CLI groups all the commands into modes according to the nature of the commands. This section describes the CLI command modes for the D-Link DES-3226L switch. Each of the command modes supports specific D-Link DES-3226L software commands.
  • Page 26: Mode-Based Topology

    Access to all commands in the Privileged EXEC mode and below are restricted through a password. Mode-based Command Hierarchy The commands in one mode are not available until you switch to that particular mode, with the exception of the User EXEC mode commands. You can execute the User EXEC mode commands in the Privileged EXEC mode.
  • Page 27: Command Mode Description

    When you log into the CLI, the User EXEC mode is the initial mode. The User EXEC mode contains a limited set of commands. The command prompt shown at this level is: Command Prompt: Switch> Privileged EXEC Mode To have access to the full suite of commands, you must enter the Privileged EXEC mode. The Privileged EXEC mode requires password authentication.
  • Page 28: Flow Of Operation

    D-Link DES-3226L Command Line Reference Flow of Operation This section describes the flow of operation for the CLI. Log into the CLI session and enter the User EXEC mode. In the User EXEC mode the $(exec)> prompt displays on the screen.
  • Page 29: Setup And Management Commands

    Copy commands transfer or save configuration and informational files to and from the switch. System Management Commands You can use telnet to manage the D-Link DES-3226L switch from a remote management system. To manage the device locally, you can use a direct serial-cable connection. This section describes commands you use to manage remote and direct connections to the device.
  • Page 30: Network Mgmt_Vlan

    D-Link DES-3226L Command Line Reference network mgmt_vlan This command configures the Management VLAN ID. Default Format network mgmt_vlan <1-4069> Mode Privileged EXEC no network mgmt_vlan This command sets the Management VLAN ID to the default. Format no network mgmt_vlan <1-4069>...
  • Page 31: Telnetcon Timeout

    Global Config network javamode This command specifies whether or not the switch should allow access to the Java applet in the header frame of the Web interface. When access is enabled, the Java applet can be viewed from the Web interface.
  • Page 32: No Network Javamode

    D-Link DES-3226L Command Line Reference no network javamode This command disallows access to the Java applet in the header frame of the Web interface. When access is disabled, the user cannot view the Java applet. Format no network javamode Mode...
  • Page 33: No Serial Baudrate

    no serial baudrate This command sets the communication rate of the terminal interface. Format no serial baudrate Mode Line Config serial timeout This command specifies the maximum connect time (in minutes) without console activity. A value of 0 indicates that a console can be connected indefinitely. The time range is 0 to 160. Default Format serial timeout <0-160>...
  • Page 34: Show Network

    This command displays configuration settings associated with the switch's network interface. The network interface is the logical interface used for in-band connectivity with the switch via any of the switch's front panel ports. The configuration parameters associated with the switch's network interface do not affect the configuration of the front panel ports through which traffic is switched or routed.
  • Page 35: Show Serial

    Privileged EXEC User EXEC Serial Port Login Timeout (minutes) Serial port connection, after which the Switch will close the connection. Any numeric value between 0 and 160 is allowed, the factory default is 5. A value of 0 disables the timeout.
  • Page 36: Cablestatus

    D-Link DES-3226L Command Line Reference cablestatus This command tests the status of the cable attached to an interface. Format cablestatus <slot/port> Mode Privileged EXEC auto-negotiate This command enables automatic negotiation on a port. The default value is enable. Format auto-negotiate...
  • Page 37: Monitor Session

    monitor session This command configures a probe port and a monitored port for monitor session (port monitoring). The first <slot/port> is the source monitored port and the second <slot/port> is the destination probe port. The monitor session (port monitoring) mode becomes enabled only when both the probe and monitored ports are configured.
  • Page 38: Show Monitor Session 1

    D-Link DES-3226L Command Line Reference show monitor session 1 This command displays the port monitoring information for a particular mirroring session. Note: The <session-id> parameter is an integer value used to identify the session. In the cur- rent version of the software, the <session-id> parameter is always 1.
  • Page 39: Speed

    The threshold implementation follows a percentage pattern. If the broadcast traffic on any Ethernet port exceeds the high threshold percentage (as represented in Table 7) of the link speed, the switch discards the broadcasts traffic until the broadcast traffic returns to the low threshold percentage or less. The full implementation is depicted in Table 7.
  • Page 40: No Storm-Control Broadcast

    Mode Global Config storm-control flowcontrol This command enables 802.3x flow control for the switch and only applies to full-duplex mode ports. Note: 802.3x flow control works by pausing a port when the port becomes oversubscribed and dropping all traffic for small bursts of time during the congestion condition. This can lead to high-priority and/or network control traffic loss.
  • Page 41: Show Mac-Address-Table Stats

    Description The text description of this multicast table entry. Interfaces The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:). Forwarding Interfaces component’s forwarding interfaces and removing the interfaces that are listed as the static filtering interfaces. show mac-address-table stats This command displays the Multicast Forwarding Database (MFDB) statistics.
  • Page 42: Show Storm-Control

    802.3x Flow Control Mode SNMP Community Commands You can configure the D-Link DES-3226L switch to act as a Simple Network Management Protocol (SNMP) agent so that it can communicate with SNMP managers on your network. This section describes the commands you use to configure SNMP on the D-Link DES-3226L switch.
  • Page 43: Snmp-Server Community

    This command adds (and names) a new SNMP community. A community <name> is a name associated with the switch and with a set of SNMP managers that manage it with a specified privileged level. The length of <name> can be up to 16 case-sensitive characters.
  • Page 44: No Snmp-Server Community Ipmask

    This command activates an SNMP community. If a community is enabled, an SNMP manager associated with this community manages the switch according to its access right. If the community is disabled, no SNMP requests using this community are accepted. In this case the SNMP manager associated with this community cannot manage the switch until the Status is changed back to Enable.
  • Page 45: Snmp-Server Enable Traps

    Global Config snmp-server enable traps linkmode This command enables Link Up/Down traps for the entire switch. When enabled, link traps are sent only if the Link Trap flag setting associated with the port is enabled. See “snmp trap link-status” on page 47.
  • Page 46: Snmp-Server Enable Traps Stpmode

    D-Link DES-3226L Command Line Reference snmp-server enable traps stpmode This command enables the sending of new root traps and topology change notification traps. Default enabled Format snmp-server enable traps stpmode Mode Global Config no snmp-server enable traps stpmode This command disables the sending of new root traps and topology change notification traps.
  • Page 47: Snmptrap Ipaddr

    snmptrap ipaddr This command assigns an IP address to a specified community name. The maximum length of name is 16 case-sensitive alphanumeric characters. IP addresses in the SNMP trap receiver table must be unique. If you make multiple entries using the same IP address, the first entry is retained and processed. All duplicate entries are ignored.
  • Page 48: No Snmp Trap Link-Status All

    If a trap condition is enabled and the condition is detected, the SNMP agent on the switch sends the trap to all enabled trap receivers. You do not have to reset the switch to implement the changes. Cold and warm start traps are always generated and cannot be disabled.
  • Page 49: Show Snmptrap

    Multiple Users Flag whether a trap will be sent when the same user ID is logged into the switch more than once at the same time (either via telnet or serial port). Spanning Tree Flag whether spanning tree traps will be sent.
  • Page 50 D-Link DES-3226L Command Line Reference...
  • Page 51: Switching Commands

    Switching Commands This section describes the switching commands available on the D-Link DES-3226L. The switching commands section includes the following subsections: “Virtual LAN (VLAN) Commands” on page 51 “Protected Ports Commands” on page 56 “Link Aggregation/Port-Channel (802.3AD) Commands” on page 57 “IGMP Snooping Commands”...
  • Page 52: No Vlan Acceptframe

    D-Link DES-3226L Command Line Reference Mode Interface Config no vlan acceptframe This command sets the frame acceptance mode per interface to Admit All. For Admit All mode, untagged frames or priority frames received on this interface are accepted and assigned the value of the interface VLAN ID for this port.
  • Page 53: Vlan Port Acceptframe All

    Mode Global Config Participation options are: include The interface is always a member of this VLAN. This is equivalent to regis- tration fixed. exclude The interface is never a member of this VLAN. This is equivalent to registra- tion forbidden. vlan port acceptframe all This command sets the frame acceptance mode for all interfaces.
  • Page 54: Vlan Port Tagging All

    D-Link DES-3226L Command Line Reference vlan port tagging all This command configures the tagging behavior for all interfaces in a VLAN to enabled. If tagging is enabled, traffic is transmitted as tagged frames. If tagging is disabled, traffic is transmitted as untagged frames.
  • Page 55: Show Vlan

    show vlan This command displays detailed information, including interface information, for a specific VLAN. The ID is a valid VLAN identification number. Format show vlan <vlanid> Modes Privileged EXEC User EXEC VLAN ID There is a VLAN Identifier (VID) associated with each VLAN. The range of the VLAN ID is 1 to 4094.
  • Page 56: Show Vlan Port

    802.1Q VLAN specification. Protected Ports Commands This section describes commands you use to configure and view protected ports on a switch. Protected ports do not forward traffic to each other, even if they are on the same VLAN. However, protected ports can forward traffic to all unprotected ports in their group.
  • Page 57: No Switchport Protected

    LAG must use all Fast Ethernet (10/100) ports or all Gigabit Ethernet (10/100/1000) ports, but not both, regardless of what you set the actual link speed to be. You can create two LAGs on the switch if you use Fast Ethernet ports. You can create one LAG if you use Gigabit Ethernet ports.
  • Page 58: Port-Channel

    D-Link DES-3226L Command Line Reference port-channel This command configures a new port-channel and generates a logical slot/port number for the port- channel. The <name> field is a character string which allows the dash “-” character as well as alphanumeric characters. Display this number using the “show port-channel” command.
  • Page 59: No Port Lacpmode

    no port lacpmode This command disables Link Aggregation Control Protocol (LACP) on a port. Format no port lacpmode Mode Interface Config port lacpmode all This command enables Link Aggregation Control Protocol (LACP) on all ports. Format port lacpmode all Mode Global Config no port lacpmode all This command disables Link Aggregation Control Protocol (LACP) on all ports.
  • Page 60: No Port-Channel Linktrap

    This field lists the ports that are members of this port-channel, in notation. Active Ports This field lists the ports that are actively participating in this port-channel. show port-channel This command displays an overview of all port-channels (LAGs) on the switch. Format show port-channel {<logical slot/port> | all} Modes Privileged EXEC...
  • Page 61: Igmp Snooping Commands

    This section describes the commands you use to configure Internet Group Management Protocol (IGMP) Snooping on the D-Link DES-3226L switch. The IGMP Snooping feature can help conserve bandwidth because it allows the switch to forward IP multicast traffic only to connected hosts that request multicast traffic.
  • Page 62: No Set Igmp

    This command enables or disables IGMP Snooping fast-leave admin mode on a selected interface or VLAN. Enabling fast-leave allows the switch to immediately remove the layer 2 LAN interface from its forwarding table entry upon receiving an IGMP leave message for that multicast group without first sending out MAC-based general queries to the interface.
  • Page 63: Set Igmp Groupmembership-Interval

    VLAN. This is the amount of time in seconds that a switch waits for a query to be received on an interface before the interface is removed from the list of interfaces with multicast routers attached. The range is 0 to 3600 seconds.
  • Page 64: No Set Igmp Mcrtexpiretime

    D-Link DES-3226L Command Line Reference Default Format set igmp mcrtexpiretime <vlanId> <0-3600> Modes Global Config Interface Config no set igmp mcrtexpiretime This command sets the Multicast Router Present Expiration time to 0. The time is set for the system, on a particular interface or a VLAN.
  • Page 65: Show Igmpsnooping

    Indicates whether Fast Leave mode is enabled. Displays the amount of time in seconds that the device Displays the amount of time the switch waits after it sends a query on Displays the amount of time to wait before Indicates whether or not multicast router is statically enabled...
  • Page 66: Show Igmpsnooping Mrouter Vlan

    The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:). Spanning Tree Protocol (STP) Commands This section describes the commands you use to configure Spanning Tree Protocol (STP) on the D-Link DES-3226L switch. STP helps prevent network loops, duplicate messages, and network instability. Note: STP is disabled by default.
  • Page 67: No Spanning-Tree

    This command sets the Configuration Identifier Name for use in identifying the configuration that this switch is currently using. The <name> is a string of up to 32 characters. Default The base MAC address displayed using hexadecimal notation.
  • Page 68: No Spanning-Tree Configuration Revision

    D-Link DES-3226L Command Line Reference no spanning-tree configuration revision This command sets the Configuration Identifier Revision Level the default value of 0. Format no spanning-tree configuration revision Mode Global Config spanning-tree edgeport This command specifies that this port is an Edge Port within the common and internal spanning tree.
  • Page 69: No Spanning-Tree Forward-Time

    no spanning-tree forward-time This command sets the Bridge Forward Delay parameter to the default value of 15. Format no spanning-tree forward-time Mode Global Config spanning-tree hello-time This command sets the Admin Hello Time parameter to a new value for the common and internal spanning tree.
  • Page 70: No Spanning-Tree Max-Hops

    D-Link DES-3226L Command Line Reference no spanning-tree max-hops This command sets the Bridge Max Hops parameter for the common and internal spanning tree to the default value. Format no spanning-tree max-hops Mode Global Config spanning-tree mst This command sets the Path Cost or Port Priority for this port within the multiple spanning tree instance or in the common and internal spanning tree.
  • Page 71: Spanning-Tree Mst Instance

    This command adds a multiple spanning tree instance to the switch. The parameter <mstid> is a number within a range of 1 to 4094, that corresponds to the new instance ID to be added. The maximum number of multiple instances supported by the D-Link DES-3226L switch is 4.
  • Page 72: No Spanning-Tree Mst Vlan

    VLAN ID. Format no spanning-tree mst vlan <mstid> <vlanid> Mode Global Config spanning-tree port mode This command sets the Administrative Switch Port State for this port to enabled. Default disabled Format spanning-tree port mode Mode Interface Config no spanning-tree port mode This command sets the Administrative Switch Port State for this port to disabled.
  • Page 73: Show Spanning-Tree

    Time in seconds. Number of times changed. Boolean value of the Topology Change parameter for the switch indicat- The bridge identifier of the root bridge. It is made up from the bridge pri- Value of the Root Path Cost parameter for the common and internal span- Identifier of the port to access the Designated Root for the CST.
  • Page 74: Show Spanning-Tree Summary

    MST Instances show spanning-tree interface This command displays the settings and parameters for a specific switch port within the common and internal spanning tree. The <slot/port> is the desired switch port. The following details are displayed on execution of the command.
  • Page 75: Show Spanning-Tree Mst Port Detailed

    This command displays the detailed settings and parameters for a specific switch port within a particular multiple spanning tree instance. The parameter <mstid> is a number that corresponds to the desired existing multiple spanning tree instance. The <slot/port> is the desired switch port.
  • Page 76: Show Spanning-Tree Mst Port Summary

    The parameter <mstid> indicates a particular MST instance. The parameter {<slot/port> | all} indicates the desired switch port or all ports. If you specify 0 (defined as the default CIST ID) as the <mstid>, the status summary displays for one or all ports within the common and internal spanning tree.
  • Page 77: Show Spanning-Tree Mst Summary

    Link Trap The link trap configuration for the specified interface. show spanning-tree mst summary This command displays summary information about all multiple spanning tree instances in the switch. On execution, the following details are displayed. Format show spanning-tree mst summary...
  • Page 78: No Set Gvrp Adminmode

    D-Link DES-3226L Command Line Reference no set gvrp adminmode This command disables GVRP. Format no set gvrp adminmode Mode Privileged EXEC set gvrp interfacemode This command enables GVRP. Default disabled Format set gvrp interfacemode Modes Interface Config Global Config no set gvrp interfacemode This command disables GVRP.
  • Page 79: Class Of Service (Cos) Commands

    Class of Service (CoS) Commands This section describes the commands you use to configure and view Class of Service (CoS) settings on the D-Link DES-3226L switch. The commands in this section allow you to control the priority and transmission rate of traffic.
  • Page 80: No Traffic-Shape

    D-Link DES-3226L Command Line Reference The default traffic shaping value is 0, meaning no upper limit is enforced, which allows the interface to transmit up to its maximum traffic rate. Default Format traffic-shape {<0-100> | rate <0-10000000>} Modes Global Config...
  • Page 81: Show Classofservice Trust

    Mode Privileged EXEC The following information is repeated for each user priority. User Priority The 802.1p user priority value. Traffic Class The traffic class internal queue identifier to which the user priority value is mapped. show classofservice trust This command displays the current trust mode setting for a specific interface. The slot/port parameter is optional and is only valid on platforms that support independent per-port class of service mappings.
  • Page 82 D-Link DES-3226L Command Line Reference...
  • Page 83: Access And Security Commands

    Show commands are used to display switch settings, statistics and other information. User Account Commands The D-Link DES-3226L switch has two default users: admin and guest. The admin user can view and configure system settings, and the guest user can view settings. This section describes the commands you use to add, manage, and delete system users.
  • Page 84: No Users Passwd

    D-Link DES-3226L Command Line Reference eight alphanumeric characters. The username and password are not case-sensitive. When you change a password, a prompt asks for the old password. If there is no password, press enter. Default. no password Format. users passwd <username>...
  • Page 85: No Users Snmpv3 Authentication

    Format no users snmpv3 encryption <username> Mode Global Config show loginsession This command displays current telnet and serial port connections to the switch. Format show loginsession Mode Privileged EXEC Login Session ID User Name The name the user will use to login using the serial port or Telnet.
  • Page 86: Show Users

    This command creates an authentication login list. The <listname case sensitive. Up to 10 authentication login lists can be configured on the switch. When a list is created, the authentication method “local” is set as the first method.
  • Page 87: No Authentication Login

    To authenticate a user, the first authentication method in the user’s login (authentication login list) is attempted. D-Link DES-3226L software does not utilize multiple entries in the user’s login. If the first entry returns a timeout, the user authentication attempt fails.
  • Page 88: Dot1X Initialize

    D-Link DES-3226L Command Line Reference dot1x initialize This command begins the initialization sequence on the specified port. This command is only valid if the control mode for the specified port is 'auto'. If the control mode is not 'auto' an error will be returned.
  • Page 89: No Dot1X Port-Control

    no dot1x port-control This command sets the authentication mode to be used on the specified port to 'auto'. Format no dot1x port-control Mode Interface Config dot1x port-control all This command sets the authentication mode on all ports. The control mode can be: force-unauthorized: The authenticator PAE unconditionally sets the controlled port to unauthorized.
  • Page 90: Dot1X System-Auth-Control

    D-Link DES-3226L Command Line Reference dot1x system-auth-control This command is used to enable the dot1x authentication support on the switch. By default, the authentication support is disabled. While disabled, the dot1x configuration is retained and can be changed, but is not activated.
  • Page 91: No Dot1X Timeout

    If the user is assigned a login list that requires remote authentication, all access to the interface from all CLI, web, and telnet sessions will be blocked until the authentication is complete. Note that the login list associated with the ‘admin’ user can not be changed to prevent accidental lockout from the switch. Format users login <user> <listname>...
  • Page 92: Show Authentication

    D-Link DES-3226L Command Line Reference show authentication This command displays the ordered authentication methods for all authentication login lists. Format. show authentication Mode Privileged EXEC Authentication Login List Method 1 This displays the first method in the specified authentication login list, if any.
  • Page 93 Key Transmission Enabled Indicates if the key is transmitted to the supplicant for the specified port. If the optional parameter 'detail <slot/port>' is used, the detailed dot1x configuration for the specified port are displayed. Port The interface whose configuration is displayed. Protocol Version The protocol version associated with this port.
  • Page 94: Show Dot1X Users

    D-Link DES-3226L Command Line Reference If the optional parameter 'statistics <slot/port>' is used, the dot1x statistics for the specified port are displayed. Port The interface whose statistics are displayed. EAPOL Frames Received been received by this authenticator. EAPOL Frames Transmitted transmitted by this authenticator.
  • Page 95: Radius Commands

    802.1x Port Security for 802.1x port security. RADIUS Commands This section describes the commands you use to configure the D-Link DES-3226L switch to use a Remote Authentication Dial In User Service (RADIUS) server on your network for authentication and accounting.
  • Page 96: No Radius Server Host

    D-Link DES-3226L Command Line Reference Note: To re-configure a RADIUS accounting server to use the default UDP <port>, set the <port> parameter to 1813. Format radius server host {auth | acct} <ipaddr> [<port>] Mode Global Config no radius server host This command is used to remove the configured RADIUS authentication server or the RADIUS accounting server.
  • Page 97: Radius Server Retransmit

    Global Config show radius This command is used to display the various RADIUS configuration items for the switch as well as the configured RADIUS servers. If the optional token 'servers' is not included, the following RADIUS configuration items are displayed.
  • Page 98: Show Radius Accounting

    D-Link DES-3226L Command Line Reference Number of configured servers Max number of retransmits request packet is retransmitted. Timeout Duration Accounting Mode If the optional token 'servers' is included, the following information regarding the configured RADIUS servers is displayed. IP Address IP Address of the configured RADIUS server.
  • Page 99: Show Radius Statistics

    Responses The number of RADIUS packets received on the accounting port from this server. Malformed Responses received from this server. Malformed packets include packets with an invalid length. Bad authenticators and unknown types are not included as malformed accounting responses. Bad Authenticators invalid authenticators received from this accounting server.
  • Page 100: Secure Shell (Ssh) Commands

    Secure Shell (SSH) Commands This section describes the commands you use to configure SSH. Use SSH for secure, remote access to the switch. You can have a maximum of five simultaneous SSH connections. ip ssh This command is used to enable SSH.
  • Page 101: Sshcon Maxsessions

    sshcon maxsessions This command specifies the maximum number of SSH connection sessions that can be established. A value of 0 indicates that no ssh connection can be established. The range is 0 to 5. Default Format sshcon maxsessions <0-5> Mode Privileged EXEC no sshcon maxsessions This command sets the maximum number of allowed SSH connection sessions to the default value.
  • Page 102: Hypertext Transfer Protocol (Http) Commands

    This command enables access to the switch through the Web interface. When access is enabled, the user can login to the switch from the Web interface. When access is disabled, the user cannot login to the Web server on the switch.
  • Page 103: No Ip Http Server

    Mode Privileged EXEC no ip http server This command disables access to the switch through the Web interface. When access is disabled, the user cannot login to the switch's Web server. Format no ip http server Mode...
  • Page 104 D-Link DES-3226L Command Line Reference...
  • Page 105: System Maintenance Commands

    This section describes the commands you use to view information about system features, components, and configurations. show arp switch This command displays connectivity between the switch and other devices. The Address Resolution Protocol (ARP) cache identifies the MAC addresses of the IP stations communicating with the switch. Format show arp switch Mode...
  • Page 106: Show Hardware

    D-Link DES-3226L Command Line Reference Code The event code. Time The time this event occurred. Note: Event log information is retained across a switch reset. show hardware This command displays inventory information for the switch. Format show hardware Mode Privileged EXEC...
  • Page 107: Show Interface Ethernet

    Transmit Packet Errors because of errors. Address Entries Currently In Use Table entries now active on the switch, including learned and static entries. VLAN Entries Currently In Use VLAN table. Time Since Counters Last Cleared onds since the statistics for this switch were last cleared.
  • Page 108 D-Link DES-3226L Command Line Reference interval. The result of this equation is the value Utilization which is the per- cent utilization of the Ethernet segment on a scale of 0 to 100 percent. Packets Received < 64 Octets - The total number of packets (including bad packets) received that were <...
  • Page 109 System Maintenance Commands Error) or a bad FCS with a non-integral number of octets (Alignment Error). Note that this definition of jabber is different than the definition in IEEE- 802.3 section 8.2.1.5 (10BASE5) and section 10.3.1.4 (10BASE2). These documents define jabber as the condition where any packet exceeds 20 ms. The allowed range to detect jabber is between 20 ms and 150 ms.
  • Page 110 D-Link DES-3226L Command Line Reference Packets Transmitted Successfully Total - The number of frames that have been transmitted by this port to its segment. Unicast Packets Transmitted - The total number of packets that higher-level protocols requested be transmitted to a subnetwork-unicast address, including those that were discarded or not sent.
  • Page 111 Protocol Statistics BPDU's received - The count of BPDU's (Bridge Protocol Data Units) received in the spanning tree layer. BPDU's Transmitted - The count of BPDU's (Bridge Protocol Data Units) transmitted from the spanning tree layer. 802.3x Pause Frames Received - A count of MAC Control frames received on this interface with an opcode indicating the PAUSE operation.
  • Page 112: Show Logging

    Time Since Counters Last Cleared onds, since the statistics for this switch were last cleared. show logging This command displays the trap log maintained by the switch. The trap log contains a maximum of 256 entries that wrap. Format show logging...
  • Page 113: Show Mac-Addr-Table

    It is identified with inter- face 0/1. Self The value of the corresponding instance is the address of one of the switch’s physical interfaces (the system’s own MAC address). Other The value of the corresponding instance does not fall into one of the other cat- egories.
  • Page 114: Show Running-Config

    [all] option. The output is displayed in script format, which can be used to configure another switch with the same configuration. If the optional <scriptname> is provided with a file name extension of “.scr”, the output is redirected to a script file.
  • Page 115: No Logging Persistent

    no logging persistent This command disables logging. It does not clear the contents of the log. Format no logging persistent Mode Global Config logging host This command enables logging to a host where up to eight hosts can be configured. The is a port number.
  • Page 116: Show Logging Persistent

    D-Link DES-3226L Command Line Reference Historical Logging Severity Filter Messages with an equal or lower numerical severity are logged. Syslog Logging Administrative Mode If set to disable logging stops to all syslog hosts. Log Messages Received includes messages that are dropped or ignored...
  • Page 117: System Utility Commands

    Privileged EXEC clear config This command resets the configuration to the factory defaults without powering off the switch. When you issue this command, a prompt appears to confirm that the reset should proceed. When you enter you automatically reset the switch.
  • Page 118: Clear Pass

    (in-band) connection. The source and target devices must have the ping utility enabled and running on top of TCP/IP. You can ping the switch from any IP workstation the switch is connected to through the default VLAN (VLAN 1), as long as there is a...
  • Page 119: Reload

    This command resets the switch without powering it off. Reset means that all network connections are terminated and the boot code executes. The switch uses the stored configuration to initialize the switch. You are prompted to confirm that the reset should proceed. The LEDs on the switch indicate a successful reset.
  • Page 120: Configuration Scripting Commands

    ! Display information about the next interface show interface 0/2 ! End of the script file script apply This command applies the commands in the script to the switch. The <scriptname> parameter is the name of the script to apply. Format script apply <scriptname>...
  • Page 121: Script Delete

    The “all” option deletes all the scripts present on the switch. Format script delete {<scriptname> | all} Mode Privileged EXEC script list This command lists all scripts present on the switch as well as the remaining available space. Format. script list Mode Privileged EXEC Configuration Script Size Size of the script.
  • Page 122 D-Link DES-3226L Command Line Reference...
  • Page 123: Glossary

    CLI. See “Command Line Interface” on page 123. Command Line Interface. CLI is a line-item interface for configuring systems. (In the case of D-Link, it is one of the user interfaces they have programmed for allowing programmers to configure their system).
  • Page 124 D-Link DES-3226L Command Line Reference In some systems, the device's IP address can even change while it is still connected. DHCP also supports a mix of static and dynamic IP addresses. Dynamic addressing simplifies network administration because the software tracks IP addresses rather than requiring an administrator to manage the task.
  • Page 125 Internet Protocol. The method or protocol by which data is sent from one computer to another on the Internet. Each computer (known as a host) on the Internet has at least one IP address that uniquely identifies it among all other computers on the Internet.
  • Page 126 D-Link DES-3226L Command Line Reference Multiplexing. A function within a layer that interleaves the information from multiple connections into one connection. MUX. See “Multiplexing” on page 126. NAT. See “Network Address Translation” on page 126. Network Address Translation. Sometimes referred to as Transparent Proxying, IP Address Overloading, or IP Masquerading.
  • Page 127 SVL. Most switches support Independent learning, wherein traffic from one VLAN will not be forwarded to another VLAN. Hence if some limited form of forwarding needs to be supported, the switch should implement Shared VLAN learning. TBI. Ten Bit Interface.
  • Page 128 D-Link DES-3226L Command Line Reference vMAN. Virtual Metropolitan Area Network. VPN/CoS ID. Virtual Private Network/Cost of Service WAN. See “Wide Area Network” on page 128. Web. Also known as World-Wide Web (WWW) or W3. An Internet client-server system to distribute information, based upon the hypertext transfer protocol (HTTP).

Table of Contents