

DLS1#show run
Building configuration...

Current configuration : 5695 bytes
!
version 12.2(37)SE1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname DLS1
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
ip dhcp excluded-address 10.10.10.1 10.10.10.10
!
ip dhcp pool VLAN_10_STUDENTS
 network 10.10.10.0 255.255.255.0
 default-router 10.10.10.1
 dns-server 200.200.200.1
!
!
ip routing
!
!
!
!
username sbastudent privilege 15 password 0 cisco123
!
!
!
!
!
!
!
!
!
!
ip domain-name PRACTICAL2
!
!
vtp domain LAB_TEST
vtp mode transparent
!
spanning-tree mode rapid-pvst
spanning-tree portfast default
spanning-tree vlan 10,20,199 priority 24576
spanning-tree vlan 30,777,900 priority 28672
!
!
!
!
!
!
vlan 10
 name student
!
vlan 20
 name voice
!
vlan 30
 name faculty
!
vlan 199
 name management
!
vlan 777
 name native_vlan
!
vlan 900
 name parking_lot
!
interface Loopback1
 ip address 200.200.200.1 255.255.255.0
!
interface Port-channel1
!
interface Port-channel2
!
interface Port-channel3
 no switchport
 ip address 10.10.12.1 255.255.255.252
!
interface FastEthernet0/1
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/2
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/3
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/4
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/5
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/6
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/7
 switchport access vlan 900
 switchport trunk native vlan 777
 switchport trunk allowed vlan 10,20,30,199,777,999
 switchport trunk encapsulation dot1q
 switchport mode access
 switchport nonegotiate
 channel-group 1 mode auto
!
interface FastEthernet0/8
 switchport access vlan 900
 switchport trunk native vlan 777
 switchport trunk allowed vlan 10,20,30,199,777,999
 switchport trunk encapsulation dot1q
 switchport mode access
 switchport nonegotiate
 channel-group 1 mode auto
!
interface FastEthernet0/9
 switchport trunk native vlan 777
 switchport trunk allowed vlan 10,20,30,199,777,999
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
 channel-group 2 mode auto
!
interface FastEthernet0/10
 switchport trunk native vlan 777
 switchport trunk allowed vlan 10,20,30,199,777,999
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
 channel-group 2 mode auto
!
interface FastEthernet0/11
 no switchport
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/12
 no switchport
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/13
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/14
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/15
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/16
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/17
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/18
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/19
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/20
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/21
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/22
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/23
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface FastEthernet0/24
 switchport access vlan 900
 switchport mode access
 switchport nonegotiate
!
interface GigabitEthernet0/1
 shutdown
!
interface GigabitEthernet0/2
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan10
 mac-address 00e0.f7cd.8801
 ip address 10.10.10.2 255.255.255.0
 standby version 2
 standby 10 ip 10.10.10.1
 standby 10 priority 120
 standby 10 preempt
!
interface Vlan20
 mac-address 00e0.f7cd.8802
 ip address 10.10.20.2 255.255.255.0
 standby version 2
 standby 20 ip 10.10.20.1
 standby 20 priority 120
 standby 20 preempt
!
interface Vlan30
 mac-address 00e0.f7cd.8803
 ip address 10.10.30.2 255.255.255.0
 standby version 2
 standby 30 ip 10.10.30.1
 standby 30 preempt
!
interface Vlan199
 mac-address 00e0.f7cd.8804
 ip address 10.10.199.2 255.255.255.0
 standby version 2
 standby 199 ip 10.10.199.1
 standby 199 preempt
!
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 passive-interface default
 no passive-interface FastEthernet0/11
 no passive-interface FastEthernet0/12
 network 10.10.10.0 0.0.0.255 area 0
 network 10.10.20.0 0.0.0.255 area 0
 network 10.10.199.0 0.0.0.255 area 0
 network 10.10.30.0 0.0.0.255 area 0
 network 10.10.12.0 0.0.0.3 area 0
 network 200.200.200.0 0.0.0.255 area 0
 network 10.10.0.0 0.0.255.255 area 0
 default-information originate
!
ip classless
ip route 0.0.0.0 0.0.0.0 Loopback1 
!
ip flow-export version 9
!
!
access-list 1 permit 10.10.199.0 0.0.0.255
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 access-class 1 in
 logging synchronous
 login local
 transport input ssh
!
!
!
ntp authentication-key 1 md5 08321F4D1C0B0039263B 7
ntp trusted-key 1
ntp server 10.10.199.2 key 1
ntp master 15
ntp update-calendar
!
end

