Configuring Interfaces for the CCENT Certification Exam

Part of the CCENT Certification All-In-One For Dummies Cheat Sheet

The CCENT certification exam requires you to know how to configure basic settings on the router, such as the hostname and the interfaces. The following commands review those configuration tasks.

The following commands are used to configure the name of the router with the hostname command. The name of the router appears in the prompt once it is set. Notice that the hostname is changed in global configuration mode.

Router>enable
Router#config term
Router(config)#hostname R2

The following commands are used to configure the FastEthernet port on the router. Notice that the interface is referenced with the slot/port syntax on the interface command. The IP address is set and then the description of the interface, the speed and duplex mode are then set, and finally the port is enabled with the no shutdown command.

R2(config)#interface f0/0
R2(config-if)#ip address 25.0.0.1 255.0.0.0
R2(config-if)#description Private LAN
R2(config-if)#speed 100
R2(config-if)#duplex full
R2(config-if)#no shutdown

The following commands are used to configure the Serial port on the router. Notice that the interface is referenced with the slot/port syntax on the interface command. The IP address is set and then the encapsulation protocol (PPP or HDLC) is set. Because this is the DCE end of a back-to-back serial cable, the clock rate needs to be set, otherwise the service provider sets that. Finally, the interface is enabled with the no shutdown command.

R1>enable
R1#config term
R1(config)#interface serial 0/0
R1(config-if)#ip address 24.0.0.1 255.0.0.0
R1(config-if)#encapsulation hdlc
R1(config-if)#clock rate 64000  (only set for DCE device)
R1(config-if)#no shutdown
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement

Inside Dummies.com