You are on page 1of 4

enable config t hostname SWC line con 0 pass cisco login line vty 0 15 pass cisco login exit

enable secret class service password-encryption interface vlan 99 ip address 172.17.99.33 255.255.255.0 no shutdown exit ip default-gateway 172.17.99.1 interface fa 0/11 switchport mode access switchport access vlan 20 switchport port-security max 1 switchport port-security mac sticky switchport port-security violation shutdown interface fa 0/16 switchport mode access switchport access vlan 30 switchport port-security max 1 switchport port-security mac sticky switchport port-security violation shutdown interface fa 0/6 switchport mode access switchport access vlan 10 switchport port-security max 1 switchport port-security mac sticky switchport port-security violation shutdown exit vlan 10 name Denver vlan 20 name Phoenix vlan 30 name Seattle vlan 40 ip address 200.20.3.66 255.255.255.240 no shutdown exit ip default-gateway 172.17.99.1 vtp mode client vtp domain CCNA vtp password cisco interface fa 0/1 switchport mode trunk switchport trunk native vlan 50

interface fa 0/6 switchport access vlan 10 interface fa 0/11 switchport access vlan 20 interface fa 0/16 switchport access vlan 30

switch#clock set #terminal history size 50 #terminal no history size config-if)duplex auto config-if)speed auto #copy running-config startup-config (config)baanner motd *jjjjj* config)vtp version # vtp password vtp domain vtp mode server, client enable config t banner motd *Warning GTFO* spanning-tree vlan 99 priority 4096 exit spanning-tree spanning-tree spanning-tree spanning-tree exit vlan vlan vlan vlan 1 priority 4096 10 priority 4096 20 priority 4096 30 priority 4096

debug spanning-tree events spanning-tree mode rapid-pvst

Inter-vlan routing int fa0/0.10 encapsulation dot1q 10 Ip address 172.17.10.1 255.255.255.0 int fa0/0.20 encapsulation dot1q 20 Ip address 172.17.20.1 255.255.255.0 int fa0/0.99 encapsulation dot1q 99 Ip address 172.17.99.1 255.255.255.0 int loopback 0 interface range fa 0/1-4

switchport trunk allowed vlan all switchport mode trunk enable config t no ip domain-lookup hostname S1 vtp password vtp domain vtp mode transparent no ip domain-lookup line con 0 pass cisco login line vty 0 15 pass cisco login exit enable secret class service password-encryption banner motd *Warning GTFO Authorized Personal only* interface fa 0/11 switchport mode access switchport access vlan 99 switchport port-security switchport port-security max 1 switchport port-security mac sticky switchport port-security violation shutdown interface fa 0/11 switchport mode access switchport port-security switchport port-security max 1 switchport port-security mac sticky switchport port-security violation shutdown interface fa 0/6 switchport mode access switchport port-security switchport port-security max 1 switchport port-security mac sticky switchport port-security violation shutdown interface fa 0/1 switchport mode trunk switchport trunk native vlan 50 interface gi 1/2 switchport mode trunk switchport trunk native vlan 50 interface gi 1/1 switchport mode trunk switchport trunk native vlan 50 vlan 10 name Denver vlan 20 name Phoenix vlan 30 name Seattle vlan 50 name Management interface vlan 50 ip address 200.20.3.69 255.255.255.240 no shutdown

exit interface shutdown interface shutdown interface shutdown interface shutdown

range fa 0/2-5 range fa 0/7-10 range fa 0/12-15 range fa 0/17-24

no ip domain-lookup

You might also like