Aten ES0152, ES0152P User Manual

ES0152 / ES0152P

52-Port GbE (PoE) Managed Switch

CLI User Manual

www.aten.com

ES0152 / ES0152P CLI User Manual

EMC Information

FEDERAL COMMUNICATIONS COMMISSION INTERFERENCE STATEMENT: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense.

The device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.

FCC Caution: Any changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate this equipment.

Warning: Operation of this equipment in a residential environment could cause radio interference.

KCC Statement

Suggestion: Shielded twisted pair (STP) cables must be used with the unit to ensure compliance with FCC & CE standards.

ii

ES0152 / ES0152P CLI User Manual

RoHS

This product is RoHS compliant.

Copyright © 2019 ATEN® International Co., Ltd.

Manual Date: 2019-11-05

Altusen and the Altusen logo are registered trademarks of ATEN International Co., Ltd. All rights reserved. All other brand names and trademarks are the registered property of their respective owners.

iii

ES0152 / ES0152P CLI User Manual

Content

EMC Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii RoHS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .iii Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .iv About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix Product Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi

Chapter 1.Introduction

ES0152 / ES0152P CLI User Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Purpose. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Chapter 2.CLI Management

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2-1 Login. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2-2 Commands of CLI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Change Between Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2-3 Global Commands of CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Chapter 3.CABLEDIAG of CLI

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Chapter 4.CLEAR of CLI

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4-1 access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4-2 access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4-3 dot1x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4-4 ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4-5 ipv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4-6 lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4-7 lldp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4-8 logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4-9 mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4-10 mvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4-11 port-security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4-12 sflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4-13 spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4-14 statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4-15 system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

iv

ES0152 / ES0152P CLI User Manual

Chapter 5.CONFIGURE Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 5-1 terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 5-1.1 aaa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 5-1.2 access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 5-1.3 access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27

5-1-3.1 ace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 5-1.4 aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 5-1.5 banner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32 5-1.6 clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 5-1.7 default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34 5-1.8 dms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34 5-1.9 do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34 5-1.10 dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 5-1.11 enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 5-1.12 end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 5-1.13 event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 5-1.14 green-ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 5-1.15 gvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 5-1.16 help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 5-1.17 hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 5-1.18 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 5-1.19 ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 5-1.20 ipmc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 5-1.21 ipv6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47 5-1.22 lacp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 5-1.23 line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 5-1.24 lldp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 5-1.25 logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 5-1.26 loop-protect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 5-1.27 mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 5-1.28 monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 5-1.29 mvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 5-1.30 mvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 5-1.31 no . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57

5-1.31.1 aaa. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 5-1.31.2 access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 5-1.31.3 access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 5-1.31.4 aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 5-1.31.5 banner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 5-1.31.6 clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 5-1.31.7 dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 5-1.31.8 enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 5-1.31.9 green-ethernet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 5-1.31.10 gvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 5-1.31.11 hostname. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65

v

ES0152 / ES0152P CLI User Manual

5-1.31.12 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 5-1.31.13 ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 5-1.31.14 ipmc. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5-1.31.15 ipv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5-1.31.16 lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5-1.31.17 lldp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5-1.31.18 logging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 5-1.31.19 loop-protect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 5-1.31.20 mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 5-1.31.21 monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5-1.31.22 mvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 5-1.31.23 mvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 5-1.31.24 ntp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 5-1.31.25 poe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 5-1.31.26 port-security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 5-1.31.27 privilege. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 5-1.31.28 prompt. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 5-1.31.29 Qos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 5-1.31.30 radius-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 5-1.31.31 rmon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 5-1.31.32 sflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 5-1.31.33 snmp-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 5-1.31.34 spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 5-1.31.35 svl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 5-1.31.36 switch2go-management . . . . . . . . . . . . . . . . . . . . . . . . 83 5-1.31.37 system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 5-1.31.38 tacacs-server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 5-1.31.39 udld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 5-1.31.40 upnp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 5-1.31.41 username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 5-1.31.42 vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 5-1.31.43 voice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 5-1.31.44 web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88

5-1.32 ntp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 5-1.33 poe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 5-1.34 port-security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 5-1.35 privilege . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 5-1.36 prompt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 5-1.37 qos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 5-1.38 radius-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 5-1.39 rmon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 5-1.40 sflow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 5-1.41 smtp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 5-1.42 snmp-server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98

5-1.42.1access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 5-1.42.2 community. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

vi

ES0152 / ES0152P CLI User Manual

5-1.42.3 security-to-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100 5-1.42.4 user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100 5-1.42.5 view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101 5-1.43 spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102 5-1.43.1 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102 5-1.43.2 mst. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102 5-1.44 svl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103 5-1.45 switch2go-management. . . . . . . . . . . . . . . . . . . . . . . . . . . . .104 5-1.46 system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105 5-1.47 tacacs-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .106 5-1.48 udld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .106 5-1.49 upnp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108 5-1.50 username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109 5-1.51 vlan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 5-1.52 voice. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111 5-1.53 web. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112

Chapter 6.COPY Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115

Chapter 7.DELETE Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117

Chapter 8.DIR Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119

Chapter 9.DISABLE Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121

Chapter 10.DO Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123

Chapter 11.DOT1X Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125

Chapter 12.ENABLE Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127

Chapter 13.FIRMWARE of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129

Chapter 14.IP Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131

Chapter 15.IPV6 Commands of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133

Chapter 16.MORE of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135

vii

ES0152 / ES0152P CLI User Manual

Chapter 17.NO Commands of CLI

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137

Chapter 18.PING of CLI

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139

Chapter 19.PLATFORM Commands of CLI

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141

Chapter 20.RELOAD of CLI

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143

Chapter 21.SEND of CLI

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145

Chapter 22.SHOW of CLI

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 22-1 aaa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 22-2 access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 22-3 access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 22-4 aggregation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 22-5 board-data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 22-6 clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 22-7 dot1x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 22-8 event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 22-9 green-ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 22-10 history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 22-11 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 22-12 ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 22-13 ipmc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 22-14 ipv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 22-15 lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 22-16 line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 22-17 lldp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 22-18 logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 22-19 loop-protect. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 22.20 mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 22-21 monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 22-22 mrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 22-23 mvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 22-24 ntp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 22-25 platform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 22-26 poe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 22-27 port-security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 22-28 privilege. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 22-29 process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 22-30 pvlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180

viii

ES0152 / ES0152P CLI User Manual

22-31 qos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181 22-32 radius-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .182 22-33 rmon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183 22-34 running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .184 22-35 sflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .185 22-36 smtp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .186 22-37 snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187 22-38 spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .189 22-39 svl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .189 22-40 switch2go-management . . . . . . . . . . . . . . . . . . . . . . . . . . . . .190 22-41 switchport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191 22-42 system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191 22-43 tacacs-server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .192 22-44 terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .192 22-45 udld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .193 22-46 upnp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .194 22-47 user-privilege. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195 22-48 users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195 22-49 version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196 22-50 vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196 22-51 voice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199 22-52 web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .201

Chapter 23.TERMINAL of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205

Chapter 24.TRACEOUTE of CLI

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207

Chapter 25.CLI COMMAND REFERENCES

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209

25-1 Privilege level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209

25-2 Command modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209

ix

ES0152 / ES0152P CLI User Manual

About This Manual

The CLI User Manual provides specific information about using CLI to operate this switch.

Overview

Chapter 1, Introduction, introduces you the release version, purpose, and audience for ES0152 / ES0152P CLI user guide.

Chapter 2, CLI Management, provides step-by-step instructions for CLI management, including login, commands of CLI, and global commands of CLI.

Chapter 3, CABLEDIAG of CLI, shows a description, syntax, parameter, and example for CABLEDIAG commands.

Chapter 4, CLEAR of CLI, shows a table of CLEAR commands with description, syntax, parameter, and example.

Chapter 5, CONFIGURE Commands of CLI, shows a table of CONFIGURE commands with description, syntax, parameter and example.

Chapter 6, COPY Commands of CLI, shows a description, syntax, parameter, and example for COPY commands.

Chapter 7, DELETE Commands of CLI, shows a description, syntax, parameter, and example for DELETE commands.

Chapter 8, DIR Commands of CLI, shows a description, syntax, parameter, and example for DIR commands.

Chapter 9, DISABLE Commands of CLI, shows a description, syntax, parameter, and example for DISABLE commands.

Chapter 10, DO Commands of CLI, shows a description, syntax, parameter, and example for DO commands.

Chapter 11, DOT1X Commands of CLI, shows a description, syntax, parameter, and example for DOT1X commands.

Chapter 12, ENABLE Commands of CLI, shows a description, syntax, parameter, and example for ENABLE commands.

Chapter 13, FIRMWARE of CLI, shows a description, syntax, parameter, and example for FIRMWARE commands.

Chapter 14, IP Commands of CLI, shows a description, syntax, parameter, and example for IP commands.

x

ES0152 / ES0152P CLI User Manual

Chapter 15, IPV6 Commands of CLI, shows a description, syntax, parameter, and example for IPV6 commands.

Chapter 16, MORE of CLI, shows a description, syntax, parameter, and example for MORE commands.

Chapter 17, NO Commands of CLI, shows a description, syntax, parameter, and example for NO commands.

Chapter 18, PING of CLI, shows a description, syntax, parameter, and example for PING commands.

Chapter 19, PLATFORM Commands of CLI, showsadescription,syntax, parameter, and example for PLATFORM commands.

Chapter 20, RELOAD of CLI, shows a description, syntax, parameter, and example for RELOAD commands.

Chapter 21, SEND of CLI, shows a description, syntax, parameter, and example for SEND commands.

Chapter 22, SHOW of CLI, shows a table of SHOW commands with description, syntax, parameter and example.

Chapter 23, TERMINAL of CLI, shows a description, syntax, parameter, and example for TERMINAL commands.

Chapter 24, TRACEOUTE of CLI, shows a description, syntax, parameter, and example for TRACEOUTE commands.

Chapter 25, CLI COMMAND REFERENCES, explains the privilege level, and a table of commands with description, privilege level, and the corresponding mode.

xi

ES0152 / ES0152P CLI User Manual

Product Information

For information about all ATEN products and how they can help you connect without limits, visit ATEN on the Web or contact an ATEN Authorized Reseller. Visit ATEN on the Web for a list of locations and telephone numbers:

International http://www.aten.com

xii

Chapter 1

About This Guide

Purpose

This guide gives specific information on how to operate CLI to manage this switch.

Audience

Theguide is intendedfor use by networkadministratorswhoare responsiblefor operating and maintaining network equipment; consequently, it requires a basic working knowledge of general switch functions, the RS-232 Console, Internet Protocol (IP), and Telnet Protocol.

1

ES0152 / ES0152P CLI User Manual

This Page Intentionally Left Blank

2

Chapter 2

CLI Management

Overview

The following description briefly describes how to build up the network connection.

Attach the RJ45 to DB9 Serial Console Cable to the console port on the ES0152 / ES0152P’s front panel for telnet configuration

At “Com Port Properties” Menu, configure the parameters as below: (see the next section)

Spec

 

 

 

 

 

Baud Rate

115200 bps

 

 

 

 

Stop Bits

1

 

 

 

 

Data Bits

8

 

 

 

 

Parity

N

 

 

 

Flow Control

None

 

 

 

3

Aten ES0152, ES0152P User Manual

ES0152 / ES0152P CLI User Manual

2-1 Login

3.The command-line interface (CLI) is a text-based interface. User can access the CLI through either a direct serial connection to the device or a Telnet session (Default IP address: 192.168.0.1). The default username is admin. A preprogrammed password (inside the red square box below) unique to each switch is provided on the sticker of the bottom side of the switch. An example is shown:

If you are logging in for the first time or if you are sure that the password has not been changed, use the preprogrammed password.

Note: This password is used for both CLI and web GUI interfaces, if it was changed in either of the interfaces, use the new password to log in.

After you log in successfully, the prompt will be shown as “<sys_name>#“ . See the following figures. It means you behave as an administrator and have the privilege for setting the Managed Switch. If you log in as a guest instead of an administrator, the prompt will be shown as “<sys_name>>”. It means you behave as a guest and are only allowed to set the system under the administrator. Each CLI command has its privilege.

Example:

Username: admin

Password: F759a987 (example only*)

ES0152#

Note: For “<sys_name>#“, we will use ES0152 as an example for our ES0152 / ES0152P CLI User Manual.

The password should be retrieved from the bottom sticker of the switch.

4

Chapter 2. CLI Management

2-2 Commands of CLI

The CLI is divided into serveral modes. If a user has enouth privilege to run a particular command, the user has to run the command in the correct mode. To see the command modes, please input “?” after the system prompt, then all the commands will be listed in the screen. The command modes are listed as belows:

Command Modes

MODE:

PROMPT

COMMAND FUNTION IN THIS

 

MODE

 

 

 

 

 

 

exec

<sys_name>#

Display current configuration,

 

 

 

diagnostics, maintenance

 

 

 

 

config

<sys_name>(config)#

Configure features other than

 

 

those below

 

 

 

 

config-if

<sys_name>(config-

Configure ports

 

interface)#

 

 

 

 

 

 

config-if-vlan

<sys_name>(config-if-vlan)#

Configure static vlan

 

 

 

 

config-line

<sys_name>(config-line)#

Line Configuration

 

 

 

 

config-impc-profile

<sys_name>(config-impc-

IPMC Profile

 

profile)#

 

 

 

 

 

 

config-snmp-host

<sys_name>(config-snmp-

SNMP Server Host

 

host)#

 

 

 

 

 

 

config-stp-aggr

<sys_name>(config-stp-

STP Aggregation

 

aggr)#

 

 

 

 

 

 

config-dhcp-pool

<sys_name>(config-dhcp-

DHCP Pool Configuration

 

pool)#

 

 

 

 

 

 

config-rfc2544-

<sys_name>(config-rfc2544-

RFC2544 Profile

profile

profile)#

 

 

Commands reside in the corresponding modes could run only in that mode. If a user wants to run a particular command, the user has to change the mode to the appropriate mode. The command modes are organized as a tree, and users start from the enable mode. The following table explains how to change from one mode to another.

Note:The Commands and parameters are not case-sensitive, which means that any uppercase or lowercase character can be entered.

5

ES0152 / ES0152P CLI User Manual

Change Between Command Modes

MODE

ENTER MODE

LEAVE MODE

 

 

 

exec

--

--

 

 

 

config

Config terminal

exit

 

 

 

config-interface

Interface <port-type> <port-type-list>

exit

 

 

 

config-vlan

Interface vlan <vlan_list>

exit

 

 

 

6

Chapter 2. CLI Management

2-3 Global Commands of CLI

Summary:

ES0152# ?

 

CableDiag

Cable Diagnostic keyword

clear

Reset functions

configure

Enter configuration mode

copy

Copy from source to destination

delete

Delete one file in flash file system

dir

Directory of all files in flash file

 

system

disable

Turn off privileged commands

do

To run exec commands in config mode

dot1x

IEEE Standard for port-based Network

 

Access Control

enable

Turn on privileged commands

exit

Exit from the CLI

firmware

Firmware

help

Description of the interactive help

 

system

ip

IPv4 commands

ipv6

IPv6 configuration commands

logout

Exit from EXEC mode

more

Display file

no

Negate a command or set its defaults

ping

Send ICMP echo messages

platform

Platform configuration

reload

Reload system

send

Send a message to other tty lines

show

Show running system information

terminal

Set terminal line parameters

traceroute

Trace the route to HOST

7

ES0152 / ES0152P CLI User Manual

Exit

Exit from EXEC mode.

Syntax:

Exit

Parameters:

None.

Example:

ES0152(config)# exit

Help

Description of the interactive help system.

Syntax:

Help

Parameters:

None.

Example:

ES0152# help

Help may be requested at any point in a command by entering a question mark '?'. If nothing matches, the help list will be empty and you must backup until entering a '?' shows the available options.

Two styles of help are provided:

1.Full help is available when you are ready to enter a command argument (e.g. 'show ?') and describes each possible argument.

2.Partial help is provided when an abbreviated argument is entered and you want to know what arguments match the input (e.g. 'show pr?'.)

logout

Exit from EXEC mode.

Syntax:

Logout

8

Chapter 2. CLI Management

Parameters:

None.

Example:

ES0152# logout

Username:

9

ES0152 / ES0152P CLI User Manual

This Page Intentionally Left Blank

10

Chapter 3

CABLEDIAG of CLI

Overview

Cable Diagnostic keyword.

Syntax:

CableDiag interface GigabitEthernet <port_type_id>

Parameters:

Parameter

Description

 

 

 

 

Interface

Interface keyword

 

 

 

 

GigabitEthernet

1 Gigabit Ethernet Port

 

 

 

<port_type_id>

Port ID in 1/1-48

 

 

 

Example:

ES0152# CableDiag interface GigabitEthernet 1/1

Starting Cable Diagnostic - Please wait

Interface

Link Status

Test Result

 

Length

 

 

 

----------------------

-------------

-------------

-

GigabitEthernet 1/1

Link Down

detect error or

check cable length is between 7-120 meters

 

ES0152# CableDiag interface GigabitEthernet 1/48

 

Starting Cable Diagnostic - Please wait

 

 

Interface

Link Status

Test Result

 

Length

 

 

 

----------------------

-------------

-------------

-

GigabitEthernet 1/48

1G

detect error or

check cable length is between 7-120 meters

 

11

ES0152 / ES0152P CLI User Manual

This Page Intentionally Left Blank

12

Chapter 4

CLEAR of CLI

Overview

Table: CLEAR Commands

Command

Function

 

 

 

 

access

Access management

 

 

 

 

access-list

Access list

 

 

 

dot1x

IEEE Standard for port-based Network Access Control

 

 

 

ip

Clear DHCP Relay statistics

 

 

 

ipv6

IPv6 configuration commands

 

 

 

lacp

Clear LACP statistics

 

 

 

lldp

Clear LLDP statistics for one or more given

 

 

 

logging

Syslog

 

 

 

mac

MAC Address Table

 

 

 

mvr

Multicast VLAN Registration configuration

 

 

 

port-security

Port Security

 

 

 

sflow

Statistics flow

 

 

 

spanning-tree

Execute protocol migration check on interfaces

 

 

 

statistics

Clear statistics for one or more given interface

 

 

 

system

System

 

 

 

4-1 access

Access management.

Syntax:

Clear access-list ace statistics

Parameters:

Parameter:

Description

 

 

 

 

Ace

Access list entry

 

 

 

 

Statistics

Traffic statistics

 

 

 

13

ES0152 / ES0152P CLI User Manual

Example:

ES0152# clear access-list ace statistics

4-2 access-list

Access list.

Syntax:

Clear access-list ace statistics

Parameters:

Parameter:

Description

 

 

 

 

Ace

Access list entry

 

 

 

 

Statistics

Traffic statistics

 

 

 

Example:

ES0152# clear access-list ace statistics

4-3 dot1x

IEEE Standard for port-based Network Access Control.

Syntax:

Clear dot1x statistics

Clear dot1x statistics interface GigabitEthernet <PORT_TYPE_LIST>

Parameters:

Parameter

Description

 

 

 

 

Statistics

Clear the statistics counters

 

 

 

 

Interface

Interface

 

 

 

GigabitEthernet

1 Gigabit Ethernet Port

 

 

 

PORT_TYPE_LIST

Port list in 1/1-26 for Gigabitethernet

 

 

 

Example:

ES0152# clear dot1x statistics interface

GigabitEthernet 1/1-26

14

Chapter 4. CLEAR of CLI

4-4 ip

Clear DHCP Relay statistics.

Syntax:

Clear ip dhcp relay statistics

Parameters:

Parameter

Description

 

 

 

 

Dhcp

Clear DHCP Relay statistics

 

 

 

 

Relay

Clear DHCP Relay statistics

 

 

 

Statistics

Clear DHCP Relay statistics

 

 

 

Example:

ES0152# clear ip dhcp relay statistics

4-5 ipv6

IPv6 configuration commands.

Syntax:

Clear ipv6 mld snooping [ vlan <v_vlan_list> ] statistics

Clear ipv6 neighbors

Clear ipv6 statistics [ system ] [ interface vlan <v_vlan_list> ] [ icmp ] [ icmpmsg <type> ]

Parameters:

Parameter

Description

 

 

 

 

Mld

Multicasat Listener Discovery

 

 

 

 

Neighbors

Ipv6 neighbors

 

 

 

statistics

Traffic statistics

 

 

 

snooping

Snooping MLD

 

 

 

statistics

Running MLD snooping counters

 

 

 

vlan

Ipv6 interface traffic

 

 

 

<vlan_list>

VLAN identifier(s): VID

 

 

 

icmp

IPv6 ICMP traffic

 

 

 

icmp-msg

IPv6 ICMP traffic for designated message type

 

 

 

15

ES0152 / ES0152P CLI User Manual

 

 

 

 

Parameter

Description

 

 

interface

Select an interface to configure

 

 

system

IPv6 system traffic

 

 

< 0~255>

ICMP message type ranges from 0 to 255

 

 

Example:

ES0152# clear ipv6 mld snooping vlan 3 statistics

ES0152# clear ipv6 neighbors

ES0152# Clear ipv6 statistics system icmp icmp-msg 2

4-6 lacp

Clear LACP statistics.

Syntax:

Clear lacp statistics

Parameters:

Parameter Description

Statistics

Clear all LACP statistics

Example:

ES0152# clear lacp statistics

4-7 lldp

Clear LLDP statistics for one or more given interface.

Syntax:

Clear lldp statistics { global | ( interface [ * | GigabitEthernet <port_list> ] ) }

Parameters:

Parameter

Description

 

 

 

Statistics

Clear LLDP statistics

 

 

 

 

Global

Clear global counters

 

 

 

Interface

Interface

 

 

 

GigabitEthernet

GigabitEthernet

*All ports

16

Chapter 4. CLEAR of CLI

Parameter Description

<port_list>

Port List S/X-Y,Z (1/1-52)

Example:

ES0152# clear lldp statistics interface *

4-8 logging

Syslog.

Syntax:

Clear logging [ info ] [ warning ] [ error ]

Parameters:

Parameter Description

Error Error

Info Information

Warning Warning

Example:

ES0152# clear logging info error warning

4-9 mac

MAC Address Table.

Syntax:

Clear mac address-table

Parameters:

Parameter Description

Address-table Flush MAC Address table

Example:

ES0152# clear mac address-table

4-10 mvr

Multicast VLAN Registration configuration

Syntax:

17

ES0152 / ES0152P CLI User Manual

Clear mvr[ vlan <v_vlan_list> | name <mvr_name> ] statistics

Parameters:

Parameter

Description

 

 

 

 

Name

MVR multicast name

 

 

 

 

Statistics

Running MVR protocol counters

 

 

 

Vlan

MVR multicast vlan

 

 

 

<word16>

MVR multicast VLAN name

 

 

 

<vlan_list>

MVR multicast VLAN list

 

 

 

Example:

ES0152# clear mvr vlan 25 statistics

4-11 port-security

Port security.

Syntax:

Clear port-security dynamic address <mac_addr>

Clear port-security dynamic interface [ * (<port_type_list> | vlan ) | GigabitEthernet ]

Parameters:

Parameter

Description

 

 

 

 

Dynamic

Dynamic entries

 

 

 

 

Address

Clear a specific <VLAN, MAC>-tuple

 

 

 

Interface

Port interface

 

 

 

Vlan

Delete all MAC addresses on a given VLAN

 

 

 

<mac_addr>

MAC address to clear

 

 

 

*

All switches or All ports

 

 

 

GigabitEthernet

1 Gigabit Ethernet Port

 

 

 

<port_type_list>

Port list for all port types

 

 

 

Vlan

VLAN keyword

 

 

 

<vlan_id>

VLANs on interface to clear all MAC addresses for

 

 

 

<port_type_list>

Port list in 1/1-52

 

 

 

Example:

18

Loading...
+ 270 hidden pages