TP-LINK TL-SG5428 Guide de l'utilisateur

Naviguer en ligne ou télécharger Guide de l'utilisateur pour Logiciel TP-LINK TL-SG5428. TP-Link TL-SG5428 CLI Reference Guide Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 239
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - TL-SG5412F

TL-SG5428 24-Port Gigabit L2 Managed Switch with 4 SFP Slots TL-SG5412F 12-Port Gigabit SFP L2 Managed Switch with 4 Combo 1000BASE-T Ports

Page 2 - COPYRIGHT & TRADEMARKS

IX loopback-detection(interface) ...148 loopback-detection

Page 3 - CONTENTS

87 Command Mode Privileged EXEC Mode and Any Configuration Modes Example Display the configuration of the accounting server: TL-SG5428(config)# show

Page 4

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

Page 5

89 logging file flash Description The logging file flash command is used to configure the level and the status of the log file input. To disable the

Page 6

90 Command Mode Global Configuration Mode Example Clear the information in the log file: TL-SG5428(config)# clear logging buffer logging host index D

Page 7

91 show logging local-config Description The show logging local-config command is used to display the configuration of the Local Log including the lo

Page 8

92 The show logging buffer command is used to display the log information in the log buffer according to the severity level. Syntax show logging bu

Page 9

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

Page 10

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

Page 11

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

Page 12

96 Example Display the global configuration of SSH: TL-SG5428(config)# show ip ssh

Page 13

X revision...170 spannin

Page 14 - Preface

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

Page 15

98 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 ch

Page 16

99 show ip http secure-server Description The show ip http secure-server command is used to display the global configuration of SSL. Syntax show i

Page 17 - Chapter 1 Using the CLI

100 Chapter 19 MAC Address Commands MAC Address configuration can improve the network security by configuring the Port Security and maintaining th

Page 18

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

Page 19 - 1.1.2 Logon by Telnet

102 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-SG542

Page 20

103 status —— Enable or disable the Port Security function for a specified port. By default, this function is disabled. Command Mode Interface Conf

Page 21

104 Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the Aging Time of the MAC address: TL-SG5428(config)# show mac addre

Page 22

105 Syntax show mac address-table interface gigabitEthernet port Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode

Page 23

106 Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the MAC address 00:00:00:00:23:00:00: TL-SG5428(c

Page 24 - 1.2 CLI Command Modes

XI Chapter 29 SNMP Commands...193 snmp-server ...

Page 25

107 Chapter 20 System Configuration Commands System Configuration Commands can be used to configure the system information and system IP of the swit

Page 26 - 1.4 Conventions

108 UTC-11:00 —— TimeZone for Coordinated Universal Time-11. UTC-10:00 —— TimeZone for Hawaii. UTC-09:00 —— TimeZone for Alaska. UTC-08:00 ——

Page 27 - 1.4.3 Parameter Format

109 Command Mode Global Configuration Mode Example Configure the system time mode as NTP, the time zone is UTC-12:00, the primary NTP server is 133.1

Page 28 - Chapter 2 User Interface

110 Description The system-time dst date command is used to specify the DST configuration in Date mode. This configuration is one-off in use. By defa

Page 29

111 Syntax system-time dst recurring { sweek } { sday } { smonth } { stime } { eweek } { eday } { emonth } { etime } [ offset ] Parameter sweek ——

Page 30

112 hostname —— System Name. The length of the name ranges from 1 to 32 characters. By default, it is the device name, for example “TL-SG5428”. Comm

Page 31

113 contact_info —— Contact Information. It consists of 32 characters at most. It is “www.tp-link.com” by default. Command Mode Global Configuratio

Page 32

114 Parameter ip-addr —— The system IP of the switch. The default system IP is 192.168.0.1. ip-mask —— The Subnet Mask of the switch. The default

Page 33

115 BOOTP Server. This command should be configured in the Interface Configuration Mode of the management VLAN. Syntax ip address-alloc bootp Command

Page 34

116 Privileged EXEC Mode Example Reboot the switch: TL-SG5428# reboot copy running-config startup-config Description The copy running-config startup-

Page 35

XII show lldp neighbor-information interface ...216 show lldp traffic inter

Page 36

117 TL-SG5428# copy startup-config tftp ip-address 192.168.0.148 filename config.cfg copy tftp startup-config Description The copy tftp startup-conf

Page 37

118 Example Upgrade the switch system file named as firmware.bin via the TFTP server with the IP address 192.168.0.148: TL-SG5428# firmware upgrade i

Page 38

119 ping Description The ping command is used to test the connectivity between the switch and one node of the network. Syntax ping { ip_addr } [ -n c

Page 39

120 maxHops —— The maximum number of the route hops the test data can pass though. It ranges from 1 to 30. By default, this value is 4. Command M

Page 40

121 The show system-time command is used to display the current time system and its source. Syntax show system-time Command Mode Privileged EXEC Mod

Page 41 - Chapter 5 VLAN-VPN Commands

122 Example Display the NTP mode configuration information of the switch: TL-SG5428# show system-time ntp show system-info Description The show sys

Page 42

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

Page 43

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

Page 44

125 Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Disable port 3: TL-SG5428(config)

Page 45

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

Page 46

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

Page 47

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

Page 48

128 storm-control multicast Description The storm-control multicast command is used to enable the multicast control function. To disable the multicas

Page 49

129 Enable the unicast control function for port 5: TL-SG5428(config)# interface gigabitEthernet 1/0/5 TL-SG5428(config-if)# storm-control unicast

Page 50

130 no bandwidth { all | ingress | egress } Parameter ingress-rate —— Specify the bandwidth for receiving packets. Range: 1-1024000 for the gigapor

Page 51

131 Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the connective-stat

Page 52

132 Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the description of

Page 53

133 Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configurations

Page 54

134 show bandwidth [interface { gigabitEthernet port | range gigabitEthernet port-list }] Parameter port —— The Ethernet port number. port-list

Page 55 - Chapter 8 GVRP Commands

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

Page 56

136 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

Page 57

2 Chapter 12: ARP Inspection Commands Provide information about the commands used for protecting the switch from the ARP cheating or ARP Attack. Chap

Page 58

137 Description The qos queue cos-map command is used to configure the mapping relation between IEEE 802.1P priority tag/IEEE 802.1Q tag, CoS value a

Page 59

138 IEEE 802.1P priority mode if IEEE 802.1P Priority is enabled; the untagged non-IP datagram are mapped based on port priority mode. Syntax qos que

Page 60

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

Page 61

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

Page 62

141 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 Pr

Page 63

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

Page 64

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

Page 65

144 TL-SG5428(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:

Page 66

145 Chapter 24 Port Isolation Commands Port Isolation provides a method of restricting traffic flow to improve the network security by forbidding th

Page 67

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

Page 68

3 Chapter 26: ACL Commands Provide information about the commands used for configuring the ACL (Access Control List). Chapter 27: MSTP Commands Provi

Page 69

147 Chapter 25 Loopback Detection Commands With loopback detection feature enabled, the switch can detect loops using loopback detection packets. Wh

Page 70

148 Example Specify the interval-time as 50 seconds: TL-SG5428(config)# loopback-detection interval 50 loopback-detection recovery-time Description T

Page 71

149 TL-SG5428(config)# interface range gigabitEthernet 1/0/1-3 TL-SG5428(Config-if-range)# loopback-detection loopback-detection config Description T

Page 72

150 Syntax loopback-detection recover Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example

Page 73

151 Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of loopback detection function and the status of a

Page 74

152 Chapter 26 ACL Commands ACL (Access Control List) is used to filter data packets by configuring a series of match conditions, operations and tim

Page 75

153 Parameter start-date —— The start date in Absoluteness Mode, in the format of MM/DD/ YYYY. By default, it is 01/01/2000. end-date —— The end d

Page 76

154 TL-SG5428(config-time-range)# periodic week-date off-day time-slice1 08:30-12:00 holiday Description The holiday command is used to configure the

Page 77

155 Example Define National Day, configuring the start date as October 1st, and the end date as October 3rd: TL-SG5428(config)# holiday nationalday s

Page 78

156 Example Create a MAC ACL whose ID is 23: TL-SG5428(config)# mac access-list 23 access-list standard Description The access-list standard command

Page 79

4 Chapter 1 Using the CLI 1.1 Accessing the CLI You can log on to the switch and access the CLI by the following two methods: 1. Log on to the sw

Page 80

157 255.255.255.0, the time-range for the rule to take effect is “tRange1”, and the packets match this rule will be forwarded by the switch: TL-SG542

Page 81 - Parameters

158 Command Mode Global Configuration Mode Example Create an Extended-IP ACL whose ID is 220, and add Rule 10 for it. In the rule, the source IP addr

Page 82

159 user-pri —— The user priority contained in the rule, ranging from 0 to 7. By default, it is not limited. time-segment —— The time-range for the

Page 83

160 access-list policy action Description The access-list policy action command is used to add ACLs and create actions for the policy. To set the det

Page 84

161 TL-SG5428(config-action)# redirect interface gigabitEthernet 1/0/2 s-condition Description The s-condition command is used to configure Stream Co

Page 85

162 ACL 120 as port 2: TL-SG5428(config)# access-list policy action policy1 120 TL-SG5428(config-action)# s-mirror interface gigabitEthernet 1/0/2 a

Page 86

163 Example Bind policy1 to VLAN 2: TL-SG5428(config)# interface vlan 2 TL-SG5428(config-if)# access-list bind policy1 show time-range Description Th

Page 87

164 Syntax show access-list acl-id Parameter acl-id —— The ID of the ACL selected to display the configuration. Command Mode Privileged EXEC Mode a

Page 88

165 Example Display the configuration of Policy bind: TL-SG5428(config)# show access-list bind

Page 89

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

Page 90

5 Figure 1-2 Connection Description 4. Select the port to connect in Figure 1-3, and click OK. Figure 1-3 Select the port to connect 5. Configure

Page 91

167 TL-SG5428(config-if)# spanning-tree spanning-tree common-config Description The spanning-tree common-config command is used to configure the par

Page 92

168 Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the STP function of port 1

Page 93

169 default configuration of the corresponding Instance, please use no spanning-tree mst configuration command. Syntax spanning-tree mst configuratio

Page 94

170 TL- SG5428(config-mst)# no instance 1 Remove VLANs 1-50 in mapping VLANs 1-100 for Instance 1: TL-SG5428(config)# spanning-tree mst configurati

Page 95

171 TL-SG5428(config)# spanning-tree mst configuration TL-SG5428(config-mst)# revision 100 spanning-tree mst instance Description The spanning-tree m

Page 96

172 Parameter instance-id —— Instance ID, ranging from 1 to 8. pri —— Port Priority, which must be multiple of 16 ranging from 0 to 240. By defau

Page 97

173 spanning-tree tc-defend Description The spanning-tree tc-defend command is used to configure the TC Protect of Spanning Tree globally. To return

Page 98

174 Parameter forward-time —— Forward Delay, which is the time for the port to transit its state after the network topology is changed. Forward Dela

Page 99

175 TL-SG5428(config)# spanning-tree hold-count 8 spanning-tree max-hops Description The spanning-tree max-hops command is used to configure the max

Page 100

176 Example Enable the BPDU filter function for port 2: TL-SG5428(config)# interface gigabitEthernet 1/0/2 TL-SG5428(config-if)# spanning-tree bpdufi

Page 101 - There

6 Figure 1-4 Port Settings 6. The DOS prompt ”TL-SG5428>” will appear after pressing the Enter button as Figure 1-5 shown. It indicates that you

Page 102

177 Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the Loop Protect function

Page 103

178 removing MAC address entries, which may decrease the performance and stability of the network. With the Protect of Spanning Tree function enabled

Page 104

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

Page 105

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

Page 106 - Chapter 17 SSH Commands

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

Page 107

182 Chapter 28 IGMP Commands IGMP Snooping (Internet Group Management Protocol Snooping) is a multicast control mechanism running on Layer 2 switch.

Page 108

183 TL-SG5428(config)# interface gigabitEthernet 1/0/3 TL-SG5428(config-if)# ip igmp snooping ip igmp snooping immediate-leave Description The ip igm

Page 109 - Example

184 ip igmp snooping vlan-config Description The ip igmp snooping vlan-config command is used to enable VLAN IGMP Snooping function or to modify IGMP

Page 110 - Chapter 18 SSL Commands

185 Example Enable the IGMP Snooping function and modify Router Port Time as 300 seconds, Member Port Time as 200 seconds for VLAN 1-3, and set the L

Page 111

186 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 th

Page 112 - Description

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

Page 113 - Parameter

7 Login local Mode: It requires username and password, which are both admin by default. Login Mode: It requires no username and password, but a conne

Page 114

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

Page 115

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

Page 116

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

Page 117

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

Page 118

191 TL-SG5428# show ip igmp snooping vlan 2 show ip igmp snooping multi-vlan Description The show ip igmp snooping multi-vlan command is used to dis

Page 119

192 Example Display the information of all IGMP snooping groups: TL-SG5428#show ip igmp snooping groups Display all the multicast entries in VLAN 5:

Page 120

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

Page 121

194 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 T

Page 122

195 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

Page 123

196 Parameter name —— User Name, ranging from 1 to 16 characters. local | remote —— User Type, with local and remote options. Local indicates tha

Page 124

8 2. Open Telnet, then type telnet 192.168.0.1 in the command prompt shown as Figure 1-8, and press the Enter button. Figure 1-8 Connecting to the

Page 125

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

Page 126

198 udp-port —— UDP port, which is used to send notifications. The UDP port functions with the IP address for the notification sending. It ranges fr

Page 127

199 snmp-server engineID Description The snmp-server engineID command is used to configure the local and remote engineID of the switch. To restore to

Page 128

200 Syntax snmp-server traps snmp [ linkup | linkdown | warmstart | coldstart ] no snmp-server traps snmp [ linkup | linkdown | warmstart | coldstart

Page 129

201 snmp-server traps Description The snmp-server traps command is used to enable SNMP extended traps. To disable the sending of SNMP extended traps,

Page 130 - ip-addr filename name

202 snmp-server traps mac Description The snmp-server traps mac command is used to enable SNMP extended MAC address-related traps which include four

Page 131

203 Syntax snmp-server traps vlan [ create | delete ] no snmp-server traps vlan [create | delete ] Parameter create —— Enable VLAN-created trap. It i

Page 132

204 seconds —— The interval to take samplings from the port, ranging from 10 to 3600 in seconds. By default, it is 1800. owner-name —— The owner

Page 133

205 Command Mode Global Configuration Mode Example Configure the user name of entry 1, 2, 3 and 4 as user1, the description of the event as descripti

Page 134

206 last sampled value from the current value, and then comparing the difference in the values with the threshold. By default, the Sample Type is “ab

Page 135

9 Figure 1-10 Enter into the Privileged EXEC Mode  Login Mode Firstly configure the Telnet login mode as “login”, and both the connection password

Page 136

207 show snmp-server Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display SNMP configuration globally: TL-SG5428# show snmp-s

Page 137

208 Syntax show snmp-server user Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the User table: TL-SG5428# show snmp-se

Page 138

209 Description The show snmp-server engineID command is used to display the engineID of the SNMP. Syntax show snmp-server engineID Command Mode Priv

Page 139

210 show rmon event [ index ] Parameter index —— The index number of the entry selected to display the configuration, ranging from 1 to 12, in the

Page 140

211 Chapter 30 LLDP Commands LLDP function enables network devices to advertise their own device information periodically to neighbors on the same L

Page 141

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

Page 142

213 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 Configur

Page 143

214 no lldp transmit Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable port 1 to

Page 144

215 lldp tlv-select [ port-description | system-capability | system-description | system-name | management-address | port-vlan | protocol-vlan | vlan

Page 145

216 ports will be displayed. Syntax show lldp interface [ gigabitEthernet port ] Parameter port —— The Ethernet port number. Command Mode Privileged

Page 146

10 Figure 1-12 Connecting to the Switch 2. You are prompted to enter the connection password 123 you have set through Console port connection, and

Page 147

217 default, the neighbor information of all the ports will be displayed. Syntax show lldp neighbor-information interface [ gigabitEthernet port ] Pa

Page 148 - Chapter 22 QoS Commands

218 Chapter 31 Cluster Commands Cluster Management function enables a network administrator to manage the scattered devices in the network via a man

Page 149

219 TL-SG5428(config)# cluster ndp timer hello 50 aging 120 Change Aging Time to 80 seconds: TL-SG5428(config)# cluster ndp timer aging 80 Change Hel

Page 150

220 request packets over. NTDP Port Delay ranges from 1 to 100 in milliseconds. By default, it is 20. hop-value —— NTDP Hops, which is the hop count

Page 151

221 Parameter ndp —— Enable/ Disable NDP function for the port. By default, it is enabled. ntdp —— Enable/ Disable NTDP function for the port. By

Page 152

222 Syntax cluster commander name no cluster commander Parameter name —— The cluster name, ranging from 1 to 16 characters. Command Mode Global Con

Page 153

223 Description The cluster member command is used to add member switch. To delete the corresponding member, please use no cluster member command. Th

Page 154

224 Syntax cluster individual Command Mode Global Configuration Mode Example Specify the current switch as individual switch: TL-SG5428(config)# clus

Page 155

225 Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the NTDP configurati

Page 156

226 Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the global configuration of Cluster: TL-SG5428#show cluster show c

Page 157

11 Now you can manage your switch with CLI commands through Telnet connection. Note: You can refer to Chapter 10 User Manage Commands for detailed co

Page 158

12 Mode Accessing Path Prompt Logout or Access the next modeInterface Configuration Mode Use the interface gigabitEthernet port or interface ra

Page 159

13 1.3 Security Levels This switch’s security is divided into two levels: User level and Admin level. User level only allows users to do some simple

Page 160

14 1.4.3 Parameter Format Some parameters must be entered in special formats which are shown as follows:  MAC Address must be entered in the f

Page 161

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

Page 162

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

Page 163

II CONTENTS Preface ………………………………………………………………………………….1 Chapter 1 Using the CLI...

Page 164

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

Page 165 - Chapter 26 ACL Commands

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

Page 166

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

Page 167

20 Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Specify the Link Type of port 3 as

Page 168

21 no switchport trunk allowed vlan vlan-list Parameter vlan-list —— Specify IEEE 802.1Q VLAN ID list, ranging from 2 to 4094, in the format of 2-3,

Page 169

22 TL-SG5428(config-if)# switchport general allowed vlan 2 tagged switchport pvid Description The switchport pvid command is used to configure the P

Page 170

23 show vlan brief Description The show vlan brief command is used to display the brief information of IEEE 802.1Q VLAN. Syntax show vlan brief Comma

Page 171

24 Chapter 4 Protocol VLAN Commands Protocol-based VLAN (Virtual Local Area Network) is the way to classify VLANs based on Protocols. A Protocol cor

Page 172

25 no protocol-vlan vlan group-idx Parameter vlan-vid —— Specify IEEE 802.1Q VLAN ID, ranging from 1-4094. template-idx ——The number of the Protocol-

Page 173

26 show protocol-vlan template Description The show protocol-vlan template command is used to display the information of the Protocol-based VLAN temp

Page 174

III protocol-vlan...25 show pr

Page 175

27 Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the port state and of Protocol-based VLAN interface: TL-SG5428(config

Page 176

28 Chapter 5 VLAN-VPN Commands VLAN-VPN (Virtual Private Network) function, the implement of a simple and flexible Layer 2 VPN technology, allows th

Page 177

29 8100. Command Mode Global Configuration Mode Example Configure Global TPID of the VLAN-VPN as 0x9100: TL-SG5428(config)#dot1q-tunnel tpid 9100 swi

Page 178

30 port has been configured as the VPN Up-link port. Syntax switchport dot1q-tunnel mode uplink no switchport dot1q-tunnel mode uplink Command Mode I

Page 179 - Chapter 27 MSTP Commands

31 show dot1q-tunnel interface Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of of the V

Page 180

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

Page 181

33 Parameter time ——Aging time (in minutes) to be set for the Voice VLAN. It ranges from 1 to 43200. Command Mode Global Configuration Mode Example

Page 182

34 switchport voice vlan mode Description The switchport voice vlan mode command is used to configure the Voice VLAN mode for the Ethernet port. S

Page 183

35 show voice vlan Description The show voice vlan command is used to display the global configuration information of Voice VLAN. Syntax show vo

Page 184

36 show voice vlan switchport [ gigabitEthernet port ] Parameter port —— The Ethernet port number. Command Mode Privileged EXEC Mode and Any Config

Page 185

IV show gvrp interface ...45 Chapter 9 E

Page 186

37 Chapter 7 Private VLAN Commands Private VLANs are configured specially for saving VLAN resource of uplink devices and decreasing broadcast. priv

Page 187

38 Command Mode VLAN Configuration Mode (VLAN) Example Configure the VLAN 4 as the sencondary VLAN of the private VLAN: TL-SG5428(config)#vlan 4 TL-S

Page 188

39 Syntax switchport private-vlan { promiscuous | host } no switchport private-vlan { promiscuous | host } Parameter promiscuous | host —— Configur

Page 189

40 secondary VLAN 4: TL-SG5428(config)#interface gigabitEthernet 1/0/3 TL-SG5428(config-if)#switchport private-vlan host-association 3 4 switchport p

Page 190

41 Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration information of all Private VLAN: TL-SG5428(config

Page 191

42 Chapter 8 GVRP Commands GVRP (GARP VLAN registration protocol) is an implementation of GARP (generic attribute registration protocol). GVRP allow

Page 192

43 Example Enable the GVRP function for ports 2-6: TL-SG5428(config)# interface range gigabitEthernet 1/0/2-6 TL-SG5428(config-if-range)# gvrp gvrp

Page 193

44 no gvrp timer [ leaveall | join | leave ] Parameter leaveall | join | leave —— They are the three timers: leave All、join and leave. Once the Leave

Page 194

45 Example Display the global GVRP status: TL-SG5428(config)# show gvrp global show gvrp interface Description The show gvrp interface command is use

Page 195 - Chapter 28 IGMP Commands

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

Page 196

V show ip dhcp snooping ...67 show ip dhcp sno

Page 197

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

Page 198

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

Page 199

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

Page 200

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

Page 201

51 Chapter 10 User Manage Commands User Manage Commands are used to manage the user’s logging information by Web, CLI or SSH, so as to protect the s

Page 202

52 user access-control ip-based Description The user access-control ip-based command is used to limit the IP-range of the users for login. Only the u

Page 203

53 Parameter mac-addr —— The source MAC address. Only the user with this MAC Address is allowed to login. Command Mode Global Configuration Mode Exam

Page 204

54 user max-number Description The user max-number command is used to configure the maximum login user numbers at the same time. To cancel the limit

Page 205

55 Parameter minutes ——The timeout time, ranging from 5 to 30 in minutes. The value is 10 by default. Command Mode Global Configuration Mode Exam

Page 206 - Chapter 29 SNMP Commands

56 TL-SG5428(config)# line vty 0 5 password Description The password command is used to configure the connection password. To clear the password, ple

Page 207

VI show radius accounting...86 show radius auth

Page 208

57 Command Mode Line Configuration Mode Example Configure the login of Console port connection 0 as login mode: TL-SG5428(config)# line console 0 T

Page 209

58 Syntax show user account-list Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the information of the current users: T

Page 210

59 Chapter 11 Binding Table Commands You can bind the IP address, MAC address, VLAN and the connected Port number of the Host together, which can be

Page 211

60 Command Mode Global Configuration Mode Example Bind an entry with the IP 192.168.0.1, MAC 00:00:00:00:00:01, VLAN ID 2 and Port number 5 manually.

Page 212

61 ip dhcp snooping global Description The ip dhcp snooping global command is configure DHCP-Snooping globally. To restore to the default value, plea

Page 213

62 ip dhcp snooping information option Description The ip dhcp snooping information option command is used to enable the Option 82 function of DHCP

Page 214

63 Command Mode Global Configuration Mode Example Replace the Option 82 field of the packets with the switch defined one and then send out: TL-SG5428

Page 215

64 default Circuit ID for the Option 82, please use no ip dhcp snooping information circuit-id command. Syntax ip dhcp snooping information circui

Page 216

65 ip dhcp snooping mac-verify Description The ip dhcp snooping mac-verify command is used to enable the MAC Verify feature. To disable the MAC Verif

Page 217

66 Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Set the Flow Control of port 2 as

Page 218

VII Chapter 20 System Configuration Commands...107 system-time manual ...

Page 219

67 Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the IP-MAC-VID-PORT binding table: TL-SG5428(config)# show ip source

Page 220

68 show ip dhcp snooping interface gigabitEthernet Description The show ip dhcp snooping interface gigabitEthernet command is used to display the DHC

Page 221

69 Chapter 12 ARP Inspection Commands ARP (Address Resolution Protocol) Detect function is to protect the switch from the ARP cheating, such as the

Page 222

70 Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Configure the ports 2-5 as the Tru

Page 223

71 ip arp inspection limit-rate Description The ip arp inspection limit-rate command is used to configure the ARP speed of a specified port. To resto

Page 224 - Chapter 30 LLDP Commands

72 Example Restore port 5 to the ARP transmit status: TL-SG5428(config)# interface gigabitEthernet 1/0/5 TL-SG5428(config-if)# ip arp inspection reco

Page 225

73 TL-SG5428(config)# show ip arp inspection interface Display the configuration of port 2: TL-SG5428(config)# show ip arp inspection interface gigab

Page 226

74 Chapter 13 IP Verify Source Commands IP Verify Source is to filter the IP packets based on the IP-MAC Binding entries. Only the packets matched t

Page 227

75 configuration information. Syntax show ip verify source Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the IP Veri

Page 228

76 Chapter 14 DoS Defend Command DoS (Denial of Service) Attack is to occupy the network bandwidth maliciously by the network attackers or the evil

Page 229

VIII storm-control multicast ...128 storm-contro

Page 230

77 Parameter scan-synfin —— Scan SYNFIN attack. xma-scan —— Xma Scan attack. null-scan —— NULL Scan attack. port-less-1024 ——The SYN packets whose So

Page 231 - Chapter 31 Cluster Commands

78 Chapter 15 IEEE 802.1X Commands IEEE 802.1X function is to provide an access control for LAN ports via the authentication. Only the supplicant pa

Page 232

79 pap: IEEE 802.1X authentication system uses extensible authentication protocol (EAP) to exchange information between the switch and the client. Th

Page 233

80 dot1x quiet-period Description The dot1x quiet-period command is used to enable the quiet-period function. To disable the function, please use no

Page 234

81 Example Configure the quiet period as 100 seconds: TL-SG5428(config)# dot1x timeout quiet-period 100 dot1x max-reauth-req Description The dot1x m

Page 235

82 Command Mode Interface Configuration Mode (interface gigabitEthernet / interface range gigabitEthernet) Example Enable the IEEE 802.1X function fo

Page 236

83 Syntax dot1x port-control { auto | authorized-force | unauthorized-force } no dot1x port-control Parameter auto | authorized-force | unauthorized-

Page 237

84 port-based: All the clients connected to the port can access the network on the condition that any one of the clients has passed the 802.1X Authen

Page 238

85 value ——The maximum time for the switch to wait for the response before resending a request to the supplicant., ranging from 1 to 9 in second. By

Page 239

86 Command Mode Privileged EXEC Mode and Any Configuration Mode Example Display the configuration of 801.X globally: TL-SG5428(config)# show dot1x gl

Commentaires sur ces manuels

Pas de commentaire