Hostname vermemiz gerekli şart değil ama iyi olur.
Ilk görünüş şöyle iki networkümüz var ve switchlerde gigabit portlar Router R1 in iki gigabit portuna bağlı.
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable password cisco
Router(config)#line vty 0 4
Router(config-line)#password cisco
öncelikle enable işlemi her geldiğinde bundan sonra password soracak.
Ayrıca her konsol kablosu bağlantısında da password soracak (confıg-line)
Ve max 5 adet konsol enable edilmiş durumda
Şimdi ilk arayüzü ayarlayalım
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int giga
Router(config)#int gigabitEthernet 0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no sh
kısaca diğerini de ayarlayalım
Router(config-if)#exit
Router(config)#int gi 0/1
Router(config-if)#ip ad
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#no sh
Önemli konulardan biri de description yazmak böylece hangisi nereye bağlı biliriz.
Router(config-if)#description to LAN1
Duruma bakalım kısaca
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 192.168.1.1 YES manual up up
GigabitEthernet0/1 192.168.2.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
Detaylı Interface bilgileri
Router#show interfaces gigabitEthernet 0/1
GigabitEthernet0/1 is up, line protocol is up (connected)
Hardware is CN Gigabit Ethernet, address is 0001.4398.d702 (bia 0001.4398.d702)
Description: to LAN2
Internet address is 192.168.2.1/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is RJ45
output flow-control is unsupported, input flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 watchdog, 1017 multicast, 0 pause input
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out