20. CLI Command Summary
Total Page:16
File Type:pdf, Size:1020Kb
SM8TAT2SA, SM16TAT2SA, SM24TAT2SA and SM8TAT2SA-DC Smart Managed Gigabit Ethernet PoE+ Switches 8-/16-/24-Port Gigabit PoE+, 2-Port 100/1000 SFP CLI Reference 33718 Rev. E 33718 Rev. E https://www.transition.com Page 1 of 270 Transition Networks SMxTAT2SA CLI Reference Trademarks All trademarks and registered trademarks are the property of their respective owners. Copyright Notice/Restrictions Copyright © 2017-2020 Transition Networks. All rights reserved. No part of this work may be reproduced or used in any form or by any means (graphic, electronic or mechanical) without written permission from Transition Networks. Printed in the U.S.A. SMxTAT2SA Smart Managed Switches CLI Reference, 33718 Rev. E Contact Information Transition Networks 10900 Red Circle Drive Minnetonka, MN 55343 USA tel: +1.952.941.7600 | toll free: 1.800.526.9267 | fax: 952.941.2322 [email protected] | [email protected] | [email protected] Revision History Rev Date Description Update for FW v1.01.1227 to support DMS on VLAN other than 1. FW v1.02.1261 updates SSL certificates. FW v1.02.1363: 802.1x supports assign VLAN attribute; C 11/9/18 DHCP server based on incoming port to assign IP address; add DHCP per Port, Link-Local Address binding interface, and NTP Time Sync Interval. Add Interface Config commands. Update for FW v1.02.1368 which adds non-stop PoE power on reboot. Update for FW v1.02.1398 which adds PoE Force mode. Update for FW v1.02.1409 HW v1.03, Mechanical D 8/26/19 v1.01, and PoE FW v 208-211: upgrade security, add Traffic Manager back in DMS, PoE force mode, PoE Auto Power Reset event in Event Notifications, add PoE Soft Reboot feature. Add Interface Config mode commands. Upgrade SSH version, add Traffic Monitor back to DMS. Add Max. Reboot Times for PoE Auto Checking and LLDP PoE page. Add E 5/18/20 SM8TAT2SA-DC at HW v1.01, FW v1.02.1463, PoE FW v 208-211. Update telnet information and modify API device list table. 33718 Rev. E https://www.transition.com Page 2 of 270 Transition Networks SMxTAT2SA CLI Reference Contents Contents .............................................................................................................................................................3 1. CLI Management .............................................................................................................................................4 1-1 Install Telnet Client on Windows 7 or Windows Vista ............................................................................. 5 1-2 Telnet Server ........................................................................................................................................... 6 1-3 Login ........................................................................................................................................................ 7 1-4 Overview of CLI Commands .................................................................................................................... 8 2. Clear Commands .......................................................................................................................................... 13 3. Configure Commands .................................................................................................................................. 16 3-1 Config Mode Commands ....................................................................................................................... 16 3-2 no .......................................................................................................................................................... 72 3-3 qos ....................................................................................................................................................... 108 3-4 snmp-server ........................................................................................................................................ 112 3-5 spanning-tree ...................................................................................................................................... 117 4. Configure Interface Commands ................................................................................................................. 120 4-1 Interface Config Mode Commands ..................................................................................................... 127 5. Copy Commands ........................................................................................................................................ 154 6. Delete Commands ..................................................................................................................................... 155 7. Dir Commands ........................................................................................................................................... 156 8. Do Commands ........................................................................................................................................... 157 9. DOT1x Commands ..................................................................................................................................... 158 10. Firmware Commands .............................................................................................................................. 159 11. No Commands ......................................................................................................................................... 160 12. Ping Commands ....................................................................................................................................... 163 13. Reload Commands ................................................................................................................................... 164 14. Show Commands ..................................................................................................................................... 165 15 . SSL Commands ........................................................................................................................................ 220 16. Terminal Commands ................................................................................................................................ 222 17. Traceroute Commands ............................................................................................................................ 223 18. Diagnostics Commands ........................................................................................................................... 224 19. Configure DHCP Per Port ......................................................................................................................... 225 20. CLI Command Summary .......................................................................................................................... 228 20.2 Command Modes .............................................................................................................................. 229 20.3 Related Manuals ............................................................................................................................. 269 33718 Rev. E https://www.transition.com Page 3 of 270 Transition Networks SMxTAT2SA CLI Reference 1. CLI Management This manual documents CLI (Command Line Interface) commands for four similar models: SM8TAT2SA, SM16TAT2SA, SM24TAT2SA, and SM8TAT2SA-DC. The models differ mainly in port count. Model differences are noted where applicable in this manual. Note: the CLI can only be accessed via telnet or SSH. A typical connection procedure is provided below: 1. An-RJ-45 cable is used for connecting a terminal or terminal emulator to an RJ-45 port on the SMxTAT2SA front panel to access the CLI. 2. Attach an RJ-45 port on the switch’s front panel to the cable for CLI configuration. 3. Attach the other end of the DB-9 cable to a PC running Tera Term or similar utility. 4. At the “Tera Term New connection” menu, configure the parameters: Host: 192.168.1.77; History: checked; Service: SSH; TCP port # 22; SSH version: SSG2; Protocol: UNSPEC. 5. Follow the on-screen instructions. 33718 Rev. E https://www.transition.com Page 4 of 270 Transition Networks SMxTAT2SA CLI Reference 1-1 Install and Enable Telnet on Windows 8.1 or Windows 10 The latest Windows versions do not come with a telnet client installed. So by default, you cannot use Windows 10 or 8.1 to connect other network devices without installing a telnet client utility. Installing the telnet client from the Control Panel in Windows 10 and 8.1/7 will solve this. Install media (e.g., CD, DVD, ISO) or other downloads are not needed for this; you just enable it from the Windows Control Panel or from the Command prompt. Install from Control Panel 1. Windows 10, right-click on the Start button and select Control Panel. In Windows 8.1 and 8, you can use the charm bar by moving the cursor to top right corner or press the Windows key + I from the desktop, then select Control Panel. To access the Control Panel from Windows 7 select Settings > Control Panel. 2. In Windows 8.1, in ‘Category’ Control Panel view, click ‘Programs’ (very similar in Windows 10). 3. Click ‘Turn Windows features on or off’. A dialogue box displays to let you select extra features to install. 4. Select ‘Telnet Client’ by ticking the box. Click OK to display a small installation. Install from the Command Prompt 1. Open the command prompt as Administrator and execute the command pkgmgr /iu:”TelnetClient” 2. Try the telnet command in the command prompt