TP-LINK TL-SG2216 V2 Uživatelská příručka

Procházejte online nebo si stáhněte Uživatelská příručka pro Software TP-LINK TL-SG2216 V2. TP-Link TL-SG2216 V2 CLI Reference Guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 226
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - Gigabit Smart Switch

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

Strany 2 - COPYRIGHT & TRADEMARKS

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

Strany 3 - CONTENTS

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

Strany 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

Strany 5

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

Strany 6

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

Strany 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

Strany 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

Strany 9

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

Strany 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

Strany 11

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

Strany 12

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

Strany 13 - Preface

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

Strany 14

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

Strany 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

Strany 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

Strany 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

Strany 18

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 24

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

Strany 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

Strany 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

Strany 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

Strany 28

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

Strany 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

Strany 30

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

Strany 31

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

Strany 32

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

Strany 33

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

Strany 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

Strany 35

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

Strany 36

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

Strany 37

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 46

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

Strany 47

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

Strany 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

Strany 49

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 54

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

Strany 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

Strany 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

Strany 57

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

Strany 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

Strany 59

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 64

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

Strany 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

Strany 66

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

Strany 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

Strany 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

Strany 69

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

Strany 70

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

Strany 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

Strany 72

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

Strany 73

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

Strany 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

Strany 75

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

Strany 76

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 81

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

Strany 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

Strany 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

Strany 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

Strany 85

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

Strany 86

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

Strany 87

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

Strany 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

Strany 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

Strany 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

Strany 91

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

Strany 92

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

Strany 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

Strany 94

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

Strany 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

Strany 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.

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 102

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 108

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

Strany 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

Strany 110

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

Strany 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,

Strany 112

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

Strany 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

Strany 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

Strany 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

Strany 116

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

Strany 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

Strany 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

Strany 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

Strany 120

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

Strany 121

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

Strany 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

Strany 123

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

Strany 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

Strany 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

Strany 126

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

Strany 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

Strany 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

Strany 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

Strany 130

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

Strany 131

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

Strany 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

Strany 133

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

Strany 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

Strany 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

Strany 136

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

Strany 137

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

Strany 138

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 145

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

Strany 146

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

Strany 147

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

Strany 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

Strany 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

Strany 150

CONTENTS Preface ... 1 Chapter 1 Using

Strany 151

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

Strany 152

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

Strany 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

Strany 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

Strany 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-

Strany 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 ——

Strany 157

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

Strany 158

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

Strany 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

Strany 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

Strany 161

voice vlan ... 26 voice

Strany 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

Strany 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

Strany 164

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

Strany 165

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

Strany 166

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

Strany 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

Strany 168

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

Strany 169

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

Strany 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

Strany 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

Strany 172

show logging loghost ... 48 show logging

Strany 173

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

Strany 174

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

Strany 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-

Strany 176

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

Strany 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

Strany 178

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

Strany 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

Strany 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

Strany 181

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

Strany 182

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

Strany 183

contact-info ... 72 ip man

Strany 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

Strany 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

Strany 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

Strany 187

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

Strany 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

Strany 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-

Strany 190

Syntax show ip ssh 54

Strany 191

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

Strany 192

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

Strany 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

Strany 194

speed ... 91 stor

Strany 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

Strany 196

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

Strany 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

Strany 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

Strany 199

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

Strany 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

Strany 201

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

Strany 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

Strany 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

Strany 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 ——

Strany 205

loopback-detection interval ... 115 loopback-detecti

Strany 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

Strany 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

Strany 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

Strany 209

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

Strany 210

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 216

power inline profile ... 136 power inlin

Strany 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

Strany 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

Strany 219

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

Strany 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-

Strany 221

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

Strany 222

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

Strany 223

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

Strany 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

Strany 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-

Strany 226

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

Komentáře k této Příručce

Žádné komentáře