ICND1 IOS Commands Flashcards
assign your device a name
hostname switch01
assign an IP to a switch
int vlan 1
ip address 192.168.1.3 255.255.255.0
assign a default gateway to a switch
ip default-gateway 192.168.1.1
gather basic info about the device and IOS
show version
setup password to protect privilege mode
enable secret cisco
assign a password to the console port
line console 0 , password cisco , login
assign a password to telnet
line vty 0 , password cisco
encrypt all passwords in config.text
service password-encryption
create a banner
banner motd &Hello&
enable SSH
username ? password ? ip domain-name ?.com crypto key generate key rsa 1024 ip ssh version 2
configure telnet SSH for remote sessions
line vty 0 , transport input telnet ssh
configure port as access, enable security, enable violation actions, MAC learn options
switchport mode access
switchport portsecurity maximun 1
switchport portsecurity violation shutdown
switchport portsecurity mac sticky
command to configure multiple interfaces at once
interface range fastethernet 0/1 - 24
configure full duplex
duplex half , speed 10
redraw interrupted typed commands
line con 0 , logging synchronous
configure session time out
line con 0 , exec time-out 30 0
disable domain server search
no ip domain-lookup
create alias for any command
alias exec s show version
view interfaces with assigned IP address
show ip interface brief
view feedback from device
terminal monitor
view learned MAC by the switch
show mac address-table
view port security settings
show portsecurity interface fastethernet 0/1
view specific port configurations
show interface fastethernet 0/1
view the device configuration(setting)
show running-config
view all interfaces and settings
show interface -or- show interface vlan 1
which OSI/TCP layer does Telnet recides ?
Application Layer
which OSI/TCP layer does TCP recides ?
host to host transport layer
which OSI/TCP layer does ARP recides ?
internet / network layer
which OSI/TCP layer does ethernet recides ?
network interface layer
which OSI/TCP layer does FTP recides ?
Application Layer
which OSI/TCP layer does SMTP recides ?
Application Layer
which OSI/TCP layer does DNS recides ?
Application Layer
which OSI/TCP layer does RIP recides ?
Application Layer
which OSI/TCP layer does SNMP recides ?
Application Layer
What is the speed of a T1 line ?
1.55Mbps
What is the speed of a WAN link ?
56Kbps
layer that provides network access to aaplications
Application Layer
in this layer Information gets formatted (generified)
Presentation
this layer keeps all sessions logically separate
Session
This layer dictates how data is sent
Transport
This layer defines well-known port numbers
Transport
This layer provides logical addressing
Network
This layer finds best path to a destination
Network
This layer provides physical adressing
Data Link
This layer ensures error-free data
Data Link
Which command under Windows OS shows all open sessions ?
which extension shows names and which one shows IPs.
netstat
netstat -f
netstat -n
Class A addresses ranges from…?
Class B Addresses have how many hosts per network ?
1-126
65,536
Class A addresses have how many hosts per network ?
Class C addresses have how many hosts per network ?
16,777,214
254
Class B addresses range from…?
Class C addresses range from…?
128-191
192-223
Class A private address
Class B private address
Class C private address
- 0.0.0 - 10.255.255.255
- 16.0.0 - 172.31.255.255
- 168.0.0 - 192.168.255.255
Loop back address
Auto Config address
- x.x.x
169. 254.x.x
Application Layer in TCP/IP matches to which layers in the OSI model ?
Application
Presentation
Session
Transport layer in TCP/IP matches to which layers in the OSI model ?
Transport
Internet Layer in TCP/IP matches to which layers in the OSI model ?
Network
Network Access Layer in TCP/IP matches to which layers in the OSI model ?
Data Link
Physical
What type of message is ARP ?
broadcast
Computers don’t speak directly to …only to …
IP
MAC
which address always change in data transmition thru routers, MAC or IP ?
MAC
Which addresses needs NAT, public or private ?
Private
which protocol uses sequencing TCP or UDP ?
TCP
Which protocol uses ACKS, UDP or TCP ?
TCP
Which protocol is faster, UDP or TCP ?
UDP
In 3-way handshake, which happens first, second, and third ?
SYNC, ACK, SYNC ACK
SYNC
SYNC, ACK
ACK
What does TCP Windowing means or what id the function of it ?
packets qty increases according to reliable connection.
How does error recovery works in TCP ?
when a SEQ is lost the receiving party will ask for it, e.g. SEQ11 means, 11 is needed
Well known ports range from 0 to what number ?
0-1023
the combination of an IP address and a port number is called.
Socket
192.168.1.1:8080
switch mode selector RPS means
redundant power supply
switch mode selector STAT means
status of the device-the default
switch mode selector DUPLEX means
only duplex port will light up, others won’t
switch mode selector SPEED means
ports running in 100mbps will light up ???
administratively down, line protocol is down, which part is physical and which part is layer 2
admin down is physical
line protocol is layer 2
copy settings from RAM to config.text
copy running-config
startup-config