Category: CCNA Study Guide
Command Clock Rate Use This command is used to set the clock rate on serial links. While you can configure the clock rate on both ends of the serial link, the router will only accept the command on the DCE end. Note: Clock rate sets how many bits …
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 …
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 …
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 …
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 …
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 …
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 …
Command IP RIP Send Use This command is used tell RIP what version to sends its updates in for a specified interface. Can be sent in Version 1, Version 2, or both. Useful if you have a legacy host that runs RIP but only supports Version 1. Syntax …
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 …
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 …