Category: CCNA Study Guide

IP OSPF Command on CISCO Router/Switch

Command IP OSPF # Use Enables OSPF on an interface. Syntax Router(config-if)#ip ospf <Number> Example In this example, OSPF is enabled on int fa0/0 on R1. Before doing so, ospf is disabled at the router level on R1. The empty route table is first displayed. R1(config)#no router ospf …

IP Directed-Broadcast Command on CISCO Router/Switch

Command IP Directed-Broadcast Use Enables fowarding of directed broadcasts. When this is turned on for an interface, the interface will respond to broadcast messages that are sent to its subnet. Syntax Router(config-if)#ip directed-broadcast Example In this example, IP directed-broadcasts is enabled on in fa0/0 on R2. A broadcast …

Keepalive Command on CISCO Router/Switch

Command Keepalive Use This command changes how often an interface sends a keepalive to prove to its directly connected neighbor it is still up/up. The default is 10 seconds Syntax Router(config-if)#keepalive <seconds> Example In this example, we will lower Fa0/0’s keepalive to 5 seconds . R1(config)#int fa0/0 R1(config-if)#keepalive …

Duplex Command on CISCO Router/Switch

Command Duplex Use This command is used to set the duplex mode on an interface. Syntax Router(config-if)#duplex <auto or full or half> Option <auto> Automatically determine the duplex mode by checking with the neighbor <full> Sets full duplex mode <half> Sets half duplex mode Example In this example, …

Encapsulation Command on CISCO Router/Switch

Command Encapsulation Use This command sets the encapsulation type for an interface. Syntax Router(config-if)#encapsultion <mode> Serial Options <hdlc> This is the default encapsulation, it provides a simple serial link. <ppp> This enables ppp on the link, it provides link authentication and many other features. <frame-relay> This enables frame-relay …

PPP Authentication PAP Command on CISCO Router/Switch

Command PPP Authentication PAP Use This command is used to authenticate a link using PAP. Syntax Router(config-if)#ppp authentication pap Example In this example, R1’s S1/1 interface is configured to authenticate R3 using PAP. R1(config)#int s1/1 R1(config-if)#encapsulation ppp R1(config-if)#ppp authentication pap R1(config-if)# *Mar 2 01:42:38.237: %LINEPROTO-5-UPDOWN: Line protocol on …

IP NAT Outside Command on CISCO Router/Switch

Command IP NAT Outside Use This command is used to set an outside interface for NAT translation. Syntax Router(config-if)#ip nat outside Example In this example, we will set R2’s Fa1/0 to be an outside 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-Relay Map IP Command on CISCO Router/Switch

Command Frame-Relay Map IP Use This command statically configures frame-relay DLCI information Syntax Router(config-if)#frame-relay map ip <ip address> <dlci> broadcast Options <broadcast> Allows the mapping to forward multicast and broadcast across the PVC. Example In this example, we will configure R4 to use frame-relay as per the diagram …

PPP PAP Sent-Username Command on CISCO Router/Switch

Command PPP PAP Sent-Username Use This command is used to send a username and password to a remote PAP server for authentication. Syntax Router(config-if)#ppp pap sent-username <username> password <password> Example In this example, R1’s S1/1 interface is configured to authenticate R3 using PAP. R1(config)#int s1/1 R1(config-if)#encapsulation ppp R1(config-if)#ppp …