CLI Command Reference Layer 2 Switch24 Port 10/100 Managed SwitchPlus 2 Combo Gigabit Copper/SFP PortsDES-3226LRelease 2Business Class Networking
10 D-Link DES-3226L Command Line ReferenceSystem Maintenance Commands . . . . . . . . . . . . . . . . . . . . . . . . 105System Information and Sta
100 D-Link DES-3226L Command Line ReferenceMalformed Access Responses The number of malformed RADIUS Access-Response packets received from this serv
Access and Security Commands 101sshcon maxsessionsThis command specifies the maximum number of SSH connection sessions that can be established. A valu
102 D-Link DES-3226L Command Line ReferenceHypertext Transfer Protocol (HTTP) CommandsThis section describes the commands you use to configure Web-ba
Access and Security Commands 103Default enabledFormat ip http server Mode Privileged EXEC no ip http serverThis command disables access to the s
104 D-Link DES-3226L Command Line Reference
System Maintenance Commands 105System Maintenance CommandsThis section describes the commands you use to view system information, view and configure s
106 D-Link DES-3226L Command Line ReferenceCode The event code. Time The time this event occurred. Note: Event log information is retained across
System Maintenance Commands 107Transmit Packets Errors The number of outbound packets that could not be transmitted because of errors. Collisions Fra
108 D-Link DES-3226L Command Line Referenceinterval. The result of this equation is the value Utilization which is the per-cent utilization of the Eth
System Maintenance Commands 109Error) or a bad FCS with a non-integral number of octets (Alignment Error). Note that this definition of jabber is diff
List of Figures 11List of FiguresFigure 1. Mode-based CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Figure
110 D-Link DES-3226L Command Line ReferencePackets Transmitted Successfully Total - The number of frames that have been transmitted by this port t
System Maintenance Commands 111Protocol Statistics BPDU's received - The count of BPDU's (Bridge Protocol Data Units) received in the sp
112 D-Link DES-3226L Command Line Referencetheir being deliverable to a higher-layer protocol. A possible reason for dis-carding a packet could be to
System Maintenance Commands 113Number of Traps since last reset The number of traps that have occurred since the last reset of this device. Number of
114 D-Link DES-3226L Command Line Referenceshow running-configThis command is used to display/capture the current setting of different protocol packag
System Maintenance Commands 115no logging persistentThis command disables logging. It does not clear the contents of the log.Format no logging persi
116 D-Link DES-3226L Command Line ReferenceHistorical Logging Severity Filter The minimum severity to log to the historical log. Messages with an equ
System Maintenance Commands 117 Log Shows the log number.System Time Up Shows how long the system had been running at the time the trap was sent.T
118 D-Link DES-3226L Command Line Referenceclear passThis command resets all user passwords to the factory defaults without powering off the switch. Y
System Maintenance Commands 119physical path between the switch and the workstation. The terminal interface sends three pings to the target station.Fo
12 D-Link DES-3226L Command Line Reference
120 D-Link DES-3226L Command Line Referencecopy <tftp://<ipaddr>/<filepath>/<filename>> nvram:sslpem-rootcopy <tftp://<i
System Maintenance Commands 121script deleteThis command deletes a specified script where the <scriptname> parameter is the name of the script t
122 D-Link DES-3226L Command Line Reference
Glossary 123GlossaryNumerics802.1D. The IEEE designator for Spanning Tree Protocol (STP). STP, a link management protocol, is part of the 802.1D stan
124 D-Link DES-3226L Command Line ReferenceIn some systems, the device's IP address can even change while it is still connected. DHCP also suppor
Glossary 125Internet Protocol. The method or protocol by which data is sent from one computer to another on the Internet. Each computer (known as a h
126 D-Link DES-3226L Command Line ReferenceMultiplexing. A function within a layer that interleaves the information from multiple connections into on
Glossary 127the network layer in addition to the physical layer. This allows administrators to analyze traffic by protocol. RP. Rendezvous Point. Use
128 D-Link DES-3226L Command Line ReferencevMAN. Virtual Metropolitan Area Network.VPN/CoS ID. Virtual Private Network/Cost of Service ID.WWAN. See
List of Tables 13List of TablesTable 1. Parameter Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Table 2. Pa
14 D-Link DES-3226L Command Line Reference
About This Book 15About This BookThis document describes the command-line interface (CLI) commands that you use to view and configure settings for the
16 D-Link DES-3226L Command Line Reference
D-Link DES-3226L Overview 17D-Link DES-3226L OverviewThe D-Link DES-3226L software has two purposes:z Assist attached hardware in switching frames.z P
18 D-Link DES-3226L Command Line Reference
Command Structure 19Command StructureThe command-line interface (CLI) is a text-based way to manage and monitor the system. You can access the CLI by
20 D-Link DES-3226L Command Line ReferenceThe parameters for a command might include mandatory values, optional values, or keyword choices. Table 1 de
Command Structure 21Slot-Port Naming ConventionD-Link DES-3226L software references physical entities such as cards and ports by using a Slot-Port (SP
22 D-Link DES-3226L Command Line ReferenceCLI Line-Editing ConventionsTable 5 describes the key combinations you can use to edit commands or increase
Command Structure 23Using CLI HelpEnter a question mark (?) at the command prompt to display the commands available in the current mode. (switch) >
24 D-Link DES-3226L Command Line Reference
Command-Line Interface Modes 25Command-Line Interface ModesThe CLI groups all the commands into modes according to the nature of the commands. This se
26 D-Link DES-3226L Command Line ReferenceMode-based TopologyThe CLI tree is built on a mode concept where the commands are available according to the
Command-Line Interface Modes 27Command Mode DescriptionThis section describes the CLI command modes.User EXEC ModeWhen you log into the CLI, the User
28 D-Link DES-3226L Command Line ReferenceFlow of OperationThis section describes the flow of operation for the CLI.1. Log into the CLI session and en
Setup and Management Commands 29Setup and Management CommandsThis section describes the commands you use to configure management access and basic port
Table of Contents 3Table of ContentsList of Figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11List of Table
30 D-Link DES-3226L Command Line Referencenetwork mgmt_vlanThis command configures the Management VLAN ID. Default 1Format network mgmt_vlan <1
Setup and Management Commands 31telnetcon timeoutThis command sets the telnet connection session timeout value, in minutes. A session is active as lon
32 D-Link DES-3226L Command Line Referenceno network javamodeThis command disallows access to the Java applet in the header frame of the Web interface
Setup and Management Commands 33no serial baudrateThis command sets the communication rate of the terminal interface. Format no serial baudrate Mode
34 D-Link DES-3226L Command Line Referenceshow networkThis command displays configuration settings associated with the switch's network interface
Setup and Management Commands 35being logged off. May be specified as a number from 1 to 160. The factory default is 5. Maximum Number of Remote Conne
36 D-Link DES-3226L Command Line ReferencecablestatusThis command tests the status of the cable attached to an interface. Format cablestatus <slo
Setup and Management Commands 37monitor sessionThis command configures a probe port and a monitored port for monitor session (port monitoring). The fi
38 D-Link DES-3226L Command Line Referenceshow monitor session 1This command displays the port monitoring information for a particular mirroring sessi
Setup and Management Commands 39speed This command sets the speed and duplex setting for the interface. Format speed {100 | 10} {half-duplex | full-
4 D-Link DES-3226L Command Line Referencebridge aging-time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40 D-Link DES-3226L Command Line Referenceno storm-control broadcast This command disables broadcast storm recovery mode. The threshold implementation
Setup and Management Commands 41Description The text description of this multicast table entry. Interfaces The list of interfaces that are designa
42 D-Link DES-3226L Command Line ReferenceLag - this port is a member of a port-channel (LAG). Probe - this port is a probe port.Admin Mode Select
Setup and Management Commands 43snmp-server communityThis command adds (and names) a new SNMP community. A community <name> is a name associated
44 D-Link DES-3226L Command Line ReferenceA value of 255.255.255.255 will allow access from only one station, and will use that machine's IP addr
Setup and Management Commands 45snmp-server enable trapsThis command enables the Authentication Flag.Default enabledFormat snmp-server enable trap
46 D-Link DES-3226L Command Line Referencesnmp-server enable traps stpmodeThis command enables the sending of new root traps and topology change notif
Setup and Management Commands 47snmptrap ipaddrThis command assigns an IP address to a specified community name. The maximum length of name is 16 case
48 D-Link DES-3226L Command Line Referenceno snmp trap link-status allThis command disables link status traps for all interfaces. This command is vali
Setup and Management Commands 49Link Up/Down Flag Can be enabled or disabled. The factory default is enabled. Indicates whether link status traps wil
Table of Contents 5snmp-server community. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43no snmp-server communit
50 D-Link DES-3226L Command Line Reference
Switching Commands 51Switching CommandsThis section describes the switching commands available on the D-Link DES-3226L. The switching commands section
52 D-Link DES-3226L Command Line ReferenceMode Interface Configno vlan acceptframeThis command sets the frame acceptance mode per interface to Admi
Switching Commands 53Mode Global ConfigParticipation options are: include The interface is always a member of this VLAN. This is equivalent to reg
54 D-Link DES-3226L Command Line Referencevlan port tagging allThis command configures the tagging behavior for all interfaces in a VLAN to enabled. I
Switching Commands 55show vlan This command displays detailed information, including interface information, for a specific VLAN. The ID is a valid VLA
56 D-Link DES-3226L Command Line ReferenceVLAN Name A string associated with this VLAN as a convenience. It can be up to 32 alphanumeric characters l
Switching Commands 57no switchport protected Use this command to configure a port as unprotected. The groupid parameter identifies the set of protecte
58 D-Link DES-3226L Command Line Referenceport-channelThis command configures a new port-channel and generates a logical slot/port number for the port
Switching Commands 59no port lacpmode This command disables Link Aggregation Control Protocol (LACP) on a port. Format no port lacpmode Mode Int
6 D-Link DES-3226L Command Line Referenceno vlan port tagging all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
60 D-Link DES-3226L Command Line Referenceno port-channel linktrapThis command disables link trap notifications for the port-channel (LAG). The interf
Switching Commands 61Link Trap Mode This object determines whether or not to send a trap when link status changes. The factory default is enabled. ST
62 D-Link DES-3226L Command Line Referenceno set igmpThis command disables IGMP Snooping on the system. Format no set igmp <vlanId>Modes Glo
Switching Commands 63set igmp groupmembership-intervalThis command sets the IGMP Group Membership Interval time on one interface or all interfaces. Th
64 D-Link DES-3226L Command Line ReferenceDefault 0 Format set igmp mcrtexpiretime <vlanId> <0-3600>Modes Global ConfigInterface Co
Switching Commands 65show igmpsnoopingThis command displays IGMP Snooping information. Configured information is displayed whether or not IGMP Snoopin
66 D-Link DES-3226L Command Line Referenceshow igmpsnooping mrouter vlanThis command displays IGMP snooping information for a port that participates i
Switching Commands 67802.1d IEEE 802.1D-compliant STP mode is usedfast Fast STP mode is usedoff STP is turned off Default disabledFormat span
68 D-Link DES-3226L Command Line Referenceno spanning-tree configuration revisionThis command sets the Configuration Identifier Revision Level the def
Switching Commands 69no spanning-tree forward-timeThis command sets the Bridge Forward Delay parameter to the default value of 15.Format no spanning
Table of Contents 7show igmpsnooping mrouter interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65show igmpsnooping mrouter vlan
70 D-Link DES-3226L Command Line Referenceno spanning-tree max-hopsThis command sets the Bridge Max Hops parameter for the common and internal spannin
Switching Commands 71spanning-tree mst instanceThis command adds a multiple spanning tree instance to the switch. The parameter <mstid> is a num
72 D-Link DES-3226L Command Line Referencenumber that corresponds to the desired existing multiple spanning tree instance. The <vlanid> correspo
Switching Commands 73show spanning-treeThis command displays spanning tree settings for the common and internal spanning tree, when the optional param
74 D-Link DES-3226L Command Line ReferenceBridge Identifier The bridge identifier for the selected MST instance. It is made up using the bridge prior
Switching Commands 75STP BPDUs Received Spanning Tree Protocol Bridge Protocol Data Units received. RST BPDUs Transmitted Rapid Spanning Tree Proto
76 D-Link DES-3226L Command Line ReferenceIf you specify 0 (defined as the default CIST ID) as the <mstid>, this command displays the settings a
Switching Commands 77Port Role The role of the specified port within the spanning tree.Link Status The operational status of the link. Possible va
78 D-Link DES-3226L Command Line Referenceno set gvrp adminmodeThis command disables GVRP. Format no set gvrp adminmode Mode Privileged EXECset gvr
Switching Commands 79is 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 th
8 D-Link DES-3226L Command Line Referenceshow gvrp configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80 D-Link DES-3226L Command Line ReferenceThe default traffic shaping value is 0, meaning no upper limit is enforced, which allows the interface to tr
Switching Commands 81Mode Privileged EXECThe following information is repeated for each user priority.User Priority The 802.1p user priority value.
82 D-Link DES-3226L Command Line Reference
Access and Security Commands 83Access and Security CommandsThis section provides a detailed explanation of the access and security commands available
84 D-Link DES-3226L Command Line Referenceeight alphanumeric characters. The username and password are not case-sensitive. When you change a password
Access and Security Commands 85no users snmpv3 authenticationThis command sets the authentication protocol to be used for the specified user to none.
86 D-Link DES-3226L Command Line Referenceshow usersThis command displays the configured user names and their settings. This command is only availabl
Access and Security Commands 87The value of local indicates that the user’s locally stored ID and password are used for authentication. The value of r
88 D-Link DES-3226L Command Line Referencedot1x initializeThis command begins the initialization sequence on the specified port. This command is only
Access and Security Commands 89no dot1x port-controlThis command sets the authentication mode to be used on the specified port to 'auto'.For
Table of Contents 9dot1x timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90no dot1x timeou
90 D-Link DES-3226L Command Line Referencedot1x system-auth-controlThis command is used to enable the dot1x authentication support on the switch. By
Access and Security Commands 91no dot1x timeoutThis command sets the value, in seconds, of the timer used by the authenticator state machine on this p
92 D-Link DES-3226L Command Line Referenceshow authenticationThis command displays the ordered authentication methods for all authentication login li
Access and Security Commands 93Key Transmission Enabled Indicates if the key is transmitted to the supplicant for the specified port.If the optional
94 D-Link DES-3226L Command Line ReferenceIf the optional parameter 'statistics <slot/port>' is used, the dot1x statistics for the sp
Access and Security Commands 95User This field lists every user that has an authentication login list assigned.System Login This field displays the
96 D-Link DES-3226L Command Line ReferenceNote: To re-configure a RADIUS accounting server to use the default UDP <port>, set the <port>
Access and Security Commands 97IP address specified used in this command will become the new primary server. The IP address must match that of a previ
98 D-Link DES-3226L Command Line ReferenceNumber of configured servers The configured IP address of the authentication server.Max number of retrans
Access and Security Commands 99Responses The number of RADIUS packets received on the accounting port from this server.Malformed Responses The numb
Comments to this Manuals