CLI Reference Guide Rev H
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. H 33718 Rev. H https://www.transition.com Page 1 of 285 Transition Networks SMxTAT2SA CLI Reference Trademarks : All trademarks and registered trademarks are the property of their respective owners. Copyright Notice/Restrictions : Copyright © 2017-2021 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 GbE PoE+ Switches CLI Reference, 33718 Rev. H Revision History Rev Date Description 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 SM8TAT2SA-DC at HW E 5/18/20 v1.01, FW v1.02.1463, PoE FW v 208-211. Update telnet information and modify API device list table. FW v1.02.1471: use TN SSL certificate for Web GUI. Add Auto-Logout timeout command (exec- timeout auto logout). FW v1.02.1474: fix IP Gateway setting issue. F 7/28/20 FW v1.02.1409: change feature name from “Soft Reboot” to “Always on PoE”. FW v1.02.1476: update Auto-logout timeout and fix PC NIC force 100Mfdx/Restore Config to Factory Default port link up issue. FW v1.03.1490: add SMTP feature and SHA256 Password Encoding feature. Add CLI command G 8/26/20 to show LACP Status. RADIUS and TACACS Key use AES256 encryption on show running-config command. FW v1.04.0009: add PoE Auto Checking “AutoFill” feature. Add Maximum Frame Size (MTU) setting per System in Port Config. Modify name "Non-stop PoE" to "Always-On PoE” and add "Always-On PoE" in mib. Fixes: DMS problem when link up/down and H 3/31/21 looping. API issues with ACLs, FW upgrade, PoE status, and PoE schedule. RADIUS and TACACS+ issues. ACL Config Help page. Syslog problems. CLI Access management error. Fix API file updating. 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] 33718 Rev. H https://www.transition.com Page 2 of 285 Transition Networks SMxTAT2SA CLI Reference Contents 1. CLI Management .............................................................................................................................................4 1-1 Install / Enable Telnet on Windows 8.1 or Windows 10 ......................................................................... 5 1-2 Telnet Server ........................................................................................................................................... 5 1-3 Related Manuals ..................................................................................................................................... 6 1-4 Privilege Levels ........................................................................................................................................ 7 1-5 Command Modes .................................................................................................................................... 7 1-6 Login ........................................................................................................................................................ 8 1-7 Idle Timeout ............................................................................................................................................ 9 1-8 Exec Mode Commands .......................................................................................................................... 11 2. Clear Commands .......................................................................................................................................... 14 3. Config Mode Commands ............................................................................................................................. 17 3-2 no .......................................................................................................................................................... 85 3-3 qos ....................................................................................................................................................... 122 3-5 spanning-tree ...................................................................................................................................... 126 4. Interface Config Mode Commands ............................................................................................................ 128 4-1 Interface Config Mode Commands ..................................................................................................... 134 5. Copy Commands ........................................................................................................................................ 162 6. Delete Commands ..................................................................................................................................... 163 7. Dir Commands ........................................................................................................................................... 164 8. Firmware Commands ................................................................................................................................. 165 9. Ping Commands ......................................................................................................................................... 166 10. Reload Commands ................................................................................................................................... 168 11. Show Commands ..................................................................................................................................... 169 12. SSL Commands ......................................................................................................................................... 235 13. Terminal Commands ................................................................................................................................ 238 14. Traceroute Commands............................................................................................................................. 239 15. Cable Diagnostics Commands .................................................................................................................. 241 16. Configure DHCP Per Port ......................................................................................................................... 242 17. CLI Command Summary .......................................................................................................................... 245 33718 Rev. H https://www.transition.com Page 3 of 285 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. H https://www.transition.com Page 4 of 285 Transition Networks SMxTAT2SA CLI Reference 1-1 Install / 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 or search in Apps to get the correct telnet app. PuTYY is a free alternative telnet client that is fully compatible with Windows 10, 8.1, and Windows 7. Other PuTTY alternatives can be used to manage and customize telnet sessions from your computer. Follow the same steps to install Telnet client on Windows