You are on page 1of 3

IOS Terminal configuratie commando’s

Hardware info (RAM, processor, …) >show version


Commands switches (config)#router ?
Enter privileged EXEC mode >enable
Enter global config mode #config terminal
Naming the router (config)#hostname name
Privileged EXEC password (config)#enable secret password
Console password (config)#line console 0
(config-line)#password password
(config-line)#login
Telnet password (config)#line vty 0 4
(config-line)#password password
(config-line)#login
Keep output separate from input (config-line)#logging synchronous
Message-of-the-day banner (config)#banner motd # message #

Interface configuration (config)#interface Serial0/0/0


(config-if)#(no) ip address 192.168.2.1
255.255.255.0
(config-if)#description description
- DCE clockrate (serial) (config-if)#(no) shutdown
(config-if)#clock rate 64000
Which end of serial cable to interface? #show controllers serials 0/0/0
Debug IP routing #debug ip routing
#undebug ip routing
Saving running-config to NVRAM #copy running-config startup-config
Show information
- Current config changes #show running-config
- Routing table #show ip route (192.168.1.1)
- Show interfaces config #show ip interface brief
- Show (all) interface(s) stats #show interfaces serial 0/0/0

All cisco neighbors (Cisco Discovery Protocol) #show cdp neighbors


Neighbors details #show cdp neighbors detail
Disable CDP globally #no cdp run
Only stop CDP advertisements on 1 interface (config-if)#no cdp enable

Static IP route (config)# (no) ip route 172.16.1.0 255.255.255.0


172.16.2.2
OR
(config)# (no) ip route 172.16.1.0 255.255.255.0
fa0/0
OR BOTH
Check outgoing connection by ping #ping 172.16.1.0
Routing protocols used #show ip protocols

Enable RIPv1 (router config mode) (config)#(no) router rip


Specify connected classful network for RIP (config-router)#network 192.168.1.32
All other traffic to this router (internet access) (config-router)#default-information originate
with static default route (to internet interface).
Spread static route using dynamic routing
Stop sending unnecessary RIP updates to (config-router)#passive-interface FastEthernet
interface 0/0
Leave config (config-router)#end
Debug RIP #debug ip rip
Undebug all #undebug all

VLSM (Sub-subnetting) voor dummies

1. Het gegeven netwerkadres


128 64 32 16 8 4 2 1
vb:
159.246.142.0 /23 0 0 0 0 0 0 0 0

binair binair <> decimal berekening

10011111.11110110.10001010.00000000
11111111.11111111.11111110.00000000 (23 subnetbits)
Dit deel staat reeds vast!

2. Rangschik de subnetten op aantal benodigde hosts (van groot naar klein)

Production 254
Administration 62
Sales
30
Board of Directors
Stock
Financial 15 15
Logistical 6
WAN 1
WAN 2
2
WAN 3
WAN 4
3. We gaan subnetten van boven naar onder. We beginnen dus met Production (254 hosts)

 Hoeveel bits heb je nodig om netwerken van 254 hosts te maken?


2^8 -2 = 254 (dus 8 bits zijn nodig, 1ste en laatste host zijn niet bruikbaar)

bijkomend subnet-deel 8 hostbits

10011111.11110110.10001010.00000000 2 nieuwe subnetten


11111111.11111111.11111110.00000000

10011111.11110110.10001010 159.246.142.0/24 = De 1ste voor Production


10011111.11110110.10001011 159.246.143.0/24 = verder subnetten

4. We herhalen stap 3 voor de rest van de benodigde subnetten uit stap 2

 Hoeveel bits heb je nodig om netwerken van 62 hosts te maken?


2^6 -2 = 62 (dus 6 bits zijn nodig, 1ste en laatste host zijn niet bruikbaar)

bijkomend subnet-deel 6 hostbits

10011111.11110110.10001011.00000000 4 nieuwe subnetten


11111111.11111111.11111111.00000000

10011111.11110110.10001011.00 159.246.143.0/26 = De 1ste voor Administration


159.246.142.64/26 = verder subnetten
10011111.11110110.10001011.01
10011111.11110110.10001011.10
10011111.11110110.10001011.11

…………………………………..

5. Berekenen van eerste hostadres, laatste hostadres, broadcastadres, subnetmask


aan de hand van netwerkadres met prefix

You might also like