12.07.2015 Views

31 Days Before Your CCNA Exam

31 Days Before Your CCNA Exam

31 Days Before Your CCNA Exam

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

168 <strong>31</strong> <strong>Days</strong> <strong>Before</strong> <strong>Your</strong> <strong>CCNA</strong> <strong>Exam</strong>Figure 16-1Basic Router Configuration Topology192.168.1.0/24192.168.2.0/24192.168.3.0/24PC1Fa0/0R1S0/0/0DCES0/0/0R2Fa0/0PC2DeviceR1R2PC1PC2InterfaceFa0/0S0/0/0Fa0/0S0/0/0N/AN/AIP Address192.168.1.1192.168.2.1192.168.3.1192.168.2.2192.168.1.10192.168.3.10Subnet Mask255.255.255.0255.255.255.0255.255.255.0255.255.255.0255.255.255.0255.255.255.0Default GatewayN/AN/AN/AN/A192.168.1.1192.168.3.1Table 16-1 shows the basic router configuration command syntax used to configure R1 in the followingexample.Table 16-1Basic Router Configuration Command SyntaxNaming the routerSetting passwordsRouter(config)#hostname nameRouter(config)#enable secret passwordRouter(config)#line console 0Router(config-line)#password passwordRouter(config-line)#loginRouter(config)#line vty 0 4Router(config-line)#password passwordRouter(config-line)#loginConfiguring a message-of-the-day banner Router(config)#banner motd # message #Configuring an interfaceRouter(config)#interface type numberRouter(config-if)#ip address address maskRouter(config-if)#description descriptionRouter(config-if)#no shutdownSaving changes on a router<strong>Exam</strong>ining the output of show commandsRouter#copy running-config startup-configRouter#show running-configRouter#show ip routeRouter#show ip interface briefRouter#show interfacesLet’s walk through a basic configuration for R1. First, we enter privileged EXEC mode and thenwe enter global configuration mode:Router>enableRouter#config t

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!