Network engineers to learn (a) the basic command

> Here is the user mode, in fact, the purpose can not only view the configuration
# privileged mode, is used to view, can not be modified, but can see everything, he can save a global operation to remove
two kinds of ways to save the configuration of

write
copy running-config startup-config

 

So is deleted

erase flash:

 

Erase information

Then there

config terminal

 

This is a global mode, used to configure, open the whole information, such as opening a protocol,

interface f0/0

 

Information entered his function interface mode is configured on interfaces, configure the interface ip address configuration

 

hostname htftimegg

 

Configure your own name to Global mode

host htftimegg

 

Can

ip address 192.168.1.1 255.255.255.0

 

The ip and subnet mask
remember after the ip

no shutdown

 

That is activated port

show something to see,

show running-config

 

View the current configuration, the configuration currently running

show version

 

View device version

show ip interface brief

 

View the current port


Password:
There are three password
console password:

console Line 0 // into the console configuration 
telnet ssh password:

 

User access to privileged passwords:

enable password htftime \\ password htftime

 

 

Project three strategies:

no ip domain lookup \\ DNS closed 
NO Exec -timeout // close the session timeout 
logging Synchronous // open information synchronization, he would be halfway to switch your command set that time if you set this command will not be cut off

 

Open telnet
line vty 0 4 // turn on the remote login, the 04 representatives can also have up to five users log on
and password htftime
is to set up remote login password
and then login
is open Telnet
then configure the user name is

username htftime password htftime

 


Then line vty 0 4
using the login local command
means that the local user to log on

Guess you like

Origin www.cnblogs.com/HTFTIME/p/11697240.html