CCNA 2 v7 Lab 4.4.9 Starting Configurations

From ITCwiki
Revision as of 21:26, 22 January 2020 by BenFranske (talk | contribs)
Jump to navigation Jump to search

Preconfiguration scripts for all the devices are documented below. Cut and paste or otherwise use these to pre-configure the equipment before beginning the lab.

Router R1

enable configure terminal hostname R1 no ip domain lookup enable secret class line con 0

password cisco
login
logging synch

line vty 0 4

password cisco
login

service password-encryption banner motd $ Authorized Users Only! $ interface g0/0/1

no shut

interface g0/0/1.3

encap dot1q 3
ip add 10.3.0.1 255.255.255.0

interface g0/0/1.4

encap dot1q 4 native
ip address 10.4.0.1 255.255.255.0

interface g0/0/1.8 ! encap dot1q 8 native

encap dot1q 8

interface g0/0/1.13

encap dot1q 13
ip address 10.13.0.1 255.255.255.0

end

Switch S1

enable config terminal hostname S1 no ip domain-lookup enable secret class line con 0

password cisco
login
logging synch

line vty 0 15

password cisco
login

service password-encryption banner motd $ Authorized Users Only! $ vlan 3

name Management

vlan 4

name Operations

vlan 7

name ParkingLot

vlan 8

name Native

!vlan 13 ! name Maintenance interface vlan 3

ip address 10.3.0.11 255.255.255.0
no shut

exit ip default-gateway 10.3.0.1 interface range f0/2-4, f0/7-24, G0/1-2

switchport mode access
switchport access vlan 7
shutdown

interface f0/1

switchport mode trunk

! switchport trunk native vlan 8 ! switchport trunk allowed vlan add 3

switchport trunk allowed vlan 4,8,13
no shutdown

interface f0/6

switchport mode access
switchport access vlan 4
no shutdown

interface f0/5

switchport mode access

! default interface fa0/5 ! switchport mode trunk

switchport trunk native vlan 8

! switchport trunk allowed vlan 3,4,8,13

switchport access vlan 3
no shut

end

Switch S2

enable config terminal hostname S2 no ip domain-lookup enable secret class line con 0

password cisco
login
logging synch

line vty 0 15

password cisco
login

service password-encryption banner motd $ Authorized Users Only! $ vlan 3

name Management

vlan 4

name Operations

vlan 7

name ParkingLot

vlan 8

name Native

vlan 13

name Maintenance

interface vlan 3

ip address 10.3.0.12 255.255.255.0
no shut

interface range f0/2-17, f0/19-24, G0/1-2

switchport mode access
switchport access vlan 7
shutdown

interface f0/18

switchport mode access
switchport access vlan 13

interface f0/1

switchport mode trunk
switchport trunk native vlan 8
switchport trunk allowed vlan 4,8

! switchport trunk allowed vlan add 3,13 ip default-gateway 10.3.0.1 end