Cisco III Midterm Study Guide

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Cisco III Mid-Term Study Guide

Perform Basic Configuration on Routers and Switch. Router(config)#Hostname R1 R1(config)#line con 0 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#logging synchronous R1(config-line)#line vty 0 4 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)#enable password cisco R1(config)#no ip domain lookup R1(config)#banner motd #Authorized Users Only# R1(config)#int fa0/0 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#description CNS Mid-Term Lab R1(config)#int s0/0/0 R1(config-if)#ip address 192.168.2.1 255.255.255.0 R1(config-if)#description CNS Mid-Term Lab R1(config-if)#clock rate 64000 R1(config-if)#no shutdown configure hosts ip address and default gateways -same for R2 and switch passwords ROUTER RIP (Perform on both R1 & R2): R2(config)#router rip R2(config-router)#version 2 R2(config-router)#network 192.168.1.0 R2(config-router)#network 192.168.2.0 R2(config-router)#network 192.168.3.0 R2(config-router)#exit SWITCH Switch(config)#hostname Switch1 Switch1(config)#int vlan 1 Switch1(config-if)#description CNS Mid-Term Lab

Switch1(config-if)#ip address 192.168.1.5 255.255.255.0 Switch1(config-if)#no shutdown exit Switch1(config)#ip default-gateway 192.168.1.1 Switch1(config)#line con 0 Switch1(config-line)#password cisco Switch1(config-line)#login Switch1(config-line)#logging synchronous Switch1(config-line)#line vty 0 15 Switch1(config-line)#password cisco Switch1(config-line)#login Switch1(config-line)#exit Switch1(config)#enable password cisco Switch1(config)#no ip domain lookup Switch1(config)#banner motd #Authorized Users Only# S1(config)#vlan 10 S1(config-vlan)#name CNS1 S1(config-vlan)#exit S1(config)#vlan 20 S1(config-vlan)#name CNS2 S1(config-vlan)#exit S1(config)#vlan 30 S1(config-vlan)#name CNS3 S1(config-vlan)#exit Switch1(config)#int fa0/5 Switch1(config-if)#switchport mode access Switch1(config-if)#switchport access vlan 10 Switch1(config-if)#exit Switch1(config)#int fa0/6 Switch1(config-if)#switchport mode access Switch1(config-if)#switchport access vlan 10 Switch1(config-if)#exit Switch1(config)#int fa0/7 Switch1(config-if)#switchport mode access Switch1(config-if)#switchport access vlan 20

Switch1(config-if)#int fa0/8 Switch1(config-if)#switchport mode access Switch1(config-if)#switchport access vlan 20 Switch1(config-if)#exit

You might also like