Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Switch DLS1
- hostname DLS1
- !
- enable secret 5 $1$JPpG$V2H6KfhZX7i5Ui0R0DKWx/
- !
- username SMITH password 0 cisco
- vtp domain LAB_TEST
- vtp mode transparent
- ip routing
- ip domain-name cisco.com
- !
- ip dhcp excluded-address 10.10.10.1 10.10.10.10
- !
- ip dhcp pool VLAN_10_STUDENT network 10.10.10.0 255.255.255.0 default-router 10.10.10.1 dns-server 200.200.200.1
- !
- !
- ip dhcp snooping vlan 10,30 ip dhcp snooping
- !
- !
- spanning-tree mode mst spanning-tree extend system-id
- ! spanning-tree mst configuration name TEST_LAB instance 1 vlan 10, 20 instance 2 vlan 30, 199
- !
- spanning-tree mst 1 priority 24576
- !
- vlan internal allocation policy ascending
- !
- 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
- !
- track 10 ip sla 1
- !
- ip ssh version 2
- !
- interface Loopback0 ip address 200.200.200.1 255.255.255.0 shutdown
- !
- interface Port-channel1
- description connected to PO1 connected to ALS1 switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk ip dhcp snooping trust
- !
- interface Port-channel2 switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk ip dhcp snooping trust
- !
- interface Port-channel3
- no switchport
- ip address 10.10.12.1 255.255.255.0
- !
- interface FastEthernet0/1
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/2
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/3
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/4
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/5
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/6
- switchport access vlan 199
- switchport mode access
- spanning-tree portfast
- !
- interface FastEthernet0/7
- switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk channel-group 1 mode active ip dhcp snooping trust
- !
- interface FastEthernet0/8
- switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk channel-group 1 mode active ip dhcp snooping trust
- !
- interface FastEthernet0/9
- switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk channel-group 2 mode active ip dhcp snooping trust
- !
- interface FastEthernet0/10
- switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk channel-group 2 mode active ip dhcp snooping trust
- !
- interface FastEthernet0/11
- no switchport no ip address channel-group 3 mode on
- !
- interface FastEthernet0/12
- no switchport no ip address channel-group 3 mode on
- !
- interface FastEthernet0/13
- switchport access vlan 900 switchport mode access shutdown
- !
- interface FastEthernet0/14
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/15
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/16
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/17
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/18
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/19
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/20
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/21
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/22
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/23
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/24
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface GigabitEthernet0/1
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface GigabitEthernet0/2
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface Vlan1
- no ip address
- shutdown
- !
- interface Vlan10
- ip address 10.10.10.2 255.255.255.0
- standby 10 ip 10.10.10.1
- standby 10 priority 120 standby 10 preempt standby 10 track 10 decrement 30
- !
- interface Vlan20
- ip address 10.10.20.2 255.255.255.0 standby 20 ip 10.10.20.1 standby 20 priority 120 standby 20 preempt standby 20 track 10 decrement 30
- !
- interface Vlan30
- ip address 10.10.30.2 255.255.255.0 standby 30 ip 10.10.30.1 standby 30 preempt
- !
- interface Vlan199
- ip address 10.10.199.2 255.255.255.0 standby 199 ip 10.10.199.1 standby 199 preempt
- !
- router ospf 1
- router-id 1.1.1.1
- passive-interface default no passive-interface Port-channel3 network 10.10.0.0 0.0.255.255 area 0
- !
- ip http server
- ip http secure-server
- !
- ip sla 1 icmp-echo 200.200.200.1 frequency 5 ip sla schedule 1 life forever start-time now access-list 10 permit 10.10.199.0 0.0.0.255
- !
- !
- line con 0
- line vty 0 4
- access-class 10 in password cisco login local transport input ssh line vty 5 15 login
- transport input all
- ntp authentication-key 1 md5 105D5A1A100517 7 ntp authenticate ntp trusted-key 1 ntp master 5 end
- Switch DLS2
- hostname DLS2
- !
- enable secret 5 $1$plO0$k8H0Snb0FhHpugba3Lu3Q.
- !
- username smith password 0 cisco
- vtp domain LAB_TEST
- vtp mode transparent
- ip routing
- ip domain-name cisco.com
- !
- ip dhcp excluded-address 10.10.30.1 10.10.30.10
- !
- ip dhcp pool VLAN_30_FACULTY network 10.10.30.0 255.255.255.0 default-router 10.10.30.1 dns-server 200.200.200.1
- !
- !
- ip dhcp snooping vlan 10,30 ip dhcp snooping
- !
- !
- spanning-tree mode mst
- spanning-tree extend
- system-id
- !
- spanning-tree mst configuration
- name TEST_LAB
- instance 1 vlan 10, 20
- instance 2 vlan 30, 199
- !
- spanning-tree mst 1 priority 28672
- spanning-tree mst 2 priority 24576 !
- vlan internal allocation policy ascending
- !
- 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
- !
- ip ssh version 2
- !
- interface Loopback0
- ip address 200.200.200.1 255.255.255.0
- !
- interface Port-channel1
- switchport trunk encapsulation dot1q
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- ip dhcp snooping trust
- !
- interface Port-channel2
- switchport trunk encapsulation
- dot1q switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- ip dhcp snooping trust
- !
- interface Port-channel3
- no switchport
- ip address 10.10.12.2 255.255.255.0
- !
- interface FastEthernet0/1
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/2
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/3
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/4
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/5
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/6
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/7
- switchport trunk encapsulation dot1q
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 1 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/8
- switchport trunk encapsulation dot1q
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 1 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/9
- switchport trunk encapsulation dot1q
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 2 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/10
- switchport trunk encapsulation dot1q
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 2 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/11
- no switchport
- no ip address
- channel-group 3 mode on
- !
- interface FastEthernet0/12
- no switchport
- no ip address channel-group 3 mode on
- !
- interface FastEthernet0/13
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/14
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/15
- switchport access vlan 900 switchport
- mode access
- shutdown
- !
- interface FastEthernet0/16
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/17
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/18
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/19
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/20
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/21
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/22
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/23
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/24
- switchport access vlan 900
- switchport mode access
- shutdown
- interface GigabitEthernet 0/1
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface GigabitEthernet 0/2
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface Vlan1
- no ip address shutdown
- !
- interface Vlan10
- ip address 10.10.10.3 255.255.255.0
- standby 10 ip 10.10.10.1
- standby 10 preempt
- !
- interface Vlan20
- ip address 10.10.20.3 255.255.255.0
- standby 20 ip 10.10.20.1
- standby 20 preempt
- !
- interface Vlan30
- ip address 10.10.30.3 255.255.255.0
- standby 30 ip 10.10.30.1 standby 30 priority 120
- standby 30 preempt
- !
- interface Vlan199
- ip address 10.10.199.3 255.255.255.0
- tandby 199 ip 10.10.199.1 standby 199 priority 120
- standby 199 preempt
- !
- router ospf 1
- router-id 2.2.2.2
- passive-interface default no passive-interface Port-channel3 network 10.10.0.0 0.0.255.255 area 0
- !
- access-list 10 permit 10.10.199.0 0.0.0.255
- ! line con 0 line vty 0 4 access-class 10 in password cisco login local
- transport input ssh
- line vty 5 15 login
- !
- End
- Switch ALS1
- Note: When the auto qos voip cisco-phone command is used by itself on Fa0/6, it generates many global and some interface-specific QoS-related commands in the running configuration. The Fa0/6 interface-specific QoS-related commands are highlighted below.
- hostname ALS1
- !
- enable secret 5 $1$ayIP$YDI6nAUvI/st.fa9G8kQH1
- !
- username smith password 0 cisco
- vtp domain TEST_LAB
- vtp mode transparent
- !
- !
- ip dhcp snooping vlan 10,30
- ip dhcp snooping
- ip domain-name cisco.com
- !
- errdisable recovery cause psecure-violation
- errdisable recovery interval 30
- !
- spanning-tree mode mst
- spanning-tree portfast default
- spanning-tree extend system-id
- !
- spanning-tree mst configuration
- name TEST_LAB
- instance 1 vlan 10, 20
- instance 2 vlan 30, 199
- !
- !
- vlan internal allocation policy ascending
- !
- vlan 10
- name Student
- !
- vlan 12
- name EXECUTIVES
- !
- vlan 20
- name Voice
- !
- vlan 30
- name Faculty
- !
- vlan 199
- name Management
- !
- vlan 777
- name NATIVE_VLAN
- !
- vlan 900
- name Parking_Lot
- !
- ip ssh version 2
- interface Port-channel1
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- ip dhcp snooping trust
- !
- interface Port-channel2
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- ip dhcp snooping trust
- !
- interface FastEthernet0/1
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/2
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/3
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/4
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/5
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/6
- switchport access vlan 10
- switchport mode access
- switchport port-security maximum 2
- switchport port-security
- switchport port-security mac-address sticky
- switchport port-security mac-address sticky 000c.29e0.5091
- switchport port-security mac-address sticky 001b.2171.e081
- spanning-tree portfast ip dhcp snooping limit rate 10
- !
- interface FastEthernet0/7
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 1 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/8
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 1 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/9
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 2 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/10
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- hannel-group 2 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/11
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/12
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/13
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/14
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/15
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/16
- switchport access vlan 900
- switchport mode access
- shutdown
- interface FastEthernet0/17
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/18
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/19
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/20
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/2
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/22
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/23
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/24
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface GigabitEthernet0/1
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface GigabitEthernet0/2
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface Vlan1
- no ip address
- shutdown
- !
- interface Vlan199
- ip address 10.10.199.4 255.255.255.0
- ip default-gateway 10.10.199.1
- ip http server
- ip http secure-server
- access-list 10 permit 10.10.199.0 0.0.0.255
- !
- !
- line con 0
- line vty 0 4
- access-class 10 in
- password cisco
- login local
- transport input ssh
- line vty 5 15
- login
- !
- End
- Switch ALS2
- hostname ALS2
- !
- enable secret 5 $1$tIDp$YoXHrUs/A0oq2FqjiEjC9.
- !
- username smith password 0 cisco
- no aaa new-model
- system mtu routing 1500
- vtp domain TEST_LAB
- vtp mode transparent
- !
- !
- ip dhcp snooping vlan 10,30
- ip dhcp snooping
- ip domain-name cisco.com
- !
- !
- spanning-tree mode mst
- spanning-tree portfast default
- spanning-tree extend system-id
- !
- spanning-tree mst configuration
- name TEST_LAB
- instance 1 vlan 10, 20
- instance 2 vlan 30, 199
- !
- !
- vlan internal allocation policy ascending
- !
- 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
- !
- ip ssh version 2
- !
- interface Port-channel1
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- ip dhcp snooping trust
- !
- interface Port-channel2
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- ip dhcp snooping trust
- !
- interface FastEthernet0/1
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/2
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/3
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/4
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/5
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/6
- switchport access vlan 30
- switchport mode access
- spanning-tree portfast
- !
- interface FastEthernet0/7
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 1 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/8
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 1 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/9
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 2 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/10
- switchport trunk native vlan 777
- switchport trunk allowed vlan 10,20,30,199
- switchport mode trunk
- switchport nonegotiate
- channel-group 2 mode active
- ip dhcp snooping trust
- !
- interface FastEthernet0/11
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/12
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/13
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/14
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/15
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/16
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/17
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/18
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/19
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/20
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/21
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/22
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/23
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface FastEthernet0/24
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface GigabitEthernet0/1
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface GigabitEthernet0/2
- switchport access vlan 900
- switchport mode access
- shutdown
- !
- interface Vlan1
- no ip address
- shutdown
- !
- interface Vlan199
- ip address 10.10.199.5 255.255.255.0
- !
- ip default-gateway 10.10.199.1
- ip http server
- ip http secure-server
- access-list 10 permit 10.10.199.0 0.0.0.255
- !
- !
- line con 0 line
- vty 0 4
- access-class 10 in
- password cisco
- login local
- transport input ssh
- line vty 5 15
- login
- !
- End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement