CLI Reference Guide
CONTENTS
Preface ............................................................................................................................ 1
Chapter 1 Using the CL I .................................................................................................... 4
1.1 Accessing the CLI ........................................................................................................ 4
1.1.1 Logon by a console port ..................................................................................... 4
1.1.2 Configuring the Privileged EXEC Mode Password.............................................. 6
1.1.3 Logon by Telnet.................................................................................................. 7
1.1.4 Logon by SSH ...................................................................................................11
1.2 CLI Command Modes ................................................................................................ 16
1.3 Security Levels ........................................................................................................... 18
1.4 Conventions ............................................................................................................... 18
1.4.1 Format Conventions ......................................................................................... 18
1.4.2 Special Characters ........................................................................................... 19
1.4.3 Parameter Format ............................................................................................ 19
Chapter 2 User Interface ................................................................................................. 20
enable ................................................................................................................................ 20
service password-encryption............................................................................................... 20
enable password ................................................................................................................ 21
enable secret ...................................................................................................................... 22
disable ................................................................................................................................ 23
configure ............................................................................................................................ 23
exit ..................................................................................................................................... 24
end ..................................................................................................................................... 24
history................................................................................................................................. 24
history clear ........................................................................................................................ 25
Chapter 3 IEEE 802.1Q VLAN Commands.................................................................. 26
vlan .................................................................................................................................... 26
interface vlan ...................................................................................................................... 26
name .................................................................................................................................. 27
switchport mode ................................................................................................................. 27
switchport access vlan ........................................................................................................ 28
switchport trunk allowed vlan .............................................................................................. 28
switchport general allowed vlan .......................................................................................... 29
switchport pvid.................................................................................................................... 30
II