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