Cisco 2950 – STP With Uplinkfast, trunks and VLans

no service password-encryption

hostname HOSTNAME

enable secret 5 $ENCRYPTED PASSWORD/
enable password UNECRYPTED PASSWORD

ip subnet-zero
vtp domain pre-dmz
vtp mode transparent

spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
spanning-tree uplinkfast
no spanning-tree vlan 1


vlan 20
 name office
exit
vlan 30
 name drift
exit

interface FastEthernet0/1
 switchport mode trunk
 no ip address 
exit

interface FastEthernet0/2
 switchport mode trunk
 no ip address 
exit


interface FastEthernet0/3
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/4
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/5
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/6
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/7
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/8
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/9
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/10
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/11
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/12
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/13
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/14
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/15
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/16
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/17
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/18
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/19
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/20
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/21
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/22
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/23
 switchport access vlan 20
 no ip address 
exit

interface FastEthernet0/24
 switchport access vlan 20
 no ip address 
exit


interface Vlan10
 no ip address
 no ip route-cache
 shutdown
exit
interface Vlan20
 ip address 192.168.0.0 255.255.255.0
 no ip route-cache
exit
ip http server
exit

 

Dette indlæg blev udgivet i Knowledge Base, Networking, Old Base. Bogmærk permalinket.

Skriv et svar