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
Table of Contents Table of Contents List of Figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 About This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Document Organization . . . . . . . . . . . . . . . . . . . . .
D-Link DES-3226L Command Line Reference bridge aging-time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 no bridge aging-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 network javamode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 no network javamode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 network mac-address . . . .
Table of Contents snmp-server community. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . no snmp-server community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . snmp-server community ipaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . no snmp-server community ipaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . snmp-server community ipmask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D-Link DES-3226L Command Line Reference no vlan port tagging all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 vlan pvid. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 no vlan pvid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 vlan tagging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents show igmpsnooping mrouter interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show igmpsnooping mrouter vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show mac-address-table igmpsnooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 66 66 Spanning Tree Protocol (STP) Commands . . . . . . . . . . . . . . . . . . . . . . . . . 66 spanning-tree. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D-Link DES-3226L Command Line Reference show gvrp configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Class of Service (CoS) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 classofservice dot1p-mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 classofservice trust dot1p. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 no classofservice trust . . . . . . . . .
Table of Contents dot1x timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . no dot1x timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . dot1x user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . no dot1x user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . users defaultlogin . . . . . . . . . . . . . .
D-Link DES-3226L Command Line Reference System Maintenance Commands . . . . . . . . . . . . . . . . . . . . . . . . 105 System Information and Statistics Commands . . . . . . . . . . . . . . . . . . . . . 105 show arp switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show eventlog. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Figures List of Figures Figure 1. Mode-based CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Figure 2. Syntax Error Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D-Link DES-3226L Command Line Reference
List of Tables List of Tables Table 1. Parameter Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Table 2. Parameter Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Table 3. Type of Slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Table 4. Type of Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Table 5.
D-Link DES-3226L Command Line Reference
About This Book 15 About This Book This document describes the command-line interface (CLI) commands that you use to view and configure settings for the D-Link DES-3226L switch. Audience 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 DES3226L software. This document assumes that the reader has a basic knowledge of Ethernet and networking concepts.
D-Link DES-3226L Command Line Reference
D-Link DES-3226L Overview 17 D-Link DES-3226L Overview The D-Link DES-3226L software has two purposes: z z Assist attached hardware in switching frames. Provide a complete device management portfolio to the network administrator. Scope The D-Link DES-3226L encompasses both hardware and software support. The software is partitioned to run in the following processors: z CPU This code runs the networking device management portfolio and controls the overall networking device hardware.
D-Link DES-3226L Command Line Reference
Command Structure 19 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.
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 Example Description <> angle brackets Indicates that you must enter a value in place of the brackets and text inside them.
Command Structure 21 Table 2. Parameter Descriptions Parameter Description Logical Interface Logical slot and port number. This is applicable in the case of a port-channel (LAG). The operator can use the logical slot/port to configure the port-channel. Character strings Use double quotation marks to identify character strings, for example, “System Name with Spaces”. An empty string (“”) is not valid.
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 help from the User or Privileged EXEC modes. Table 5.
Command Structure 23 Using CLI Help Enter a question mark (?) at the command prompt to display the commands available in the current mode. (switch) >? enable help logout ping show Enter into user privilege mode. Display help for various special keys. Exit this session. Any unsaved changes are lost. Send ICMP echo packets to a specified IP address. Display switch options and settings. Enter a question mark (?) after each word you enter to display available command keywords or parameters.
D-Link DES-3226L Command Line Reference
Command-Line Interface Modes 25 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. Table 6 lists the command modes and the prompts visible in that mode. It also explains how to enter or exit each mode. Table 6.
D-Link DES-3226L Command Line Reference Mode-based Topology The CLI tree is built on a mode concept where the commands are available according to the interface. Some of the modes are depicted in Figure 1. Figure 1. Mode-based CLI ROOT The User EXEC commands are also accessible in the Privileged EXEC mode.
Command-Line Interface Modes 27 Command Mode Description This section describes the CLI command modes. User EXEC Mode 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.
D-Link DES-3226L Command Line Reference Flow of Operation This section describes the flow of operation for the CLI. 1. Log into the CLI session and enter the User EXEC mode. In the User EXEC mode the $(exec)> prompt displays on the screen. You initiate the parsing process when you type a command and press . If you enter an incorrect or unavailable command, the output message indicates where the offending entry begins.
Setup and Management Commands 29 Setup and Management Commands This section describes the commands you use to configure management access and basic port settings on the D-Link DES-3226L switch.
D-Link DES-3226L Command Line Reference network mgmt_vlan This command configures the Management VLAN ID. Default 1 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> Mode Privileged EXEC transport input telnet This command regulates new telnet sessions. If sessions are enabled, new telnet sessions can be established until there are no more sessions available.
Setup and Management Commands 31 telnetcon timeout This command sets the telnet connection session timeout value, in minutes. A session is active as long as the session has not been idle for the value set. The time is a decimal value from 1 to 160. Note: Changing the timeout value for active sessions does not become effective until the session is reaccessed. Also, any keystroke activates the new timeout duration.
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 Privileged EXEC network mac-address This command sets locally administered MAC addresses.
Setup and Management Commands 33 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.
D-Link DES-3226L Command Line Reference 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.
Setup and Management Commands 35 being logged off. May be specified as a number from 1 to 160. The factory default is 5. Maximum Number of Remote Connection Sessions This object indicates the number of simultaneous remote connection sessions allowed. The factory default is 5. Allow New Telnet Sessions Indicates that new telnet sessions will not be allowed when set to no. The factory default value is yes. show serial This command displays serial communication settings for the switch.
D-Link DES-3226L Command Line Reference cablestatus This command tests the status of the cable attached to an interface. Format cablestatus Mode Privileged EXEC auto-negotiate This command enables automatic negotiation on a port. The default value is enable. Format auto-negotiate Mode Interface Config no auto-negotiate This command disables automatic negotiation on a port. Note: Automatic sensing is disabled when automatic negotiation is disabled.
Setup and Management Commands 37 monitor session This command configures a probe port and a monitored port for monitor session (port monitoring). The first is the source monitored port and the second is the destination probe port. The monitor session (port monitoring) mode becomes enabled only when both the probe and monitored ports are configured. If enabled, the probe port monitors all the traffic received and transmitted on the physical monitored port.
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 parameter is an integer value used to identify the session. In the current version of the software, the parameter is always 1. Format show monitor session Mode Privileged EXEC Session ID It is an integer value used to identify the session.
Setup and Management Commands 39 speed This command sets the speed and duplex setting for the interface. Format speed {100 | 10} {half-duplex | full-duplex} Mode Interface Config Acceptable values are: 100h 100BASE-T half duplex 100f 100BASE-T full duplex 10h 10BASE-T half duplex 10f 10BASE-T full duplex speed all This command sets the speed and duplex setting for all interfaces.
D-Link DES-3226L Command Line Reference no storm-control broadcast This command disables broadcast storm recovery mode. 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 on page 39) 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.
Setup and Management Commands 41 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 The resultant forwarding list is derived from combining all the 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.
D-Link DES-3226L Command Line Reference Lag - this port is a member of a port-channel (LAG). Probe - this port is a probe port. Admin Mode Selects the Port control administration state. The port must be enabled in order for it to be allowed into the network. - May be enabled or disabled. The factory default is enabled. Physical Mode Selects the desired port speed and duplex mode. If auto-negotiation support is selected, then the duplex mode and speed is set from the auto-negotiation process.
Setup and Management Commands 43 snmp-server community This command adds (and names) a new SNMP community. A community 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 can be up to 16 case-sensitive characters. Community names in the SNMP Community Table must be unique. If you make multiple entries using the same community name, the first entry is kept and processed and all duplicate entries are ignored.
D-Link DES-3226L Command Line Reference A value of 255.255.255.255 will allow access from only one station, and will use that machine's IP address for the client IP Address. A value of 0.0.0.0 will allow access from any IP address. The name is the applicable community name. Default 0.0.0.0 Format snmp-server community ipmask Mode Global Config no snmp-server community ipmask This command sets a client IP mask for an SNMP community to 0.0.0.0.
Setup and Management Commands snmp-server enable traps This command enables the Authentication Flag. Default enabled Format snmp-server enable traps Mode Global Config no snmp-server enable traps This command disables the Authentication Flag. Format. no snmp-server enable traps Mode Global Config snmp-server enable traps linkmode This command enables Link Up/Down traps for the entire switch.
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. Format no snmp-server enable traps stpmode Mode Global Config snmptrap This command adds an SNMP trap receiver.
Setup and Management Commands 47 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.
D-Link DES-3226L Command Line Reference no snmp trap link-status all This command disables link status traps for all interfaces. This command is valid only when the Link Up/Down Flag is enabled. See “snmp-server enable traps linkmode” on page 45. Format no snmp trap link-status all Mode Global Config show snmpcommunity This command displays SNMP community information. Six communities are supported. You can add, change, or delete communities.
Setup and Management Commands 49 Link Up/Down Flag Can be enabled or disabled. The factory default is enabled. Indicates whether link status traps will be sent. Multiple Users Flag Can be enabled or disabled. The factory default is enabled. Indicates 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 Can be enabled or disabled. The factory default is enabled.
D-Link DES-3226L Command Line Reference
Switching Commands 51 Switching Commands This section describes the switching commands available on the D-Link DES-3226L. The switching commands section includes the following subsections: z z z z z z z “Virtual LAN (VLAN) Commands” on page 51 “Protected Ports Commands” on page 56 “Link Aggregation/Port-Channel (802.
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. With either option, VLAN tagged frames are forwarded in accordance with the IEEE 802.1Q VLAN Specification.
Switching Commands Mode 53 Global Config Participation options are: include The interface is always a member of this VLAN. This is equivalent to registration fixed. exclude The interface is never a member of this VLAN. This is equivalent to registration forbidden. vlan port acceptframe all This command sets the frame acceptance mode for all interfaces. The modes are defined as follows: z z VLAN Only mode - Untagged frames or priority frames received on this interface are discarded.
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. The ID is a valid VLAN identification number. Format vlan port tagging all <1-4094> Mode Global Config no vlan port tagging all This command configures the tagging behavior for all interfaces in a VLAN to disabled.
Switching Commands 55 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 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. VLAN Name A string associated with this VLAN as a convenience. It can be up to 32 alphanumeric characters long, including blanks. The default is blank.
D-Link DES-3226L Command Line Reference VLAN Name A string associated with this VLAN as a convenience. It can be up to 32 alphanumeric characters long, including blanks. The default is blank. VLAN ID 1 always has a name of `Default`. This field is optional. VLAN Type Type of VLAN, which can be Default (VLAN ID = 1) or static (one that is configured and permanently defined). show vlan port This command displays VLAN port information.
Switching Commands 57 no switchport protected Use this command to configure a port as unprotected. The groupid parameter identifies the set of protected ports to which this interface is assigned. You can only configure an interface as protected in one group. The name parameter is an optional name associated with this group. The name can be up to 32 alphanumeric characters long, including blanks.
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 portchannel. The field is a character string which allows the dash “-” character as well as alphanumeric characters. Display this number using the “show port-channel” command. Note: Before you include a port in a port-channel, set the port physical mode. For more information, see “speed” on page 39.
Switching Commands 59 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.
D-Link DES-3226L Command Line Reference no port-channel linktrap This command disables link trap notifications for the port-channel (LAG). The interface is a logical slot and port for a configured port-channel. The option all sets every configured port-channel with the same administrative mode setting. Format no port-channel linktrap { | all} Mode GlobalConfig port-channel name This command defines a name for the port-channel (LAG).
Switching Commands 61 Link Trap Mode This object determines whether or not to send a trap when link status changes. The factory default is enabled. STP Mode The Spanning Tree Protocol Administrative Mode associated with the port or port-channel (LAG). The possible values are: Disable - Spanning tree is disabled for this port. Enable - Spanning tree is enabled for this port. Mbr Ports A listing of the ports that are members of this port-channel (LAG), in slot/port notation.
D-Link DES-3226L Command Line Reference no set igmp This command disables IGMP Snooping on the system. Format no set igmp Modes Global Config Interface Config Vlan Mode set igmp interfacemode This command enables IGMP Snooping on all interfaces. If an interface has IGMP Snooping enabled and you enlist it as a member of a port-channel (LAG), IGMP Snooping functionality is disabled on that interface.
Switching Commands 63 set igmp groupmembership-interval This command sets the IGMP Group Membership Interval time on one interface or all interfaces. The Group Membership Interval time is the amount of time in seconds that a switch waits for a report from a particular group on a particular interface before deleting the interface from the entry. This value must be greater than the IGMPv3 Maximum Response time value. The range is 2 to 3600 seconds.
D-Link DES-3226L Command Line Reference Default 0 Format set igmp mcrtexpiretime <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. Format no set igmp mcrtexpiretime Modes Global Config Interface Config set igmp mrouter This command configures the VLAN ID () that has the multicast router mode enabled.
Switching Commands 65 show igmpsnooping This command displays IGMP Snooping information. Configured information is displayed whether or not IGMP Snooping is enabled. Format show igmpsnooping [ | ] Mode Privileged EXEC When you do not specify a parameter, the command displays the following information: Admin Mode This indicates whether IGMP Snooping is active on the switch. Interfaces Enabled for IGMP Snooping This is the list of interfaces on which IGMP Snooping is enabled.
D-Link DES-3226L Command Line Reference show igmpsnooping mrouter vlan This command displays IGMP snooping information for a port that participates in a VLAN. Format show igmpsnooping mrouter vlan Mode Privileged EXEC Slot/Port Shows the port on which multicast router information is being displayed. VLAN ID Displays the list of VLANs of which the interface is a member.
Switching Commands 67 802.1d IEEE 802.1D-compliant STP mode is used fast Fast STP mode is used off STP is turned off Default disabled Format spanning-tree { | all | {off | 802.1d | fast}} Mode Global Config no spanning-tree This command sets the spanning-tree operational mode to disabled. While disabled, the spanning-tree configuration is retained and can be changed, but is not activated.
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. This allows this port to transition to Forwarding State without delay.
Switching Commands 69 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. The hello time is in whole seconds within a range of 1 to 10, with the value being less than or equal to (Bridge Max Age / 2) - 1.
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.
Switching Commands 71 spanning-tree mst instance This command adds a multiple spanning tree instance to the switch. The parameter 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.
D-Link DES-3226L Command Line Reference number that corresponds to the desired existing multiple spanning tree instance. The corresponds to an existing VLAN ID. Format spanning-tree mst vlan Mode Global Config no spanning-tree mst vlan This command removes an association between a multiple spanning tree instance and a VLAN so that the VLAN is again be associated with the common and internal spanning tree.
Switching Commands 73 show spanning-tree This command displays spanning tree settings for the common and internal spanning tree, when the optional parameter “brief” is not included in the command. The following details are displayed. Format show spanning-tree Modes Privileged EXEC User EXEC Bridge Priority Specifies the bridge priority for the Common and Internal Spanning tree (CST). The value lies between 0 and 61440. It is displayed in multiples of 4096.
D-Link DES-3226L Command Line Reference Bridge Identifier The bridge identifier for the selected MST instance. It is made up using the bridge priority and the base MAC address of the bridge. Bridge Max Age Configured value. Bridge Max Hops Bridge max-hops count for the device. Bridge Hello Time Configured value. Bridge Forward Delay Configured value.
Switching Commands 75 STP BPDUs Received Spanning Tree Protocol Bridge Protocol Data Units received. RST BPDUs Transmitted Rapid Spanning Tree Protocol Bridge Protocol Data Units sent RST BPDUs Received Rapid Spanning Tree Protocol Bridge Protocol Data Units received. MSTP BPDUs Transmitted Multiple Spanning Tree Protocol Bridge Protocol Data Units sent MSTP BPDUs Received Multiple Spanning Tree Protocol Bridge Protocol Data Units received.
D-Link DES-3226L Command Line Reference If you specify 0 (defined as the default CIST ID) as the , this command displays the settings and parameters for a specific switch port within the common and internal spanning tree. The is the desired switch port. In this case, the following are displayed. Port Identifier The port identifier for this port within the CST. Port Priority The priority of the port within the CST.
Switching Commands Port Role The role of the specified port within the spanning tree. Link Status The operational status of the link. Possible values are “Up” or “Down”. Link Trap The link trap configuration for the specified interface. 77 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.
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. If GVRP is disabled, Join Time, Leave Time and Leave All Time have no effect.
Switching Commands 79 is an instance of this timer on a per-Port, per-GARP participant basis. The Leave All Period Timer is set to a random value in the range of LeaveAllTime to 1.5*LeaveAllTime. Permissible values are 200 to 6000 centiseconds (2 to 60 seconds). The factory default is 1000 centiseconds (10 seconds). Port GMRP Mode Indicates the GARP Multicast Registration Protocol (GMRP) administrative mode for the port, which is enabled or disabled (default).
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.
Switching Commands Mode 81 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.
D-Link DES-3226L Command Line Reference
Access and Security Commands 83 Access and Security Commands This section provides a detailed explanation of the access and security commands available on the DLink DES-3226L switch.
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 Mode Global Config no users passwd This command sets the password of an existing user to blank. When you change a password, a prompt asks for the old password. If there is no password, press enter. Format.
Access and Security Commands 85 no users snmpv3 authentication This command sets the authentication protocol to be used for the specified user to none. The is the user name for which the specified authentication protocol is used. Format users snmpv3 authentication Mode Global Config users snmpv3 encryption This command specifies the encryption protocol used for the specified user. The valid encryption protocols are des or none.
D-Link DES-3226L Command Line Reference show users This command displays the configured user names and their settings. This command is only available for users with Read/Write privileges. The SNMPv3 fields will only be displayed if SNMP is available on the system. Format show users Mode Privileged EXEC User Name The name the user enters to login using the serial port, Telnet or Web.
Access and Security Commands 87 The value of local indicates that the user’s locally stored ID and password are used for authentication. The value of radius indicates that the user’s ID and password will be authenticated using the RADIUS server. The value of reject indicates the user is never authenticated. 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.
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. Format dot1x initialize Mode Privileged EXEC dot1x login This command assigns the specified authentication login list to the specified user for 802.1x port security.
Access and Security Commands 89 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. force-authorized: The authenticator PAE unconditionally sets the controlled port to authorized.
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. Default disabled Format dot1x system-auth-control Mode Global Config no dot1x system-auth-control This command is used to disable the dot1x authentication support on the switch.
Access and Security Commands 91 no dot1x timeout This command sets the value, in seconds, of the timer used by the authenticator state machine on this port to the default values. Depending on the token used, the corresponding default values are set. Format no dot1x timeout {reauth-period | quiet-period | tx-period | supp-timeout | server-timeout} Mode Interface Config dot1x user This command adds the specified user to the list of users with access to the specified port or all ports.
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 This displays the authentication login listname. Method 1 This displays the first method in the specified authentication login list, if any. Method 2 This displays the second method in the specified authentication login list, if any.
Access and Security Commands 93 Key Transmission Enabled Indicates if the key is transmitted to the supplicant for the specified port. If the optional parameter 'detail ' 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. The only possible value is 1, corresponding to the first version of the dot1x specification.
D-Link DES-3226L Command Line Reference If the optional parameter 'statistics ' is used, the dot1x statistics for the specified port are displayed. Port The interface whose statistics are displayed. EAPOL Frames Received The number of valid EAPOL frames of any type that have been received by this authenticator. EAPOL Frames Transmitted The number of EAPOL frames of any type that have been transmitted by this authenticator.
Access and Security Commands User 95 This field lists every user that has an authentication login list assigned. System Login This field displays the authentication login list assigned to the user for system login. 802.1x Port Security This field displays the authentication login list assigned to the user for 802.1x port security.
D-Link DES-3226L Command Line Reference Note: To re-configure a RADIUS accounting server to use the default UDP , set the parameter to 1813. Format radius server host {auth | acct} [] Mode Global Config no radius server host This command is used to remove the configured RADIUS authentication server or the RADIUS accounting server. If the 'auth' token is used, the previously configured RADIUS authentication server is removed from the configuration.
Access and Security Commands 97 IP address specified used in this command will become the new primary server. The IP address must match that of a previously configured RADIUS authentication server. Format radius server primary Mode Global Config radius server retransmit This command sets the maximum number of times a request packet is re-transmitted when no response is received from the RADIUS server. The retries value is an integer in the range of 1 to 15.
D-Link DES-3226L Command Line Reference Number of configured servers The configured IP address of the authentication server. Max number of retransmits The configured value of the maximum number of times a request packet is retransmitted. Timeout Duration The configured timeout value, in seconds, for request re-transmissions. Accounting Mode Yes or No. If the optional token 'servers' is included, the following information regarding the configured RADIUS servers is displayed.
Access and Security Commands Responses 99 The number of RADIUS packets received on the accounting port from this server. Malformed Responses The number of malformed RADIUS Accounting-Response packets received from this server. Malformed packets include packets with an invalid length. Bad authenticators and unknown types are not included as malformed accounting responses.
D-Link DES-3226L Command Line Reference Malformed Access Responses The number of malformed RADIUS Access-Response packets received from this server. Malformed packets include packets with an invalid length. Bad authenticators or signature attributes or unknown types are not included as malformed access responses. Bad Authenticators The number of RADIUS Access-Response packets containing invalid authenticators or signature attributes received from this server.
Access and Security Commands 101 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 5 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.
D-Link DES-3226L Command Line Reference Hypertext Transfer Protocol (HTTP) Commands This section describes the commands you use to configure Web-based access to the device. ip http secure-port This command is used to set the sslt port where port can be 1-65535 and the default is port 443. Default 443 Format ip http secure-port Mode Privileged EXEC no ip http secure-port This command is used to reset the sslt port to the default value.
Access and Security Commands Default enabled Format ip http server Mode Privileged EXEC 103 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 Privileged EXEC show ip http This command displays the http settings for the switch.
D-Link DES-3226L Command Line Reference
System Maintenance Commands 105 System Maintenance Commands This section describes the commands you use to view system information, view and configure system logs, troubleshoot connectivity, and restore various settings to their factory defaults.
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 Switch Description Text used to identify the product name of this switch. Machine Type Specifies the machine model as defined by the Vital Product Data.
System Maintenance Commands 107 Transmit Packets Errors The number of outbound packets that could not be transmitted because of errors. Collisions Frames The best estimate of the total number of collisions on this Ethernet segment. Time Since Counters Last Cleared The elapsed time, in days, hours, minutes, and seconds since the statistics for this port were last cleared.
D-Link DES-3226L Command Line Reference interval. The result of this equation is the value Utilization which is the percent 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 < 64 octets in length (excluding framing bits but including FCS octets).
System Maintenance Commands 109 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 IEEE802.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.
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.
System Maintenance Commands 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. This counter does not increment when the interface is operating in half-duplex mode.
D-Link DES-3226L Command Line Reference their being deliverable to a higher-layer protocol. A possible reason for discarding a packet could be to free up buffer space. Octets Transmitted - The total number of octets transmitted out of the interface, including framing characters. Packets Transmitted without Errors - The total number of packets transmitted out of the interface.
System Maintenance Commands 113 Number of Traps since last reset The number of traps that have occurred since the last reset of this device. Number of Traps since log last displayed The number of traps that have occurred since the traps were last displayed. Getting the traps by any method (terminal interface display, Web display, upload file from switch etc.) will result in this counter being cleared to 0. Log The sequence number of this trap.
D-Link DES-3226L Command Line Reference show running-config This command is used to display/capture the current setting of different protocol packages supported on the switch. This command displays/captures commands with settings/configurations that differ from the default value. To display/capture the commands with settings/configurations that are equal to the default value, the user must include the [all] option.
System Maintenance Commands 115 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 value is a port number.
D-Link DES-3226L Command Line Reference Historical Logging Severity Filter The minimum severity to log to the historical log. Messages with an equal or lower numerical severity are logged. Syslog Logging Administrative Mode The mode for logging to configured syslog hosts. If set to disable logging stops to all syslog hosts. Log Messages Received The number of messages received by the log process.
System Maintenance Commands Log 117 Shows the log number. System Time Up Shows how long the system had been running at the time the trap was sent. Trap Shows the text of the trap message. System Utility Commands This section describes the commands you use to help troubleshoot connectivity issues and to restore various configurations to their factory defaults.
D-Link DES-3226L Command Line Reference clear pass This command resets all user passwords to the factory defaults without powering off the switch. You are prompted to confirm that the password reset should proceed. Format clear pass Mode Privileged EXEC enable passwd This command prompts you to change the Privileged EXEC password. Format enable passwd Mode User EXEC clear port-channel This command clears all port-channels (LAGs).
System Maintenance Commands 119 physical path between the switch and the workstation. The terminal interface sends three pings to the target station. Format ping Modes Privileged EXEC User EXEC 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.
D-Link DES-3226L Command Line Reference copy copy copy copy copy copy Mode //> nvram:sslpem-root //>nvram:sslpem-server //> nvram:sslpem-dhweak //> nvram:sslpem-dhstrong //> nvram:startup-config //> system:image Privileged EXEC Configuration Scripting Commands Configuration Scripting a
System Maintenance Commands 121 script delete This command deletes a specified script where the parameter is the name of the script to delete. The “all” option deletes all the scripts present on the switch. Format script delete { | 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 Name of the script. Size Size of the script.
D-Link DES-3226L Command Line Reference
Glossary 123 Glossary The switch has a user-configurable timer that erases the entry after a certain length of time with no activity from that node. Numerics B 802.1D. The IEEE designator for Spanning Tree Protocol (STP). STP, a link management protocol, is part of the 802.1D standard for media access control bridges. Using the spanning tree algorithm, STP provides path redundancy while preventing endless loops in a network.
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. A new computer can be added to a network without the hassle of manually assigning it a unique IP address. E EEPROM.
Glossary 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. When you send or receive data (for example, an e-mail note or a Web page), the message gets divided into little chunks called packets. Each of these packets contains both the sender's Internet address and the receiver's address.
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. N NAT. See “Network Address Translation” on page 126. Network Address Translation. Sometimes referred to as Transparent Proxying, IP Address Overloading, or IP Masquerading.
Glossary 127 the network layer in addition to the physical layer. This allows administrators to analyze traffic by protocol. .SNMP. See “Simple Network Management Protocol” on page 127. RP. Rendezvous Point. Used with IP Multicast. SODIMM. Small Outline Dual Inline Memory Module. RPF. Reverse Path Forwarding is the fundamental concept in multicast routing that enables routers to correctly forward multicast messages down the distribution tree. SRAM. Static Random Access Memory. RPU.
D-Link DES-3226L Command Line Reference vMAN. Virtual Metropolitan Area Network. VPN/CoS ID. Virtual Private Network/Cost of Service ID. W 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). Wide Area Network. A WAN is a computer network that spans a relatively large geographical area. Typically, a WAN consists of two or more local-area networks (LANs).