C3750-S1-LAB#sh run
Building configuration...Current configuration : 4490 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname C3750-S1-LAB
!
boot-start-marker
boot-end-marker
!
!
!
!
no aaa new-model
switch 1 provision ws-c3750-48ts
system mtu routing 1500
vtp domain LAB
vtp mode transparent
ip routing
no ip domain-lookup
!
!
!
!
crypto pki trustpoint TP-self-signed-1844256000
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1844256000
revocation-check none
rsakeypair TP-self-signed-1844256000
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 10,20,1985
!
!
!
!
interface FastEthernet1/0/1
switchport access vlan 10
switchport mode access
!
interface FastEthernet1/0/5
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1985
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet1/0/19
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet1/0/23
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
ip address 10.10.10.11 255.255.255.0
!
interface Vlan10
ip address 192.168.127.254 255.255.128.0
!
interface Vlan20
ip address 172.16.15.254 255.255.240.0
!
interface Vlan1985
ip address 19.85.19.84 255.255.255.254
!
ip default-gateway 8.8.8.8
ip classless
ip http server
ip http secure-server
!
end
C3750-S1-LAB#sh int trunk
Port Mode Encapsulation Status Native vlan
Fa1/0/5 on 802.1q trunking 1
Fa1/0/19 on 802.1q trunking 1
Fa1/0/23 on 802.1q trunking 1
Fa1/0/24 auto n-isl trunking 1
Port Vlans allowed on trunk
Fa1/0/5 1985
Fa1/0/19 1-4094
Fa1/0/23 1-4094
Fa1/0/24 1-4094
Port Vlans allowed and active in management domain
Fa1/0/5 1985
Fa1/0/19 1,10,20,1985
Fa1/0/23 1,10,20,1985
Fa1/0/24 1,10,20,1985
Port Vlans in spanning tree forwarding state and not pruned
Fa1/0/5 1985
Fa1/0/19 1,10,20,1985
Fa1/0/23 1,10,20,1985
Port Vlans in spanning tree forwarding state and not pruned
Fa1/0/24 1985
C3750-S1-LAB#sh span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0014.6950.c280
Cost 19
Port 25 (FastEthernet1/0/23)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 001f.6ded.1d00
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/19 Desg FWD 19 128.21 P2p
Fa1/0/20 Desg FWD 19 128.22 P2p
Fa1/0/23 Root FWD 19 128.25 P2p
Fa1/0/24 Altn BLK 19 128.26 P2p
VLAN0010
Spanning tree enabled protocol ieee
Root ID Priority 32778
Address 0014.6950.c280
Cost 19
Port 25 (FastEthernet1/0/23)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32778 (priority 32768 sys-id-ext 10)
Address 001f.6ded.1d00
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1 Desg FWD 19 128.3 P2p
Fa1/0/19 Desg FWD 19 128.21 P2p
Fa1/0/23 Root FWD 19 128.25 P2p
Fa1/0/24 Altn BLK 19 128.26 P2p
VLAN0020
Spanning tree enabled protocol ieee
Root ID Priority 32788
Address 0014.6950.c280
Cost 19
Port 25 (FastEthernet1/0/23)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32788 (priority 32768 sys-id-ext 20)
Address 001f.6ded.1d00
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/19 Desg FWD 19 128.21 P2p
Fa1/0/23 Root FWD 19 128.25 P2p
Fa1/0/24 Altn BLK 19 128.26 P2p
VLAN1985
Spanning tree enabled protocol ieee
Root ID Priority 34753
Address 001f.6ded.1d00
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 34753 (priority 32768 sys-id-ext 1985)
Address 001f.6ded.1d00
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/5 Desg FWD 19 128.7 P2p
Fa1/0/19 Desg FWD 19 128.21 P2p
Fa1/0/23 Desg FWD 19 128.25 P2p
Fa1/0/24 Desg FWD 19 128.26 P2p