- 论坛徽章:
- 0
|
Basics
Enter Privileged Exec Mode
enable
Leave Privileged Exec Mode and go back to User Mode
disable
Log out of the router, end the console session,same as exit command
exit
Log out of the router, end the console session, same as logout command
logout
Setup a basic configuration by answering questions
setup
Show the current configuration stored in RAM
show running-config
Show the startup configuration stored in NVRAM
show startup-config
Display IOS version (configuration register value is also displayed)
show version
Show IOS files stored in flash and available free space
show flash
Save the current configuration into NVRAM
copy running-config startup-config
Use the startup configuration stored in NVRAM
copy startup-config running-config
Load a saved configuration from a TFTP server into NVRAM
copy tftp running-config
Upgrade the IOS stored in flash from an image stored on a TFTP server
copy tftp flash
Create a backup of router IOS and store it in a file on a TFTP server
copy flash tftp
Instruct the router to boot from a specific IOS image stored in flash boot
system flash [filename]
Instruct the router to boot from a specific IOS image stored on a TFTP server
boot system tftp [filename]
Enter Global Configuration Mode
config terminal
Set a Message-of-the-day banner to be displayed before the user logs in to the router
banner motd # message #
Set a login message to be displayed before the user logs in to the router
banner login # message #
Set a banner to be displayed after the user logs in to the router
banner exec # message #
(incoming is displayed with a reverse telnet connection, exec with all others)
banner incoming # message #
Give the router a hostname (default is router)
hostname [name]
Disable DNS lookups (enabled by default)
no ip domain-lookup
Specify DNS servers for for hostname and address resolution ip
name-server server-ip1 [server-ip2...server-ip6]
Disable the HTTP server (enabled by default)
no ip http server
Change the size of the history buffer (default is 10 commands)
terminal history size 20 |
|