Transition Networks, Inc. S4xxx CLI Reference
33559 Rev. B www.transition.com Page 3 of 475
Table of Contents
1 Introduction .......................................................................................................................................... 8
1.1 Conventions ......................................................................................................................................... 8
1.2 Starting a CLI Session ......................................................................................................................... 9
1.2.1 Login using HyperTerminal ........................................................................................................... 9
1.2.2 Login using PuTTY ..................................................................................................................... 11
1.2.3 Login using Telnet ...................................................................................................................... 13
2 Quick Start .......................................................................................................................................... 15
2.1 Log In and Reset Configuration to Factory Defaults ......................................................................... 15
2.2 Set Device Hostname and admin User Password ............................................................................ 16
2.3 Set VLAN 1 IP Address ..................................................................................................................... 16
2.4 Create Management VLAN and Set IP Address ............................................................................... 17
2.5 Display and Save Configuration to FLASH ....................................................................................... 19
2.6 Summary ........................................................................................................................................... 20
3 CLI Basics ........................................................................................................................................... 21
3.1 Command Structure and Syntax ....................................................................................................... 22
3.1.1 Command Syntax ....................................................................................................................... 23
3.2 Ethernet Interface Naming ................................................................................................................ 25
3.3 Using the Keyboard ........................................................................................................................... 26
3.3.1 Basic Line Editing ....................................................................................................................... 26
3.3.2 Command History ....................................................................................................................... 27
3.3.3 Context-sensitive Help ................................................................................................................ 28
3.3.4 Example: Context-sensitive Help ................................................................................................ 28
3.3.5 Long Lines and Pagination ......................................................................................................... 29
3.3.6 Other Special Keys ..................................................................................................................... 30
3.4 Filtering Output .................................................................................................................................. 30
3.4.1 Example: Filtering Output ........................................................................................................... 30
3.5 Understanding Modes and Sub-modes ............................................................................................. 31
3.5.1 Example: Using ‘do’ while in a Sub-mode .................................................................................. 32
3.5.2 CLI Mode Transitions .................................................................................................................. 33
3.5.3 Example: Changing between CLI Modes ................................................................................... 33
3.6 Understanding Privilege Levels ......................................................................................................... 34
3.6.1 Example: Configuring Privilege Level Passwords ...................................................................... 34
3.7 Changing Terminal Session Parameters........................................................................................... 35
4 Configuring the System ......................................................................................................................... 36
4.1 Configuration Example ...................................................................................................................... 36
4.2 Resetting or Removing Configuration Using ‘no’ Forms ................................................................... 37
4.3 Example: Using ‘no’ Forms ............................................................................................................... 38
5 Add/Modify/Delete Users ..................................................................................................................... 39
5.1 Example: Add, Modify and Delete Users.......................................................................................... 39
6 Using ‘show’ Commands ...................................................................................................................... 40
6.1 Example: Listing All ‘show’ Commands ............................................................................................. 40
6.2 Example: Using Context-sensitive Help for Discovery ...................................................................... 42
6.3 show running-config .......................................................................................................................... 43
6.3.1 Example: Default vs. Non-default vs. All Defaults ...................................................................... 43
6.3.2 show running-config [ all-defaults ] ............................................................................................. 44
6.3.3 show running-config feature feature_name [ all-defaults ] ......................................................... 44
6.3.4 show running-config interface list [ all-defaults ] ......................................................................... 45
6.3.5 show running-config vlan list [ all-defaults ] ................................................................................ 45