TP-LINK TL-SG2216 V2 Guía de usuario

Busca en linea o descarga Guía de usuario para Software TP-LINK TL-SG2216 V2. TP-Link TL-SG2216 V2 CLI Reference Guide Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 226
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 1 - Gigabit Smart Switch

TL-SG2216/TL-SG2424/TL-SG2424P/TL-SG2452 Gigabit Smart Switch REV2.0.0 1910011094

Pagina 2 - COPYRIGHT & TRADEMARKS

ip igmp snooping(global) ... 157 ip igmp snooping

Pagina 3 - CONTENTS

Chapter 13 Ethernet Configuration Commands Ethernet Configuration Commands can be used to configure the Bandwidth Control, Negotiation Mode and Stor

Pagina 4

User Guidelines Command in the Interface Range gigabitEthernet Mode is executed independently on all ports in the range. It does not affect the e

Pagina 5

Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Disable port 3: TL-SG2424(config)# in

Pagina 6

Parameter rj45 | sfp —— Media type. Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Exampl

Pagina 7

Syntax speed { 10 | 100 | 1000 | auto } no speed Parameter 10 | 100 | 1000 | auto —— The speed mode of the Ethernet port. There are four options: 1

Pagina 8

Example Enable the broadcast control function for port 5: TL-SG2424(config)# interface gigabitEthernet 1/0/5 TL-SG2424(config-if)# storm-control br

Pagina 9

Syntax storm-control multicast no storm-control multicast Parameter rate —— Specify the bandwidth for receiving multicast packets on the port. Th

Pagina 10

storm-control unicast For TL-SG2216/TL-SG2424/TL-SG2424P: Description The storm-control unicast command is used to enable the unicast control functi

Pagina 11

no storm-control unicast Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the

Pagina 12

bandwidth Description The bandwidth command is used to configure the bandwidth limit for an Ethernet port. To disable the bandwidth limit, please u

Pagina 13 - Preface

ipv6 mld snooping filter(global) ... 179 ipv6 mld snooping

Pagina 14

show interface status Description The show interface status command is used to display the connective-status of an Ethernet port. Syntax show interfa

Pagina 15 - Chapter 25: LLDP Commands

show interface description Description The show interface description command is used to display the description of all ports or an Ethernet port. Sy

Pagina 16 - Chapter 1 Using the CLI

show interface configuration Description The show interface configuration command is used to display the configurations of all ports or an Ethernet

Pagina 17 - 1.1.2. Logon by SSH

TL-SG2424(config)# show storm-control interface range gigabitEthernet 1/0/4-7 show bandwidth Description The show bandwidth command is used to disp

Pagina 18

Chapter 14 QoS Commands QoS (Quality of Service) function is used to optimize the network performance. It provides you with network service experien

Pagina 19

Syntax qos cos no qos cos Command Mode Global Configuration Mode User Guidelines IEEE 802.1P gives the Pri field in IEEE 802.1Q tag a recommended def

Pagina 20

qos queue cos-map Description The qos queue cos-map command is used to configure the mapping relation between IEEE 802.1P priority tag/IEEE 802.1Q ta

Pagina 21

please use no qos queue dscp-map command. DSCP (DiffServ Code Point) is a new definition to IP ToS field given by IEEE. This field is used to divide

Pagina 22

Syntax qos queue dscp-map { dscp-list } { cos-id } no qos queue dscp-map Parameter dscp-list —— List of DSCP value. One or several DSCP values can be

Pagina 23 - 1.2 CLI Command Modes

sp —— Strict-Priority Mode. In this mode, the queue with higher priority will occupy the whole bandwidth. Packets in the queue with lower priority

Pagina 24

show snmp-server engineID ... 202 show rmon history ...

Pagina 25 - 1.4 Conventions

Display the configuration of QoS for port 5: TL-SG2424# show qos interface gigabitEthernet 1/0/5 Display the configuration of QoS for ports 1-4: TL-S

Pagina 26 - 1.4.3 Parameter Format

Description The show qos queue mode command is used to display the schedule rule of the egress queues. Syntax show qos queue mode Command Mode Privil

Pagina 27 - Chapter 2 User Interface

Chapter 15 Port Mirror Commands Port Mirror refers to the process of forwarding copies of packets from one port to a monitoring port. Usually, the m

Pagina 28

monitor session source interface Description The monitor session source interface command is used to configure the monitored port. To delete the c

Pagina 29

TL-SG2424(config)# monitor session 1 source interface gigabitEthernet 1/0/4-5,1/0/7 rx Delete port 4 in monitor session 1 and its configuration: TL

Pagina 30

Chapter 16 Port Isolation Commands Port Isolation provides a method of restricting traffic flow to improve the network security by forbidding the po

Pagina 31

Syntax show port isolation interface [ gigabitEthernet port ] Parameter port —— The number of Ethernet port you want to show its forward port list,

Pagina 32

Chapter 17 Loopback Detection Commands With loopback detection feature enabled, the switch can detect loops using loopback detection packets. When a

Pagina 33

Example Specify the interval-time as 50 seconds: TL-SG2424(config)# loopback-detection interval 50 loopback-detection recovery-time Description The

Pagina 34

Example Enable the loopback detection function of ports 1-3: TL-SG2424(config)# interface range gigabitEthernet 1/0/1-3 TL-SG2424(Config-if-range)# l

Pagina 35

Preface This Guide is intended for network administrator to provide referenced information about CLI (Command Line Interface). The device mentioned

Pagina 36

loopback-detection recover Description The loopback-detection recover command is used to remove the block status of selected ports, recovering the bl

Pagina 37

show loopback-detection interface Description The show loopback-detection interface command is used to display the configuration of loopback detect

Pagina 38

Chapter 18 ACL Commands access-list create Description The access-list create command is used to create standard-IP ACL and extend-IP ACL. Syntax

Pagina 39

TL-SG2424(config)# mac access-list 23 access-list standard Description The access-list standard command is used to add Standard-IP ACL rule. To delet

Pagina 40

access-list extended Description The access-list extended command is used to add Extended-IP ACL rule. To delete the corresponding rule, please use n

Pagina 41

rule Description The rule command is used to configure MAC ACL rule. To delete the corresponding rule, please use no rule command. Syntax rule rule

Pagina 42

Policy is used to control the data packets those match the corresponding ACL rules by configuring ACLs and actions together for effect. The operation

Pagina 43

access-list bind(interface) Description The access-list bind command is used to bind a policy to a specified port. To cancel the bind relation, pleas

Pagina 44

TL-SG2424(config-if)# access-list bind policy1 show access-list Description The show access-list command is used to display configuration of ACL. Syn

Pagina 45

show access-list bind Description The show access-list bind command is used to display the configuration of Policy bind. Syntax show access-list bind

Pagina 46

Chapter 11: System Configuration Commands Provide information about the commands used for configuring the System information and System IP, reboot an

Pagina 47

Chapter 19 DHCP Filtering Commands DHCP Filtering functions to monitor the process of hosts obtaining IP addresses from DHCP Servers by configuring

Pagina 48

Example Configure port 1 to be a trusted port: TL-SG2424(config)#interface gigabitEthernet 1/0/1 TL-SG2424(config-if)#ip dhcp filtering trust s

Pagina 49

Chapter 20 PoE Commands Note: Only TL-SG2424P supports PoE function. PoE (Power over Ethernet) technology describes a system to transmit electrical

Pagina 50 - User Guidelines

no power profile name Parameter name —— The PoE profile name, ranging from 1 to 16 characters. If the name being assigned contains spaces then put it

Pagina 51

Syntax power time-range name no power time-range name Parameter name —— The PoE time-range name, ranging from 1 to 16 characters. Command Mode Glob

Pagina 52

absolute Description The absolute command is used to create an absolute mode time-range for the PoE time-range of the switch. The switch will supply

Pagina 53

Parameter week-day —— Periodic Mode, with “1-7”, “daily”, “off-day” and “working-day” options. “1-7” should be entered in the format of 1-3, 7 whic

Pagina 54

TL-SG2424P(config-pwr-time-range)# holiday exclude power inline consumption (interface) Description The power inline consumption command is used to

Pagina 55

system power limit, the PD linked to the port with lower priority will be disconnected. By default, the priority level is “low”. Command Mode Interfa

Pagina 56 - There

Syntax power inline profile name no power inline profile Parameter name —— The name of the PoE profile to be bound to the port. If the name being as

Pagina 57

Chapter 25: LLDP Commands Provide information about the commands used for configuring LLDP function. 3

Pagina 58

show power inline Description The show power inline command is used to display the global PoE information of the system. Syntax show power inline Com

Pagina 59

Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the PoE information of all p

Pagina 60

show power time-range Description The show power time-range command is used to display the configuration of PoE time-range. Syntax show power time-ra

Pagina 61

Chapter 21 MSTP Commands MSTP (Multiple Spanning Tree Protocol), compatible with both STP and RSTP and subject to IEEE 802.1s, can disbranch a ring

Pagina 62

Example Enable the STP function for port 2: TL-SG2424(config)# interface gigabitEthernet 1/0/2 TL-SG2424(config-if)# spanning-tree spanning-tree comm

Pagina 63 - Chapter 8 SSH Commands

point-to-point —— The P2P link status, with auto, open and close options. By default, the option is auto. If the two ports in the P2P link are root p

Pagina 64

spanning-tree mst configuration Description The spanning-tree mst configuration command is used to access MST Configuration Mode from Global Confi

Pagina 65

TL-SG2424(config)# spanning-tree mst configuration TL-SG2424(config-mst)# instance 1 vlan 1-100 Disable Instance 1, namely remove all the mapping VLA

Pagina 66

revision —— The revision level for MST region identification, ranging from 0 to 65535. Command Mode MST Configuration Mode Example Configure the revi

Pagina 67

spanning tree instance. You can use this command to configure the parameters of the ports in different instance IDs as well as view status of the por

Pagina 68 - Chapter 9 SSL Commands

Chapter 1 Using the CLI 1.1 Accessing the CLI You can log on to the switch and access the CLI by logging on to the switch remotely by a Telnet or

Pagina 69

Example Configure the bridge priority as 4096: TL-SG2424(config)# spanning-tree priority 4096 spanning-tree tc-defend Description The spanning-tree t

Pagina 70

spanning-tree timer {[ forward-time forward-time ] [ hello-time hello-time ] [ max-age max-age ]} no spanning-tree timer Parameter forward-tim

Pagina 71

Example Configure the hold-count of STP as 8pps: TL-SG2424(config)# spanning-tree hold-count 8 spanning-tree max-hops Description The spanning-tree

Pagina 72

Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the BPDU filter function for port 2: TL-SG

Pagina 73

no spanning-tree guard loop Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable th

Pagina 74

continuously sends TC-BPDUs to a switch, the switch will be busy with removing MAC address entries, which may decrease the performance and stability

Pagina 75

Syntax show spanning-tree active Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the active information of spanning-tree

Pagina 76

Example Display the spanning-tree information of all ports: TL-SG2424(config)# show spanning-tree interface Display the spanning-tree information of

Pagina 77

show spanning-tree mst Description The show spanning-tree mst command is used to display the related information of MST Instance. Syntax show spann

Pagina 78 - Chapter 11 System Commands

Chapter 22 IGMP Snooping Commands IGMP Snooping (Internet Group Management Protocol Snooping) is a multicast control mechanism running on Layer 2 sw

Pagina 79

1.1.2. Logon by SSH To log on by SSH, a Putty client software is recommended. There are two authentication modes to set up an SSH connection: Passwo

Pagina 80

Example Enable IGMP Snooping function of port 3: TL-SG2424(config)# interface gigabitEthernet 1/0/3 TL-SG2424(config-if)# ip igmp snooping ip igmp sn

Pagina 81

Example Specify the operation to process unknown multicast as discard: TL-SG2424(config)# ip igmp snooping drop-unknown ip igmp snooping vlan-config

Pagina 82

Command Mode Global Configuration Mode Example Enable the IGMP Snooping function and modify Router Port Time as 300 seconds, Member Port Time as 200

Pagina 83

leave-time —— Leave Time, which is the interval between the switch receiving a leave message from a host and the switch removing the host from the mu

Pagina 84

Example Bind the filtering address ID 2-6 to port 3: TL-SG2424(config)# interface gigabitEthernet 1/0/3 TL-SG2424(config-if)# ip igmp snooping filter

Pagina 85

Syntax ip igmp snooping filter no ip igmp snooping filter Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range giga

Pagina 86

Syntax ip igmp snooping filter mode mode Parameter mode —— Action Mode, with refuse and accept options. Refuse indicates only the multicast packets w

Pagina 87

Syntax show ip igmp snooping interface gigabitEthernet [ port | port-list ] { basic-config | filter | packet-stat } Parameter port —— The Ethern

Pagina 88 - ip-addr filename name

Example Display the IGMP snooping configuration information of VLAN 2: TL-SG2424# show ip igmp snooping vlan 2 show ip igmp snooping multi-vlan Descr

Pagina 89

Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of all IGMP snooping groups: TL-SG2424#show ip igmp snoo

Pagina 90

Figure 1-5 SSH Connection Config 2. Click the Open button in the above figure to log on to the switch. Enter the login user name and password to lo

Pagina 91

Example Display all the multicast filter address information: TL-SG2424(config)# show ip igmp snooping filter 168

Pagina 92

Chapter 23 MLD Snooping Commands MLD Snooping (Multicast Listener Discovery Snooping) is a multicast control mechanism running on Layer 2 switch. It

Pagina 93

Example Specify MLD Snooping router port aging time as 100 seconds globally: TL-SG2424(config)# ipv6 mld snooping router-aging-time 100 ipv6 mld snoo

Pagina 94

ipv6 mld snooping unknown-filter Description The ipv6 mld snooping unknown-filter command is used to enable the unknown multicast packets filter fu

Pagina 95

ipv6 mld snooping last-listener query-count Description The ipv6 mld snooping last-listener query-count command is used to specify the numbers of Spe

Pagina 96

ipv6 mld snooping multicast-vlan vlan-id Description The ipv6 mld snooping multicast-vlan vlan-id command is used to specify the multicast VLAN ID.

Pagina 97

ipv6 mld snooping vlan router-aging-time Description The ipv6 mld snooping vlan router-aging-time command is used to specify router port aging time f

Pagina 98

Example Specify the member port aging time as 100 seconds in VLAN 2: TL-SG2424(config)# ipv6 mld snooping vlan 2 member-aging-time 100 ipv6 mld snoop

Pagina 99

Command Mode Global Configuration Mode Example Configure the gigabitEthernet 1/0/2 as static router port in VLAN 2: TL-SG2424(config)# ipv6 mld snoop

Pagina 100

Syntax ipv6 mld snooping querier vlan vlan-id no ipv6 mld snooping querier vlan vlan-id Parameter vlan-id —— The VLAN that enables the MLD querier fu

Pagina 101

 Key Authentication Mode 1. Select the key type and key length, and generate SSH key. Figure 1-7 Generate SSH Key Note: 1. The key length is i

Pagina 102

ipv6 mld snooping querier vlan query-interval Description The ipv6 mld snooping querier vlan query-interval command is used to specify the interval

Pagina 103

Example Specify the source address which sends the Query message as fe80::1234 on VLAN 2: TL-SG2424(config)# ipv6 mld snooping querier vlan 2 query

Pagina 104

Example Enable filter function on interface gigabitEthernet 1/0/2: TL-SG2424(config)# interface gigabitEthernet 1/0/2 TL-SG2424(config-if)# ipv6 mld

Pagina 105

Command Mode Interface Configuration Mode Example Specify the filter id as 1 and 10 on interface gigabitEthernet 1/0/2: TL-SG2424(config)# interface

Pagina 106

Example Clear the statistics of the MLD packets: TL-SG2424(config)# clear ipv6 mld snooping statistics show ipv6 mld snooping Description The show i

Pagina 107

show ipv6 mld snooping static-mcast Description The show ipv6 mld snooping static-mcast command is used to display the static multicast groups config

Pagina 108

Syntax show ipv6 mld snooping filter Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the filter entries: TL-SG2424(confi

Pagina 109

Example Display all filter ids bounded to all interface: TL-SG2424(config)# show ipv6 mld snooping interface filter show ipv6 mld snooping querier De

Pagina 110

Chapter 24 SNMP Commands SNMP (Simple Network Management Protocol) functions are used to manage the network devices for a smooth communication, whic

Pagina 111

mib-oid —— MIB Object ID. It is the Object Identifier (OID) for the entry of View, ranging from 1 to 61 characters. include | exclude —— View Type,

Pagina 112

COPYRIGHT & TRADEMARKS Specifications are subject to change without notice. is a registered trademark of TP-LINK TECHNOLOGIES CO., LTD. Other

Pagina 113 - Example

2. After the key is successfully generated, please save the public key and private key to a TFTP server. Figure 1-8 Save the Generated Key 3. Log

Pagina 114 - Chapter 14 QoS Commands

By default, the Security Level is noAuthNoPriv. There is no need to configure this in SNMP v1 Mode and SNMP v2c Mode. read-view —— Select the View

Pagina 115

name —— User Name, ranging from 1 to 16 characters. local | remote —— User Type, with local and remote options. Local indicates that the user is conn

Pagina 116

snmp-server community Description The snmp-server community command is used to add Community. To delete the corresponding Community, please use no sn

Pagina 117

ip —— The IP Address of the management Host. Both IPv4 and IPv6 addresses are supported, for example 192.168.0.100 or fe80::1234. udp-port —— UDP

Pagina 118

Add a Notification entry, and configure the IP Address of the management Host as fe80::1234, the UDP port as 162, the User name of the management sta

Pagina 119

snmp-server traps snmp Description The snmp-server traps snmp command is used to enable SNMP standard traps which include four types: linkup, link

Pagina 120

snmp-server traps link-status no snmp-server traps link-status Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range

Pagina 121

storm-control —— Enable storm-control trap. It is sent when the multicast or broadcast rate exceeds the predefined value. spanning-tree —— Enable

Pagina 122

Example Enable all SNMP extended MAC address-related traps for the switch: TL-SG2424(config)# snmp-server traps mac Enable new MAC address trap only

Pagina 123

history group is configured, the switch collects network statistics information periodically, based on which the management station can monitor netw

Pagina 124

Figure 1-9 Download the Public Key Note: 1. The key type should accord with the type of the key file. 2. The SSH key downloading can not be interrup

Pagina 125

Parameter index —— The index number of the event entry, ranging from 1 to 12. You can only select one entry for each command. user-name —— The name o

Pagina 126

f-hold ] [ falling-event-index f-event ] [ a-type { rise | fall | all }] [ owner owner-name ] [ interval interval ] no rmon alarm index Paramet

Pagina 127

Example Configure the port of entries of 1,2 and 3 as port 2, the owners as owner1 and the alarm intervals as 100 seconds TL-SG2424(config)# rmon ala

Pagina 128

Syntax show snmp-server group Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Group table: TL-SG2424# show snmp-serv

Pagina 129

show snmp-server host Description The show snmp-server host command is used to display the Host table. Syntax show snmp-server host Command Mode Priv

Pagina 130

for each command. By default, the configuration of all history sample entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration M

Pagina 131

for each command. By default, the configuration of all Alarm Management entries is displayed. Command Mode Privileged EXEC Mode and Any Configuration

Pagina 132 - Chapter 18 ACL Commands

Chapter 25 LLDP Commands Note: Only TL-SG2424P supports LLDP function. LLDP function enables network devices to advertise their own device informati

Pagina 133

Parameter multiplier —— Configure the Hold Multiplier parameter. It ranges from 2 to 10. By default, it is 4. Command Mode Global Configuration Mode

Pagina 134

be sent out (the number of LLDPDUs equals this parameter). The value ranges from 1 to 10 and the default value is 3. Command Mode Global Configuratio

Pagina 135

Figure 1-10 SSH Connection Config 5. Click Browse to download the private key file to SSH client software and click Open. Figure 1-11 Download the

Pagina 136

Syntax lldp receive no lldp receive Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example E

Pagina 137

Syntax lldp snmp-trap no lldp snmp-trap Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Examp

Pagina 138

lldp med-location Description The lldp med-location command is used to configure the Location Identification TLV's content in outgoing LLDPDU of

Pagina 139

Status will be changed to Tx&Rx. To disable the LLDP-MED feature for the corresponding port, please use no lldp med-status command. Syntax lldp m

Pagina 140

show lldp Description The show lldp command is used to display the global configuration of LLDP and LLDP-MED fast start repeat count number. Syntax

Pagina 141 - Command Mode

show lldp local-information interface Description The show lldp local-information interface command is used to display the LLDP and LLDP-MED local

Pagina 142 - Chapter 20 PoE Commands

show lldp traffic interface Description The show lldp traffic interface command is used to display the LLDP statistic information between the local d

Pagina 143

6. After successful authentication, please enter the login user name. If you log on to the switch without entering password, it indicates that the k

Pagina 144

Mode Accessing Path Prompt Logout or Access the next mode Global Configuration Mode Use the configure command to enter this mode from Privileged EXEC

Pagina 145

c). Interface link-aggregation: Configure parameters for a link-aggregation, such as broadcast storm. d). Interface range link-aggregation: Conf

Pagina 146

 Normal Font indicates a constant (several options are enumerated and only one can be selected). For example: mode {dynamic | static | permanent}

Pagina 147

Chapter 2 User Interface enable Description The enable command is used to access Privileged EXEC Mode from User EXEC Mode. Syntax enable Command

Pagina 148

enable password Description The enable password command is used to set or change the password for users to access Privileged EXEC Mode from User EX

Pagina 149

enable secret Description The enable secret command is used to set a secret password, which is using an MD5 encryption algorithm, for users to access

Pagina 150

CONTENTS Preface ... 1 Chapter 1 Using

Pagina 151

disable Description The disable command is used to return to User EXEC Mode from Privileged EXEC Mode. Syntax disable Command Mode Privileged EXEC

Pagina 152

Command Mode Privileged EXEC Mode and Any Configuration Mode Example Return to Global Configuration Mode from Interface Configuration Mode, and

Pagina 153 - Chapter 21 MSTP Commands

1 history history clear Description The history clear command is used to clear the commands you have entered in the current mode, therefore these com

Pagina 154

Chapter 3 IEEE 802.1Q VLAN Commands VLAN (Virtual Local Area Network) technology is developed for the switch to divide the LAN into multiple logical

Pagina 155

Parameter vlan-id —— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. Command Mode Global Configuration Mode Example Create VLAN Interface 2: TL-

Pagina 156

Parameter vlan-list —— Specify IEEE 802.1Q VLAN ID list, ranging from 2 to 4094, in the format of 2-3, 5. It is multi-optional. tagged | untagged ——

Pagina 157

Syntax show vlan summary Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the summarized information of IEEE 802.1Q VLAN:

Pagina 158

Example Display the information of vlan 5: TL-SG2424(config)# show vlan id 5 show interface switchport Description The show interface switchport comm

Pagina 159

Chapter 4 Voice VLAN Commands Voice VLANs are configured specially for voice data stream. By configuring Voice VLANs and adding the ports with voice

Pagina 160

Parameter time —— Aging time (in minutes) to be set for the Voice VLAN. It ranges from 1 to 43200 and the default value is 1440. Command Mode Globa

Pagina 161

voice vlan ... 26 voice

Pagina 162

Syntax voice vlan mac-address mac-addr mask mask [ description descript ] no voice vlan mac-address mac-addr Parameter mac-addr —— The OUI address

Pagina 163

Example Configure the port 3 to operate in the auto voice VLAN mode: TL-SG2424(config)# interface gigabitEthernet 1/0/3 TL-SG2424(config-if)# switchp

Pagina 164

Example Display the configuration information of Voice VLAN globally: TL-SG2424(config)# show voice vlan show voice vlan oui Description The show

Pagina 165

Display the Voice VLAN configuration information of port 2: TL-SG2424(config)# show voice vlan switchport gigabitEthernet 1/0/2 31

Pagina 166

Chapter 5 Etherchannel Commands Etherchannel Commands are used to configure LAG and LACP function. LAG (Link Aggregation Group) is to combine a nu

Pagina 167

port-channel load-balance Description The port-channel load-balance command is used to configure the Aggregate Arithmetic for LAG. To return to the

Pagina 168

Command Mode Global Configuration Mode Example Configure the LACP system priority as 1024 globally: TL-SG2424(config)# lacp system-priority 1024 lacp

Pagina 169

Syntax show etherchannel [ channel-group-num ] { detail | summary } Parameter channel-group-num —— The EtherChannel Group number, ranging from 1 to 6

Pagina 170

Parameter channel-group-num —— The EtherChannel Group number, ranging from 1 to 6. By default, it is empty, and will display the information of all L

Pagina 171

Chapter 6 User Management Commands User Manage Commands are used to manage the user’s logging information by Web, Telnet or SSH, so as to protect th

Pagina 172

show logging loghost ... 48 show logging

Pagina 173

User Guidelines 1. If the password you configured here is unencrypted and the global encryption function is enabled in service password-encryption,

Pagina 174

( !$%'()*,-./[]{|} ). By default, it is empty. The password will be saved to the configuration file using the MD5 encrypted algorithm. 5 —— Indi

Pagina 175

Global Configuration Mode Example Enable the access-control of the user whose IP address is 192.168.0.148: TL-SG2424(config)# user access-control ip-

Pagina 176

user access-control port-based interface { gigabitEthernet port | range gigabitEthernet port-list } no user access-control Parameter port —— The

Pagina 177

Example Configure the number of the users as Admin and Guest logging on as 5 and 3: TL-SG2424(config)# user max-num 5 3 user idle-timeout Description

Pagina 178

TL-SG2424(config)# show user account-list show user configuration Description The show user configuration command is used to display the security

Pagina 179

Chapter 7 System Log Commands The log information will record the settings and operation of the switch respectively for you to monitor operation st

Pagina 180

logging file flash Description The logging file flash command is used to store the log messages in a file in the flash on the switch. To disable the

Pagina 181

Command Mode Global Configuration Mode Example Specify the log file synchronization frequency as 10 hours: TL-SG2424(config)#logging file flash frequ

Pagina 182

Syntax clear logging [ buffer | flash ] Parameter buffer | flash —The output channels: buffer and flash. Clear the information of the two channels, b

Pagina 183

contact-info ... 72 ip man

Pagina 184

Example Enable log host 2 and set its IP address as 192.168.0.148, the level 5: TL-SG2424(config)# logging host index 2 192.168.0.148 5 show loggin

Pagina 185

show logging buffer Description The show logging buffer command is used to display the log information in the log buffer according to the severity le

Pagina 186

Example Display the log information with the level marked 0~3 in the log file: TL-SG2424(config)# show logging flash level 3 50

Pagina 187

Chapter 8 SSH Commands SSH (Security Shell) can provide the unsecured remote management with security and powerful authentication to ensure the secu

Pagina 188

Example Enable SSH v2: TL-SG2424(config)# ip ssh version v2 ip ssh timeout Description The ip ssh timeout command is used to specify the idle-timeout

Pagina 189

Command Mode Global Configuration Mode Example Specify the maximum number of the connections to the SSH server as 3: TL-SG2424(config)# ip ssh max-

Pagina 190

Syntax show ip ssh 54

Pagina 191

Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of SSH: TL-SG2424(config)# show ip ssh 55

Pagina 192

Chapter 9 SSL Commands SSL (Secure Sockets Layer), a security protocol, is to provide a secure connection for the application layer protocol (e.

Pagina 193

Parameter ssl-cert —— The name of the SSL certificate which is selected to download to the switch. The length of the name ranges from 1 to 25 charact

Pagina 194

speed ... 91 stor

Pagina 195

Example Download an SSL key named ssl-key from TFTP server with the IP address of 192.168.0.146: TL-SG2424(config)# ip http secure-server download ke

Pagina 196

Chapter 10 MAC Address Commands MAC Address configuration can improve the network security by configuring the Port Security and maintaining the ad

Pagina 197

mac address-table aging-time Description The mac address-table aging-time command is used to configure aging time for the dynamic address. To return

Pagina 198 - Chapter 24 SNMP Commands

Command Mode Global Configuration Mode Example Add a filtering address entry of which VLAN ID is 1 and MAC address is 00:1e:4b:04:01:5d: TL-SG2424(co

Pagina 199

Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable Port Security function for por

Pagina 200

Example Display the Aging Time of the MAC address: TL-SG2424(config)# show mac address-table aging-time show mac address-table max-mac-count interfac

Pagina 201

port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the address configuration of port 1:

Pagina 202

TL-SG2424(config)#show mac address-table address 00:00:00:00:23:00 show mac address-table vlan Description The show mac address-table vlan command

Pagina 203

Chapter 11 System Commands System Commands can be used to configure the System information and System IP, reboot and reset the switch, upgrade the s

Pagina 204

UTC-09:00 —— TimeZone for Alaska. UTC-08:00 —— TimeZone for Pacific Time(US Canada). UTC-07:00 —— TimeZone for Mountain Time(US Canada). UTC-06:00 ——

Pagina 205

loopback-detection interval ... 115 loopback-detecti

Pagina 206

Configure the system time mode as NTP, the time zone is UTC-12:00, the primary NTP server is 133.100.9.2 and the secondary NTP server is 139.78.100.1

Pagina 207

The system-time dst date command is used to configure the one-off daylight saving time. The start date is in the current year by default. The time ra

Pagina 208

The system-time dst recurring command is used to configure the recurring daylight saving time. It can be configured spanning years. To disable DST

Pagina 209

hostname Description The hostname command is used to configure the system name. To clear the system name information, please use no hostname command.

Pagina 210

contact-info Description The contact-info command is used to configure the system contact information. To clear the system contact information, pleas

Pagina 211

ip address Description The ip address command is used to configure the system IP address, Subnet Mask and Default Gateway. To restore to the factory

Pagina 212

Example Enable the DHCP Client function when the management VLAN of the switch is VLAN1: TL-SG2424(config)# interface vlan 1 TL-SG2424(config-if)# ip

Pagina 213

TL-SG2424# reset reboot Description The reboot command is used to reboot the Switch. To avoid damage, please don’t turn off the device while rebootin

Pagina 214

Syntax copy startup-config tftp ip-address ip-addr filename name Parameter ip-addr —— IP Address of the TFTP server. Both IPv4 and IPv6 addresses are

Pagina 215

TL-SG2424# copy tftp startup-config ip-address 192.168.0.148 filename config Download the configuration file named as config.cfg to the switch f

Pagina 216

power inline profile ... 136 power inlin

Pagina 217 - Chapter 25 LLDP Commands

Syntax ping [ ip | ipv6 ] { ip_addr } [ -n count ] [ -l count ] [ -i count ] Parameter ip —— The type of the IP address for ping test should be I

Pagina 218

Parameter ip —— The type of the IP address for tracert test should be IPv4. ipv6 —— The type of the IP address for tracert test should be IPv6

Pagina 219

TL-SG2424# show system-info show running-config Description The show running-config command is used to display the current operating configuration of

Pagina 220

Syntax show system-time dst Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the DST time information of the switch TL-

Pagina 221

Command Mode Privileged EXEC Mode and Any Configuration Mode Example Show the cable-diagnostics of port 3: TL-SG2424# show cable-diagnostics in

Pagina 222

Chapter 12 IPv6 Address Configuration Commands The IPv6 address configuration commands are provided in the Interface VLAN Mode. Type enable →config

Pagina 223

address, the manually configured ipv6 link-local address will be deleted when the autoconfigured ipv6 link-local address takes effect. Syntax ipv6 ad

Pagina 224

Description The ipv6 address dhcp command is used to enable the DHCPv6 Client function. When this function is enabled, the switch will try to obtai

Pagina 225

ipv6 address eui-64 Description This command is used to manually configure a global IPv6 address with an extended unique identifier (EUI) in the low-

Pagina 226

Configuration Mode Interface Configuration Mode (interface vlan) Example Configure the global address 3001::1/64 on the interface: TL-SG2424(config)#

Comentarios a estos manuales

Sin comentarios