tailieunhanh - Basic command to configure a router User mode: Routerenable .Enter Enable mode Router#configure terminal .Enter global config mode Router(config)# • To rename a router use command: Router(config)#hostname newroutername • Password configuration: - Console

Basic command to configure a router User mode: Routerenable .Enter Enable mode Router#configure terminal .Enter global config mode Router(config)# • To rename a router use command: Router(config)#hostname newroutername • Password configuration: - Console password Router(config)#line console 0 Router(config-line)#login Router(config-line)#password password - Vty password Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password password - Enable password Router(config)#enable password password - Secret password (secret password more priority than enable password. Secret password is encryption regardless of you are enter the service password-encyption command or not) Router(config)#enable secret password - Password encyption Router(config)#service password-encryption - A login banner is a message that is displayed at. | Basic command to configure a router User mode Router enable .Enter Enable mode Router configure terminal .Enter global config mode Router config To rename a router use command Router config hostname newroutername Password configuration - Console password Router config line console 0 Router config-line login Router config-line password password - Vty password Router config line vty 0 4 Router config-line login Router config-line password password - Enable password Router config enable password password - Secret password secret password more priority than enable password. Secret password is encryption regardless of you are enter the service password-encyption command or not Router config enable secret password - Password encyption Router config service password-encryption - A login banner is a message that is displayed at login Router config banner motd content of the message begin and finish an message - Defines a static hostname-IP mapping Router config ip host hostname tcp-port number addressl up to 08 address - Defines one or more DNS servers Router config ip name-server server-addrl up to 06 servers - DNS Enable by default on cisco Router to Disables the use of DNS on a cisco router use command Router config no ip domain-lookup Configure interface type includes ethernet fastethernet tokenring serial and other Router config interface type port Router config interface type module port Router config-if ip address ipaddress subnet mark --assign ip address for interface Router config-if no shutdown --turn on an interface To turn off an interface use command Router config-if shutdown On serial interface in lab you must consider DCE interface and provide clocking to check an interface you can use the command Router show controllers serial port Router config-if encapsulation encaptype -- On Cisco router HDLC is the default encapsulation on serial interface Router config-if description description string -- configure .