www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNP Labs Solutions / CCNP Lab 002 Solution: VLANs, VTP, DTP and STP

CCNP Lab 002 Solution: VLANs, VTP, DTP and STP

Lab Objective:

The focus of this lab is to understand basic VLAN, VTP, DTP and STP implementation and configuration in Cisco IOS Catalyst switches.

Lab Topology:

The lab network topology is illustrated below:

department602

 

IMPORTANT NOTE

If you are using the www.howtonetwork.net racks, please begin each and every lab by shutting down all interfaces on all switches and then manually re-enabling only the interfaces that are illustrated in this topology.

Task 1

Disable VTP on all switches. All switches should support the configuration, modification and deletion of VLANs.

Task 2

Configure trunking on the switches so that all ports are explicitly trunking and DTP should never be used on any of these ports.

Task 3

Configure VLANs 100 and 200 on all switches and use the default IOS VLAN names. Explicitly configure switch DLS1 with a priority of 8192 so it is elected root for both of these VLANs. Additionally, also explicitly configure switch DLS2 so it is elected backup root for both VLANs.

Task 4

Configure Spanning Tree so that it will remain root bridge in the event that another switch is in advertently misconfigured with a lower priority for VLANs 100 and 200. Test and verify your configuration by specifying a priority of 0 for VLAN 100 on any switch within the STP network.

Task 5

Configure the trunk links on switch DLS2 so that they will be disabled automatically in the event that they do not receive BPDUs. Test and verify your configuration by disabling default BPDU transmission from one of the upstream switches.

Task 6

Ports FastEthernet0/1 through FastEthernet0/5 on switches ALS1 and ALS2 will be connected to hosts in the future. These hosts will reside in VLAN 100. Using only TWO commands, perform the following activities on these ports:

    • Assign all of these individual ports to VLAN 100
    • Configure the ports as static access port
    • Enable PortFast for all the ports
    • Disable bundling, i.e. EtherChannel, for these ports

Lab Validation

Task 1

DLS1(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
DLS2(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
ALS1(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
ALS2(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.

Task 2

DLS1(config)#interface range fa0/7, fa0/9, fa0/11
DLS1(config-if-range)#switchport trunk encapsulation dot1q
DLS1(config-if-range)#switchport mode trunk
DLS1(config-if-range)#switchport nonegotiate
DLS2(config)#interface range fa0/7, fa0/9, fa0/11
DLS2(config-if-range)#switchport trunk encapsulation dot1q
DLS2(config-if-range)#switchport mode trunk
DLS2(config-if-range)#switchport nonegotiate

NOTE: If using the H2N racks, the ALS switches are 2950 switches and therefore support only 802.1Q encapsulation. There is no need to specify trunk encapsulation.

ALS1(config)#interface range faste 0/7 , faste 0/9 , faste 0/11
ALS1(config-if-range)#switchport mode trunk
ALS1(config-if-range)#switchport nonegotiate
ALS2(config)#interface range faste 0/7 , faste 0/9 , faste 0/11
ALS2(config-if-range)#switchport mode trunk
ALS2(config-if-range)#switchport nonegotiate

Verify your configuration using the show interfaces trunk command:

DLS1#show interfaces trunk

Port Mode Encapsulation Status Native vlan
Fa0/7 on 802.1q trunking 1
Fa0/9 on 802.1q trunking 1
Fa0/11 on 802.1q trunking 1

DLS2#show interfaces trunk

Port Mode Encapsulation Status Native vlan
Fa0/7 on 802.1q trunking 1
Fa0/9 on 802.1q trunking 1
Fa0/11 on 802.1q trunking 1

ALS1#show interfaces trunk

Port Mode Encapsulation Status Native vlan
Fa0/7 on 802.1q trunking 1
Fa0/9 on 802.1q trunking 1
Fa0/11 on 802.1q trunking 1

ALS2#show interfaces trunk

Port Mode Encapsulation Status Native vlan
Fa0/7 on 802.1q trunking 1
Fa0/9 on 802.1q trunking 1
Fa0/11 on 802.1q trunking 1

Task 3

DLS1(config)#vlan 100
DLS1(config-vlan)#exit
DLS1(config)#vlan 200
DLS1(config-vlan)#exit
DLS1(config)#spanning-tree vlan 100 prior 8192
DLS1(config)#spanning-tree vlan 200 prior 8192
DLS2(config)#vlan 100
DLS2(config-vlan)#exit
DLS2(config)#vlan 200
DLS2(config-vlan)#exit
DLS2(config)#spanning-tree vlan 100 priority 16384
DLS2(config)#spanning-tree vlan 200 priority 16384
ALS1(config)#vlan 100
ALS1(config-vlan)#exit
ALS1(config)#vlan 200
ALS1(config-vlan)#exit
ALS2(config)#vlan 100
ALS2(config-vlan)#exit
ALS2(config)#vlan 200
ALS2(config-vlan)#exit

 

 

Verify your configuration using the show spanning-tree root command:

DLS1#show spanning-tree root

Root Hello Max Fwd
Vlan Root ID Cost Time Age Dly Root Port
—————- ——————– ——— —– — — ————
VLAN0100 8292 000f.2303.2d80 0 2 20 15
VLAN0200 8392 000f.2303.2d80 0 2 20 15

DLS2#show spanning-tree root

Root Hello Max Fwd
Vlan Root ID Cost Time Age Dly Root Port
—————- ——————– ——— —– — — ————
VLAN0100 8292 000f.2303.2d80 19 2 20 15 Fa0/11
VLAN0200 8392 000f.2303.2d80 19 2 20 15 Fa0/11

ALS1#show spanning-tree root

Root Hello Max Fwd
Vlan Root ID Cost Time Age Dly Root Port
—————- ——————– —— —– — — —————-
VLAN0100 8292 000f.2303.2d80 19 2 20 15 Fa0/7
VLAN0200 8392 000f.2303.2d80 19 2 20 15 Fa0/7

ALS2#show spanning-tree root

Root Hello Max Fwd
Vlan Root ID Cost Time Age Dly Root Port
—————- ——————– —— —– — — —————-
VLAN0100 8292 000f.2303.2d80 19 2 20 15 Fa0/9
VLAN0200 8392 000f.2303.2d80 19 2 20 15 Fa0/9

Task 4

This task requires identifying designated ports and configuring the root guard feature on them. The root guard feature prevents a designated port from becoming a root port.

If a port on which the root guard feature receives a superior BPDU, it moves the port into a root-inconsistent state, thus maintaining the current root bridge status quo. Use the show spanning-tree vlan command to determine the current Spanning Tree port states as follows:

DLS1#show spanning-tree vlan 100

VLAN0100
…

Interface Role Sts Cost Prio.Nbr Type
——————- —- — ——— ——– ——————————–
Fa0/7 Desg FWD 19 128.7 P2p
Fa0/9 Desg FWD 19 128.9 P2p
Fa0/11 Desg FWD 19 128.11 P2p

DLS2#show spanning-tree vlan 100

VLAN0100
…

Interface Role Sts Cost Prio.Nbr Type
——————- —- — ——— ——– ——————————–
Fa0/7 Desg FWD 19 128.7 P2p
Fa0/9 Desg FWD 19 128.9 P2p
Fa0/11 Root FWD 19 128.11 P2p

ALS1#show spanning-tree vlan 100

VLAN0100
…

Interface Role Sts Cost Prio.Nbr Type
—————- —- — ——— ——– ——————————–
Fa0/7 Root FWD 19 128.7 P2p
Fa0/9 Altn BLK 19 128.9 P2p
Fa0/11 Desg FWD 19 128.11 P2p

ALS2#show spanning-tree vlan 100

VLAN0100
…

Interface Role Sts Cost Prio.Nbr Type
—————- —- — ——— ——– ——————————–
Fa0/7 Altn BLK 19 128.7 P2p
Fa0/9 Root FWD 19 128.9 P2p
Fa0/11 Altn BLK 19 128.11 P2p

Following this, enable the root guard feature on all designated ports using the spanning-tree guard root interface configuration command. Referencing the list above, root guard would be enabled on the following interfaces or ports:

  1. Switch DSL1: Fa0/7, Fa0/9, Fa0/11
  2. Switch DLS2: Fa0/7, Fa0/9
  3. Switch ALS1: Fa0/11
  4. Switch ALS2: None – because this switch has no designated ports

 

 

 

This task is completed by enabling root guard on the ports above as follows:

DLS1(config)#interface range fa0/7, fa0/9, fa0/11
DLS1(config-if-range)#spanning-tree guard root
DLS2(config)#interface range fa0/7, fa0/9
DLS2(config-if-range)#spanning-tree guard root
ALS1(config)#interface fastethernet 0/11
ALS1(config-if)#spanning-tree guard root

Test your solution by setting the priority of a VLAN to 0 or 4096 and then verifying the port state on the adjacent segment designated bridge. For example, if you changed the priority of VLAN 100 on switch ALS2 to 0, all peer ports enabled for root guard with which this switch connects will be placed into a root inconsistent state as follows:

ALS2(config)#spanning-tree vlan 100 priority 0
DLS1#
*Mar 1 01:21:28.851: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/9 on VLAN0100.
DLS2#
*Mar 1 01:21:31.535: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/7 on VLAN0100.
ALS1#
*Mar 1 01:24:39.903: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/11 on VLAN0100.

Aside from the logged message, you can also use the show spanning-tree inconsistentports and the show spanning-tree interfacecommands to view root inconsistent ports:

DLS1#show spanning-tree inconsistentports

Name Interface Inconsistency
——————– ———————— ——————
VLAN0001 FastEthernet0/7 Root Inconsistent
VLAN0001 FastEthernet0/9 Root Inconsistent
VLAN0001 FastEthernet0/11 Root Inconsistent
VLAN0100 FastEthernet0/9 Root Inconsistent

DLS1#show spanning-tree interface fastethernet 0/9

Vlan Role Sts Cost Prio.Nbr Type
——————- —- — ——— ——– ——————————–
VLAN0100 Desg BKN*19 128.9 P2p *ROOT_Inc

Task 5

This task requires the configuration of Loop Guard on switch DLS2. The Loop Guard detects root ports and blocked ports, and ensures they continue to receive BPDUs. When enabled, should one of these ports stop receiving BPDUs, it is moved into a loop-inconsistent state.

ALS2(config)#interface range faste 0/7 , faste 0/9 , faste 0/11
ALS2(config-if-range)#spanning-tree guard loop

NOTE: The Loop Guard feature can also be enabled globally as follows:

ALS2(config)#spanning-tree loopguard default

Test this configuration by filtering BPDUs from one of the connected switches as follows:

DLS1(config)#interface fastethernet 0/9
DLS1(config-if)#spanning-tree bpdufilter enable

After this configuration, the following log messages are printed on the console of ALS2:

ALS1#
01:41:26: %SPANTREE-2-LOOPGUARD_BLOCK: Loop guard blocking port FastEthernet0/9 on VLAN0100.
01:41:28: %SPANTREE-2-LOOPGUARD_BLOCK: Loop guard blocking port FastEthernet0/9 on VLAN0200.

Aside from the logged message, you can also use the show spanning-tree inconsistentports and the show spanning-tree interfacecommands to view root inconsistent ports:

ALS2#show spanning-tree inconsistentports

Name Interface Inconsistency
——————– ———————- ——————
VLAN0100 FastEthernet0/9 Loop Inconsistent
VLAN0200 FastEthernet0/9 Loop Inconsistent

Number of inconsistent ports (segments) in the system : 2

ALS2#show spanning-tree interface fastethernet 0/9

Vlan Role Sts Cost Prio.Nbr Type
—————- —- — ——— ——– ——————————–
VLAN0100 Desg BKN*19 128.9 P2p *LOOP_Inc
VLAN0200 Desg BKN*19 128.9 P2p *LOOP_Inc

 

 

Task 6

While seemingly difficult, this task is actually very simple and requires the configuration of the switchport access vlan and switchport hostcommands. The switchport host command is an inbuilt Cisco IOS macro that performs three actions under the specified port(s):

    • It configures the switchport for access mode
    • It enables portfast
    • It disables Etherchannel capabilities for the port

 

This task is completed as follows:

ALS1(config)#interface range fastethernet 0/1 – 5
ALS1(config-if-range)#switchport access vlan 100
ALS1(config-if-range)#switchport host
switchport mode will be set to access
spanning-tree portfast will be enabled
channel group will be disabled

ALS1(config-if-range)#end

ALS2(config)#interface range fastethernet 0/1 – 5
ALS2(config-if-range)#switchport access vlan 100
ALS2(config-if-range)#switchport host
switchport mode will be set to access
spanning-tree portfast will be enabled
channel group will be disabled

ALS2(config-if-range)#end

Verify your configuration by looking at the switch interface configuration or using the show interfaces <interface> switchport command:

ALS1#show running-config interface fastethernet 0/1
Building configuration…

Current configuration : 109 bytes
!
interface FastEthernet0/1
switchport access vlan 100
switchport mode access
spanning-tree portfast
end

ALS1#show interfaces fastethernet 0/1 switchport
Name: Fa0/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 100 (VLAN0100)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Appliance trust: none

Final Switch Configurations

DLS1

 

DLS1#term len 0
DLS1#show run
Building configuration…

Current configuration : 4013 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS1
!
!
no aaa new-model
ip subnet-zero
!
vtp domain SWITCH
vtp mode transparent
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 100,200 priority 8192
!
vlan internal allocation policy ascending
!
vlan 100,200
!
!
!
!
!
!
interface FastEthernet0/1
switchport mode dynamic desirable
!
interface FastEthernet0/2
switchport mode dynamic desirable
!
interface FastEthernet0/3
switchport mode dynamic desirable
!
interface FastEthernet0/4
switchport mode dynamic desirable
!
interface FastEthernet0/5
switchport mode dynamic desirable
!
interface FastEthernet0/6
switchport mode dynamic desirable
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
spanning-tree guard root
!
interface FastEthernet0/8
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
spanning-tree guard root
!
interface FastEthernet0/10
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
spanning-tree guard root
!
interface FastEthernet0/12
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/13
switchport mode dynamic desirable
!
interface FastEthernet0/14
switchport mode dynamic desirable
!
interface FastEthernet0/15
switchport mode dynamic desirable
!
interface FastEthernet0/16
switchport mode dynamic desirable
!
interface FastEthernet0/17
switchport mode dynamic desirable
!
interface FastEthernet0/18
switchport mode dynamic desirable
!
interface FastEthernet0/19
switchport mode dynamic desirable
!
interface FastEthernet0/20
switchport mode dynamic desirable
!
interface FastEthernet0/21
switchport mode dynamic desirable
!
interface FastEthernet0/22
switchport mode dynamic desirable
!
interface FastEthernet0/23
switchport mode dynamic desirable
!
interface FastEthernet0/24
switchport mode dynamic desirable
!
interface FastEthernet0/25
switchport mode dynamic desirable
!
interface FastEthernet0/26
switchport mode dynamic desirable
!
interface FastEthernet0/27
switchport mode dynamic desirable
!
interface FastEthernet0/28
switchport mode dynamic desirable
!
interface FastEthernet0/29
switchport mode dynamic desirable
!
interface FastEthernet0/30
switchport mode dynamic desirable
!
interface FastEthernet0/31
switchport mode dynamic desirable
!
interface FastEthernet0/32
switchport mode dynamic desirable
!
interface FastEthernet0/33
switchport mode dynamic desirable
!
interface FastEthernet0/34
switchport mode dynamic desirable
!
interface FastEthernet0/35
switchport mode dynamic desirable
!
interface FastEthernet0/36
switchport mode dynamic desirable
!
interface FastEthernet0/37
switchport mode dynamic desirable
!
interface FastEthernet0/38
switchport mode dynamic desirable
!
interface FastEthernet0/39
switchport mode dynamic desirable
!
interface FastEthernet0/40
switchport mode dynamic desirable
!
interface FastEthernet0/41
switchport mode dynamic desirable
!
interface FastEthernet0/42
switchport mode dynamic desirable
!
interface FastEthernet0/43
switchport mode dynamic desirable
!
interface FastEthernet0/44
switchport mode dynamic desirable
!
interface FastEthernet0/45
switchport mode dynamic desirable
!
interface FastEthernet0/46
switchport mode dynamic desirable
!
interface FastEthernet0/47
switchport mode dynamic desirable
!
interface FastEthernet0/48
switchport mode dynamic desirable
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip http server
ip http secure-server
!
!
!
control-plane
!
!
line con 0
line vty 5 15
!
end

DLS1#

DLS2

 

DLS2#term len 0
DLS2#show run
Building configuration…

Current configuration : 3988 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS2
!
!
no aaa new-model
ip subnet-zero
!
vtp domain SWITCH
vtp mode transparent
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 100,200 priority 16384
!
vlan internal allocation policy ascending
!
vlan 100,200
!
!
!
!
!
!
interface FastEthernet0/1
switchport mode dynamic desirable
!
interface FastEthernet0/2
switchport mode dynamic desirable
!
interface FastEthernet0/3
switchport mode dynamic desirable
!
interface FastEthernet0/4
switchport mode dynamic desirable
!
interface FastEthernet0/5
switchport mode dynamic desirable
!
interface FastEthernet0/6
switchport mode dynamic desirable
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
spanning-tree guard root
!
interface FastEthernet0/8
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
spanning-tree guard root
!
interface FastEthernet0/10
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet0/12
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/13
switchport mode dynamic desirable
!
interface FastEthernet0/14
switchport mode dynamic desirable
!
interface FastEthernet0/15
switchport mode dynamic desirable
!
interface FastEthernet0/16
switchport mode dynamic desirable
!
interface FastEthernet0/17
switchport mode dynamic desirable
!
interface FastEthernet0/18
switchport mode dynamic desirable
!
interface FastEthernet0/19
switchport mode dynamic desirable
!
interface FastEthernet0/20
switchport mode dynamic desirable
!
interface FastEthernet0/21
switchport mode dynamic desirable
!
interface FastEthernet0/22
switchport mode dynamic desirable
!
interface FastEthernet0/23
switchport mode dynamic desirable
!
interface FastEthernet0/24
switchport mode dynamic desirable
!
interface FastEthernet0/25
switchport mode dynamic desirable
!
interface FastEthernet0/26
switchport mode dynamic desirable
!
interface FastEthernet0/27
switchport mode dynamic desirable
!
interface FastEthernet0/28
switchport mode dynamic desirable
!
interface FastEthernet0/29
switchport mode dynamic desirable
!
interface FastEthernet0/30
switchport mode dynamic desirable
!
interface FastEthernet0/31
switchport mode dynamic desirable
!
interface FastEthernet0/32
switchport mode dynamic desirable
!
interface FastEthernet0/33
switchport mode dynamic desirable
!
interface FastEthernet0/34
switchport mode dynamic desirable
!
interface FastEthernet0/35
switchport mode dynamic desirable
!
interface FastEthernet0/36
switchport mode dynamic desirable
!
interface FastEthernet0/37
switchport mode dynamic desirable
!
interface FastEthernet0/38
switchport mode dynamic desirable
!
interface FastEthernet0/39
switchport mode dynamic desirable
!
interface FastEthernet0/40
switchport mode dynamic desirable
!
interface FastEthernet0/41
switchport mode dynamic desirable
!
interface FastEthernet0/42
switchport mode dynamic desirable
!
interface FastEthernet0/43
switchport mode dynamic desirable
!
interface FastEthernet0/44
switchport mode dynamic desirable
!
interface FastEthernet0/45
switchport mode dynamic desirable
!
interface FastEthernet0/46
switchport mode dynamic desirable
!
interface FastEthernet0/47
switchport mode dynamic desirable
!
interface FastEthernet0/48
switchport mode dynamic desirable
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip http server
ip http secure-server
!
!
!
control-plane
!
!
line con 0
line vty 5 15
!
end

DLS2#

ALS1

 

ALS1#term len 0
ALS1#show run
Building configuration…

Current configuration : 1340 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log datetime msec
no service password-encryption
!
hostname ALS1
!
!
ip subnet-zero
!
vtp domain SWITCH
vtp mode transparent
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
vlan 100,200
!
interface FastEthernet0/1
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/2
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/4
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/6
!
interface FastEthernet0/7
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet0/8
!
interface FastEthernet0/9
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet0/10
!
interface FastEthernet0/11
switchport mode trunk
switchport nonegotiate
spanning-tree guard root
!
interface FastEthernet0/12
shutdown
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
ip http server
!
line con 0
line vty 5 15
!
!
end

ALS1#

ALS2

 

ALS2#term len 0
ALS2#show run
Building configuration…

Current configuration : 1419 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ALS2
!
!
ip subnet-zero
!
vtp domain SWITCH
vtp mode transparent
!
!
spanning-tree mode pvst
spanning-tree loopguard default
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
vlan 100,200
!
interface FastEthernet0/1
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/2
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/4
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/6
!
interface FastEthernet0/7
switchport mode trunk
switchport nonegotiate
spanning-tree guard loop
!
interface FastEthernet0/8
!
interface FastEthernet0/9
switchport mode trunk
switchport nonegotiate
spanning-tree guard loop
!
interface FastEthernet0/10
!
interface FastEthernet0/11
switchport mode trunk
switchport nonegotiate
spanning-tree guard loop
!
interface FastEthernet0/12
shutdown
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
ip http server
!
line con 0
line vty 5 15
!
!
end

ALS2#

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.