Command Service Password-Encryption Use Allows you to encrypt all passwords on your router so they can not be easily guessed from your running-config. This command uses a very weak encryption because the router has to be very quickly decode the passwords for its operation. It is meant to …
Command Access-list (standard) Use This command is used to create a list that matches packets on a given criteria. While access-lists are most commonly associated with security, there are numerous uses. Standard lists match on source addresses only. Syntax R1(config)#access-list <1-99 or 1300-1999> <permit or deny> <source address …
Command IP HTTP Server Use This command allows the router to act as a http server. Nowadays, this command is mostly used to setup Cisco SDM. Syntax Router(config)#ip http server Example In this example we configure the ip http server command on a router to let it act …
Command Enable Secret Use Sets an encrypted password for enable mode on the router. Syntax Router(config)#enable secret <WORD> Example In this example the enable password is set on R1. R1(config)#enable secret cisco R1(config)# Next, we verify the encrypted enable password using the show run command. R1(config)#do show run …
Command IP Subnet-Zero Use This command allows you to use the zero subnet for your IP addressing. This command is enabled by default on all devices. Syntax Router(config)#ip subnet-zero Example In the below example, we will display the configured DHCP information on R3. R3(config)#no ip subnet-zero R3(config)#int fa0/0 …
Command router Use The router command allows you to enable a routing process. Syntax Router#(config)#router Optional Switches -bgp -eigrp -isis -iso-igrp -mobile -odr -ospf -rip Border Gateway Protocol (BGP) Enhanced Interior Gateway Routing Protocol (EIGRP) ISO IS-IS IGRP for OSI networks Mobile routes On Demand stub Routes Open …
Command Do Use Allows you to access privilege level commands while in configuration modes. Syntax Router(config)#do <command> Example In the below example, the router’s IP information is verified while configuring OSPF R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router ospf 1 R2(config-router)#do sh ip …
Command Clock Timezone Use Sets the timezone of the router. Syntax Router(configure)# clock timezone <WORD> Example In this example the timezone of the router is set using the clock timezone command. R1(config)#clock timezone mtn -7 R1(config)# *Mar 1 00:36:23.155: %SYS-6-CLOCKUPDATE: System clock has been updated from 00:36:23 UTC …
Command No Use Negates a command. Syntax Router(configure)# no <command> Example In this example the no shut command is used to negate the shut command to set the status of fa0/0 to up on R1. R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int fa0/0 …
Command IP dhcp excluded-address Use This command prevents IP addresses from being assigned by the router’s DHCP server. This is used to prevent IP conflicts with statically assigned servers and routers. Syntax Router(config)#ip dhcp excluded-address <low IP> <high IP> Example In the below example we will configure R2 …