TP-Link TL-SG3109 Cli Reference Manual

TP-Link TL-SG3109 Cli Reference Manual

Gigabit managed switch
Hide thumbs Also See for TL-SG3109:
Table of Contents

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for TP-Link TL-SG3109

  • Page 2: Table Of Contents

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Table of Contents Section 1. Using the CLI... 10 CLI Command Modes... 10 1.1.1 Introduction... 10 1.1.2 User EXEC Mode ... 11 1.1.3 Privileged EXEC Mode ... 11 1.1.4 Global Configuration Mode... 12 1.1.5...
  • Page 3 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show ports security ... 45 Section 4. Clock... 47 clock set ... 47 clock source ... 48 clock timezone ... 49 clock summer-time... 50 sntp authentication-key ... 52 sntp authenticate... 53 sntp trusted-key ... 54 sntp client poll timer ...
  • Page 4 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show interfaces configuration ... 86 show interfaces status ... 87 show interfaces description... 89 show interfaces counters ... 90 port storm-control include-multicast ... 93 port storm-control broadcast enable ... 94 port storm-control broadcast rate... 95 show ports storm-control...
  • Page 5 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clear host ... 125 clear host dhcp... 126 show hosts ... 127 Section 10. LACP Commands... 128 lacp system-priority ... 128 lacp port-priority ... 129 lacp timeout... 130 show lacp ethernet... 131 show lacp port-channel ...
  • Page 6 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 15. Port Monitor Commands... 157 port monitor... 157 port monitor vlan-tagging ... 158 show ports monitor... 159 Section 16. QoS Commands ... 160 qos ... 160 show qos... 161 priority-queue out num-of-queues... 162 show qos interface ...
  • Page 7 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 19. SNMP Commands... 196 snmp-server community... 196 snmp-server view... 198 snmp-server group... 199 snmp-server user ... 200 snmp-server engineID local ... 202 snmp-server enable traps ... 204 snmp-server filter ... 205 snmp-server host ...
  • Page 8 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide name (mst)... 241 revision (mst) ... 242 show (mst) ... 243 exit (mst) ... 244 abort (mst)... 245 show spanning-tree... 246 Section 21. Syslog Commands ... 248 logging on ... 248 logging ... 249 logging console ...
  • Page 9 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide end...281 help...282 terminal data-dump ... 283 show history ... 284 show privilege ... 285 Section 24. VLAN Commands... 286 vlan database... 286 vlan ... 287 interface vlan... 288 interface range vlan ... 289 name ...
  • Page 10 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x timeout re-authperiod ... 317 dot1x re-authenticate ... 318 dot1x timeout quiet-period ... 319 dot1x timeout tx-period ... 320 dot1x max-req ... 321 dot1x timeout supp-timeout... 322 dot1x timeout server-timeout ... 323 show dot1x...
  • Page 11: Section 1. Using The Cli

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 1. Using the CLI This chapter describes how to start using the CLI and describes implemented command editing features to assist in using the CLI. CLI Command Modes 1.1.1 Introduction To assist in configuring the device, the Command Line Interface (CLI) is divided into different command modes.
  • Page 12: User Exec Mode

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide The Global Configuration mode manages the device configuration on a global level. The Interface Configuration mode configures specific interfaces in the device. 1.1.2 User EXEC Mode After logging into the device, the user is automatically in User EXEC command mode unless the user is defined as a privileged user.
  • Page 13: Global Configuration Mode

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide 1.1.4 Global Configuration Mode Global Configuration mode commands apply to features that affect the system as a whole, rather than just a spe- cific interface. The configure Privileged EXEC mode command is used to enter the Global Configuration mode.
  • Page 14: Starting The Cli

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide • MAC Access-List — Configures conditions required to allow traffic based on MAC addresses. The mac access-list Global Configuration mode command is used to enter the MAC access-list configuration mode.. Starting the CLI The device can be managed over a direct connection to the device console port or via a Telnet connection.
  • Page 15: Editing Features

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Editing Features 1.3.1 Entering Commands A CLI command is a series of keywords and arguments. Keywords identify a command, and arguments specify configuration parameters. For example, in the command show interfaces status ethernet e8, show, interfaces and status are keywords, ethernet is an argument that specifies the interface type, and 8 specifies the port.
  • Page 16: Negating The Effect Of Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide 1.3.1.2 Negating the Effect of Commands For many configuration commands, the prefix keyword no can be entered to cancel the effect of a command or reset the configuration to the default value. This guide describes the negation effect for all applicable commands.
  • Page 17: Screen Display

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

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 2. AAA Commands aaa authentication login The aaa authentication login Global Configuration mode command defines login authentication. To return to the default configuration, use the no form of this command. Syntax aaa authentication login {default | list-name} method1 [method2...]...
  • Page 19 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide User Guidelines The default and optional list names created with the aaa authentication login command are used with the login authentication command. Create a list by entering the aaa authentication login list-name method command for a particular protocol, where list-name is any character string used to name this list.
  • Page 20: Aaa Authentication Enable

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide aaa authentication enable The aaa authentication enable Global Configuration mode command defines authentication method lists for accessing higher privilege levels. To return to the default configuration, use the no form of this command.
  • Page 21 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Example The following example sets the enable password for authentication when accessing higher privilege levels. Console(config)# aaa authentication enable default enable Page 20...
  • Page 22: Login Authentication

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide login authentication The login authentication Line Configuration mode command specifies the login authentication method list for a remote telnet or console. To return to the default configuration specified by the aaa authentication login com- mand, use the no form of this command.
  • Page 23: Enable Authentication

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide enable authentication The enable authentication Line Configuration mode command specifies the authentication method list when accessing a higher privilege level from a remote telnet or console. To return to the default configuration specified by the aaa authentication enable command, use the no form of this command.
  • Page 24: Ip Http Authentication

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip http authentication The ip http authentication Global Configuration mode command specifies authentication methods for HTTP server users. To return to the default configuration, use the no form of this command. Syntax ip http authentication method1 [method2...]...
  • Page 25: Ip Https Authentication

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip https authentication The ip https authentication Global Configuration mode command specifies authentication methods for HTTPS server users. To return to the default configuration, use the no form of this command. Syntax ip https authentication method1 [method2...]...
  • Page 26: Show Authentication Methods

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show authentication methods The show authentication methods Privileged EXEC mode command displays information about the authentica- tion methods. Syntax show authentication methods Default Configuration This command has no default configuration. Command Mode...
  • Page 27: Password

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide password The password Line Configuration mode command specifies a password on a line. To remove the password, use the no form of this command. Syntax password password [encrypted] no password Parameters •...
  • Page 28: Enable Password

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide enable password The enable password Global Configuration mode command sets a local password to control access to user and privilege levels. To remove the password requirement, use the no form of this command.
  • Page 29: Username

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide username The username Global Configuration mode command creates a user account in the local database. To remove a user name, use the no form of this command. Syntax username name [password password] [level level] [encrypted]...
  • Page 30: Section 3. Address Table Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 3. Address Table Commands bridge address The bridge address Interface Configuration (VLAN) mode command adds a MAC-layer station source address to the bridge table. To delete the MAC address, use the no form of this command.
  • Page 31: Bridge Multicast Filtering

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide bridge multicast filtering The bridge multicast filtering Global Configuration mode command enables filtering multicast addresses. To dis- able filtering multicast addresses, use the no form of this command. Syntax bridge multicast filtering...
  • Page 32: Bridge Multicast Address

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide bridge multicast address The bridge multicast address Interface Configuration (VLAN) mode command registers a MAC-layer multicast address in the bridge table and statically adds ports to the group. To unregister the MAC address, use the no form of this command.
  • Page 33: Bridge Multicast Forbidden Address

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide bridge multicast forbidden address The bridge multicast forbidden address Interface Configuration (VLAN) mode command forbids adding a spe- cific multicast address to specific ports. Use the no form of this command to return to the default configuration.
  • Page 34: Bridge Multicast Forward-All

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide bridge multicast forward-all The bridge multicast forward-all Interface Configuration (VLAN) mode command enables forwarding all multi- cast packets on a port. To restore the default configuration, use the no form of this command.
  • Page 35: Bridge Multicast Forbidden Forward-All

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide bridge multicast forbidden forward-all The bridge multicast forbidden forward-all Interface Configuration (VLAN) mode command forbids a port to be a forward-all-multicast port. To restore the default configuration, use the no form of this command.
  • Page 36: Bridge Aging-Time

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide bridge aging-time The bridge aging-time Global Configuration mode command sets the address table aging time. To restore the default configuration, use the no form of this command. Syntax bridge aging-time seconds no bridge aging-time Parameters •...
  • Page 37: Clear Bridge

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clear bridge The clear bridge Privileged EXEC mode command removes any learned entries from the forwarding database. Syntax clear bridge Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 38: Port Security

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide port security The port security Interface Configuration mode command locks the port, thereby, blocking unknown traffic and preventing the port from learning new addresses. To return to the default configuration, use the no form of this command.
  • Page 39: Port Security Routed Secure-Address

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide port security routed secure-address The port security routed secure-address Interface Configuration (Ethernet, port-channel) mode command adds a MAC-layer secure address to a routed port. Use the no form of this command to delete a MAC address.
  • Page 40: Show Bridge Address-Table

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show bridge address-table Use the show bridge address-table Privileged EXEC command to view entries in the bridge-forwarding data- base. Syntax show bridge address-table [vlan vlan] [ethernet interface | port-channel port-channel-number] ] [address mac-...
  • Page 41: Show Bridge Address-Table Static

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show bridge address-table static The show bridge address-table static Privileged EXEC mode command displays statically created entries in the bridge-forwarding database. Syntax show bridge address-table static [vlan vlan] [ethernet interface | port-channel port-channel-number] Parameters •...
  • Page 42: Show Bridge Address-Table Count

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show bridge address-table count The show bridge address-table count Privileged EXEC mode command displays the number of addresses present in the Forwarding Database. Syntax show bridge address-table count [vlan vlan][ ethernet interface-number | port-channel port-channel-number] Parameters •...
  • Page 43: Show Bridge Multicast Address-Table

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show bridge multicast address-table The show bridge multicast address-table User EXEC mode command displays multicast MAC address or IP address table information. Syntax show bridge multicast address-table [vlan vlan-id] [address mac-multicast-address | ip-multicast-address]...
  • Page 44 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Console# show bridge multicast address-table format ip Vlan IP/MAC Address ---- ----------------- 224-239.130|2.2.3 224-239.130|2.2.8 224-239.130|2.2.8 Forbidden ports for multicast addresses: Vlan IP/MAC Address ---- ----------------- 224-239.130|2.2.3 224-239.130|2.2.8 Note A multicast MAC address maps to multiple IP addresses as shown above.
  • Page 45: Show Bridge Multicast Filtering

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show bridge multicast filtering The show bridge multicast filtering User EXEC mode command displays the multicast filtering configuration. Syntax show bridge multicast filtering vlan-id Parameters • vlan-id — VLAN ID value. Default Configuration This command has no default configuration.
  • Page 46: Show Ports Security

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show ports security The show ports security Privileged EXEC mode command displays the port-lock status. Syntax show ports security [ethernet interface | port-channel port-channel-number] Parameters • interface — A valid Ethernet port.
  • Page 47 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Disabled Disabled The following tables describes the fields shown above. Field Port Status Action Trap Frequency Desc ription Port number Locked/Unlocked Action on violation Indicates if traps are sent in case of a violation...
  • Page 48: Section 4. Clock

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 4. Clock clock set The clock set Privileged EXEC mode command manually sets the system clock. Syntax clock set hh:mm:ss day month year clock set hh:mm:ss month day year Parameters •...
  • Page 49: Clock Source

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clock source The clock source Global Configuration mode command configures an external time source for the system clock. Use no form of this command to disable external time source. Syntax clock source {sntp}...
  • Page 50: Clock Timezone

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clock timezone The clock timezone Global Configuration mode command sets the time zone for display purposes. To set the time to the Coordinated Universal Time (UTC), use the no form of this command.
  • Page 51: Clock Summer-Time

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

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp authentication-key The sntp authentication-key Global Configuration mode command defines an authentication key for Simple Net- work Time Protocol (SNTP). To remove the authentication key for SNTP, use the no form of this command.
  • Page 54: Sntp Authenticate

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp authenticate The sntp authenticate Global Configuration mode command grants authentication for received Simple Network Time Protocol (SNTP) traffic from servers. To disable the feature, use the no form of this command.
  • Page 55: Sntp Trusted-Key

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp trusted-key The sntp trusted-key Global Configuration mode command authenticates the identity of a system to which Sim- ple Network Time Protocol (SNTP) will synchronize. To disable authentication of the identity of the system, use the no form of this command.
  • Page 56: Sntp Client Poll Timer

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp client poll timer The sntp client poll timer Global Configuration mode command sets the polling time for the Simple Network Time Protocol (SNTP) client. To return to default configuration, use the no form of this command.
  • Page 57: Sntp Broadcast Client Enable

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp broadcast client enable The sntp broadcast client enable Global Configuration mode command enables Simple Network Time Protocol (SNTP) broadcast clients. To disable SNTP broadcast clients, use the no form of this command.
  • Page 58: Sntp Anycast Client Enable

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp anycast client enable The sntp anycast client enable Global Configuration mode command enables SNTP anycast client. To disable the SNTP anycast client, use the no form of this command. Syntax sntp anycast client enable...
  • Page 59: Sntp Client Enable (Interface)

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp client enable (Interface) The sntp client enable Interface Configuration (Ethernet, port-channel, VLAN) mode command enables the Sim- ple Network Time Protocol (SNTP) client on an interface. This applies to both receive broadcast and anycast updates.
  • Page 60: Sntp Unicast Client Enable

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp unicast client enable The sntp unicast client enable Global Configuration mode command enables the device to use the Simple Net- work Time Protocol (SNTP) to request and accept SNTP traffic from servers. To disable requesting and accepting SNTP traffic from servers, use the no form of this command.
  • Page 61: Sntp Unicast Client Poll

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp unicast client poll The sntp unicast client poll Global Configuration mode command enables polling for the Simple Network Time Protocol (SNTP) predefined unicast servers. To disable the polling for SNTP client, use the no form of this com- mand.
  • Page 62: Sntp Server

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide sntp server The sntp server Global Configuration mode command configures the device to use the Simple Network Time Protocol (SNTP) to request and accept SNTP traffic from a specified server. To remove a server from the list of SNTP servers, use the no form of this command.
  • Page 63: Show Clock

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show clock The show clock User EXEC mode command displays the time and date from the system clock. Syntax show clock [detail] Parameters • detail — Shows timezone and summertime configuration. Default Configuration This command has no default configuration.
  • Page 64: Show Sntp Configuration

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show sntp configuration The show sntp configuration Privileged EXEC mode command shows the configuration of the Simple Network Time Protocol (SNTP). Syntax show sntp configuration Default Configuration This command has no default configuration.
  • Page 65: Show Sntp Status

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show sntp status The show sntp status Privileged EXEC mode command shows the status of the Simple Network Time Protocol (SNTP). Syntax show sntp status Default Configuration This command has no default configuration.
  • Page 66: Section 5. Configuration And Image Files

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 5. Configuration and Image Files copy The copy Privileged EXEC mode command copies files from a source to a destination. Syntax copy source-url destination-url Parameters • source-url — The source file location URL or reserved keyword of the source file to be copied.
  • Page 67 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Some invalid combinations of source and destination exist. Specifically, you cannot copy if one of the following conditions exist: The source file and destination file are the same file. xmodem: is the destination file. The source file can be copied to image, boot and null: only.
  • Page 68 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Example The following example copies system image file1 from the TFTP server 172.16.101.101 to a non-active image file. Console# copy tftp://172.16.101.101/file1 image Accessing file 'file1' on 172.16.101.101... Loading file1 from 172.16.101.101: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  • Page 69: Delete

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide delete The delete Privileged EXEC mode command deletes a file from a flash memory device. Syntax delete url Parameters • url — A reserved keyword of the file to be deleted. (Range: 1-160 characters)
  • Page 70: Delete Startup-Config

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide delete startup-config The delete startup-config Privileged EXEC mode command deletes the startup-config file. Syntax delete startup-config Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 71: Show Running-Config

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show running-config The show running-config Privileged EXEC mode command displays the contents of the currently running config- uration file. Syntax show running-config Default Configuration This command has no default configuration. Command Mode...
  • Page 72: Show Startup-Config

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show startup-config The show startup-config Privileged EXEC mode command displays the contents of the startup configuration file. Syntax show startup-config Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 73: Section 6. Ethernet Configuration Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 6. Ethernet Configuration Commands interface ethernet The interface ethernet Global Configuration mode command enters the interface configuration mode to configure an Ethernet type interface. Syntax interface ethernet interface Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 74: Interface Range Ethernet

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

    Examples The following example disables Ethernet port 5 operations. Console(config)# interface ethernet e5 Console(config-if)# shutdown The following example restarts the disabled Ethernet port. Console(config)# interface ethernet e5 Console(config-if)# no shutdown TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 74...
  • Page 76: Description

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide description The description Interface Configuration (Ethernet, port-channel) mode command adds a description to an inter- face. To remove the description, use the no form of this command. Syntax description string no description Parameters •...
  • Page 77: Speed

    The no speed command in a port-channel context returns each port in the port-channel to its maximum capability. Example The following example configures the speed operation of Ethernet port 5 to 100 Mbps operation. Console(config)# interface ethernet e5 Console(config-if)# speed 100 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 76...
  • Page 78: Duplex

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide duplex The duplex Interface Configuration (Ethernet) mode command configures the full/half duplex operation of a given Ethernet interface when not using auto-negotiation. To restore the default configuration, use the no form of this command.
  • Page 79: Negotiation

    If capabilities were specified when auto-negotiation was previously entered, not specifying capabilities when cur- rently entering auto-negotiation overrides the previous configuration and enables all capabilities. Example The following example enables auto-negotiation on Ethernet port 5. Console(config)# interface ethernet e5 Console(config-if)# negotiation TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 78...
  • Page 80: Flowcontrol

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide flowcontrol The flowcontrol Interface Configuration (Ethernet, port-channel) mode command configures flow control on a given interface. To disable flow control, use the no form of this command. Syntax flowcontrol {auto | on | off}...
  • Page 81: Mdix

    No: It is possible to connect to a PC only with a cross cable and to connect to another device only with a normal cable. Example In the following example, automatic crossover is enabled on port 5. Console(config)# interface ethernet e5 Console(config-if)# mdix auto TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 80...
  • Page 82: Back-Pressure

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide back-pressure The back-pressure Interface Configuration (Ethernet, port-channel) mode command enables back pressure on a given interface. To disable back pressure, use the no form of this command. Syntax back-pressure no back-pressure Default Configuration Back pressure is enabled.
  • Page 83: Clear Counters

    User EXEC mode User Guidelines There are no user guidelines for this command. Example In the following example, the counters for interface 1 are cleared. Console> clear counters ethernet e1 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 82...
  • Page 84: Set Interface Active

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide set interface active The set interface active Privileged EXEC mode command reactivates an interface that was shutdown. Syntax set interface active {ethernet interface | port-channel port-channel-number} Parameters • interface — Valid Ethernet port. (Full syntax: port) •...
  • Page 85: Show Interfaces Advertise

    100M-Copper 100M-Copper 100M-Copper 100M-Copper 100M-Copper 100M-Copper 100M-Copper 100M-Copper 1G-Copper 1G-Fiber Port Type ---- ----------- TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Operational Link Advertisement ------- ------------------------------ Enabled Enabled Enabled Enabled Enabled 100f, 100h, 10f, 10h Enabled Enabled Enabled Enabled...
  • Page 86 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Enabled Enabled Enabled Enabled Page 85...
  • Page 87: Show Interfaces Configuration

    100M-Copper Full 100M-Copper Full 100M-Copper Full 100M-Copper Full 100M-Copper Full 100M-Copper Full 1G-Copper Full 100M-Fiber Full TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Speed Flow Ctrl ----- ------- ---- Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled 1000 Enabled...
  • Page 88: Show Interfaces Status

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show interfaces status The show interfaces status Privileged EXEC mode command displays the status of all configured interfaces. Syntax show interfaces status [ethernet interface| port-channel port-channel-number] Parameters • interface — A valid Ethernet port. (Full syntax: port) •...
  • Page 89 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Not Present Not Present Not Present Not Present Not Present Not Present Page 88...
  • Page 90: Show Interfaces Description

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show interfaces description The show interfaces description Privileged EXEC mode command displays the description for all configured interfaces. Syntax show interfaces description [ethernet interface | port-channel port-channel-number] Parameters • interface — Valid Ethernet port. (Full syntax: port) •...
  • Page 91: Show Interfaces Counters

    The following example displays traffic seen by the physical interface: Console# show interfaces counters Port InOctets ---- -------- 183892 123899 9188 8789 OutOctets --------- 27889 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide InUcastPkts InMcastPkts ----------- ----------- OutUcastPkts OutMcastPkts ------------ ------------ Page 90 InBcastPkts ----------- OutBcastPkts...
  • Page 92 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide 23739 The following example displays counters for Ethernet port 1. Console# show interfaces counters ethernet e1 Port InOctets ------ ----------- 183892 Port OutOctets ------ ----------- 9188 FCS Errors: 0 Single Collision Frames: 0...
  • Page 93 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Single Collision Frames Counted frames that are involved in a single collision, and are subsequently transmitted successfully. Late Collisions Number of times that a collision is detected later than one slotTime into the transmission of a packet.
  • Page 94: Port Storm-Control Include-Multicast

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide port storm-control include-multicast The port storm-control include-multicast Interface Configuration (Ethernet) mode command counts multicast packets in broadcast storm control. To disable counting multicast packets, use the no form of this command. Syntax...
  • Page 95: Port Storm-Control Broadcast Enable

    The command can be enabled on a specific port only if rate-limit interface configuration command is not enabled on that port. Example The following example enables broadcast storm control on Ethernet port 5. Console(config)# interface ethernet e5 Console(config-if)# port storm-control broadcast enable TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 94...
  • Page 96: Port Storm-Control Broadcast Rate

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide port storm-control broadcast rate The port storm-control broadcast rate Interface Configuration (Ethernet) mode command configures the maxi- mum broadcast rate. To return to the default configuration, use the no form of this command.
  • Page 97: Show Ports Storm-Control

    Console# show ports storm-control Port State ---- -------- Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Disabled TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Rate [Kbits/Sec] Included ---------------- -------------------------------------- Broadcast Broadcast Broadcast Broadcast Broadcast Broadcast Broadcast Broadcast 1000 Broadcast...
  • Page 98: Section 7. Gvrp Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 7. GVRP Commands gvrp enable (Global) GARP VLAN Registration Protocol (GVRP) is an industry-standard protocol designed to propagate VLAN informa- tion from device to device. With GVRP, a single device is manually configured with all desired VLANs for the net- work, and all other devices on the network learn these VLANs dynamically.
  • Page 99: Gvrp Enable (Interface)

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide gvrp enable (Interface) The gvrp enable Interface Configuration (Ethernet, port-channel) mode command enables GVRP on an interface. To disable GVRP on an interface, use the no form of this command. Syntax gvrp enable...
  • Page 100: Garp Timer

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide garp timer The garp timer Interface Configuration (Ethernet, Port channel) mode command adjusts the values of the join, leave and leaveall timers of GARP applications. To return to the default configuration, use the no form of this com- mand.
  • Page 101: Gvrp Vlan-Creation-Forbid

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide gvrp vlan-creation-forbid The gvrp vlan-creation-forbid Interface Configuration (Ethernet, port-channel) mode command disables dynamic VLAN creation or modification. To enable dynamic VLAN creation or modification, use the no form of this command. Syntax...
  • Page 102: Gvrp Registration-Forbid

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide gvrp registration-forbid The gvrp registration-forbid Interface Configuration (Ethernet, port-channel) mode command deregisters all dynamic VLANs on a port and prevents VLAN creation or registration on the port. To allow dynamic registration of VLANs on a port, use the no form of this command.
  • Page 103: Clear Gvrp Statistics

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clear gvrp statistics The clear gvrp statistics Privileged EXEC mode command clears all GVRP statistical information. Syntax clear gvrp statistics [ethernet interface | port-channel port-channel-number] Parameters • interface — A valid Ethernet port. (Full syntax: port) •...
  • Page 104: Show Gvrp Configuration

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show gvrp configuration The show gvrp configuration User EXEC mode command displays GVRP configuration information, including timer values, whether GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP.
  • Page 105: Show Gvrp Statistics

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show gvrp statistics The show gvrp statistics User EXEC mode command displays GVRP statistics. Syntax show gvrp statistics [ethernet interface | port-channel port-channel-number] Parameters • interface — A valid Ethernet port. (Full syntax: port) •...
  • Page 106: Show Gvrp Error-Statistics

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show gvrp error-statistics The show gvrp error-statistics User EXEC mode command displays GVRP error statistics. Syntax show gvrp error-statistics [ethernet interface | port-channel port-channel-number] Parameters • interface — A valid Ethernet port. (Full syntax: port) •...
  • Page 107: Section 8. Igmp Snooping Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 8. IGMP Snooping Commands ip igmp snooping (Global) The ip igmp snooping Global Configuration mode command enables Internet Group Management Protocol (IGMP) snooping. To disable IGMP snooping, use the no form of this command.
  • Page 108: Ip Igmp Snooping (Interface)

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip igmp snooping (Interface) The ip igmp snooping Interface Configuration (VLAN) mode command enables Internet Group Management Protocol (IGMP) snooping on a specific VLAN. To disable IGMP snooping on a VLAN interface, use the no form of this command.
  • Page 109: Ip Igmp Snooping Host-Time-Out

    The timeout should be at least greater than 2*query_interval+max_response_time of the IGMP router. Example The following example configures the host timeout to 300 seconds. Console(config)# interface vlan 2 Console(config-if)# ip igmp snooping host-time-out 300 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 108...
  • Page 110: Ip Igmp Snooping Mrouter-Time-Out

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip igmp snooping mrouter-time-out The ip igmp snooping mrouter-time-out Interface Configuration (VLAN) mode command configures the mrouter-time-out. The ip igmp snooping mrouter-time-out Interface Configuration (VLAN) mode command is used for setting the aging-out time after multicast router ports are automatically learned. To return to the default configuration, use the no form of this command.
  • Page 111: Ip Igmp Snooping Leave-Time-Out

    Use immediate leave only where there is just one host connected to a port. Example The following example configures the host leave-time-out to 60 seconds. Console(config)# interface vlan 2 Console(config-if)# ip igmp snooping leave-time-out 60 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 110...
  • Page 112: Show Ip Igmp Snooping Mrouter

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show ip igmp snooping mrouter The show ip igmp snooping mrouter User EXEC mode command displays information on dynamically learned multicast router interfaces. Syntax show ip igmp snooping mrouter [interface vlan-id] Parameters •...
  • Page 113: Show Ip Igmp Snooping Interface

    IGMP host timeout is 300 sec IGMP Immediate leave is disabled. IGMP leave timeout is 10 sec IGMP mrouter timeout is 200 sec Automatic learning of multicast router ports is enabled TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 112...
  • Page 114: Show Ip Igmp Snooping Groups

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show ip igmp snooping groups The show ip igmp snooping groups User EXEC mode command displays multicast groups learned by IGMP snooping. Syntax show ip igmp snooping groups [vlan vlan-id] [address ip-multicast-address] Parameters •...
  • Page 115: Section 9. Ip Addressing Commands

    An IP address cannot be configured for a range of interfaces (range context). Example The following example configures VLAN 1 with IP address 131.108.1.27 and subnet mask 255.255.255.0. Console(config)# interface vlan 1 Console(config-if)# ip address 131.108.1.27 255.255.255.0 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 114...
  • Page 116: Ip Address Dhcp

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip address dhcp The ip address dhcp Interface Configuration (Ethernet, VLAN, port-channel) mode command acquires an IP address for an Ethernet interface from the Dynamic Host Configuration Protocol (DHCP) server. To deconfigure an acquired IP address, use the no form of this command.
  • Page 117: Ip Default-Gateway

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip default-gateway The ip default-gateway Global Configuration mode command defines a default gateway (router). To return to the default configuration, use the no form of this command. Syntax ip default-gateway ip-address no ip default-gateway Parameters •...
  • Page 118: Show Ip Interface

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show ip interface The show ip interface Privileged EXEC mode command displays the usability status of configured IP interfaces. Syntax show ip interface [ethernet interface-number | vlan vlan-id | port-channel port-channel number.] Parameters •...
  • Page 119: Arp

    ARP cache entries do not generally have to be specified. Example The following example adds IP address 198.133.219.232 and MAC address 00:00:0c:40:0f:bc to the ARP table. Console(config)# arp 198.133.219.232 00:00:0c:40:0f:bc ethernet e6 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 118...
  • Page 120: Arp Timeout

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide arp timeout The arp timeout Global Configuration mode command configures how long an entry remains in the ARP cache. To return to the default configuration, use the no form of this command.
  • Page 121: Clear Arp-Cache

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clear arp-cache The clear arp-cache Privileged EXEC mode command deletes all dynamic entries from the ARP cache. Syntax clear arp-cache Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 122: Show Arp

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show arp The show arp Privileged EXEC mode command displays entries in the ARP table. Syntax show arp Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 123: Ip Domain-Name

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip domain-name The ip domain-name Global Configuration mode command defines a default domain name used by the software to complete unqualified host names (names without a dotted-decimal domain name). To remove the default domain name, use the no form of this command.
  • Page 124: Ip Name-Server

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip name-server The ip name-server Global Configuration mode command defines the available name servers. To remove a name server, use the no form of this command. Syntax ip name-server server-address [server-address2 … server-address8] no ip name-server [server-address1 …...
  • Page 125: Ip Host

    — Name of the host (Range: 1-158 characters) • address — Associated IP address. Default Configuration No host is defined. Command Mode Global Configuration mode User Guidelines There are no user guidelines for this command. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 124...
  • Page 126: Clear Host

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clear host The clear host Privileged EXEC mode command deletes entries from the host name-to-address cache. Syntax clear host {name | *} Parameters • name — Specifies the host entry to be removed. (Range: 1-158 characters •...
  • Page 127: Clear Host Dhcp

    This command deletes the host name-to-address mapping temporarily until the next renewal of the IP address. Examples The following example deletes all entries from the host name-to-address mapping. Console# clear host dhcp * TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 126...
  • Page 128: Show Hosts

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show hosts The show hosts Privileged EXEC mode command displays the default domain name, a list of name server hosts, the static and the cached list of host names and addresses. Syntax...
  • Page 129: Section 10. Lacp Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 10. LACP Commands lacp system-priority The lacp system-priority Global Configuration mode command configures the system priority. To return to the default configuration, use the no form of this command. Syntax lacp system-priority value...
  • Page 130: Lacp Port-Priority

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide lacp port-priority The lacp port-priority Interface Configuration (Ethernet) mode command configures physical port priority. To return to the default configuration, use the no form of this command. Syntax lacp port-priority value no lacp port-priority Parameters •...
  • Page 131: Lacp Timeout

    There are no user guidelines for this command. Example The following example assigns a long administrative LACP timeout to Ethernet port 6 . Console(config)# interface ethernet e6 Console(config-if)# lacp timeout long TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 130...
  • Page 132: Show Lacp Ethernet

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show lacp ethernet The show lacp ethernet Privileged EXEC mode command displays LACP information for Ethernet ports. Syntax show lacp ethernet interface [parameters | statistics | protocol-state] Parameters • interface — Valid Ethernet port. (Full syntax: port) •...
  • Page 133 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide distributing: expired: Partner system priority: system mac addr: port Admin key: port Oper key: port Oper number: port Admin priority: port Oper priority: port Oper timeout: LACP Activity: Aggregation: synchronization: collecting: distributing:...
  • Page 134: Show Lacp Port-Channel

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show lacp port-channel The show lacp port-channel Privileged EXEC mode command displays LACP information for a port-channel. Syntax show lacp port-channel [port_channel_number] Parameters • port_channel_number — Valid port-channel number. Default Configuration This command has no default configuration.
  • Page 135: Section 11. Line Commands

    Global Configuration mode User Guidelines There are no user guidelines for this command. Examples The following example configures the device as a virtual terminal for remote console access. Console(config)# line telnet Console(config-line)# TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 134...
  • Page 136: Speed

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide speed The speed Line Configuration mode command sets the line baud rate. To return to the default configuration, use the no form of the command. Syntax speed bps no speed Parameters •...
  • Page 137: Exec-Timeout

    To specify no timeout, enter the exec-timeout 0 command. Examples The following example configures the interval that the system waits until user input is detected to 20 minutes. Console(config)# line console Console(config-line)# exec-timeout 20 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 136...
  • Page 138: History

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide history The history Line Configuration mode command enables the command history function. To disable the command history function, use the no form of this command. Syntax history no history Default Configuration The command history function is enabled.
  • Page 139: History Size

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide history size The history size Line Configuration mode command configures the command history buffer size for a particular line. To reset the command history buffer size to the default configuration, use the no form of this command.
  • Page 140: Terminal History

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide terminal history The terminal history user EXEC command enables the command history function for the current terminal ses- sion. To disable the command history function, use the no form of this command.
  • Page 141: Terminal History Size

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide terminal history size The terminal history size user EXEC command configures the command history buffer size for the current termi- nal session. To reset the command history buffer size to the default setting, use the no form of this command..
  • Page 142: Show Line

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show line The show line User EXEC mode command displays line parameters. Syntax show line [console | telnet | ssh] Parameters • console — Console terminal line. • telnet — Virtual terminal for remote console access (Telnet).
  • Page 143: Section 12. Management Acl

    1 and 6 and makes the new access list the active list. Console(config)# management access-list mlist Console(config-macl)# permit ethernet 1 Console(config-macl)# permit ethernet 6 Console(config-macl)# exit Console(config)# management access-class mlist TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 142...
  • Page 144 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide The following example creates a management access list called mlist, configures all interfaces to be management interfaces except Ethernet interfaces 1 and 6 and makes the new access list the active list.
  • Page 145: Permit (Management)

    Rules with Ethernet, VLAN and port-channel parameters are valid only if an IP address is defined on the appropri- ate interface. The system supports up to 128 management access rules. Example The following example permits all ports in the mlist access list. Console(config)# management access-list mlist Console(config-macl)# permit TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 144...
  • Page 146: Deny (Management)

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide deny (Management) The deny Management Access-List Configuration mode command defines a deny rule. Syntax deny [ethernet interface-number | vlan vlan-id | port-channel port-channel-number] deny ip-source ip-address [mask mask | prefix-length] [ethernet interface-number | vlan vlan-id | port-channel...
  • Page 147: Management Access-Class

    Global Configuration mode User Guidelines There are no user guidelines for this command. Example The following example configures an access list called mlist as the management access list. Console(config)# management access-class mlist TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 146...
  • Page 148: Show Management Access-List

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show management access-list The show management access-list Privileged EXEC mode command displays management access-lists. Syntax show management access-list [name] Parameters • name — Specifies the name of a management access list. (Range: 1 - 32 characters) Default Configuration This command has no default configuration.
  • Page 149: Show Management Access-Class

    There are no user guidelines for this command. Example The following example displays information about the active management access list. Console# show management access-class Management access-class is enabled, using access list mlist TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 148...
  • Page 150: Section 13. Phy Diagnostics Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 13. PHY Diagnostics Commands test copper-port tdr The test copper-port tdr Privileged EXEC mode command uses Time Domain Reflectometry (TDR) technology to diagnose the quality and characteristics of a copper cable attached to a port.
  • Page 151: Show Copper-Ports Tdr

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show copper-ports tdr The show copper-ports tdr User EXEC mode command displays information on the last Time Domain Reflecto- metry (TDR) test performed on copper ports. Syntax show copper-ports tdr [interface] Parameters •...
  • Page 152: Show Copper-Ports Cable-Length

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show copper-ports cable-length The show copper-ports cable-length User EXEC mode command displays the estimated copper cable length attached to a port. Syntax show copper-ports cable-length [interface] Parameters • interface — A valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 153: Show Fiber-Ports Optical-Transceiver

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show fiber-ports optical-transceiver The show fiber-ports optical-transceiver Privileged EXEC command displays the optical transceiver diagnos- tics. Syntax show fiber-ports optical-transceiver [interface] [detailed] Parameters • interface — A valid Ethernet port. (Full syntax: port) •...
  • Page 154: Section 14. Port Channel Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 14. Port Channel Commands interface port-channel The interface port-channel Global Configuration mode command enters the interface configuration mode to con- figure a specific port-channel. Syntax interface port-channel port-channel-number Parameters • port-channel-number — A valid port-channel number.
  • Page 155: Interface Range Port-Channel

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide interface range port-channel The interface range port-channel Global Configuration mode command enters the interface configuration mode to configure multiple port-channels. Syntax interface range port-channel {port-channel-range | all} Parameters • port-channel-range — List of valid port-channels to add. Separate nonconsecutive port-channels with a comma and no spaces.
  • Page 156: Channel-Group

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide channel-group The channel-group Interface Configuration (Ethernet) mode command associates a port with a port-channel. To remove a port from a port-channel, use the no form of this command. Syntax channel-group port-channel-number mode {on | auto}...
  • Page 157: Show Interfaces Port-Channel

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show interfaces port-channel The show interfaces port-channel Privileged EXEC mode command displays port-channel information. Syntax show interfaces port-channel [port-channel-number] Parameters • port-channel-number — Valid port-channel number. Default Configuration This command has no default configuration.
  • Page 158: Section 15. Port Monitor Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 15. Port Monitor Commands port monitor The port monitor Interface Configuration mode command starts a port monitoring session. To stop a port monitor- ing session, use the no form of this command.
  • Page 159: Port Monitor Vlan-Tagging

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide port monitor vlan-tagging The port monitor Interface Configuration (Ethernet) mode command transmits tagged ingress mirrored packets. To transmit untagged ingress mirrored packets, use the no form of this command. Syntax port monitor vlan-tagging...
  • Page 160: Show Ports Monitor

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show ports monitor The show ports monitor User EXEC mode command displays the port monitoring status. Syntax show ports monitor Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 161: Section 16. Qos Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 16. QoS Commands The qos Global Configuration mode command enables quality of service (QoS) on the device. To disable QoS on the device, use the no form of this command. Syntax...
  • Page 162: Show Qos

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show qos The show qos User EXEC mode command displays quality of service (QoS) for the device. Syntax show qos Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 163: Priority-Queue Out Num-Of-Queues

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide priority-queue out num-of-queues The priority-queue out num-of-queues Global Configuration mode command configures the number of expedite queues. To return to the default configuration, use the no form of this command. Syntax priority-queue out num-of-queues number-of-queues...
  • Page 164: Show Qos Interface

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show qos interface The show qos interface User EXEC mode command displays interface QoS information. Syntax show qos interface [ethernet interface-number | vlan vlan-id | port-channel number] [ queueing | rate-limit] Parameters •...
  • Page 165 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 164...
  • Page 166: Traffic-Shape

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide traffic-shape Set shaper on egress port/queue. Use no form in order to disable the shaper. traffic-shape { committed-rate } [queue-id] no traffic-shape [queue-id] Syntax committed-rate – The average traffic rate (CIR) in bits per second(bps).
  • Page 167: Wrr-Queue Cos-Map

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide wrr-queue cos-map The wrr-queue cos-map Global Configuration mode command maps Class of Service (CoS) values to a specific egress queue. To return to the default configuration, use the no form of this command.
  • Page 168: Qos Map Dscp-Queue

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide qos map dscp-queue The qos map dscp-queue Global Configuration mode command modifies the DSCP to CoS map. To return to the default map, use the no form of this command. Syntax qos map dscp-queue dscp-list to queue-id...
  • Page 169: Qos Trust (Global)

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

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide qos trust (Interface) The qos trust Interface Configuration (Ethernet, port-channel) mode command enables each port trust state while the system is in the basic QoS mode. To disable the trust state on each port, use the no form of this command.
  • Page 171: Qos Cos

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide qos cos The qos cos Interface Configuration (Ethernet, port-channel) mode command defines the default CoS value of a port. To return to the default configuration, use the no form of this command.
  • Page 172: Show Qos Map

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show qos map The show qos map User EXEC mode command displays all QoS maps. Syntax show qos map [dscp-queue] Parameters • dscp-queue — Indicates the DSCP to queue map. Default Configuration This command has no default configuration.
  • Page 173: Section 17. Radius Commands

    If no host-specific timeout, retries, deadtime or key-string values are specified, global values apply to each RADIUS server host. The address type of the source parameter must be the same as the ip-address parameter. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 172...
  • Page 174 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Example The following example specifies a RADIUS server host with IP address 192.168.10.1, authentication request port number 20 and a 20-second timeout period. Console(config)# radius-server host 192.168.10.1 auth-port 20 timeout 20 Page 173...
  • Page 175: Radius-Server Key

    There are no user guidelines for this command. Example The following example sets the authentication and encryption key for all RADIUS communications between the device and the RADIUS daemon as default. Console(config)# radius-server key TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 174...
  • Page 176: Radius-Server Retransmit

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide radius-server retransmit The radius-server retransmit Global Configuration mode command specifies the number of times the software searches the list of RADIUS server hosts. To reset the default configuration, use the no form of this command.
  • Page 177: Radius-Server Source-Ip

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide radius-server source-ip The radius-server source-ip Global Configuration mode command specifies the source IP address used for communication with RADIUS servers. To return to the default configuration, use the no form of this command.
  • Page 178: Radius-Server Timeout

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide radius-server timeout The radius-server timeout Global Configuration mode command sets the interval during which the device waits for a server host to reply. To return to the default configuration, use the no form of this command.
  • Page 179: Radius-Server Deadtime

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide radius-server deadtime The radius-server deadtime Global Configuration mode command improves RADIUS response time when serv- ers are unavailable. The command is used to cause the unavailable servers to be skipped. To return to the default configuration, use the no form of this command.
  • Page 180: Show Radius-Servers

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show radius-servers The show radius-servers Privileged EXEC mode command displays the RADIUS server settings. Syntax show radius-servers Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 181: Section 18. Rmon Commands

    CRC Align Errors: 0 Undersize Pkts: 0 Fragments: 0 64 Octets: 98 128 to 255 Octets: 0 512 to 1023 Octets: 491 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Packets: 978 Multicast: 1 Collisions: 0 Oversize Pkts: 0 Jabbers: 0...
  • Page 182 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide The following table describes significant fields shown above: Field De scrip tio n Octets The total number of octets of data (including those in bad packets) received on the net- work (excluding framing bits but including FCS octets).
  • Page 183: Rmon Collection History

    The following example enables a Remote Monitoring (RMON) MIB history statistics group on Ethernet port 1 with index number 1 and a polling interval period of 2400 seconds. Console(config)# interface ethernet e1 Console(config-if)# rmon collection history 1 interval 2400 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 182...
  • Page 184: Show Rmon Collection History

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show rmon collection history The show rmon collection history User EXEC mode command displays the requested RMON history group sta- tistics. Syntax show rmon collection history [ethernet interface | port-channel port-channel-number] Parameters •...
  • Page 185: Show Rmon History

    Jan 18 2002 21:57:00 303595962 Jan 18 2002 21:57:30 287696304 Console> show rmon history 1 errors Sample Set: 1 Interface: 1 Requested samples: 50 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Owner: CLI Interval: 1800 Granted samples: 50 Packets Broadcast ------- ----------...
  • Page 186 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Maximum table size: 500 (800 after reset) Time ---------- Jan 18 2002 21:57:00 Jan 18 2002 21:57:30 Console> show rmon history 1 other Sample Set: 1 Interface: 1 Requested samples: 50 Maximum table size: 500...
  • Page 187 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Fragments The total number of packets received during this sampling interval that were less than 64 octets in length (excluding framing bits but including FCS octets) had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error), or a bad FCS with a non-inte- gral number of octets (AlignmentError).
  • Page 188: Rmon Alarm

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide rmon alarm The rmon alarm Global Configuration mode command configures alarm conditions. To remove an alarm, use the no form of this command. Syntax rmon alarm index variable interval rthreshold fthreshold revent fevent [type type] [startup direction] [owner...
  • Page 189 The following table describes significant fields shown above: Field Desc ription Index An index that uniquely identifies the entry. Monitored variable OID. Owner The entity that configured this entry. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Owner ------- Manager Page 188...
  • Page 190: Show Rmon Alarm

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show rmon alarm The show rmon alarm User EXEC mode command displays alarm configuration. Syntax show rmon alarm number Parameters • number — Specifies the alarm index. (Range: 1 - 65535) Default Configuration This command has no default configuration.
  • Page 191 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Interval The interval in seconds over which the data is sampled and compared with the rising and falling thresholds. Sample Type The method of sampling the variable and calculating the value compared against the thresholds.
  • Page 192: Rmon Event

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide rmon event The rmon event Global Configuration mode command configures an event. To remove an event, use the no form of this command. Syntax rmon event index type [community text] [description text] [owner name]...
  • Page 193: Show Rmon Events

    The entity that configured this event. Last time sent The time this entry last generated an event. If this entry has not generated any events, this value is zero. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Type Community Owner...
  • Page 194: Show Rmon Log

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show rmon log The show rmon log User EXEC mode command displays the RMON log table. Syntax show rmon log [event] Parameters • event — Specifies the event index. (Range: 0 - 65535) Default Configuration This command has no default configuration.
  • Page 195 The following table describes the significant fields shown in the display: Field D escr ip tio n Event An index that uniquely identifies the event. Description A comment describing this event. Time The time this entry was created. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 194...
  • Page 196: Rmon Table-Size

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide rmon table-size The rmon table-size Global Configuration mode command configures the maximum size of RMON tables. To return to the default configuration, use the no form of this command. Syntax rmon table-size {history entries | log entries}...
  • Page 197: Section 19. Snmp Commands

    The group-name parameter can also be used to restrict the access rights of a community string. When it is spec- ified: An internal security name is generated. The internal security name for SNMPv1 and SNMPv2 security models is mapped to the group name. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 196...
  • Page 198 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Examples The following example defines community access string public to permit administrative access to SNMP protocol at an administrative station with IP address 192.168.1.20. Console(config)# snmp-server community public su 192.168.1.20 Page 197...
  • Page 199: Snmp-Server View

    (System 7) and all objects for interface 1 in the MIB-II interface group. Console(config)# snmp-server view user-view system included Console(config)# snmp-server view user-view system.7 excluded Console(config)# snmp-server view user-view ifEntry.*.1 included TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 198...
  • Page 200: Snmp-Server Group

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide snmp-server group The snmp-server group Global Configuration mode command configures a new Simple Management Protocol (SNMP) group or a table that maps SNMP users to SNMP views. To remove a specified SNMP group, use the no form of this command.
  • Page 201: Snmp-Server User

    An SNMP EngineID has to be defined to add SNMP users to the device. Changing or removing the SNMP Engi- neID value deletes SNMPv3 users from the device’s database. The remote engineid designates the remote management station and should be defined to enable the device to receive informs. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 200...
  • Page 202 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Examples The following example configures an SNMPv3 user John in group user-group. Console(config)# snmp-server user John user-group Page 201...
  • Page 203: Snmp-Server Engineid Local

    The show running-config Privileged EXEC mode command does not display the SNMP engine ID configuration. To see the SNMP engine ID configuration, enter the snmp-server engineID local GlobalConfiguration mode command. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 202...
  • Page 204 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Examples The following example enables SNMPv3 on the device and sets the local engine ID of the device to the default value. Console(config) # snmp-server engineID local default Page 203...
  • Page 205: Snmp-Server Enable Traps

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide snmp-server enable traps The snmp-server enable traps Global Configuration mode command enables the device to send SNMP traps. To disable SNMP traps, use the no form of the command. Syntax snmp-server enable traps...
  • Page 206: Snmp-Server Filter

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide snmp-server filter The snmp-server filter Global Configuration mode command creates or updates a Simple Network Management Protocol (SNMP) server filter entry. To remove the specified SNMP server filter entry, use the no form of this com- mand.
  • Page 207: Snmp-Server Host

    If a trap and inform are defined on the same target, and an inform was sent, the trap is not sent. Example The following example enables SNMP traps for host 10.1.1.1 with community string "management" using SNMPv2. Console(config)# snmp-server host 10.1.1.1 management 2 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 206...
  • Page 208: Snmp-Server V3-Host

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide snmp-server v3-host The snmp-server v3-host Global Configuration mode command specifies the recipient of Simple Network Man- agement Protocol Version 3 notifications. To remove the specified host, use the no form of this command.
  • Page 209: Snmp-Server Trap Authentication

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide snmp-server trap authentication The snmp-server trap authentication Global Configuration mode command enables the device to send SNMP traps when authentication fails. To disable SNMP failed authentication traps, use the no form of this command.
  • Page 210: Snmp-Server Contact

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide snmp-server contact The snmp-server contact Global Configuration mode command configures the system contact (sysContact) string. To remove system contact information, use the no form of the command. Syntax snmp-server contact text no snmp-server contact Parameters •...
  • Page 211: Snmp-Server Location

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide snmp-server location The snmp-server location Global Configuration mode command configures the system location string. To remove the location string, use the no form of this command. Syntax snmp-server location text no snmp-server location Parameters •...
  • Page 212: Snmp-Server Set

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide snmp-server set The snmp-server set Global Configuration mode command defines the SNMP MIB value. Syntax snmp-server set variable-name name1 value1 [ name2 value2 …] Parameters • variable-name — MIB variable name. •...
  • Page 213: Show Snmp

    Traps are enabled. Authentication trap is enabled. Version 1,2 notifications Target Address Type -------------- ----- 192.122.173.42 Trap 192.122.173.42 Inform TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide View name address --------- -------- user-view Default 172.16.1.1 DefaultSuper 172.17.1.1 Group name IP address...
  • Page 214 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Version 3 notifications Target Address Type -------------- ----- 192.122.173.42 Inform System Contact: Robert System Location: Marketing The following table describes significant fields shown above. Field Community-string Community-access IP Address Trap-Rec-Address Trap-Rec-Community Version...
  • Page 215: Show Snmp Engineid

    Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays the SNMP engine ID. Console# show snmp engineID Local SNMP engineID: 08009009020C0B099C075878 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 214...
  • Page 216: Show Snmp Views

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show snmp views The show snmp views Privileged EXEC mode command displays the configuration of views. Syntax show snmp views [viewname] Parameters • viewname — Specifies the name of the view. (Range: 1-30) Default Configuration This command has no default configuration.
  • Page 217: Show Snmp Groups

    -------------- ----- user-group managers-group managers-group The following table describes significant fields shown above. Field Name Security Model Security Level Views Read TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Level Read ----- ------- priv Default priv Default priv Default Description Name of the group.
  • Page 218 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Write Notify Name of the view that enables entering data and managing the contents of the agent. Name of the view that enables specifying an inform or a trap. Page 217...
  • Page 219: Show Snmp Filters

    There are no user guidelines for this command. Example The following example displays the configuration of filters. Console# show snmp filters Name OID Tree ----------- ----------------------- user-filter 1.3.6.1.2.1.1 user-filter 1.3.6.1.2.1.1.7 user-filter 1.3.6.1.2.1.2.2.1.*.1 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Type --------- Included Excluded Included Page 218...
  • Page 220: Show Snmp Users

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show snmp users The show snmp users Privileged EXEC mode command displays the configuration of users. Syntax show snmp users [username] Parameters • username—Specifies the name of the user. (Range: 1-30) Default Configuration This command has no default configuration.
  • Page 221: Section 20. Spanning-Tree Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 20. Spanning-Tree Commands spanning-tree The spanning-tree Global Configuration mode command enables spanning-tree functionality. To disable span- ning-tree functionality, use the no form of this command. Syntax spanning-tree no spanning-tree Default Configuration Spanning-tree is enabled.
  • Page 222: Spanning-Tree Mode

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree mode The spanning-tree mode Global Configuration mode command configures the spanning-tree protocol. To return to the default configuration, use the no form of this command. Syntax spanning-tree mode {stp | rstp| mstp}...
  • Page 223: Spanning-Tree Forward-Time

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree forward-time The spanning-tree forward-time Global Configuration mode command configures the spanning-tree bridge for- ward time, which is the amount of time a port remains in the listening and learning states before entering the for- warding state.
  • Page 224: Spanning-Tree Hello-Time

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree hello-time The spanning-tree hello-time Global Configuration mode command configures the spanning tree bridge hello time, which is how often the device broadcasts hello messages to other devices.To return to the default configura- tion, use the no form of this command.
  • Page 225: Spanning-Tree Max-Age

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree max-age The spanning-tree max-age Global Configuration mode command configures the spanning tree bridge maximum age. To return to the default configuration, use the no form of this command. Syntax spanning-tree max-age seconds...
  • Page 226: Spanning-Tree Priority

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree priority The spanning-tree priority Global Configuration mode command configures the spanning tree priority of the device. The priority value is used to determine which bridge is elected as the root bridge. To return to the default configuration, use the no form of this command.
  • Page 227: Spanning-Tree Disable

    Interface Configuration (Ethernet, port-channel) mode User Guidelines There are no user guidelines for this command. Example The following example disables spanning-tree on Ethernet port 5. Console(config)# interface ethernet e5 Console(config-if)# spanning-tree disable TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 226...
  • Page 228: Spanning-Tree Cost

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree cost The spanning-tree cost Interface Configuration mode command configures the spanning tree path cost for a port. To return to the default configuration, use the no form of this command. Syntax...
  • Page 229: Spanning-Tree Port-Priority

    There are no user guidelines for this command. Example The following example configures the spanning priority on Ethernet port 3 to 16. Console(config)# interface ethernet e3 Console(config-if)# spanning-tree port-priority 16 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 228...
  • Page 230: Spanning-Tree Portfast

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree portfast The spanning-tree portfast Interface Configuration mode command enables PortFast mode. In PortFast mode, the interface is immediately put into the forwarding state upon linkup without waiting for the standard forward time delay.
  • Page 231: Spanning-Tree Link-Type

    Interface Configuration (Ethernet, port-channel) mode User Guidelines There are no user guidelines for this command. Example The following example enables shared spanning-tree on Ethernet port 5 Console(config)# interface ethernet e5 Console(config-if)# spanning-tree link-type shared TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 230...
  • Page 232: Spanning-Tree Pathcost Method

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree pathcost method The spanning-tree pathcost method Global Configuration mode command sets the default path cost method. To return to the default configuration, use the no form of this command. Syntax spanning-tree pathcost method {long | short}...
  • Page 233: Spanning-Tree Bpdu

    User Guidelines There are no user guidelines for this command. Example The following example defines BPDU packet flooding when the spanning-tree is disabled on an interface Console(config)# spanning-tree bpdu flooding TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 232...
  • Page 234: Clear Spanning-Tree Detected-Protocols

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clear spanning-tree detected-protocols The clear spanning-tree detected-protocols Privileged EXEC mode command restarts the protocol migration process (forces renegotiation with neighboring devices) on all interfaces or on a specified interface. Syntax clear spanning-tree detected-protocols [ethernet interface | port-channel port-channel-number] Parameters •...
  • Page 235: Spanning-Tree Guard Root

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

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree mst priority The spanning-tree mst priority Global Configuration mode command configures the device priority for the spec- ified spanning-tree instance. To return to the default configuration, use the no form of this command.
  • Page 237: Spanning-Tree Mst Max-Hops

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree mst max-hops The spanning-tree mst priority Global Configuration mode command configures the number of hops in an MST region before the BDPU is discarded and the port information is aged out. To return to the default configuration, use the no form of this command.
  • Page 238: Spanning-Tree Mst Port-Priority

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree mst port-priority The spanning-tree mst port-priority Interface Configuration mode command configures port priority for the specified MST instance. To return to the default configuration, use the no form of this command.
  • Page 239: Spanning-Tree Mst Cost

    Example The following example configures the MSTP instance 1 path cost for Ethernet port 9 to 4. Console(config) # interface ethernet e9 Console(config-if) # spanning-tree mst 1 cost 4 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Long Short 20,000...
  • Page 240: Spanning-Tree Mst Configuration

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide spanning-tree mst configuration The spanning-tree mst configuration Global Configuration mode command enables configuring an MST region by entering the Multiple Spanning Tree (MST) mode. Syntax spanning-tree mst configuration Default Configuration This command has no default configuration.
  • Page 241: Instance (Mst)

    For two or more devices to be in the same MST region, they must have the same VLAN mapping, the same con- figuration revision number, and the same name. Example The following example maps VLANs 10-20 to MST instance 1. Console(config)# spanning-tree mst configuration Console(config-mst)# instance 1 add vlan 10-20 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 240...
  • Page 242: Name (Mst)

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide name (mst) The name MST Configuration mode command defines the configuration name. To return to the default setting, use the no form of this command. Syntax name string Parameters • string—MST configuration name. Case-sensitive (Range: 1-32 characters).
  • Page 243: Revision (Mst)

    MST Configuration mode User Guidelines There are no user guidelines for this command. Example The following example sets the configuration revision to 1. Console(config) # spanning-tree mst configuration Console(config-mst) # revision 1 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 242...
  • Page 244: Show (Mst)

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show (mst) The show MST Configuration mode command displays the current or pending MST region configuration. Syntax show {current | pending} Parameters • current—Indicates the current region configuration. • pending—Indicates the pending region configuration.
  • Page 245: Exit (Mst)

    User Guidelines There are no user guidelines for this command. Example The following example exits the MST configuration mode and saves changes. Console(config) # spanning-tree mst configuration Console(config-mst) # exit TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 244...
  • Page 246: Abort (Mst)

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide abort (mst) The abort MST Configuration mode command exits the MST configuration mode without applying the configura- tion changes. Syntax abort Default Configuration This command has no default configuration. Command Mode MST Configuration mode User Guidelines There are no user guidelines for this command.
  • Page 247: Show Spanning-Tree

    Default Configuration This command has no default configuration. Command Modes Privileged EXEC mode User Guidelines There are no user guidelines for this command. Examples The following example displays spanning-tree information. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 246...
  • Page 248 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Console# show spanning-tree Spanning tree disabled (BPDU flooding) mode STP Default port cost method: short Root ID Priority Address This switch is the root Hello Time Number of topology changes 0 last change occurred 00:01:07 ago...
  • Page 249: Section 21. Syslog Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 21. Syslog Commands logging on The logging on Global Configuration mode command controls error message logging. This command sends debug or error messages to a logging process, which logs messages to designated locations asynchronously to the process that generated the messages.
  • Page 250: Logging

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide logging The logging Global Configuration mode command logs messages to a syslog server. To delete the syslog server with the specified address from the list of syslogs, use the no form of this command.
  • Page 251: Logging Console

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide logging console The logging console Global Configuration mode command limits messages logged to the console based on severity. To disable logging to the console, use the no form of this command. Syntax...
  • Page 252: Logging Buffered

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide logging buffered The logging buffered Global Configuration mode command limits syslog messages displayed from an internal buffer based on severity. To cancel using the buffer, use the no form of this command.
  • Page 253: Logging Buffered Size

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide logging buffered size The logging buffered size Global Configuration mode command changes the number of syslog messages stored in the internal buffer. To return to the default configuration, use the no form of this command.
  • Page 254: Clear Logging

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clear logging The clear logging Privileged EXEC mode command clears messages from the internal logging buffer. Syntax clear logging Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 255: Logging File

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide logging file The logging file Global Configuration mode command limits syslog messages sent to the logging file based on severity. To cancel using the buffer, use the no form of this command.
  • Page 256: Clear Logging File

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide clear logging file The clear logging file Privileged EXEC mode command clears messages from the logging file. Syntax clear logging file Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 257: Aaa Logging

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide aaa logging The aaa logging Global Configuration mode command enables logging AAA login events. To disable logging AAA login events, use the no form of this command. Syntax aaa logging login no aaa logging login Parameters •...
  • Page 258: File-System Logging

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide file-system logging The file-system logging Global Configuration mode command enables logging file system events. To disable log- ging file system events, use the no form of this command. Syntax file-system logging copy...
  • Page 259: Management Logging

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide management logging The management logging global configuration command enables logging management access list (ACL) events. To disable logging management access list events, use the no form of this command. Syntax management logging deny...
  • Page 260: Show Logging

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show logging The show logging Privileged EXEC mode command displays the state of logging and the syslog messages stored in the internal buffer. Syntax show logging Default Configuration This command has no default configuration.
  • Page 261 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide 11-Aug-2004 15:41:43: %LINK-3-UPDOWN: Interface Ethernet2, changed state to up 11-Aug-2004 15:41:43: %LINK-3-UPDOWN: Interface Ethernet, changed state to up 11-Aug-2004 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2004 15:41:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0,...
  • Page 262: Show Logging File

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show logging file The show logging file Privileged EXEC mode command displays the state of logging and the syslog messages stored in the logging file. Syntax show logging file Default Configuration This command has no default configuration.
  • Page 263 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide 11-Aug-2004 15:41:43: %LINK-3-UPDOWN: Interface Ethernet2, changed state to up 11-Aug-2004 15:41:43: %LINK-3-UPDOWN: Interface Ethernet3, changed state to up 11-Aug-2004 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2004 15:41:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0,...
  • Page 264: Show Syslog-Servers

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show syslog-servers The show syslog-servers Privileged EXEC mode command displays the settings of the syslog servers. Syntax show syslog-servers Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 265: Section 22. System Management

    Destination does not respond. If the host does not respond, a “no answer from host” appears in ten seconds. Destination unreachable. The gateway for this destination indicates that the destination is unreachable. Network or host unreachable. The device found no corresponding entry in the route table. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 264...
  • Page 266 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Examples The following example displays pinging results: Console> ping 10.1.1.1 Pinging 10.1.1.1 with 64 bytes of data: 64 bytes from 10.1.1.1: icmp_seq=0. time=11 ms 64 bytes from 10.1.1.1: icmp_seq=1. time=8 ms 64 bytes from 10.1.1.1: icmp_seq=2. time=8 ms 64 bytes from 10.1.1.1: icmp_seq=3.
  • Page 267: Traceroute

    (*). The traceroute command terminates when the destination responds, when the maximum TTL is exceeded or when the user interrupts the trace by pressing Esc. TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 266...
  • Page 268 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Examples The following example discovers the routes that packets will actually take when traveling to their destination. Console> traceroute umaxp1.physics.lsa.umich.edu Type Esc to abort. Tracing the route to umaxp1.physics.lsa.umich.edu (141.211.101.64) 1 i2-gateway.stanford.edu (192.68.191.83) 2 STAN.POS.calren2.NET (171.64.1.213) 0 msec 0 msec 0 msec...
  • Page 269: Reload

    Example The following example reloads the operating system. Console# reload This command will reset the whole system and disconnect your current session. Do you want to continue (y/n) [n]? TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 268...
  • Page 270: Hostname

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide hostname The hostname Global Configuration mode command specifies or modifies the device host name. To remove the existing host name, use the no form of the command. Syntax hostname name no hostname Parameters •...
  • Page 271: Show Users

    There are no user guidelines for this command. Example The following example displays information about the active users. Console> show users Username Protocol ---------- ----------- Serial John Robert HTTP Betty Telnet TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Location ------------ 172.16.0.1 172.16.0.8 172.16.1.7 Page 270...
  • Page 272: Show System

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show system The show system User EXEC mode command displays system information. Syntax show system Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 273: Show Version

    The following example displays system version information (only for demonstration purposes). Console> show version SW version 1.0.0.0 Boot version 1.0.0.0 HW version 1.0.0 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide (date 23-Jul-2004 time 17:34:19) (date 11-Jan-2004 time 11:48:21) Page 272...
  • Page 274: Show System Id

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show system id The show system id User EXEC mode command displays system ID information. Syntax show system id Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 275: System Language Web

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide system language web The system language web Global Configuration mode command specifies the language of the Web management interface. Syntax system language web english | chinese | default Parameters • english — Specify that the language of the Web management interface is English.
  • Page 276: Section 23. User Interface

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 23. User Interface enable The enable User EXEC mode command enters the Privileged EXEC mode. Syntax enable [privilege-level] Parameters • privilege-level — Privilege level to enter the system. (Range: 1 - 15) Default Configuration The default privilege level is 15.
  • Page 277: Disable

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide disable The disable Privileged EXEC mode command returns to the User EXEC mode. Syntax disable [privilege-level] Parameters • privilege-level — Privilege level to enter the system. (Range: 1 - 15) Default Configuration The default privilege level is 1.
  • Page 278: Login

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide login The login User EXEC mode command changes a login username. Syntax login Default Configuration This command has no default configuration. Command Mode User EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 279: Configure

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide configure The configure Privileged EXEC mode command enters the Global Configuration mode. Syntax configure Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode User Guidelines There are no user guidelines for this command.
  • Page 280: Exit (Configuration)

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide exit (Configuration) The exit command exits any configuration mode to the next highest mode in the CLI mode hierarchy. Syntax exit Default Configuration This command has no default configuration. Command Mode All configuration modes User Guidelines There are no user guidelines for this command.
  • Page 281: Exit

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide exit The exit Privileged/User EXEC mode command closes an active terminal session by logging off the device. Syntax exit Default Configuration This command has no default configuration. Command Mode Privileged and User EXEC modes User Guidelines There are no user guidelines for this command.
  • Page 282: End

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide The end command ends the current configuration session and returns to the Privileged EXEC mode. Syntax Default Configuration This command has no default configuration. Command Mode All configuration modes. User Guidelines There are no user guidelines for this command.
  • Page 283: Help

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide help The help command displays a brief description of the help system. Syntax help Default Configuration This command has no default configuration. Command Mode All command modes User Guidelines There are no user guidelines for this command.
  • Page 284: Terminal Data-Dump

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide terminal data-dump The terminal data-dump User EXEC mode command enables dumping all the output of a show command with- out prompting. To disable dumping, use the no form of this command. Syntax...
  • Page 285: Show History

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show history The show history User EXEC mode command lists the commands entered in the current session. Syntax show history Default Configuration This command has no default configuration. Command Mode User EXEC mode The buffer includes executed and unexecuted commands.
  • Page 286: Show Privilege

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show privilege The show privilege Privileged/User EXEC mode command displays the current privilege level. Syntax show privilege Default Configuration This command has no default configuration. Command Mode Privileged and User EXEC modes User Guidelines There are no user guidelines for this command.
  • Page 287: Section 24. Vlan Commands

    This command has no default configuration. Command Mode Global Configuration mode User Guidelines There are no user guidelines for this command. Example The following example enters the VLAN database mode. Console(config)# vlan database Console(config-vlan)# TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 286...
  • Page 288: Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide vlan Use the vlan VLAN Configuration mode command to create a VLAN. To delete a VLAN, use the no form of this command. Syntax vlan vlan-range no vlan vlan-range Parameters • vlan-range — Specifies a list of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma and no spaces;...
  • Page 289: Interface Vlan

    There are no user guidelines for this command. Example The following example configures VLAN 1 with IP address 131.108.1.27 and subnet mask 255.255.255.0. Console(config)# interface vlan 1 Console(config-if)# ip address 131.108.1.27 255.255.255.0 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 288...
  • Page 290: Interface Range Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide interface range vlan The interface range vlan Global Configuration mode command enables simultaneously configuring multiple VLANs. Syntax interface range vlan {vlan-range | all} Parameters • vlan-range — Specifies a list of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma and no spaces;...
  • Page 291: Name

    Interface Configuration (VLAN) mode. Cannot be configured for a range of interfaces (range context). User Guidelines There are no user guidelines for this command. Example The following example gives VLAN number 19 the name Marketing. Console(config)# interface vlan 19 Console(config-if)# name Marketing TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 290...
  • Page 292: Switchport Mode

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport mode The switchport mode Interface Configuration mode command configures the VLAN membership mode of a port. To return to the default configuration, use the no form of this command. Syntax switchport mode {access | trunk | general} no switchport mode •...
  • Page 293: Switchport Access Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport access vlan The switchport access vlan Interface Configuration mode command configures the VLAN ID when the interface is in access mode. To return to the default configuration, use the no form of this command.
  • Page 294: Switchport Trunk Allowed Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport trunk allowed vlan The switchport trunk allowed vlan Interface Configuration mode command adds or removes VLANs to or from a trunk port. Syntax switchport trunk allowed vlan {add vlan-list | remove vlan-list } Parameters •...
  • Page 295: Switchport Trunk Native Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport trunk native vlan The switchport trunk native vlan Interface Configuration mode command defines the native VLAN when the interface is in trunk mode. To return to the default configuration, use the no form of this command.
  • Page 296: Switchport General Allowed Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport general allowed vlan The switchport general allowed vlan Interface Configuration mode command adds or removes VLANs from a general port. Syntax switchport general allowed vlan add vlan-list [tagged | untagged] switchport general allowed vlan remove vlan-list Parameters •...
  • Page 297: Switchport General Pvid

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport general pvid The switchport general pvid Interface Configuration mode command configures the PVID when the interface is in general mode. To return to the default configuration, use the no form of this command.
  • Page 298: Switchport General Ingress-Filtering Disable

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport general ingress-filtering disable The switchport general ingress-filtering disable Interface Configuration mode command disables port ingress filtering. To return to the default configuration, use the no form of this command. Syntax switchport general ingress-filtering disable...
  • Page 299: Switchport General Acceptable-Frame-Type Tagged-Only

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport general acceptable-frame-type tagged-only The switchport general acceptable-frame-type tagged-only Interface Configuration mode command discards untagged frames at ingress. To return to the default configuration, use the no form of this command. Syntax...
  • Page 300: Switchport Forbidden Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport forbidden vlan The switchport forbidden vlan Interface Configuration mode command forbids adding specific VLANs to a port. To return to the default configuration, use the remove parameter for this command. Syntax...
  • Page 301: Switchport Protected

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide switchport protected The switchport protected Interface Configuration mode command overrides the FDB decision and sends all Unicast, Multicast and Broadcast traffic to an uplink port. To return to the default configuration, use the no form of the command .
  • Page 302: Ip Internal-Usage-Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip internal-usage-vlan The ip internal-usage-vlan Interface Configuration mode command reserves a VLAN as the internal usage VLAN of an interface. To return to the default configuration, use the no form of this command.
  • Page 303: Show Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show vlan The show vlan Privileged EXEC mode command displays VLAN information. Syntax show vlan [id vlan-id | name vlan-name ] Parameters • vlan-id — specifies a VLAN ID • vlan-name — Specifies a VLAN name string. (Range: 1 - 32 characters) Default Configuration This command has no default configuration.
  • Page 304: Show Vlan Internal Usage

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show vlan internal usage The show vlan internal usage Privileged EXEC mode command displays a list of VLANs used internally by the device. Syntax show vlan internal usage Default Configuration This command has no default configuration.
  • Page 305: Show Interfaces Switchport

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show interfaces switchport The show interfaces switchport Privileged EXEC mode command displays the switchport configuration. Syntax show interfaces switchport {ethernet interface | port-channel port-channel-number} Parameters • interface — A valid Ethernet port number.
  • Page 306 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Static configuration: PVID: 1 (default) Ingress Filtering: Enabled Acceptable Frame Type: All Port e1 is statically configured to: Vlan Name ---- ------- default VLAN011 IPv6 VLAN VLAN0072 Forbidden VLANS: VLAN Name ----...
  • Page 307 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Port e2 is statically confgiured to: Vlan Name ---- ------------ VLAN0072 IP Telephony Forbidden VLANS: VLAN Name ---- ---- Port e7 VLAN Membership mode: Primary VLAN: 2921 Community VLAN: 2922 Console# show interfaces switchport ethernet e7...
  • Page 308: Section 25. Web Server

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 25. Web Server ip http server The ip http server Global Configuration mode command enables configuring the device from a browser. To dis- able this function, use the no form of this command.
  • Page 309: Ip Http Exec-Timeout

    Global Configuration mode User Guidelines To specify no timeout, enter the ip http exec-timeout 0 command. Examples The following example configures the timeout interval to 5 minutes. Console(config)# ip http exec-timeout 5 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 308...
  • Page 310: Ip Https Server

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip https server The ip https server Global Configuration mode command enables configuring the device from a browser. To dis- able this function, use the no form of this command. Syntax ip https server...
  • Page 311: Ip Http Port

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip http port The ip http port Global Configuration mode command specifies the TCP port to be used by the Web browser interface. To return to the default configuration, use the no form of this command.
  • Page 312: Ip Https Port

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ip https port The ip https port Global Configuration mode command specifies the TCP port to be used by the Web browser interface. To return to the default configuration, use the no form of this command.
  • Page 313: Show Ip Http

    Privileged EXEC mode User Guidelines There are no user guidelines for this command. Example The following example displays the HTTP server configuration. Console# show ip http HTTP server enabled. Port: 80 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Page 312...
  • Page 314: Section 26. 802.1X Commands

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Section 26. 802.1x Commands aaa authentication dot1x The aaa authentication dot1x Global Configuration mode command specifies one or more authentication, autho- rization, and accounting (AAA) methods for use on interfaces running IEEE 802.1X. To return to the default config- uration, use the no form of this command.
  • Page 315: Dot1X System-Auth-Control

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x system-auth-control The dot1x system-auth-control Global Configuration mode command enables 802.1x globally. To return to the default configuration, use the no form of this command. Syntax dot1x system-auth-control no dot1x system-auth-control Default Configuration 802.1x is disabled globally.
  • Page 316: Dot1X Port-Control

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x port-control The dot1x port-control Interface Configuration mode command enables manually controlling the authorization state of the port. To return to the default configuration, use the no form of this command. Syntax...
  • Page 317: Dot1X Re-Authentication

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x re-authentication The dot1x re-authentication Interface Configuration mode command enables periodic re-authentication of the client. To return to the default configuration, use the no form of this command. Syntax dot1x re-authentication no dot1x re-authentication Default Configuration Periodic re-authentication is disabled.
  • Page 318: Dot1X Timeout Re-Authperiod

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x timeout re-authperiod The dot1x timeout re-authperiod Interface Configuration mode command sets the number of seconds between re-authentication attempts. To return to the default configuration, use the no form of this command.
  • Page 319: Dot1X Re-Authenticate

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x re-authenticate The dot1x re-authenticate Privileged EXEC mode command manually initiates a re-authentication of all 802.1X- enabled ports or the specified 802.1X-enabled port. Syntax dot1x re-authenticate [ethernet interface] Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 320: Dot1X Timeout Quiet-Period

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x timeout quiet-period The dot1x timeout quiet-period Interface Configuration mode command sets the number of seconds that the device remains in the quiet state following a failed authentication exchange (for example, the client provided an invalid password).
  • Page 321: Dot1X Timeout Tx-Period

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x timeout tx-period The dot1x timeout tx-period Interface Configuration mode command sets the number of seconds that the device waits for a response to an Extensible Authentication Protocol (EAP)-request/identity frame from the client before resending the request.
  • Page 322: Dot1X Max-Req

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

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x timeout supp-timeout The dot1x timeout supp-timeout Interface Configuration mode command sets the time for the retransmission of an Extensible Authentication Protocol (EAP)-request frame to the client. To return to the default configuration, use the no form of this command.
  • Page 324: Dot1X Timeout Server-Timeout

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x timeout server-timeout The dot1x timeout server-timeout Interface Configuration mode command sets the time that the device waits for a response from the authentication server. To return to the default configuration, use the no form of this command.
  • Page 325: Show Dot1X

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show dot1x The show dot1x Privileged EXEC mode command displays the 802.1X status of the device or specified interface. Syntax show dot1x [ethernet interface] Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 326 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Port Admin Mode Oper Mode ---- ---------- --------- Auto Unauthorized Quiet period: 60 Seconds Tx period:30 Seconds Max req: 2 Supplicant timeout: 30 Seconds Server timeout: 30 Seconds Session Time (HH:MM:SS): 08:19:17...
  • Page 327 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Max req The maximum number of times that the device sends an Extensible Authentica- tion Protocol (EAP)-request frame (assuming that no response is received) to the client before restarting the authentication process.
  • Page 328: Show Dot1X Users

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show dot1x users The show dot1x users Privileged EXEC mode command displays active 802.1X authenticated users for the device. Syntax show dot1x users [username username] Parameters • username — Supplicant username (Range: 1-160 characters) Default Configuration This command has no default configuration.
  • Page 329 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide The following table describes significant fields shown above: Field Description Port The port number. Username The username representing the identity of the Supplicant. Session Time The period of time the Supplicant is connected to the system.
  • Page 330: Show Dot1X Statistics

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show dot1x statistics The show dot1x statistics Privileged EXEC mode command displays 802.1X statistics for the specified interface. Syntax show dot1x statistics ethernet interface Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 331 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide The following table describes the significant fields shown in the display: Field EapolFramesRx EapolFramesTx EapolStartFramesRx EapolLogoffFramesRx EapolRespIdFramesRx EapolRespFramesRx EapolReqIdFramesTx EapolReqFramesTx InvalidEapolFramesRx EapLengthErrorFramesRx LastEapolFrameVersion LastEapolFrameSource Description The number of valid EAPOL frames of any type that have been received by this Authenticator.
  • Page 332: Advanced Features

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide ADVANCED FEATURES dot1x auth-not-req The dot1x auth-not-req Interface Configuration mode command enables unauthorized devices access to the VLAN. To disable access to the VLAN, use the no form of this command. Syntax...
  • Page 333: Dot1X Multiple-Hosts

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x multiple-hosts The dot1x multiple-hosts Interface Configuration mode command enables multiple hosts (clients) on an 802.1X- authorized port, where the authorization state of the port is set to auto. To return to the default configuration, use the no form of this command.
  • Page 334: Dot1X Single-Host-Violation

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x single-host-violation The dot1x single-host-violation Interface Configuration mode command configures the action to be taken, when a station whose MAC address is not the supplicant MAC address, attempts to access the interface. Use the no form of this command to return to default.
  • Page 335: Dot1X Guest-Vlan

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x guest-vlan The dot1x guest-vlan Interface Configuration mode command defines a guest VLAN. To return to the default configuration, use the no form of this command. Syntax dot1x guest-vlan no dot1x guest-vlan Default Configuration No VLAN is defined as a guest VLAN.
  • Page 336: Dot1X Guest-Vlan Enable

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide dot1x guest-vlan enable The dot1x vlans guest-vlan enable Interface Configuration mode command enables unauthorized users on the interface access to the Guest VLAN. To disable access, use the no form of this command...
  • Page 337: Show Dot1X Advanced

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide show dot1x advanced The show dot1x advanced Privileged EXEC mode command displays 802.1X advanced features for the device or specified interface. Syntax show dot1x advanced [ethernet interface] Parameters • interface — Valid Ethernet port. (Full syntax: port) Default Configuration This command has no default configuration.
  • Page 338 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Trap frequency: 100 Status: Single-host locked Violations since last trap: 9 Page 337...
  • Page 339: Troubleshooting

    TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide Troubleshooting This section describes problems that may arise when installing the and how to resolve these issue. This section includes the following topics: • Problem Management — Provides information about problem management with the device.
  • Page 340 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide P r o bl e m s P os s i bl e C a u s e No response from the termi- Faulty serial cable nal emulation software Incorrect serial cable...
  • Page 341 TL-SG3109/TL-SL3428/TL-SL3452 Gigabit Managed Switch Family CLI Reference Guide P r o bl e m s P os s i bl e C a u s e Add and Edit pages do not A pop-up blocker is enabled. open. Lost password S ol ut i o n Disable pop-up blockers.

This manual is also suitable for:

Tl-sl3452Tl-sl3428

Table of Contents