Commands Flashcards

1
Q

Command used to view the routing table

A

show ip route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the bracket [120/2] mean in ip routing

A

[AD/hop-count]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Command to show where have a DTE or a DCE cable

A

show controllers interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Command to view access-lists

A

show access-list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Command used to view ipv6 routing table

A

show ipv6 route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Command to check config NVRAM and storage left

A

show startup-config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Command to view specifies about a port-security on an interface

A

show port-security interface interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Command to view mac address-table

A

show mac-address table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Command to view interfaces on Router/Switch

A

show ip interface brief

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Command to view interfaces with ipv6 addresses

A

show ipv6 interface brief

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Command to view parameters of a specific interface

A

show interface interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Command to save running-config

A

copy running-config startup-config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Command to view info about each IP address currently leased to a client

A

show ip dhcp binding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Command to view the list of config ranges of IP addresses from each pool

A

show ip dhcp pool pool name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Command to view directly connected devices

A

show cdp neighbor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Command to view basic IP address translation info

A

show ip nat translations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Command to delete startup-config

A
# erase startup-config
# reload
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Command to verify NAT config and see the sending address, the translation and the destination address

A

debug ip nat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Commands to set password for user-exec mode

A
# line con 0
# password *password*
# login
# logging sync
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Command to set password for privileged-exec mode

A
# enable secret *password*
# service password-encryption
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Commands to set up static NAT config

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Commands to set up dynamic NAT config

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Commands for PAT config

A
# 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Commands to set password for telnet

A
# line vty *first line num* *last line num*
# password *password* 
# login
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Command to disable DNS lookup function on a router
no ip domain-lookup
26
Commands to add a ipv4 address to an interface
``` # interface *interface* # ip address *ip address* *subnet mask* ```
27
Commands to set up ssh
``` # ip domain-lookup # username *name* password *password* # crypto key generator rsa ``` ``` # line vty 0 15 # login local # transport input *all, telnet, ssh* ```
28
Command to set up a static route
ip route *destination* *subnet mask* *next-hop*
29
Command to set up a default route
ip route 0.0.0.0 *ip address*
30
Commands to make hosts DHCP clients
``` # interface *interface* # ip address dhcp ```
31
Commands to config RIP routing
``` # router rip # network *classful net address* # version 2 # no auto-summary ```
32
Command that prevents RIP update broadcasts from being sent to a specific interface
``` # router rip # passive-interface *interface* ```
33
Command to enable port-security
``` # interface *interface* # switchport mode access # switchport port-security ```
34
Command for security to have MAC address dynamically learned and added to running-config
switchport port-security mac-address sticky
35
Command for security that limits the max addresses learned to 1
switchport port-security maximum 1
36
Command for security that is the default violation mode and puts the interface into an error-dissabled state immediately
switchport port-security violation shutdown
37
Command to enable ipv6 in global-config
ipv6 unicast-routing
38
Command to enable IPv6 to a specific interface
ipv6 enable
39
Command to assign an interface with an IPv6 address
ipv6 address *ip address* *prefix* (eui-64)
40
Commands to config DHCP
``` # ip dhcp excluded-address * excluded address range* # ip dhcp pool *pool name* # network *network address* *subnet mask* # default-router *router int address* # dns-server *ip address* # lease *days hours min* ```
41
Command to view lease of DHCP
show ip dhcp binding
42
Command to det. next DHCP address to use
show ip dhcp pool
43
Commands to set up a VLAN
``` # vlan *2-1001/1006-4094* # name *WORD* # interface *interface* # switchport mode *access/trunk* # switchport *access/trunk* #switchport *access/trunk* vlan *2-1001/1006-4094* ```
44
Commands to config Inter-VLAN routing
``` # interface f0/0.1 # encapsulation dot1q *vlan num* # ip address *address* *subnet mask* ```
45
Commands to config DHCP relay
``` # interface *interface* # ip helper-address *dhcp server ip address* ```
46
Command to assign severity level range
logging trap *severity level*
47
Command to sync dates and times on a network
ntp server *ip address* *version*
48
Commands to set up standard access-list
``` # access-list *1-99* *deny/permit* *host/any/ip address range* *subnet mask* # interface fa0/1 # ip access-group *1-99* *in/out* ```
49
Commands to set up standard access-list to telnet/ssh
``` # access-list 50 permit host 172.16.10.3 # line vty 0 4 # access-class 50 in ```
50
Commands to set up extended access-list
``` # access-list *100-199* *deny/permit* *protocol* *source add* *dest add* # access-list *100-199* permit ip any any #interface f0/1 #ip access-group *100-199* *in/out* ```
51
Commands to set up a named standard access
``` # ip access-list standard *WORD* # deny *ip add* *sub mask* # permit any # exit # interface *int* # ip access-group *WORD* out ```
52
Command to show access port VLANs
#show vlan
53
Command to show trunked ports
show interface trunk
54
Command to show details about a specific switchport
show interface *int* switchport
55
Command to permanently install a license on an ISR2 router
license install
56
Command that will copy the IOS to a backup host on your network
copy flash tftp
57
Command that loads a new version of the cisco IOS into a router
copy tftp flash
58
Distance from the reference clock
stratum
59
Belongs to and carries the traffic of only one VLAN
access ports (no tagging)
60
Way of explicitly tagging VLAN info onto an ethernet frame
Inter-switch link (ISL)
61
Command to map an ipv6 static unicast address?
ipv6 address *address/prefix-length*
62
Command to enable ipv6?
ipv6 address
63
Command to map a link-local address?
ipv6 address *address* link-local