CCNPv7 SWITCH - SBA Version A - INSTRUCTOR
CCNPv7 SWITCH - SBA Version A - INSTRUCTOR
CCNPv7 SWITCH - SBA Version A - INSTRUCTOR
Skills-Based Assessment
INSTRUCTOR VERSION
Topology
Objectives
Part 1: Build the physical network topology (optional).
Part 2: Configure the switches in the topology according to the diagram and the specifications provided.
Part 3: Test the network for connectivity and the configured options.
Exam Overview
This skills-based assessment (SBA) is the final practical exam for Academy training for the course CCNPv7
SWITCH. In Part 1, you build the physical network. In part 2, you configure various features such as trunking,
EtherChannel, VTP, VLANs, SVIs, routed links, and HSRP. In Part 3, you create a Tcl script to test IP
connectivity and use show commands to verify configured options. This exam combines device configuration
and troubleshooting.
Note: This lab uses Cisco Catalyst 3560 and 2960 switches running Cisco IOS 15.0(2)SE6 IP Services and
LAN Base images, respectively. The 3560 and 2960 switches are configured with the SDM templates “dual-
ipv4-and-ipv6 routing” and “lanbase-routing”, respectively. Depending on the switch model and Cisco IOS
Software version, the commands available and output produced might vary from what is shown in this lab.
Catalyst 3650 switches (running any Cisco IOS XE release) and Catalyst 2960-Plus switches (running any
comparable Cisco IOS image) can be used in place of the Catalyst 3560 switches and the Catalyst 2960
switches..
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 49
CCNPv7 SWITCH Skills Based Assessment
Required Resources
2 switches (Cisco 2960 with the Cisco IOS Release 15.0(2)SE6 C2960-LANBASEK9-M image or
comparable)
2 switches (Cisco 3560 with the Cisco IOS Release 15.0(2)SE6 C3560-IPSERVICESK9-M image or
comparable)
Ethernet and console cables
4 PCs with Windows OS
o PC C (Connected to DLS1) additionally requires the following software:
ManageEngine MibBrowser
TFTPD32
WinRadius
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 49
CCNPv7 SWITCH Skills Based Assessment
m. All unused interfaces will be assigned to the parking lot VLAN and shut down.
n. Configure SVIs on DLS1 and DLS2 in support of all of the VLANs and inter-VLAN routing. Use the
following table for subnet assignments:
DLS1 will always use the .252 address and DLS2 will always use the .253 address for IPv4 addresses. VLAN
567 on DLS2 will NOT be supported by routing.
Use 10.34.56.101 as the management address on ALS1 and 10.34.56.102 on ALS2.
o. Configure an interface Loopback 0 on both DLS1 and DLS2. This interface will be addressed 1.1.1.1/32
on both switches.
p. Configure HSRP with interface tracking for VLANs 12, 123, 234, 1010, and 1111
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 49
CCNPv7 SWITCH Skills Based Assessment
tclsh
foreach address {
10.12.12.2
10.0.12.253
10.0.123.253
10.0.234.253
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 49
CCNPv7 SWITCH Skills Based Assessment
10.10.10.253
10.11.11.253
10.34.56.253
10.34.56.101
10.34.56.102
10.34.56.50
10.0.12.254
10.0.123.254
10.0.234.254
10.10.10.254
10.11.11.254
10.34.56.254
} {
ping $address
}
From DLS2:
tclsh
foreach address {
10.12.12.1
10.0.12.252
10.0.123.252
10.0.234.252
10.10.10.252
10.11.11.252
10.34.56.252
10.34.56.101
10.34.56.102
10.34.56.50
10.0.12.254
10.0.123.254
10.0.234.254
10.10.10.254
10.11.11.254
10.34.56.254
} {
ping $address
}
b. What is the show command used to verify that the correct VLANs exist on all switches and contain the
correct ports? show vlan brief
DLS1#show vlan brief
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 49
CCNPv7 SWITCH Skills Based Assessment
12 EXECUTIVES active
123 CUBES active
234 GUEST active
434 PARKING suspended Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/13, Fa0/14, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/2
800 NATIVE active
1002 fddi-default act/unsup
1003 trcrf-default act/unsup
1004 fddinet-default act/unsup
1005 trbrf-default act/unsup
1010 VOICE active
1111 VIDEONET active Fa0/15
3456 MANAGEMENT active Fa0/6
DLS1#
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 49
CCNPv7 SWITCH Skills Based Assessment
c. What is the show command used to verify that the EtherChannel between DLS1 and ALS1 is configured
correctly? (answers may vary around show etherchannel) show etherchannel summary
DLS1#show etherchannel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 49
CCNPv7 SWITCH Skills Based Assessment
DLS1#
d. What is the show command used to verify the spanning-tree configuration and root bridge (DLS1 or
DLS2) for each VLAN? (answers may vary around show spanning-tree) show spanning-tree root
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 8 of 49
CCNPv7 SWITCH Skills Based Assessment
f. Verify that NTP is working. DLS2, ALS1 and ALS2 should have NTP sync with DLS1.
DLS2#show ntp status
Clock is synchronized, stratum 5, reference is 10.34.56.252
g. Verify that AAA is working. From HOST C, telnet to each switch and login using the studentaaa account.
Ensure the RADIUS server is running and operational, and telnet to each switch from Host C should be
successful.
h. Verify that SNMPv3 is working.
1) From HOST C, use ManageEngine MibBrowser to do a GET of the OID .1.3.6.1.2.1.2.2 (the interface
table) from each switch.
2) Run Trap Viewer and enter then exit configuration mode on each switch. You should see traps
received in the viewer window.
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 9 of 49
CCNPv7 SWITCH Skills Based Assessment
i. Verify that HSRP is working. From HOST A, start a continuous ping to 1.1.1.1. Then go to DLS2 and
shutdown interface loopback 0. When this occurs, DLS2’s interface tracking should fail, causing it to
demote itself from being the virtual gateway for VLAN 123. DLS1 will take over, and the still-running ping
should show only minor packet loss.
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 10 of 49
CCNPv7 SWITCH Skills Based Assessment
DLS1
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$g7F8$JIwayUW08dphq/cbR7/NY0
!
username LASTDITCH password 0 321ocsic
aaa new-model
!
aaa authentication login CENTRAL-AUTH group radius local
!
aaa session-id common
clock timezone CDT -5 0
system mtu routing 1500
ip routing
!
!
ip dhcp pool EXECUTIVES-POOL
network 10.0.12.0 255.255.255.0
default-router 10.0.12.254
dns-server 1.1.1.1
!
ip dhcp pool CUBES-POOL
network 10.0.123.0 255.255.255.0
default-router 10.0.123.254
dns-server 1.1.1.1
!
ip dhcp pool GUEST-POOL
network 10.0.234.0 255.255.255.0
default-router 10.0.234.254
dns-server 1.1.1.1
!
ipv6 unicast-routing
!
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 1,12,434,800,1010,1111,3456 priority 24576
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 11 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 12 of 49
CCNPv7 SWITCH Skills Based Assessment
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/6
switchport access vlan 3456
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/7
description member of po1 to ALS1
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 1 mode active
!
interface FastEthernet0/8
description member of po1 to ALS1
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 1 mode active
!
interface FastEthernet0/9
description member of po4 to ALS2
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 4 mode desirable
!
interface FastEthernet0/10
description member of po4 to ALS2
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 4 mode desirable
!
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 13 of 49
CCNPv7 SWITCH Skills Based Assessment
interface FastEthernet0/11
no switchport
no ip address
channel-group 12 mode active
!
interface FastEthernet0/12
no switchport
no ip address
channel-group 12 mode active
!
interface FastEthernet0/13
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/14
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/15
switchport access vlan 1111
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/16
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/17
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/18
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/19
switchport access vlan 434
switchport mode access
shutdown
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 14 of 49
CCNPv7 SWITCH Skills Based Assessment
spanning-tree portfast
!
interface FastEthernet0/20
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/21
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/22
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/23
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/24
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface GigabitEthernet0/2
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface Vlan1
no ip address
shutdown
!
interface Vlan12
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 15 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 16 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 17 of 49
CCNPv7 SWITCH Skills Based Assessment
DLS2
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$STz1$voB57usiW/YyJn7SLSSc70
!
username LASTDITCH password 0 321ocsic
aaa new-model
!
!
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 18 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 19 of 49
CCNPv7 SWITCH Skills Based Assessment
!
interface Port-channel2
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
!
interface Port-channel3
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
!
interface Port-channel12
no switchport
ip address 10.12.12.2 255.255.255.252
!
interface FastEthernet0/1
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/2
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/4
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 20 of 49
CCNPv7 SWITCH Skills Based Assessment
interface FastEthernet0/6
switchport access vlan 12
switchport mode access
switchport voice vlan 1010
spanning-tree portfast
!
interface FastEthernet0/7
description member of po1 to ALS2
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 2 mode active
!
interface FastEthernet0/8
description member of po1 to ALS2
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 2 mode active
!
interface FastEthernet0/9
description member of po3 to ALS1
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 3 mode desirable
!
interface FastEthernet0/10
description member of po3 to ALS1
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 3 mode desirable
!
interface FastEthernet0/11
no switchport
no ip address
channel-group 12 mode active
!
interface FastEthernet0/12
no switchport
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 21 of 49
CCNPv7 SWITCH Skills Based Assessment
no ip address
channel-group 12 mode active
!
interface FastEthernet0/13
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/14
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/15
switchport access vlan 1111
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/16
switchport access vlan 567
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/17
switchport access vlan 567
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/18
switchport access vlan 567
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/19
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/20
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/21
switchport access vlan 434
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 22 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 23 of 49
CCNPv7 SWITCH Skills Based Assessment
standby 2 preempt
standby 2 track 1 decrement 30
!
interface Vlan234
ip address 10.0.234.253 255.255.255.0
standby version 2
standby 2 ip 10.0.234.254
standby 2 priority 110
standby 2 preempt
standby 2 track 1 decrement 30
!
interface Vlan1010
ip address 10.10.10.253 255.255.255.0
standby version 2
standby 1 ip 10.10.10.254
standby 1 preempt
!
interface Vlan1111
ip address 10.11.11.253 255.255.255.0
standby version 2
standby 1 ip 10.11.11.254
standby 1 preempt
!
interface Vlan3456
ip address 10.34.56.253 255.255.255.0
standby version 2
standby 1 ip 10.34.56.254
standby 1 preempt
!
ip http server
ip http secure-server
!
snmp-server group switch-sba v3 priv
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps flowmon
snmp-server enable traps transceiver all
snmp-server enable traps call-home message-send-fail server-fail
snmp-server enable traps tty
snmp-server enable traps eigrp
snmp-server enable traps ospf state-change
snmp-server enable traps ospf errors
snmp-server enable traps ospf retransmit
snmp-server enable traps ospf lsa
snmp-server enable traps ospf cisco-specific state-change nssa-trans-change
snmp-server enable traps ospf cisco-specific state-change shamlink interface
snmp-server enable traps ospf cisco-specific state-change shamlink neighbor
snmp-server enable traps ospf cisco-specific errors
snmp-server enable traps ospf cisco-specific retransmit
snmp-server enable traps ospf cisco-specific lsa
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 24 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 25 of 49
CCNPv7 SWITCH Skills Based Assessment
ALS1
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ALS1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$VwMl$v0PIRGNyxK2mzGdov1V9e/
!
username LASTDITCH password 0 321ocsic
aaa new-model
!
aaa authentication login CENTRAL-AUTH group radius local
!
aaa session-id common
clock timezone CDT -5 0
system mtu routing 1500
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface Port-channel1
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 26 of 49
CCNPv7 SWITCH Skills Based Assessment
switchport nonegotiate
!
interface Port-channel3
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet0/1
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/2
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/4
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/6
switchport access vlan 123
switchport mode access
switchport voice vlan 1010
spanning-tree portfast
!
interface FastEthernet0/7
description member of po1 to DLS1
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 27 of 49
CCNPv7 SWITCH Skills Based Assessment
switchport nonegotiate
channel-group 1 mode active
!
interface FastEthernet0/8
description member of po1 to DLS1
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 1 mode active
!
interface FastEthernet0/9
description member of po 3 to DLS2
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 3 mode desirable
!
interface FastEthernet0/10
description member of po 3 to DLS2
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
channel-group 3 mode desirable
!
interface FastEthernet0/11
shutdown
!
interface FastEthernet0/12
shutdown
!
interface FastEthernet0/13
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/14
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/15
switchport access vlan 1111
switchport mode access
spanning-tree portfast
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 28 of 49
CCNPv7 SWITCH Skills Based Assessment
!
interface FastEthernet0/16
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/17
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/18
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/19
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/20
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/21
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/22
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/23
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 29 of 49
CCNPv7 SWITCH Skills Based Assessment
interface FastEthernet0/24
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface GigabitEthernet0/2
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface Vlan1
no ip address
!
interface Vlan3456
ip address 10.34.56.101 255.255.255.0
!
ip default-gateway 10.34.56.254
ip http server
ip http secure-server
!
snmp-server group switch-sba v3 priv
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps transceiver all
snmp-server enable traps call-home message-send-fail server-fail
snmp-server enable traps tty
snmp-server enable traps cluster
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps port-security
snmp-server enable traps auth-framework sec-violation
snmp-server enable traps dot1x auth-fail-vlan guest-vlan no-auth-fail-vlan no-guest-
vlan
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps power-ethernet police
snmp-server enable traps fru-ctrl
snmp-server enable traps config-copy
snmp-server enable traps config
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 30 of 49
CCNPv7 SWITCH Skills Based Assessment
ALS2
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ALS2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$RfCM$nrsQv/Oo05Kjhf66QDIse.
!
username LASTDITCH password 0 321ocsic
aaa new-model
!
aaa authentication login CENTRAL-AUTH group radius local
!
aaa session-id common
clock timezone CDT -5 0
system mtu routing 1500
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 31 of 49
CCNPv7 SWITCH Skills Based Assessment
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface Port-channel2
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
!
interface Port-channel4
switchport trunk native vlan 800
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet0/1
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/2
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/4
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/6
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 32 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 33 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 34 of 49
CCNPv7 SWITCH Skills Based Assessment
shutdown
spanning-tree portfast
!
interface FastEthernet0/23
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface FastEthernet0/24
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface GigabitEthernet0/2
switchport access vlan 434
switchport mode access
shutdown
spanning-tree portfast
!
interface Vlan1
no ip address
!
interface Vlan3456
ip address 10.34.56.102 255.255.255.0
!
ip default-gateway 10.34.56.254
ip http server
ip http secure-server
!
snmp-server group switch-sba v3 priv
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps transceiver all
snmp-server enable traps call-home message-send-fail server-fail
snmp-server enable traps tty
snmp-server enable traps cluster
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 35 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 36 of 49
CCNPv7 SWITCH Skills Based Assessment
DLS1
en
conf t
hostname DLS1
enable secret class
line vty 0 4
password cisco
login
! this will be over-ridden later by AAA
exit
int ran f0/1-24, g0/1-2
shutdown
exit
int ran f0/11-12
no switchport
channel-group 12 mode active
no shut
exit
interface port-channel 12
ip address 10.12.12.1 255.255.255.252
exit
int ran f0/7-10
switchport trunk encapsulation dot1q
switchport trunk native vlan 800
switchport mode trunk
switchport nonegotiate
no shut
exit
int ran f0/7-8
desc member of po1 to ALS1
channel-group 1 mode active
exit
int ran f0/9-10
desc member of po4 to ALS2
channel-group 4 mode desirable
exit
vtp domain SWITCHSBA
vtp ver 3
vtp password c1sc0abc
end
!
! SET AS PRIMARY FOR VLAN
!
vtp primary vlan
!
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 37 of 49
CCNPv7 SWITCH Skills Based Assessment
!
conf t
vlan 800
name NATIVE
exit
vlan 434
name PARKING
state suspend
exit
vlan 12
name EXECUTIVES
exit
vlan 123
name CUBES
exit
vlan 234
name GUEST
exit
vlan 1010
name VOICE
exit
vlan 1111
name VIDEONET
exit
vlan 3456
name MANAGEMENT
exit
spanning-tree vlan 1,12,434,800,1010,1111,3456 root primary
spanning-tree vlan 123,234 root secondary
interface port-channel 1
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
exit
interface port-channel 4
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
ip routing
ipv6 unicast-routing
int vlan 12
ip address 10.0.12.252 255.255.255.0
no sh
exit
int vlan 123
ip address 10.0.123.252 255.255.255.0
no sh
exit
int vlan 234
ip address 10.0.234.252 255.255.255.0
no sh
exit
int vlan 1010
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 38 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 39 of 49
CCNPv7 SWITCH Skills Based Assessment
stand 2 ip 10.0.234.254
stand 2 preempt
exit
int vlan 1010
stand ver 2
stand 1 ip 10.10.10.254
stand 1 preempt
stand 1 pri 110
standby 1 track loop 0 30
exit
int vlan 1111
stand ver 2
stand 1 ip 10.11.11.254
stand 1 preempt
stand 1 pri 110
standby 1 track loop 0 30
exit
int vlan 3456
stand ver 2
stand 1 ip 10.34.56.254
stand 1 preempt
stand 1 pri 110
standby 1 track loop 0 30
exit
!
!
! HSRP & TRACKING COMMANDS ABOVE
! NTP & CLOCK COMMANDS BELOW
!
do clock set 19:00:00 31 Oct 2014
clock timezone CDT -5
ntp master 4
!
! NTP & CLOCK COMMANDS ABOVE
! COMMANDS FOR AAA BELOW
!
username LASTDITCH password 321ocsic
aaa new-model
radius server RADIUS
address ipv4 10.34.56.50 auth-port 1812 acct-port 1813
key WinRadius
exit
aaa authentication login CENTRAL-AUTH group radius local
line vty 0 4
login authentication CENTRAL-AUTH
exit
! COMMANDS FOR AAA ABOVE
!
! SNMP COMMANDS BELOW
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 40 of 49
CCNPv7 SWITCH Skills Based Assessment
DLS2
en
conf t
hostname DLS2
enable secret class
line vty 0 4
password cisco
login
! this will be over-ridden later by AAA
exit
int ran f0/1-24, g0/1-2
shutdown
exit
int ran f0/11-12
no switchport
channel-group 12 mode active
no shut
exit
interface port-channel 12
ip address 10.12.12.2 255.255.255.252
exit
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 41 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 42 of 49
CCNPv7 SWITCH Skills Based Assessment
exit
interface port-channel 3
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
exit
ip routing
ipv6 unicast-routing
! multicast routing?
int vlan 12
ip address 10.0.12.253 255.255.255.0
no sh
exit
int vlan 123
ip address 10.0.123.253 255.255.255.0
no sh
exit
int vlan 234
ip address 10.0.234.253 255.255.255.0
no sh
exit
int vlan 1010
ip add 10.10.10.253 255.255.255.0
no shut
exit
int vlan 1111
ip add 10.11.11.253 255.255.255.0
no shut
exit
int vlan 3456
ip address 10.34.56.253 255.255.255.0
no shut
exit
int loop 0
ip address 1.1.1.1 255.255.255.255
no shut
exit
!
interface f0/6
switchport host
switchport access vlan 12
switchport voice vlan 1010
no shut
exit
int f0/15
swi host
swi ac v 1111
no sh
exit
int ran f0/16-18
swi host
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 43 of 49
CCNPv7 SWITCH Skills Based Assessment
swi ac v 567
no shut
exit
int ran f0/1-5, f0/13-14, f0/19-24, g0/1-2
swi host
swi ac v 434
shut
exit
!
! HSRP & TRACKING COMMANDS BELOW
! NOTE: DLS1 primary for 12 and 1010 and 1111 and 3456, DLS2 primary for 123 and 234
!
int vlan 12
standby ver 2
standby 1 ip 10.0.12.254
standby 1 preempt
exit
int vlan 123
stand ver 2
stand 2 ip 10.0.123.254
standby 2 preempt
standby 2 priority 110
standby 2 track loop 0 30
exit
int vlan 234
stand ver 2
stand 2 ip 10.0.234.254
stand 2 preempt
standby 2 priority 110
standby 2 track loop 0 30
exit
int vlan 1010
stand ver 2
stand 1 ip 10.10.10.254
stand 1 preempt
exit
int vlan 1111
stand ver 2
stand 1 ip 10.11.11.254
stand 1 preempt
exit
int vlan 3456
stand ver 2
stand 1 ip 10.34.56.254
stand 1 preempt
exit
!
!
! HSRP & TRACKING COMMANDS ABOVE
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 44 of 49
CCNPv7 SWITCH Skills Based Assessment
!
do clock set 19:00:00 31 Oct 2014
clock timezone CDT -5
ntp server 10.34.56.252
!
! COMMANDS FOR AAA BELOW
!
username LASTDITCH password 321ocsic
aaa new-model
radius server RADIUS
address ipv4 10.34.56.50 auth-port 1812 acct-port 1813
key WinRadius
exit
aaa authentication login CENTRAL-AUTH group radius local
line vty 0 4
login authentication CENTRAL-AUTH
exit
! COMMANDS FOR AAA ABOVE
!
! SNMP COMMANDS BELOW
snmp-server group switch-sba v3 priv
snmp-server user sbastudent switch-sba v3 auth sha cisco123 priv aes 128 cisco123
snmp-server host 10.34.56.50 version 3 priv sbastudent
snmp-server ifindex persist
snmp-server enable traps
! SNMP COMMANDS ABOVE
!
exit
ALS1
en
conf t
hostname ALS1
ena sec class
line vty 0 4
passw cisco
login
! this will be over-ridden later by AAA
exit
int ran f0/1-24, g0/1-2
shutdown
exit
int ran f0/7-10
swi mo tru
swi tr nat v 800
swi non
no shut
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 45 of 49
CCNPv7 SWITCH Skills Based Assessment
exit
int ran f0/7-8
desc member of po1 to DLS1
channel-group 1 mode active
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
no shut
exit
int ran f0/9-10
desc member of po 3 to DLS2
channel-group 3 mode desirable
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
no shut
exit
int vlan 3456
ip address 10.34.56.101 255.255.255.0
no shut
exit
ip default-gateway 10.34.56.254
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 46 of 49
CCNPv7 SWITCH Skills Based Assessment
ALS2
en
conf t
hostname ALS2
ena sec class
line vty 0 4
passw cisco
login
! this will be over-ridden later by AAA
exit
int ran f0/1-24, g0/1-2
shutdown
exit
int ran f0/7-10
swi mo tru
swi tr nat v 800
swi non
no shut
exit
int ran f0/7-8
desc member of po2 to DLS2
channel-group 2 mode active
switchport trunk allowed vlan 12,123,234,800,1010,1111,3456
no shut
exit
int ran f0/9-10
desc member of po 4 to DLS1
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 47 of 49
CCNPv7 SWITCH Skills Based Assessment
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 48 of 49
CCNPv7 SWITCH Skills Based Assessment
swi ac v 434
shut
exit
!
do clock set 19:00:00 31 Oct 2014
clock timezone CDT -5
ntp server 10.34.56.252
end
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 49 of 49