Access-list (standard) Command on CISCO Router/Switch

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 …

Enable Secret Command on CISCO Router/Switch

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 …

IP Subnet-Zero Command on CISCO Router/Switch

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 …

Router Command on CISCO Router/Switch

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 …

Do Command on CISCO Router/Switch

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 …

Clock Timezone Command on CISCO Router/Switch

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 …

No Command on CISCO Router/Switch

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 …

IP dhcp excluded-address Command on CISCO Router/Switch

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 …