First, the mode command.
The first boot, routers need to initialize, I chose no.
Router> User mode
Router> enable access to privileged mode
Router # privileged mode
Router # configure terminal Enter the global configuration mode
Router (config) # global configuration mode
Second, the basic command
Router (config) #hostname RO1 configure the router name
RO1 (config) #enable password 123456 configure the login password
RO1 (config) #enable secret 1234567 configured to use encrypted passwords
RO1 (config) #interface Ethernet 0/0 to enter e0 / 0 port
RO1 ( config-if) #interface e0 / 0.10 enter e0 / 0.10 subinterface
RO1 (config-if) #int e0 / 0 RO1 (config-if) #ip address 192.168.1.1 255.255.255.0 set the port IP address
RO1 (config-if) #no shutdown enabled port
RO1 (config-if) #shutdown shut down the port
RO1 (config-if) #exit Exit Interface
RO1 (config) #end exit global configuration mode
RO1 # write to save the settings
RO1 # disable exit privileged mode
Third, view the command
All versions information RO1 # show version to view the system
RO1 # show running interface e0 / 0
Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#