Category: CCNA Study Guide

IP Address DHCP Command on CISCO Router/Switch

Command IP Address DHCP Use This command is used to set an interface’s ip address via DHCP. Syntax Router(config)#ip address dhcp Example In this example, we will set 2611XM’s Fa0/0 interface to have its IP resolved by DHCP. First, lets check the current address. 2611XM(config)#do show ip int …

IP Nat Inside Command on CISCO Router/Switch

Command IP Nat Inside Use This command is used to set an inside interface for NAT translation. Syntax Router(config-if)#ip nat inside Example In this example, we will set R2’s Fa0/0 to be an inside NAT interface. R2(config)#access-list 10 permit 10.1.1.0 0.0.0.255 R2(config)#ip nat pool REACH 10.2.2.5 10.2.2.10 netmask …

Frame Interface-dlci Command on CISCO Router/Switch

Command Frame Interface-dlci Use This command sets frame-relay to only use a single DLCI. This is used for point-to-point links Syntax Router(config-if)#frame-relay interface-dlci <dlci> Example In this example, we will configure R1 to use an interface dlci of 104. R1(config)#int s1/0 R1(config-if)#frame interface-dlci 104 R1(config-fr-dlci)#exit R1(config-if)#do ping 10.4.4.4 …

PPP CHAP Password Command on CISCO Router/Switch

Command PPP CHAP Password Use This command is used to send a password to a remote CHAP server for authentication. Syntax Router(config-if)#ppp chap password <password> Example In this example, R1’s S1/1 interface is configured to authenticate R3 using CHAP. R1(config)#int s1/1 R1(config-if)#encapsulation ppp R1(config-if)#ppp authentication chap R1(config-if)# *Mar …

Encapsulation PPP Command on CISCO Router/Switch

Command Encapsulation PPP Use This command enables PPP encapsulation and functionality on a serial interface. Syntax Router(config-if)#encapsulation ppp Example   In this example, we will configure R1 and R3’s S1/1 interface as per the diagram using PPP. R1(config-if)#int s1/1 R1(config-if)#encapsulation ppp R1(config-if)#clock rate 64000 R1(config-if)#ip add 192.168.13.1 255.255.255.252 …

Mac-Address Command on CISCO Router/Switch

Command Mac-Address Use This command is used to logically change the mac address of an interface. Syntax Router(config-if)#mac-address AAAA.AAAA.AAAA Example In this example, we will change 2611XM’s Fa0/0 to have a mac address of AAAA.AAAA.AAAA. 2611XM(config)#int fa0/0 2611XM(config-if)#mac-address AAAA.AAAA.AAAA 2611XM(config-if)#do show interface fa0/0 FastEthernet0/0 is up, line protocol …

IP OSPF Hello Interval Command on CISCO Router/Switch

Command IP OSPF Hello Interval Use Sets the hello interval on an interface. Syntax Router(config-if)#ip ospf hello-interval <seconds> Example In this example, the hello interval is modified for int fa0/0 on R1. Here’s the ospf information for fa0/0 before the change. Notice the hello interval set to the …

IP OSPF Network Nonbroadcast Command on CISCO Router/Switch

Command IP OSPF Network Nonbroadcast Use This command manually sets the OSPF network type to nonbroadcast. This is a default for frame-relay and ATM links. Neighbor statements are required to form adjacency. The Nonbroadcast network type has a DR election. Syntax Router(config-if)#ip ospf network nonbroadcast Example In this …