Case Study 3 Report
Case Study 3 Report
TABLE OF CONTENTS
GROUP3: CASE STUDY 3
TOPOLOGY DIAGRAM............................................................................................................................................3
1. SCENARIO..............................................................................................................................................................3
2.3. Spanning-Tree.............................................................................................................................................14
3. VERIFICATION...................................................................................................................................................30
3.1. Ping...............................................................................................................................................................30
4. FINAL CONFIGURATION..................................................................................................................................32
4.1. ISP................................................................................................................................................................32
4.2. BACKUP......................................................................................................................................................34
4.3. DLS1.............................................................................................................................................................36
4.4. DLS2.............................................................................................................................................................43
4.5. ALS1.............................................................................................................................................................50
4.6. ALS2.............................................................................................................................................................57
5. REFERENCES........................................................................................................................................................66
TOPOLOGY DIAGRAM
1. SCENARIO
Digital Technologies Inc (DTI) has a new city office. The design requires main trunks as
EtherChannels, with back up links, trunk ports and access ports using Catalyst 2960 (or 2950)
and 3560 (or 3550) switches, and 2811 series routers. Fault tolerant links are required so all
links, even those to ISP, require backup.
Multiple Instance Spanning Tree (MST) will be used, in combination with PortFast and BPDU
guard. For load balancing, DLS1 will be root for Corporate VLAN, Sales VLAN and
Management VLAN, and DLS2 will be root for Telephony VLAN and Servers VLAN. Multiple
HSRP groups will be implemented so that DLS1 is active for VLAN 10, 20 & 217, and DLS2 is
active for VLAN 30 & 150. Backup Router will provide standby links for all VLANs.
Basic configuration includes the following requirements described in the case study and also
contains the command ‘logging synchronous’ on console port configuration for better
readability.
All hostnames
Both routers and switches:
Router/Switch(config)#hostname ****
Connect all the network devices according to the network diagram. (Note: No IP
Telephones will be connected at this stage, although all configurations will assume their
presence.)
On DL & AL Switches use ports 3 & 4 for the EtherChannels (DLS1 to ALS1 & DLS2 to
ALS2).
Number of aggregators: 1
Group Port-channel s
------+-------------+-----------+-----------------------------------------------
1 Po1(P Fa0/3(P) Fa0/4(P)
On DL & AL Switches use ports 5 & 6 as trunk ports between them (DLS1 to ALS2 &
DLS2 to ALS1).
Use ports 7 & 8 for the trunk ports between ALS1 & ALS2.
Use port 7 for the trunk links to ISP (DLS1 to ISP & DLS2 to ISP).
VTP
o Domain DTCORP
o Password cisco
o DLS1 Server
o All other switches CLIENT
Fast EtherChannel is between ALS1 & DLS1, and ALS2 & DLS2
Fast EtherChannel is done in the previous section.
DLS1(config)#vlan 10
DLS1(config-vlan)#name Corporate
DLS1(config)#vlan 20
DLS1(config-vlan)#name Sales
DLS1(config)#vlan 30
DLS1(config-vlan)#name Servers
DLS1(config)#vlan 150
DLS1(config-vlan)#name Telephony
DLS1(config)#vlan 217
DLS1(config-vlan)#name Management
DLS1(config)#vlan 539
DLS1(config-vlan)#name Unused
All unused ports are to be shutdown and placed into VLAN539. This VLAN is to then be
deleted.
*Deleting VLAN539
VTP Version :2
Configuration Revision : 10
Maximum VLANs supported locally : 255
Number of existing VLANs : 10
VTP Operating Mode : Client
VTP Domain Name : DTCORP
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x88 0xE3 0xB1 0x89 0x9A 0x6B 0x9F 0xCA
Configuration last modified by 10.1.10.10 at 3-1-93 01:22:14
ALS2#show vlan
2.3. Spanning-Tree
Configure instance 1 for VLANs 10, 20 & 217 with DLS1 as Root Bridge, with all other
VLANs being in instance 2 with DLS2 as Root Bridge.
DLS1#show spanning-tree
MST1
Spanning tree enabled protocol mstp
Root ID Priority 24577
Address 0024.9897.9780
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
DLS2#show spanning-tree
MST1
Spanning tree enabled protocol mstp
Root ID Priority 24577
Address 0024.9897.9780
Cost 300000
Port 56 (Port-channel1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
MST2
Spanning tree enabled protocol mstp
Root ID Priority 24578
Address 0026.caa6.e200
This bridge is the root
me 2 sec Max Age 20 sec Forward Delay 15 sec
Configure HSRP on DLS1, DLS2 and Backup Router so that DLS1 is the active router for
VLANs 10, 20 & 217 and DLS 2 is the active router for VLANs 30 & 150, with standby for all
VLANs being Backup Router. Include the preempt option in all configuration.
Configure HSRP interface tracking so that Backup becomes the active router if the FastEthernet
links between DLS1 and ISP or DLS2 and ISP fails.
VLAN10 - 10.1.10.0/24
VLAN20 - 10.1.20.0/24
VLAN30 - 10.1.30.0/24
VLAN150 - 10.1.150.0/24
VLAN217 - 10.1.217.0/24
Interface S0/0/0 (facing ISP) on Backup - 192.168.1.0/30
Interface fa0/7 on DLS1 – 192.168.1.4/30
Interface fa0/7 on DLS2 – 192.168.1.8/30
Configure valid addresses for the host on ALS1 (port 15) and the host on ALS2 (port20),
and server in VLAN 30.
Configure tracking on all links to ISP.
DLS1(config)#ip routing
DLS1(config)#interface vlan 10
DLS1(config-if)#ip address 10.1.10.10 255.255.255.0
DLS1(config-if)#interface vlan 20
DLS1(config-if)#ip address 10.1.20.10 255.255.255.0
DLS1(config-if)#interface vlan 30
DLS1(config-if)#ip address 10.1.30.10 255.255.255.0
DLS1(config-if)#interface vlan 150
DLS1(config-if)#ip address 10.1.150.10 255.255.255.0
DLS1(config-if)#interface vlan 217
DLS1(config-if)#ip address 10.1.217.10 255.255.255.0
DLS2(config)#ip routing
DLS2(config)#interface vlan 10
DLS2(config-if)#ip address 10.1.10.20 255.255.255.0
DLS2(config)#interface vlan 20
DLS2(config-if)#ip address 10.1.20.20 255.255.255.0
DLS2(config)#interface vlan 30
DLS2(config-if)#ip address 10.1.30.20 255.255.255.0
DLS2(config)#interface vlan 150
DLS2(config-if)#ip address 10.1.150.20 255.255.255.0
DLS2(config)#interface vlan 217
DLS2(config-if)#ip address 10.1.217.20 255.255.255.0
* Router-on-a-stick
* HSRP Configuration
DLS1(config)#interface vlan10
DLS1(config-if)#standby 10 ip 10.1.10.1
DLS1(config-if)#standby 10 priority 110
DLS1(config-if)#standby 10 preempt
DLS1(config-if)#standby 10 track fastEthernet0/7
DLS1(config-if)#interface vlan20
DLS1(config-if)#standby 20 ip 10.1.20.1
DLS1(config-if)#standby 20 priority 110
DLS1(config-if)#standby 20 preempt
DLS1(config-if)#standby 20 track fastEthernet0/7
DLS1(config-if)#interface vlan217
DLS1(config-if)#standby 217 ip 10.1.217.1
DLS2(config)#interface vlan30
DLS2(config-if)# standby 30 ip 10.1.30.1
DLS2(config-if)# standby 30 priority 110
DLS2(config-if)# standby 30 preempt
DLS2(config-if)# standby 30 track fastEthernet0/7
DLS2(config-if)#interface vlan150
DLS2(config-if)# standby 150 ip 10.1.150.1
DLS2(config-if)# standby 150 priority 110
DLS2(config-if)# standby 150 preempt
DLS2(config-if)# standby 150 track fastEthernet0/7
Backup(config)#interface fastEthernet0/0.10
Backup(config-subif)#standby 10 ip 10.1.10.1
Backup(config-subif)#standby 10 preempt
Backup(config-subif)#standby 10 priority 105
Backup(config-subif)#standby 10 track Serial0/0/0
“HSRP groups on subinterfaces must have a group number unique among all other
groups on all subinterfaces on the same main interface. This is because subinterfaces do
not receive a unique SNMP interface index. If you had two groups with the number N on
different subinterfaces, then in the MIB, group N on sub-interface 1 and group N on sub-
interface 2 would appear to be the same group (Cisco Systems 2010)”.
* IP Addressing
DLS1#show standby
Vlan10 - Group 10
State is Active
7 state changes, last state change 00:32:31
Virtual IP address is 10.1.10.1
Active virtual MAC address is 0000.0c07.ac0a
Local virtual MAC address is 0000.0c07.ac0a (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 1.859 secs
Preemption enabled
Active router is local
Standby router is 10.1.10.100, priority 95 (expires in 9.153 sec)
Priority 110 (configured 110)
DLS2#show standby
Vlan30 - Group 30
State is Active
4 state changes, last state change 01:52:13
Virtual IP address is 10.1.30.1
Active virtual MAC address is 0000.0c07.ac1e
Local virtual MAC address is 0000.0c07.ac1e (v1 default)
Hello time 3 sec, ho
Next hello sent in 2.865 secs
Preemption enabled
Active router is local
Standby router is 10.1.30.100, priority 95 (expires in 9.916 sec)
Priority 110 (configured 110)
Track interface FastEthernet0/7 state Up decrement 10
IP redunsrp-Vl30-30" (default)
Vlan150 - Group 150
State is Active
4 state changes, last state change 01:50:52
Virtual IP address is 10.1.150.1
Active virtual MAC address is 0000.0c07.ac96
Local virtual MAC address is 0000.0c07.ac96 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 2.278 secs
Preemption enabled
Active router is local
Standby router is 10.1.150.100, priority 95 (expir in 9.773 sec)
Priority 110 (configured 110)
Track interface FastEthernet0/7 state Up decrement 10
IP redundancy name is "hsrp-Vl150-150" (default)
BACKUP#show standby
FastEthernet0/0.10 - Group 10
State is Standby
12 state changes, last state change 00:23:04
Virtual IP address is 10.1.10.1
Active virtual MAC address is 0000.0c07.ac0a
Local virtual MAC address is 0000.0c07.ac0a (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 2.912 secs
Preemption enabled
Active router is 10.1.10.10, priority 110 (expires in 9.648 sec)
Standby router is local
Priority 105 (configured 105)
Track interface Serial0/0/0 state Up decrement 10
Group name is "hsrp-Fa0/0.10-10" (default)
FastEthernet0/0.20 - Group 20
State is Standby
9 state changes, last state change 00:23:07
Virtual IP address is 10.1.20.1
Active virtual MAC address is 0000.0c07.ac14
Local virtual MAC address is 0000.0c07.ac14 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.352 secs
Preemption enabled
Active router is 10.1.20.10, priority 110 (expires in 10.400 sec)
Standby router is local
Priority 105 (configured 105)
Track interface Serial0/0/0 state Up decrement 10
Group name is "hsrp-Fa0/0.20-20" (default)
FastEthernet0/0.30 - Group 30
State is Standby
9 state changes, last state change 01:36:38
Virtual IP address is 10.1.30.1
Both Access layer switches ALS1 and ALS2 are configured the port-security maximum
value as 2 because all access ports in ALS1 and ALS2 can be attached IP phones with
PCs.
Place any ports not attached to a VLAN into VLAN 539, place these interfaces in
shutdown mode and the delete this vlan.
Configure IP routing on DLS1 and DLS2, and use EIGRP, with automatic summarization
disabled.
DLS1(config)#router eigrp 1
DLS1(config-router)#no auto-summary
DLS1(config-router)#network 10.0.0.0
DLS2(config)#router eigrp 1
DLS2(config-router)#no auto-summary
DLS2(config-router)#network 10.0.0.0
DLS2(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.10
In order to communicate between ISP and DTI, static route configurations with different
administrative distance value are required.
DLS1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
ISP#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
DLS1(config)#mls qos
DLS1(config)#interface rage fastEthernet 0/3 – 6
DLS1(config-if-range)#auto qos voip trust
DLS2(config)#mls qos
DLS2(config)#interface rage fastEthernet 0/3 – 6
DLS2(config-if-range)#auto qos voip trust
DLS1#
DLS1#show auto qos int
FastEthernet0/3
auto qos voip trust
FastEthernet0/4
auto qos voip trust
FastEthernet0/5
auto qos voip trust
FastEthernet0/6
auto qos voip trust
FastEthernet0/4
auto qos voip trust
FastEthernet0/5
auto qos voip trust
FastEthernet0/6
auto qos voip trust
On ALS1 and ALS2, configure access ports to trust Cisco IP Phones for QoS. Use
VLAN150 as the voice VLAN.
FastEthernet0/11
auto qos voip cisco-phone
FastEthernet0/12
auto qos voip cisco-phone
FastEthernet0/14
auto qos voip cisco-phone
FastEthernet0/15
auto qos voip cisco-phone
FastEthernet0/16
auto qos voip cisco-phone
FastEthernet0/17
auto qos voip cisco-phone
FastEthernet0/18
auto qos voip cisco-phone
FastEthernet0/19
auto qos voip cisco-phone
FastEthernet0/20
auto qos voip cisco-phone
FastEthernet0/11
auto qos voip cisco-phone
FastEthernet0/12
FastEthernet0/14
auto qos voip cisco-phone
FastEthernet0/15
auto qos voip cisco-phone
FastEthernet0/16
auto qos voip cisco-phone
FastEthernet0/17
auto qos voip cisco-phone
FastEthernet0/18
auto qos voip cisco-phone
FastEthernet0/19
auto qos voip cisco-phone
FastEthernet0/20
auto qos voip cisco-phone
FastEthernet0/21
auto qos voip cisco-phone
FastEthernet0/22
auto qos voip cisco-phone
3. VERIFICATION
3.1. Ping
Allocate host and sever with the following IP addresses:
ALS1 Host 1 IP (10.1.150.50)
ALS2 Host 2 IP (10.1.150.60)
Server in VLAN 30 (10.1.30.50)
Host1>ping 10.1.150.60
Sending 5, 100-byte ICMP Echos to 10.1.150.60, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5)
Host1>ping 10.1.30.50
Sending 5, 100-byte ICMP Echos to 10.1.30.50, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5)
Host1>ping 192.168.1.6
Sending 5, 100-byte ICMP Echos to 192.168.1.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5)
4. FINAL CONFIGURATION
4.1. ISP
Building configuration...
Current configuration : 1297 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname ISP
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
enable secret 5 $1$gJAQ$m11fVIgt7tnM4omRShA650
!
no aaa new-model
memory-size iomem 5
!
dot11 syslog
ip source-route
!
ip cef
!
no ipv6 cef
!
multilink bundle-name authenticated
!
voice-card 0
!
archive
log config
hidekeys
!
interface FastEthernet0/0
ip address 192.168.1.6 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.1.10 255.255.255.252
duplex auto
speed auto
!
interface Serial0/0/0
ip address 192.168.1.2 255.255.255.252
clock rate 64000
!
interface Serial0/0/1
no ip address
shutdown
clock rate 2000000
!
ip forward-protocol nd
ip route 10.0.0.0 255.0.0.0 192.168.1.5
ip route 10.0.0.0 255.0.0.0 192.168.1.9 5
ip route 10.0.0.0 255.0.0.0 192.168.1.1 10
no ip http server
no ip http secure-server
!
control-plane
!
mgcp fax t38 ecm
mgcp behavior g729-variants static-pt
!
line con 0
password 7 13061E010803
logging synchronous
login
line aux 0
line vty 0 4
password 7 01100F175804
login
!
scheduler allocate 20000 1000
end
4.2. BACKUP
Building configuration...
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 10.1.10.100 255.255.255.0
standby 10 ip 10.1.10.1
standby 10 priority 105
standby 10 preempt
standby 10 track Serial0/0/0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 10.1.20.100 255.255.255.0
standby 20 ip 10.1.20.1
standby 20 priority 105
standby 20 preempt
standby 20 track Serial0/0/0
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 10.1.30.100 255.255.255.0
standby 30 ip 10.1.30.1
standby 30 priority 105
standby 30 preempt
standby 30 track Serial0/0/0
!
interface FastEthernet0/0.150
encapsulation dot1Q 150
ip address 10.1.150.100 255.255.255.0
standby 150 ip 10.1.150.1
standby 150 priority 105
standby 150 preempt
standby 150 track Serial0/0/0
!
interface FastEthernet0/0.217
encapsulation dot1Q 217
ip address 10.1.217.100 255.255.255.0
standby 217 ip 10.1.217.1
standby 217 priority 105
standby 217 preempt
4.3. DLS1
Building configuration...
!
control-plane
!
line con 0
password 7 045802150C2E
logging synchronous
line vty 0 4
password 7 045802150C2E
login
length 0
line vty 5 15
password 7 045802150C2E
login
length 0
!
end
4.4. DLS2
Building configuration...
shutdown
!
interface FastEthernet0/10
switchport access vlan 539
shutdown
!
interface FastEthernet0/11
switchport access vlan 539
shutdown
!
interface FastEthernet0/12
switchport access vlan 539
shutdown
!
interface FastEthernet0/13
switchport access vlan 539
shutown
!
interface FastEthernet0/14
switchport access vlan 539
shutdown
!
interface FastEthernet0/15
switchport access vlan 539
shutdown
!
interface FastEthernet0/16
switchport access vlan 539
shutdown
!
interface FastEthernet0/17
switchport access vlan 539
shutdown
!
interface FastEthernet0/18
switchport access vlan 539
shutdown
!
interface FastEthernet0/19
switchport access vlan 539
shutdown
!
interface FastEthernet0/20
switchport access vlan 539
shutdown
!
interface FastEthernet0/21
switchport access vlan 539
shutdown
!
interface FastEthernet0/22
switchport access vlan 30
switchport mode access
switchport port-security mac-address sticky
switchport access vlaitchport port-security maximum 1
!
interface FastEthernet0/23
switchport access vlan 30
switchport mode access
switchport port-security mac-address sticky
switchport access vlaitchport port-security maximum 1
!
interface FastEthernet0/24
switchport access vlan 30
switchport mode access
switchport port-security mac-address sticky
switchport access vlaitchport port-security maximum 1
!
interface GigabitEthernet0/1
switchport access vlan 539
shutdown
interface GigabitEthernet0/2
switchport access vlan 539
shutdown
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 10.1.10.20 255.255.255.0
!
interface Vlan20
ip address 10.1.20.20 255.255.255.0
!
interface Vlan30
ip address 10.1.30.20 255.255.255.0
standby 30 ip 10.1.30.1
standby 30 priority 110
standby 30 preempt
standby 30 track FastEthernet0/7
!
interface Vlan150
ip address 10.1.150.20 255.255.255.0
standby 150 ip 10.1.150.1
standby 150 priority 110
standby 150 preempt
standby 150 track FastEthernet0/7
!
interface Vlan217
ip address 10.1.217.20 255.255.255.0
!
router eigrp 1
network 10.0.0.0
no auto-summary
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.10
ip http server
!
control-plane
!
line con 0
password 7 13061E010803
logging synchronous
line vty 0 4
password 7 login
length 0
line vty 5 15
password 7 13061E010803
login
length 0
!
end
4.5. ALS1
hostname ALS1
!
enable secret 5 $1$zQiP$.u.F09z8vMld1csf9Hfmb.
!
no aaa new-model
ip subnet-zero
!
mls qos map cos-dscp 0 8 16 26 32 46 48 56
mls qos srr-queue input bandwidth 90 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66
mls qos srr-queue input buffers 67 33
mls qos srs-map queue 1 threshold 2 1
mls qos srr-queue input cos-map queue 1 threshold 3 0
mls qos srr-queue input cos-map queue 2 threshold 1 2
mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7
mls qos srr-queue input cos-map queue 2 threshold 3 3 5
mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue input dscp-map queue 1 threshold 3 32
mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue input dscp-map queue 2 threshold 2 33 34 35 36 37 38 39 48
mls qos srr-queue input dscp-map queue 2 threshold 2 49 50 51 52 53 54 55 56
mls qos srr-queue input dscp-map queue 2 threshold 2 57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue input dscp-map queue 2 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output cos-map queue 1 threshold 3 5
mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 2 4
mls qos srr-queue output cos-map queue 4 threshold 2 1
mls qos srr-queue output cos-map queue 4 threshold 3 0
mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 2 threshold 3 52 53 54 55
!
interface FastEthernet0/11
switchport access vlan 10
switchport mode access
switchport voice vlan 150
switchport port-security maximum 2
switchport port-security mac-address sticky
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
!
interface FastEthernet0/12
switchport access vlan 10
switchport mode access
switchport voice vlan 150
switchport port-security maximum 2
switchport port-security mac-address sticky
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
!
interface FastEthernet0/13
switchport access vlan 10
switchport mode access
switchport voice vlan 150
switchport port-security maximum 2
switchport port-security mac-address sticky
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
switchport voice vlan 150
switchport port-security maximum 2
switchport port-security mac-address sticky
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
switchport voice vlan 150
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
!
interface FastEthernet0/16
switchport access vlan 20
switchport mode access
switchport voice vlan 150
switchport port-security maximum 2
switchport port-security mac-address sticky
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
!
interface FastEthernet0/17
switchport access vlan 20
switchport mode access
ip http server
!
control-plane
!
line con 0
password 7 02050D480809
logging synchronous
login
line vty 0 4
password 7 02050D480809
login
length 0
line vty 0 15
password 7 02050D480809
login
length 0
!
end
4.6. ALS2
hostname ALS2
!
enable secret 5 $1$2TtX$T/gr4Imf.jp5YOBg21MXP1
!
no aaa new-model
ip subnet-zero
!
mls qos map cos-dscp 0 8 16 26 32 46 48 56
mls qos srr-queue input bandwidth 90 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66
mls qos srr-queue input buffers 67 33
mls qos srr-queue input cos-map queue 1 threshold 2 1
mls qos srr-queue input cos-map queue 1 threshold 3 0
mls qos srr-queue input cos-map queue 2 threshold 1 2
mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7
mls qos srr-queue input cos-map queue 2 threshold 3 3 5
mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7
interface FastEthernet0/1
switchport access vlan 539
shutdown
!
interface FastEthernet0/2
switchport access vlan 539
shutdown
!
interface FastEthernet0/3
switchport mode trunk
channel-group 1 mode desirable
!
interface FastEthernet0/4
switchport mode trunk
channel-group 1 mode desirable
!
interface FastEthernet0/5
switchport mode trunk
!
interface FastEthernet0/6
switchport mode trunk
!
interface FastEthernet0/7
switchport mode trunk
!
interface FastEthernet0/8
switchport mode trunk
!
interface FastEthernet0/9
switchport access vlan 539
shutdown
!
interface FastEthernet0/10
switchport access vlan 10
length 0
line vty 5 15
password 7 070C285F4D06
login
length 0
!
end
5. REFERENCES
Cisco Systems, Inc. 2010, Hot Standby Router Protocol Features and Functionality, viewed 8
May 2010,
<http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a91.sht
ml#subinterfaces>.