Commands Flashcards
Command used to view the routing table
show ip route
What does the bracket [120/2] mean in ip routing
[AD/hop-count]
Command to show where have a DTE or a DCE cable
show controllers interface
Command to view access-lists
show access-list
Command used to view ipv6 routing table
show ipv6 route
Command to check config NVRAM and storage left
show startup-config
Command to view specifies about a port-security on an interface
show port-security interface interface
Command to view mac address-table
show mac-address table
Command to view interfaces on Router/Switch
show ip interface brief
Command to view interfaces with ipv6 addresses
show ipv6 interface brief
Command to view parameters of a specific interface
show interface interface
Command to save running-config
copy running-config startup-config
Command to view info about each IP address currently leased to a client
show ip dhcp binding
Command to view the list of config ranges of IP addresses from each pool
show ip dhcp pool pool name
Command to view directly connected devices
show cdp neighbor
Command to view basic IP address translation info
show ip nat translations
Command to delete startup-config
# erase startup-config # reload
Command to verify NAT config and see the sending address, the translation and the destination address
debug ip nat
Commands to set password for user-exec mode
# line con 0 # password *password* # login # logging sync
Command to set password for privileged-exec mode
# enable secret *password* # service password-encryption
Commands to set up static NAT config
ip nat inside source static ip address
# interface fa0/0 # ip address *ip address* *subnet mask* # ip nat inside
# interface se0/0 # ip address *ip address* # ip nat outside
Commands to set up dynamic NAT config
ip nat pool pool name ip address ip address netmask mask
# interface fa0/1 # ip address *ip address* *subnet mask* # ip nat inside
# interface se0/0 # ip address *ip address* # ip address *ip address* *subnet mask* # ip nat outside
access-list # permit ip address wildcard mask
Commands for PAT config
# ip nat pool globalnet *ip address* *ip address* netmask *subnet mask* # ip nat inside source list *#* pool globalnet overload
# interface fa0/1 # ip address *ip address* *subnet mask* # ip nat inside
# interface se0/0 # ip address *ip address* # ip address *ip address* *subnet mask* # ip nat outside
access-list # permit ip address wildcard mask
Commands to set password for telnet
# line vty *first line num* *last line num* # password *password* # login
Command to disable DNS lookup function on a router
no ip domain-lookup