0% found this document useful (0 votes)
73 views4 pages

Step by Step ConfigurationCCNA2ptsba

Download as doc, pdf, or txt
Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1/ 4

Step 1 Connect The device

Step 2 Configure the device basic


Router>enable Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname Router1 Router1(config)#line console 0 Router1(config-line)#password cisco Router1(config-line)#login Router1(config-line)#exit Router1(config)#enable secret class

Press RETURN to get started!

Router1(config)# line vty 0 4


Router1(config-line)# password cisco Router1(config-line)#login Router1(config-line)#exit Router1(config)# banner motd "Authorized access only!" Router1(config)#

Router1(config)#banner motd "Authorized Access Only"

Step 3 Design and Configure IP Addressing

A.

Configure Router Addressing

Router1(config)#interface serial0/0/0 Router1(config-if)#ip address 172.16.100.30 255.255.255.240 Router1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to down Router1(config-if)#exit Router1(config)#interface fastethernet0/0 Router1(config-if)#ip address 172.16.100.33 255.255.255.240 Router1(config-if)#no shutdown Router1(config-if)#

B. Configure Switch1 Addressing

Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface vlan1 Switch(config-if)#ip address 172.16.100.34 255.255.255.240 Switch(config-if)#no shutdown Switch(config-if)# %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up Switch(config)#ip default-gateway 172.16.100.33

Step 4 Configure DHCP for the Router1 LAN


Router1(config)#ip dhcp pool Router1_LAN Router1(dhcp-config)#network 172.16.100.32 255.255.255.240 Router1(dhcp-config)#dns-server 64.100.0.5 Router1(config)#ip route 10.255.255.0 255.255.255.0 172.16.100.2 Router1(dhcp-config)#default-router 172.16.100.33 Router1(config)#ip route 172.16.100.0 255.255.255.240 172.16.100.17 Router1(dhcp-config)#exit Router1(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0 Router1(config)#ip dhcp excluded-address 172.16.100.33 172.16.100.35 Router1(config)#router rip Router1(config-router)#version 2 Router1(config-router)#network 172.16.100.32 Router1(config-router)#network 172.16.100.16 Step 5 Configure and verify port security Router1(config-router)#exit Switch(config)#int fa0/2 Router1(config)# Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security Router2(config)#ip route 10.255.255.0 255.255.255.240 172.16.100.2 Switch(config-if)#switchport port-security max 2 Router2(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0 Switch(config-if)#switchport port-security mac-address stick Router2(config)#router rip Switch(config-if)#exit Router2(config-router)#version 2 Router2(config-router)#network 172.16.100.0 Router2(config-router)#network 172.16.100.16 Router2(config-router)#network 128.107.0.4 Step 6: Configure and Verify Routing. Router2(config-router)#exit Router2(config)#

Router1(config)#int s0/0/0 Router1(config-if)#encapsulation ppp %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down Router1(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

Router2(config)#int s0/0/1 Router2(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to down capsulation ppp Router2(config-if)#encapsulation ppp

Step 7: Configure and Verify WAN Encapsulation. Router2(config-if)#


%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up Router2(config)#int s0/0/0 Router2(config-if)#encapsulation ppp %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down

You might also like