Cisco configuration Mode utility command line (switch for model):
Enable--> enter privileged mode; switch#
disable--> return to user mode; switch>
Configure terminal--> into global configuration mode; Switch (config) #
Exit--> exit;
No IP domain lookup off the domain name query function;
Command Help system:
? , you can list all the commands supported by the current mode;
E., you can list all commands starting with E in the current mode;
The TAB key can automatically complete the incomplete command word;
Configuration habits:
After the configuration is completed and checked correctly;
Save Running-config (running configuration file) to Startup-config (boot profile) switch# write
Or:
switch# Copy Running-config Start-config
Delete configuration file (device factory reset):
Principle: Delete the boot configuration file;
Implementation: r1# erase Startup-config or r1# delete nvram:startup-config
Note: Erase is equivalent to the "format" command, which deletes all the files on the development storage media; it must not erase flash.
Additions to the Order:
switch# dir switch# dir/all view file storage path
switch# show users to see which users are logged on to the local device;
switch# Clear Line (number) clears a specific user;
switch# Show session to view the sessions initiated by the local device;
switch# Resume {ID} quickly switches between sessions;
Switch#disconnect/resume {ID} disconnects/restores the specified session;
switch# Reload Restart the router device;
switch# Show users to view the current logged-on user of the device;
CTRL + a cursor returns to the front of the command line;
Ctrl+e cursor back to the command line at the back;
Ctrl + Shift +6, X jumps back to the local device;
Cisco Configuration Fundamentals Command