vtp configuration ----------------config t vtp mode server vtp domain ccna vtp password cisco vtp pruning exit

-------------------config t vtp mode client vtp domain ccna vtp password cisco vrp pruning exit Configure TRUNK -------------conf t int range f0/1 - 2 switchport mode trunk switchport trunk native vlan 1 //configure vlan 1 as native vlan conf t int f0/1 switchport mode trunk encapsulation dot1q switchport mode trunk exit

//multilayer switch (39xx

create VLAN ----------config t vlan 10 name IT exit vlam 100 name HR exit Assign VLAN ---------conf t int f0/22 switchport mode access switchport mode access vlan 10 exit

int range r0/23 .10.RSTP/PVRSTP+ -------------------------------------------config t spanning-tree vlan 1 root primary spanning-tree vlan 10 root secondary Router in a stick configuration (Lollipop router) ------------------------------------------------config t hostname R0 enable secret cisco line vty 0 4 password telnet login exit int f0/0 ip add 10.255.0 no shut exit int f0/0.100 encapsulation dot1q 100 ip add 192.0 no shut exit int f0/0.1.255.0 no shut exit ------------------ .10 encapsulation dot1q 10 ip add 10.254 255.168.0.255.0.255.255.255.254 255.254 255.10.24 switchport mode access swithport mode access vlan 100 exit Portfast configuration --------------------config t int f0/12 switchport mode access spanning-tree portfast exit electing root bridge manually .

x.x x.x.sh controller s0/0 clock rate 64000 //DCE Configure Loopback for Router ID -------------------------------conf t int lo1 ip add 1.255.x.0 no shut exit Configure OSPF -------------config t router ospf x network x.1.255.x Configure Priority -----------------conf t int f0/0 ip ospf priority # Clear IP ospf -----------config t clear ip ospf process //<0-255> ip ospf authentication ---------------------config t int s0/0 ip ospf authentication-key cisco ip ospf authentication //plaintext exit .x.x area 0 exit OSPF ID -------config t router ospf x router-id x.x.x.1.1 255.

0.255 STATIC NAT ---------config t no ip nat inside source static 10.x.0 0.3.0.3.251 no ip nat inside source static 10.0.x.1.10.3.255 network 192.1.x no auto exit Configure EIGRP key-chain ------------------------config t key chain Boon-key key 1 key-string cisco exit key 2 key-string ccna exit exit int s0/0 ip authentication mode eigrp 10 md5 ip authentication key-chain eigrp 10 Boon-key exit router eigrp 10 no network 10.0.168.10.1.11 3.12 3.Configure EIGRP -------------conf t router eigrp 10 network x.252 int f0/0 ip nat inside int s0/0 ip nat outside Dynamic NAT ----------config t .3.1.0.0 0.

0 0.0.255 ip nat pool BOON_POOL 3.3.3.0 ip nat inside source list 10 pool BOON_POOL int f0/0 ip nat inside exit int s0/0 ip nat outside exit Overloading (PAT) ----------------conf t access-list 10 permit 10.access-list 10 permit 10.1.3.0.0 0.3.0.255 ip nat inside source list 10 int s0/0 overload int f0/0 ip nat inside exit int s0/0 ip nat outside exit .1 3.255.1.0.255.250 netmask 255.1.1.