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
Q

Command to disable DNS lookup function on a router

A

no ip domain-lookup

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

Commands to add a ipv4 address to an interface

A
# interface *interface*
# ip address *ip address* *subnet mask*
27
Q

Commands to set up ssh

A
# ip domain-lookup
# username *name* password *password*
# crypto key generator rsa
# line vty 0 15
# login local
# transport input *all, telnet, ssh*
28
Q

Command to set up a static route

A

ip route destination subnet mask next-hop

29
Q

Command to set up a default route

A

ip route 0.0.0.0 ip address

30
Q

Commands to make hosts DHCP clients

A
# interface *interface*
# ip address dhcp
31
Q

Commands to config RIP routing

A
# router rip
# network *classful net address*
# version 2
# no auto-summary
32
Q

Command that prevents RIP update broadcasts from being sent to a specific interface

A
# router rip
# passive-interface *interface*
33
Q

Command to enable port-security

A
# interface *interface*
# switchport mode access
# switchport port-security
34
Q

Command for security to have MAC address dynamically learned and added to running-config

A

switchport port-security mac-address sticky

35
Q

Command for security that limits the max addresses learned to 1

A

switchport port-security maximum 1

36
Q

Command for security that is the default violation mode and puts the interface into an error-dissabled state immediately

A

switchport port-security violation shutdown

37
Q

Command to enable ipv6 in global-config

A

ipv6 unicast-routing

38
Q

Command to enable IPv6 to a specific interface

A

ipv6 enable

39
Q

Command to assign an interface with an IPv6 address

A

ipv6 address ip address prefix (eui-64)

40
Q

Commands to config DHCP

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

Command to view lease of DHCP

A

show ip dhcp binding

42
Q

Command to det. next DHCP address to use

A

show ip dhcp pool

43
Q

Commands to set up a VLAN

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

Commands to config Inter-VLAN routing

A
# interface f0/0.1
# encapsulation dot1q *vlan num*
# ip address *address* *subnet mask*
45
Q

Commands to config DHCP relay

A
# interface *interface*
# ip helper-address *dhcp server ip address*
46
Q

Command to assign severity level range

A

logging trap severity level

47
Q

Command to sync dates and times on a network

A

ntp server ip address version

48
Q

Commands to set up standard access-list

A
# access-list *1-99* *deny/permit* *host/any/ip address range* *subnet mask*
# interface fa0/1
# ip access-group *1-99* *in/out*
49
Q

Commands to set up standard access-list to telnet/ssh

A
# access-list 50 permit host 172.16.10.3
# line vty 0 4
# access-class 50 in
50
Q

Commands to set up extended access-list

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

Commands to set up a named standard access

A
# ip access-list standard *WORD*
# deny *ip add* *sub mask*
# permit any
# exit 
# interface *int*
# ip access-group *WORD* out
52
Q

Command to show access port VLANs

A

show vlan

53
Q

Command to show trunked ports

A

show interface trunk

54
Q

Command to show details about a specific switchport

A

show interface int switchport

55
Q

Command to permanently install a license on an ISR2 router

A

license install

56
Q

Command that will copy the IOS to a backup host on your network

A

copy flash tftp

57
Q

Command that loads a new version of the cisco IOS into a router

A

copy tftp flash

58
Q

Distance from the reference clock

A

stratum

59
Q

Belongs to and carries the traffic of only one VLAN

A

access ports (no tagging)

60
Q

Way of explicitly tagging VLAN info onto an ethernet frame

A

Inter-switch link (ISL)

61
Q

Command to map an ipv6 static unicast address?

A

ipv6 address address/prefix-length

62
Q

Command to enable ipv6?

A

ipv6 address

63
Q

Command to map a link-local address?

A

ipv6 address address link-local