You are on page 1of 3

-------------------BASIC -------------------en conf t hostname -enable secret -no ip domain lookup line con 0 pass -login line vty

0 15 pass -login exit banner motd & Authorized access only! & copy r s

---------------------Switch Basic conf ---------------------conf t vlan -exit int vlan -ip add -- -no shut exit int range f0/1-24 shut exit ip default-gateway --------------security -------------int f-switchport switchport switchport switchport switchport mode access port-security port-security maximum port-security mac-add sticky port-security violation (protect/shut/--)

---------------vlan conf ----------------

int range f-switchport mode access no shut vlan -name -exit int range f-- - -switchport access vlan -end int vlan -ip add no shut int range f-- - -switchport mode trunk switchport trunk native vlan -no shut end

------------vtp conf ------------vtp mode -vtp dom -vtp pass -end vtp pruning // for up pruning

------------------spanning ------------------sh spanning-tree spanning-tree vlan -- priority -//highest better

-------------------encapsulate -------------------int f--.encapsulation dot1q // if wan + native behind

ip add -- --

You might also like