1.
Hostname Sagor (Change Hostname Command )
2. Line Console 0 (Set line Console Password)
Password 123
Login
3. Line Aux 0 (Set line AUX Password)
Password 123
Login
4. Line Vty 0 4 (Set line VTY Password)(VTY Hl ®f¡VÑ 0-15 ¢cm ph…m¡ Ae qh )
Password 123
Login
5. (ctrl) + (Shift) + 6 (i¨m Lj¡-ä Router ,Switch Hang/[Link] q-m ¢c-a q-h )
6. Copy running Config Startup Config /Write /Do Write (For Save This File )
7. Enable Password 123 (Set Enable Password )
8. Enable Secret 123 (Set Enable Secret Password )
9. Service Password- encryption (ph f¡pJu¡XÑ Encryption q-h)
10. Password Recovery/Break Command
Open Physical >Power OFF /ON
Open CLI >Ctrl + Shift + c
Confreg 0x2142
Power off/on Abh¡ Reset
Hlfl ph Le¢gN¡l ¢lj¤i L-l
Config-Registered 0x2102
Do reload
11. DHCP Configuration:
IP DHCP POOL CCNA
Network [Link] [Link] (LAN NetworkHl Networkadd &Subnetmask ¢c-a q-h}
Default-Router [Link]{LAN Network Hl Gateway ¢c-a q-h}
DNS-Server :- [Link] (optional)
Option 150 IP [Link]{*}
IP DHCP-Excluded Address [Link](single IP Resarve )
IP DHCP-Excluded Address [Link] [Link] (multiple IP Resarve hobe 1-10)
12. Static Routing Command ~
IP Route [Link] [Link] [Link]/g0/0 (¢e-Sl ®eVJu¡-LÑl h¡C-ll pLm ®eVJu¡LÑ , a¡l
p¡heVj¡ú ,e„V ®q¡f/H¢„V ®f¡VÑ
13. DHCP Routing Command ~
IP Route [Link] [Link] [Link]/ g0/0 ([Link]--k-L¡-e¡ IP , Subnet Protocol Bp-h ¢L¿º p¤d¤
H
Ú L¡¢dL Router Port b¡L-m ka…m¡ l¡Ù¹¡ aa…m¡ Next Hope Bm¡c¡ ¢c-a q-h
14. Rip Routing Command ~
Router Rip
Version 2
Router-id [Link]( ka…m¡ Router aa…m¡ Bm¡c¡ Bm¡c¡ Router-ID , e¡ ¢c-mJ q-h auto Local
Connect ®k-L¡-e¡ HLV¡ BC¢f ¢e-h)
Network [Link]
Network [Link] (Local Connect Network …m¡)
Do wr
15. No Router RIP (RIP Protocol Delete Command )
16. EIGRP Routing Command ~
Router EIGRP 1(1-65535 As Number)
EIGRP Router-id [Link] ( Optional ka…m¡ Router aa…m¡ Bm¡c¡ Bm¡c¡ Router-ID , e¡ ¢c-mJ q-h
auto Local Connect ®k-L¡-e¡ HLV¡ BC¢f ¢e-h)
Network [Link] [Link] ( All Directly Connect Network , Wild card mask )
17. Metric Wight 0 (1 1 1 1 1) { Metric Wight Change Command }
18. Telnet Configure Command ~
Hostname R1
Line console Password set
Line AUX Password Set
Line VTY Password Set
Service Password- encryption Command
Line VTY 0 4
Transport input telnet (telnet Hl ®f¡VÑ Ae L-l ¢c-a q-h , k¢cJ Default on b¡-L)
Open pc >Cmd>Telnet Router Exit Port IP
Password :- VTY Hl password
19. EIGRP Routing Command ~
Router OSPF 1( 1 q-m¡ Process ID )
Router-id [Link] ( Optional ka…m¡ Router aa…m¡ Bm¡c¡ Bm¡c¡ Router-ID , e¡ ¢c-mJ q-h auto
Local Connect ®k-L¡-e¡ HLV¡ BC¢f ¢e-h)
Network [Link] [Link] area 0 (Directly Connect Network , wild card Mask , area
(0-4.3b) 0 q-m¡ Backbone Area )
Do write
20. Clear IP OSPF Process (For Router OSPF Protocol Reset)
21. Hello & Hold Timer Change Command ~
Interface g0/0
IP OSPF Hello-interval 20
22. Virtual-link Command ~
Router OSPF 1
Area 1 Virtual-link [Link] (HV¡ Ll-a q-h ABR Router )
Area 1 Virtual-Link [Link]
23. SSH Configure~
Set hostname
Set line console password
Set line Aux Password
Set line VTY Password\
Service Password-encryption
Set Enable Secret Password
Line VTY 0 4
Login local (Server q-m m¡-Ne¡,Router SeÉ m¡N-h)
Transport input SSH
IP Domain-name sitcom
Crypto Key Genarate RSA
1024
Username sagor password 123
Go to pc >Cmd
Ssh –l sagor (Router Gateway IP)
Password :- user password
24. BGP Routing Command
Router BGP 100 {1-65535 As Range }
BGP Router-id [Link]
Neighbor [Link] remote-as 200(Neighbor Next Hope IP & Neighbor As Number)
Network [Link] mask [Link] ( All Directly Connect Network Mask
Subnetmask)
Do Write
25. ACL~
Standard ACL (Standard ACL Allaws Configure Destination Router )
Condition 1
1. Unit A Cannot Access To Unit C
2. All Other Traffic Will be Allowed Unit C
Solution (First Acl List Creat Then Configure Port
1. Access-list 10 deny [Link] [Link] {Access-list (1-99) any range Permit/deny
Sourch network & Wildcardmask }
2. Access-list 10 permit any any (HC ®eVJu¡LÑ hÉ¡¢aa pLm ®eVJu¡LÑ H-L Jf-ll p¡-b ®k¡N¡-k¡N
Ll-a f¡l-h z)
3. Interface g0/0 ( -X¢ØV-ene l¡EV¡-ll LAN Port )
4. IP Access-group 10 out
5. Exit
Condition 2
1. Unit A PC [Link] Can Only Access To Unit B (Unit A-[Link]/24 Unit B-
[Link]/24)
2. Other Network Of Unit A Can`t Access to Unit B
3. All Other Traffic Will be Allowed Unit B
Solution (First Acl List Creat Then Configure Port )
1. Access-list 11 Permit Host [Link]
2. Access-list 11 deny [Link] [Link]
3. Access-list 11 permit any any
4. Interface g0/0 ( -X¢ØV-ene l¡EV¡-ll LAN Port )
5. IP Access-group 11 out
6. exit
Extendad ACL (Extendad ACL Allaws Configure Sourch Router )
Condition 1
1. Unit A Cannot Access To Unit C
2. All Other Traffic Will be Allowed Unit C
Solution
1. Access –List 100 deny ip [Link] [Link] [Link] [Link] {Access-list
(100-199) any range Permit/deny IP Sourch network Wildcardmask & Destination
Network Wildcard Mask }
2. Access-list 100 Permit IP any any (HC ®eVJu¡LÑ hÉ¡¢aa pLm ®eVJu¡LÑ H-L Jf-ll p¡-b
®k¡N¡-k¡N Ll-a f¡l-h z
3. Interface g0/1 ( Source Router LAN Port )
4. IP Access-group 100 in
5. exit
6.
Condition 2
1. Network Host [Link] Can Only Access To Network 2
2. Other host of Network 1 Cannot Access to Network 2
3. All Other Traffic Will be Allowed From Network 1
Net1-[Link]/24 Net2-[Link]/24 Net3-[Link]/24
Solution
1. Access –List 110 Permit ip host [Link] [Link] [Link]
2. Access-list 110 Deny IP [Link] [Link] [Link] [Link]
3. Access-list 110 Permit IP any any
4. Interface g0/1 ( Source Router LAN Port )
5. IP Access-group 110 in
6. exit
ACL Edit Command~
1. IP access-list extended 110 ( IP Access-list Standard/extended ID )
2. 105 Permit IP Host [Link] Any (La e¡ð¡l ¢p¢lu¡m >Command )
ACL Service Related Command ~
Condition 2
1. Network Host [Link] HTTP Access To Server (Server-[Link])
2. Other host of Network 1 Cannot HTTP Access to Server
3. All Other Traffic Will be Allowed From Network 1 to other Network
Solution
7. Access –List 111 Permit TCP host [Link] Host [Link] eq 80
8. Access-list 111 Deny IP [Link] [Link] Host [Link] eq 80
9. Access-list 111 Permit IP any any
10. Interface g0/1 ( Source Router LAN Port )
11. IP Access-group 111 in
12. exit
26. Nat Configure ~
IP NAT Inside Source-List 10 Interface g0/0 Overload {(IP Nat Inside source list (standard
acl-id) (All LAN Port) (Overload =pat configure)
Access-list 10 Permit [Link] [Link] (All LAN Network & Wildcard mask)
Interface g0/1 (WAN Side Port)
IP NAT Outside
Exit
Interface g0/0 (LAN Side Port)
IP NAT inside
Exit
Interface g0/2 (LAN Side Port)
IP NAT inside
Exit
27. STP(Spanning Tree Vlan1 Priority 0 (For Spanning Tree Priority Change Command 0)
28. VLAN~
Vlan10 (10 q-m¡ Vlan Id )
Name Satcom(-k-L¡-e¡ e¡j ®cJu¡ k¡-h)
Exit
Interface Fastethernet 0/1(Single port open )
Interface Range Fastethernet 0/1-10 (Multiple 1-10 port open )
Switchport mode Access (VLAN Ll-a Mode Access Mode Be-a q-h)
Switchport Access Vlan 10
Interface g0/0
Switchport Mode Trunk (Port Trunk Command )
Inter-vlan
Interface g0/0
No Sh (just port up )
Exit
Int g0/0.10
Encapsulation dot1Q 10 (10 Vlan id)
IP Address [Link] [Link] (ka…m¡ VLAN L-l Bm¡c¡ Network Ll-h¡ pLm
Network Hl Gateway ¢c-a q-h )
Interface f0/0
Switchport mode trunk
Voice-VLAN - go to switch
VLAN 40
Name Voice_vlan
Interface f0/10
Switchport Voice VLAN 40 (Voice VLAN add q-mJ access default VLAN b¡L-h)
Interface f0/10
Switchport Mode Access
Switchport Access vlan30