Banner Router(config)#banner motd #message# Interfaces Inter faces : s2/0 s2/ 0 Router(config)#interface s2/0 Router(config-if)#ip address (adres) (subnet) Router(config-if)#no shutdown Router(config-if)#clock rate 64000 : only if DCE, not for DTE! Router(config-if)#exit Interfaces Inter faces : fa0/0 fa0 /0 Router(config)#interface fa0/0 Router(config-if)#ip address (adres) (subnet) Router(config-if)# no shutdown Interfaces Inter faces:: loopback opba ck 0 Router(config)#interface lo 0 Router(config-if)#ip address (adres) (subnet) Routing Routi ng protocol prot ocolss - RIP Router(config)#router rip Router(config-router)#network 192.5.5.0 Router(config-router)#network … Rip version2 Router(config)# router rip Router(config-router)# version 2
:(network part of the address)
Skills Commands CCNA2 2.
Routing protocols - EIGRP Router(config)#router eigrp 1 Router(config-router)#network 192.5.5.0 0.0.0.255 :(network part of the address + wildcardmask) Router(config-router)#network …
Router(config-router)#no auto-summary Router(config-router)#redistribute static Routing protocols - OSPF Router(config)#router ospf 1 Router(config-router)#network 192.5.5.0 0.0.0.255 area 0 :(network part of the address + wildcard) Router(config-router)#network …
Router(config-router)#default-information originate OSPF timers (must be the same on both routers) Router(config-if)#ip ospf hello-interval 10 Router(config-if)#ip ospf dead-interval 40 Static routes
Destination mask Default gateway or outgoing interface GAD(config)#ip route 192.168.16.0 255.255.255.0 192.168.15.2 GAD(config)#ip route 192.168.16.0 255.255.255.0 s0 Default route GAD(config)# ip route 0.0.0.0 0.0.0.0 192.168.15.2 GAD(config)# ip route 0.0.0.0 0.0.0.0 lo 0 Checking Router#sh run Router#sh start Router#sh cdp neighbors Router#sh ip route Router#sh ip protocols Router#debug ip rip Router#ping Router#trace
: show running config : show startup config
Other commands Router(config)#service password-encryption Description …. no CDP run : disable cdp on a global level no CDP enable : disable cdp on an interface Ctrl-Shift-6, then x : stop telnet Debug ip rip Debup ip icmp