Switch Commands Flashcards

1
Q

What command is used to enter interface configuration mode?

A

(config)# interface g1/0

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

What command adds an IPv4 address to an interface?

A

(config-if)# ip address 10.23.42.5 255.255.0.0

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

How do you overwrite the MAC address of an interface?

A

(config-if)# mac address 1234.5678.90AB

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

What command removes the MAC overwrite?

A

(config-if)# no mac address

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

What command adds an IPv6 address to an interface?

A

(config-if)# ipv6 address 2001:41d0:8:e115::ccc/64

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

Fill in the blank: To get an IPv4 address via DHCP, use the command _______.

A

(config-if)# ip address dhcp

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

What command sets the default gateway?

A

(config)# ip default-gateway 10.23.42.1

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

What command adds a static route via the next hop or interface?

A

(config)# ip route 10.20.30.0 255.255.255.0 {1.2.3.4,e0/0} [ad]

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

What command shows the MAC address table of a switch?

A

show mac address-table

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

What is the purpose of the command ‘debug arp’?

A

Show debug messages when receiving/sending ARP packets

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

True or False: The command ‘# clear ip arp 192.168.1.1’ removes the ARP entry for the specified IP.

A

True

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

What command enables port security on an interface?

A

(config-if)# [no] switchport port-security

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

Fill in the blank: The command to manually allow a MAC on a port is _______.

A

(config-if)# switchport port-security macaddress 1234.5678.9abc

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

What happens when a port security violation occurs and the command ‘switchport port-security violation shutdown’ is set?

A

Shutdown the port when another device gets connected

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

What command enables BPDU guard for all portfast enabled interfaces?

A

(config)# spanning-tree portfast bpduguard enable

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

What does the command ‘# show spanning-tree summary’ display?

A

Is global portfast/bpduguard configured?

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

What command is used to enable Rapid Spanning Tree Protocol?

A

(config)# spanning-tree mode rapid-pvst

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

What command is used to create a subinterface on a router?

A

(config)# interface g1/1.10

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

What command shows all configured ACLs?

A

show [ip[v6]] access-lists

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

What does the term ‘inside local’ refer to in NAT?

A

IP address assigned to a host inside the network, non-routable

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

What command applies ACL #23 to outgoing packets?

A

(config-if)# ip access-group 23 out

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

Fill in the blank: The command to create a static NAT entry is _______.

A

(config)# ip nat inside source static 10.10.23.2 1.2.3.5

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

What command shows the status of VTP?

A

show vtp status

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

What is the purpose of the command ‘# show interfaces g1/1 switchport’?

A

Verify mode and VLAN of g1/1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What command is used to configure a VLAN?
(config)# [no] vlan 23
26
What command shows the trunk settings and state?
# show interfaces g1/1 trunk
27
What is the default VLAN for trunking?
VLAN 1
28
What command is used to clear the dynamically learned MAC address table entries?
# clear mac address-table [dynamic]
29
What command enables IPv6 routing globally?
(config)# ipv6 unicast-routing
30
What does the command '# show ip route' display?
Show routes and how they were learned
31
What command is used to configure Layer 3 interfaces for VLANs?
(config)# interface vlan 23
32
What does the command '# show vlans' do?
Show VLANs and their trunk interfaces
33
What command is used to configure a serial interface?
(config)# interface serial 1/0
34
What is the purpose of the command '# show controllers serial 1/0'?
Verify clock rate for serial interface 1/0
35
What command sets the clock rate on the DCE router side?
(config-if)# clock rate 128000
36
What are the two types of addresses in NAT?
* Local addresses * Global addresses
37
What command creates a static host entry on a device?
(config)# ip host the-space.agency 178.32.222.21
38
What command shows ARP entries for a specific IP?
# show ip arp [{ip, mac, if-name}]
39
What command is used to configure an interface as NAT outside?
ip nat outside
40
What is the command to assign an IP address to interface g1/2?
ip address 10.10.23.1 255.255.255.0
41
What does SNAT stand for?
Source Network Address Translation
42
Define inside local.
IP address assigned to a host inside the network, non-routable
43
Define inside global.
IP address assigned by Network Information Center or ISP, routable
44
Define outside local.
IP address of a remote host as it appears inside the network, non-routable
45
Define outside global.
IP address of a remote host assigned by the host owner, routable
46
What is the command to create an ACL identifying 10.10.23.0?
access-list 42 permit 10.10.23.0 0.0.0.255
47
What does the command 'ip nat pool POOL 1.2.3.5 1.2.3.10' do?
Create an IP Address Pool for NATing
48
What is the purpose of the overload keyword in NAT?
Allows one or a couple of external IPs to be used for multiple internal IPs
49
What command shows NAT table entries?
show ip nat translations
50
What command clears dynamic NAT translations?
clear ip nat translation
51
What command is used to exclude specific IP addresses from DHCP leases?
ip dhcp excluded-address 10.30.4.1
52
What command creates a DHCP pool named 'PCs'?
ip dhcp pool PCs
53
Fill in the blank: The command 'ip helper-address _______' is used to relay DHCP requests.
192.168.1.1
54
What does the command 'standby [group-number]' do in HSRP?
Join HSRP Group
55
What is the command to create an IP SLA test?
ip sla 23
56
What command sets the hostname of a device?
hostname R1
57
What is the command to copy the running configuration to startup configuration?
copy running-config startup-config
58
What command is used to set the configuration register value?
config-register 0x2342
59
What command shows the version information of the IOS?
show version
60
What command is used to enable AAA services?
aaa new-model
61
What command is used to log to a specific syslog server?
logging 10.20.30.40
62
What command enables CDP globally?
cdp run
63
What does the command 'ip ssh version 2' do?
Force SSHv2
64
What command configures an upstream NTP server?
ntp server 10.20.30.40
65
What command shows open ports on the control plane?
show control-plane host open-ports
66
What command is used to create users for PAP authentication?
username fnord password pass
67
What command is used to check the status of NTP synchronization?
show ntp status
68
What command is used to show SNMP community information?
show snmp community
69
What command is used to enable LLDP on an interface?
lldp transmit
70
What command is used to create a virtual interface for MLP?
interface Multilink23
71
What command is required to configure a PPP interface?
encapsulation ppp
72
What command is used to enable multilink PPP?
ppp multilink ## Footnote This command allows multiple physical interfaces to be combined into a single logical interface.
73
What does the command 'ppp multilink group 23' do?
Joins physical interfaces to multilink group #23 ## Footnote This command is used to group multiple physical links together for better bandwidth utilization.
74
What is the purpose of the command 'interface s0/0/0'?
Configures a physical interface ## Footnote This command is used to enter the configuration mode for a specific physical interface.
75
What command removes the IP address from an interface?
no ip address ## Footnote This command is used to clear an IP address configuration from an interface.
76
What encapsulation type is specified with 'encapsulation ppp'?
PPP (Point-to-Point Protocol) ## Footnote This command sets the data link layer encapsulation method to PPP.
77
What command checks the status of PPP multilink?
show ppp multilink ## Footnote This command displays the status of the physical interfaces associated with multilink PPP.
78
What command creates and configures a virtual dialer interface?
interface Dialer23 ## Footnote This command is used for setting up a virtual interface for dial-on-demand routing.
79
What does 'ip address negotiated' do in a dialer interface?
Obtains an IP address via PPP/IPCP ## Footnote This command allows the interface to receive its IP address dynamically through the PPP protocol.
80
What command is used to join a dialer interface to a dialer pool?
dialer pool 23 ## Footnote This command associates the dialer interface with a specified dialer pool.
81
What command checks if a dialer interface is up and has an IP address?
show ip interface brief ## Footnote This command provides a summary of the interface status and IP address assignment.
82
What command checks for established PPPoE sessions?
show pppoe session ## Footnote This command displays the status of PPPoE sessions and their associated ports.
83
What does the 'interface tunnel23' command do?
Configures a GRE tunnel interface ## Footnote This command is used to create a GRE tunnel for encapsulating packets.
84
What command sets the source IP for a GRE tunnel?
tunnel source 10.20.30.40 ## Footnote This command specifies the local source address for the GRE tunnel.
85
What command sets the destination IP for a GRE tunnel?
tunnel destination 6.5.4.3 ## Footnote This command specifies the remote destination address for the GRE tunnel.
86
What is the command to enable RIP and enter its configuration mode?
router rip ## Footnote This command starts the RIP routing protocol configuration.
87
What command sets RIPv2 mode?
version 2 ## Footnote This command configures the routing protocol to use Classless Inter-Domain Routing.
88
What is the function of 'no auto-summary' in RIP?
Prevents summarization of smaller subnet routes in larger ones ## Footnote This command ensures that subnet routes are advertised in their full detail.
89
What command is used to show RIP learned routes?
show ip rip database ## Footnote This command provides information about the routes learned by the RIP protocol.
90
What does the command 'router eigrp 23' do?
Adds and configures EIGRP Autonomous System #23 ## Footnote This command initiates the EIGRP routing process for the specified AS.
91
What command is used to enable EIGRP routing on an interface?
[no] ipv6 eigrp 23 ## Footnote This command enables or disables EIGRP for IPv6 on the specified interface.
92
What is the default reference bandwidth for OSPF?
100 Mbps ## Footnote This default value is used to calculate the cost of OSPF routes based on interface bandwidth.
93
What command is used to advertise a default route in OSPF?
default-information originate ## Footnote This command allows OSPF to advertise the default route to other routers.
94
What are the types of routers in OSPF?
* Internal Router * Backbone Router * Area Boundary Router (ABR) * Autonomous System Boundary Router (ASBR) ## Footnote These types define the roles of routers within an OSPF network.
95
What command creates a BGP routing process?
router bgp ## Footnote This command initiates the BGP routing protocol configuration.
96
What does the command 'neighbor remote-as' do in BGP?
Specifies the remote autonomous system for BGP neighbors ## Footnote This command is essential for establishing BGP peer relationships.
97
What command is used to display BGP neighbor session states?
show ip bgp summary ## Footnote This command provides a summary of BGP neighbor relationships and session status.
98
What command sets the duplex mode on an interface?
duplex {full, auto} ## Footnote This command configures the duplex setting for the specified interface.
99
What command is used to add an IPv4 address to an interface?
ip address 10.23.42.5 255.255.0.0 ## Footnote This command configures an IPv4 address and subnet mask on a specified interface.
100
What is the command to get an IPv4 address via DHCP?
ip address dhcp ## Footnote This command configures the interface to obtain its IPv4 address automatically from a DHCP server.
101
What is the purpose of 'ip default-gateway' command?
Sets the default gateway for the device ## Footnote This command specifies the next-hop IP address for packets destined for remote networks.
102
How do you enable or disable an interface?
(config-if)# [no] shutdown ## Footnote 'shutdown' is often the default state.
103
What command sets 10.23.42.1 as the default gateway?
(config)# ip default-gateway 10.23.42.1
104
How do you add a static route via next hop or interface?
(config)# ip route 10.20.30.0 255.255.255.0 {1.2.3.4,e0/0} [ad]
105
What command sets both IPv6 route and next hop?
(config)# ipv6 route 2001:41d0:8:e115::/64 [g1/1] [next hop]
106
How do you create a static host entry on a device?
(config)# ip host the-space.agency 178.32.222.21
107
What command globally enables IPv6 routing?
(config)# ipv6 unicast-routing
108
What command shows interface MAC, bandwidth, MTU, and packet stats?
# show interfaces [if-name]
109
How do you show routes and how they were learned?
# show ip[v6] route [static]
110
What command shows IP/ARP/ICMP/ND configuration for interfaces?
# show ip[v6] interface [if-name]
111
What command shows a brief status of IP interfaces?
# show ip[v6] interface brief [if-name]
112
How do you show the MAC address table of a switch?
# show mac-address-table
113
What command clears dynamically learned MAC address table entries?
# clear mac address-table [dynamic]
114
How do you show ARP bindings?
# show arp
115
What command removes an ARP entry for a specific IP?
# clear [ip] arp 192.168.1.1
116
What command shows debug messages for ARP packets?
# debug arp
117
How do you disable all previously enabled debugs?
# undebug all
118
What command shows the neighbor discovery table cache?
# show ipv6 neighbors
119
Define SPAN #23 input as g1/1.
(config)# monitor session 23 source interface g1/1 {rx,tx,both}
120
Define SPAN #23 output as g1/2.
(config)# monitor session 23 destination interface g1/2
121
How do you show all configured SPANs?
# show monitor
122
How do you enable or disable port security?
(config-if)# [no] switchport port-security
123
What command sets the number of allowed MACs?
(config-if)# switchport port-security maximum 1
124
How do you manually allow a MAC on a port?
(config-if)# switchport port-security mac-address 1234.5678.9abc
125
What command allows learning of connected MACs until the limit is reached?
(config-if)# switchport port-security macaddress sticky
126
What happens when a violation occurs with port security set to shutdown?
(config-if)# switchport port-security violation shutdown
127
How do you re-enable a port after a port-security violation?
(config-if)# shutdown (config-if)# no shutdown
128
What command enables automatic recovery after a port-security violation?
(config)# errdisable recovery cause psecure-violation
129
How often does the system recheck after a port-security violation?
(config)# errdisable recovery interval 42
130
What are the port security terms of violation?
* Protect: drops packets, no alerts * Restrict: drops packets, security violation count * Shutdown: shuts down the port (default)
131
What command shows port status and violation mode?
# show port-security [interface g1/1]
132
How do you show secure MACs on ports?
# show port-security address
133
What command checks if auto-recovery for port security is enabled?
# show errdisable recovery
134
How do you create or delete a VLAN?
(config)# [no] vlan 23
135
What command names a VLAN 'TelephoneSanitizer'?
(config-vlan)# name TelephoneSanitizer
136
What command makes frames out this port untagged?
(config-if)# switchport mode access
137
What command makes frames out this port tagged by default?
(config-if)# switchport mode trunk
138
What command sets the trunk encapsulation to dot1q?
(config-if)# switchport trunk encapsulation dot1q
139
What command sets the native VLAN to 256?
(config-if)# switchport trunk native vlan 256
140
What command enters interface config mode for a VLAN?
(config)# interface vlan 23
141
What command sets the device IP in VLAN 23?
(config-if)# ip address 1.2.3.4 255.255.255.0
142
What command enables a virtual interface by default?
(config-if)# no shutdown
143
What command deletes VLAN 23?
(config)# no vlan 23
144
What command creates a subinterface g1/1.10?
(config)# interface g1/1.10
145
What command enables 802.1Q VLAN tagging on a subinterface?
(config-subif)# encapsulation dot1q 10
146
What command shows VLANs and their trunk interfaces?
# show vlans
147
What command shows VLAN settings for all switch ports?
# show vlan [{id 23, name TelephoneSanitizer}] [brief]
148
What command verifies the mode and VLAN of g1/1?
# show interfaces g1/1 switchport
149
How do you show trunk settings and state?
# show interfaces g1/1 trunk
150
What command shows the running config for interface VLAN 1?
# show run interface vlan 1
151
What command shows the trunk mode and access VLAN?
# show interface status
152
What command shows the current DTP mode for g1/1?
# show dtp interface g1/1
153
What does Spanning Tree Protocol (STP) do?
Blocks ports that have repetitive links to prevent layer 2 loops and broadcast storms.
154
How do you make a device the primary root bridge?
(config)# spanning-tree vlan 1 root primary
155
What command enables BPDU guard for all portfast-enabled interfaces?
(config)# spanning-tree portfast bpduguard default
156
How do you enable portfast for all non-trunk interfaces?
(config)# spanning-tree portfast default
157
What command enables BPDU guard on a specific interface?
(config-if)# spanning-tree bpduguard enable
158
What command enables portfast on a specific interface?
(config-if)# spanning-tree portfast
159
What command enables root guard on a specific interface?
(config-if)# spanning-tree guard root
160
How do you check who the root is and how to get there?
# show spanning-tree [vlan 1]
161
What command checks if global portfast/bpduguard is configured?
# show spanning-tree summary
162
How do you check if portfast/bpduguard is configured on an interface?
# show running-config interface g1/1
163
How do you check if portfast is active on an interface?
# show spanning-tree interface g1/1 portfast
164
How do you configure EtherChannel for interfaces g1/1 and g1/2?
(config)# interface range g1/1 - 2
165
What command adds both interfaces to EtherChannel 1 using PAgP?
(config-if-range)# channel-group 1 mode {auto, desirable}
166
What command adds both interfaces to EtherChannel 1 using LACP?
(config-if-range)# channel-group 1 mode {active, passive}
167
What command adds both interfaces to EtherChannel 1 statically?
(config-if-range)# channel-group 1 mode on
168
What command configures the virtual interface for EtherChannel 1?
(config)# interface port-channel 1
169
What command puts EtherChannel 1 in trunk mode?
(config-if)# switchport mode trunk
170
What command allows tagged VLANs 10, 20, 30 on EtherChannel 1?
(config-if)# switchport trunk allowed vlan 10,20,30
171
What command shows combined bandwidth and members of an EtherChannel?
# show interface port-channel 1
172
What command shows EtherChannel protocols and members?
# show etherchannel summary
173
How do you show per member state and stats for EtherChannel?
# show etherchannel port-channel 1
174
What command configures a serial interface?
(config)# interface serial 1/0
175
What command sets the clock rate on a DCE router side?
(config-if)# clock rate 128000
176
How do you verify the clock rate for a serial interface?
(config)# show controllers serial 1/0
177
What command creates ACL #23 to allow 1.2.x.x?
(config)# access-list 23 permit 1.2.3.4 [0.0.255.255]
178
How do you delete an entire ACL #23?
(config)# no access-list 23
179
What command renumbers ACL rules starting at #5, incrementing by 10?
(config)# ip[v6] access-list resequence local_only 5 10
180
How do you create ACL #23 in config mode?
(config)# ip access-list {standard, extended} 23
181
What command appends a rule to standard ACL 'local_only'?
(config-std-nac1)# permit 10.20.30.0 0.0.0.255
182
How do you append a rule to ACL at sequence number 5?
(config-std-nac1)# 5 permit 10.20.30.0 0.0.0.255
183
What command removes a rule from ACL by sequence number?
(config-std-nac1)# no
184
What command enters if-config mode for g1/1?
(config)# inter g1/1
185
How do you apply ACL #23 to outgoing packets?
(config-if)# ip access-group 23 out
186
What command applies ACL #42 to incoming packets?
(config-if)# ip access-group 42 in
187
How do you overwrite the used ACL on an interface?
(config-if)# ip access-group local_only in
188
What command shows ACLs on g1/1?
# show ip interface g1/1 | incl access list
189
How do you display all rules in ACL #10?
# show access-list 10 NAT
190
What is the definition of inside local address?
IP address assigned to a host inside the network, non-routable.
191
What is the definition of inside global address?
IP address assigned by Network Information Center or ISP, routable.
192
What is the definition of outside local address?
IP address of a remote host as it appears inside the network, non-routable.
193
What is the definition of outside global address?
IP address of a remote host assigned by the host owner, routable.
194
What command configures 1.2.3.4/28 on g1/1?
(config-if)# ip address 1.2.3.4 255.255.255.240
195
How do you specify that packets going out need to change their source?
(config-if)# ip nat outside
196
What command configures 10.10.23.1/24 on g1/2?
(config-if)# ip address 10.10.23.1 255.255.255.0
197
How do you specify that packets coming in need to change their destination?
(config-if)# ip nat inside
198
What command statically maps an internal IP to an external IP?
(config)# ip nat inside source static 10.10.23.2 1.2.3.5
199
How do you create an ACL identifying 10.10.23/24?
(config)# access-list 42 permit 10.10.23.0 0.0.0.255
200
What command creates an IP address pool for NATing?
(config)# ip nat pool POOL 1.2.3.5 1.2.3.10 netmask 255.255.255.240
201
How do you DNAT IPs matching ACL #42 with a NAT pool?
(config)# ip nat inside source list 42 pool POOL
202
What command creates an ACL identifying 10.10/16?
(config)# access-list 10 permit 10.10.0.0 0.0.255.255
203
How does PAT work with the public IP of g1/1?
(config)# ip nat inside source list 10 interface g1/1 overload
204
What command shows NAT table entries?
# show ip nat translations
205
What command shows NAT statistics?
# show ip nat statistics
206
What command clears dynamic translations?
# clear ip nat translation {ip, *}
207
What command excludes specific IPs from DHCP leases?
(config)# ip dhcp excluded-address 10.30.4.1 10.30.4.100
208
How do you create a DHCP pool named 'PCs'?
(config)# ip dhcp pool PCs
209
What command defines pool addresses in DHCP?
(dhcp-config)# network 10.30.4.0 /24
210
What command defines the default-gateway in DHCP leases?
(dhcp-config)# default-router 10.2.1.1
211
How do you set the lease validity time in DHCP?
(dhcp-config)# lease
212
What command relays DHCP requests to a specific host?
(config-if)# ip helper-address 192.168.1.1
213
What command shows DHCP lease information?
# show dhcp lease
214
How do you show pool size and addresses in use for DHCP?
# show ip dhcp pool
215
What command shows which MAC got which IP in DHCP?
# show ip dhcp binding
216
How do you check if DHCP exclude-address / pool settings are wrong?
# sh run | section dhcp
217
How do you check if the IP helper-address is set incorrectly?
# sh run int g1/1
218
How do you join an HSRP group?
(config-if)# standby [group-number] ip
219
What command sets the priority of an HSRP router?
(config-if)# standby [group-number] priority
220
How do you enable preemption for an HSRP router?
(config-if)# standby [group-number] preempt
221
What command sets the HSRP version?
(config-if)# standby {1,2}
222
What command shows HSRP groups and their states?
# show standby SLAs
223
What command creates IP SLA test #23?
(config)# ip sla 23
224
What command defines an ICMP echo test?
(config-ip-sla)# icmp-echo 1.2.3.4
225
How do you set the frequency for an IP SLA test?
(config-ip-sla)# frequency 42
226
How do you start an IP SLA test now?
(config)# ip sla schedule 23 life {forever, seconds} start-time now
227
What command shows all configured IP SLA configurations?
# show ip sla configuration
228
What command shows IP SLA results?
# show ip sla statistics
229
What command sets the hostname of a device?
(config)# hostname R1
230
How do you set the enable password?
(config)# enable password
231
What command sets the enable secret password?
(config)# enable secret
232
What command enables weak encryption of passwords?
(config)# service password-encryption
233
How do you copy something from flash to TFTP?
# copy flash0: tftp:
234
What command saves the running configuration to startup configuration?
# copy running-config startup-config
235
What command erases the startup configuration?
# write erase
236
How do you restart the device and load the startup configuration?
# reload
237
What command copies the running configuration to a TFTP server?
# copy running-config tftp:
238
What command sets the enable password?
(config)# enable password
239
What command sets a hashed enable password?
(config)# enable secret
240
What command copies files from flash to TFTP?
# copy flash0: tftp:
241
What command saves the running configuration to startup configuration?
# copy running-config startup-config:
242
What command erases the startup configuration?
# erase startup-config:
243
What command restarts the device and loads the startup configuration?
# reload
244
What command merges the source configuration into the running configuration?
# copy running-config
245
What command shows the version of the IOS, bootloader, and hardware information?
# show version
246
What command boots a filename from flash memory?
(config)# boot system flash:filename.bin
247
What command boots a filename from TFTP?
(config)# boot system tftp://10.20.30.40/filename.bin
248
What command sets the configuration register value used after reboot?
(config)# config-register 0x2342
249
What command lists available file systems?
# show file systems
250
What command lists the content and free space of flash?
# show flash0:
251
What command saves a copy of all licenses?
# license save flash:licenses.lic
252
What command installs a license from flash?
# license install flash0:license.xml
253
What command activates an evaluation right-to-use license?
(config)# license boot module technology-package
254
What command reboots to activate the package and right to use license?
# reload
255
What command deactivates a technology-package?
(config)# license boot module technology-package disable
256
What command removes a license from the license storage?
# license clear
257
What command shows active licenses?
# show licenses
258
What command shows technology pack and feature licenses supported?
# show license feature
259
What command shows product id and serial number needed to order licenses?
# show license udi
260
What command shows the configuration register in ROM monitor?
> confreq
261
What command sets the configuration register in ROM monitor to not load startup-config?
> confreq 0x2142
262
What command overwrites a forgotten password?
(config)# enable secret foobar
263
What command sets a login banner?
(config)# banner login "Insert snarky banner."
264
What command requires login on telnet/console connection?
(config-line)# login
265
What command sets the VTY login password?
(config-line)# password
266
What command enables Telnet and sets VTY login password?
(config-line)# password
267
What command requires remote to authenticate via PAP?
(config-if)# ppp authentication pap
268
What command creates a user for PAP authentication?
(config)# username fnord password pass
269
What command shows the time and date?
# show clock
270
What command updates the clock?
(config)# clock set 23:50:42 10 Jan 2017
271
What command configures an upstream NTP server?
(config)# ntp server 10.20.30.40
272
What command logs to a syslog server?
# logging 10.20.30.40
273
What command enables CDP globally?
# [no] cdp run
274
What command shows connected Cisco devices?
# show cdp neighbors [detail]
275
What command enables LLDP globally?
# [no] lldp run
276
What command creates a local backup user for TACACS+?
(config)# username password
277
What command enables AAA services?
(config)# aaa new-model
278
What command adds and defines RADIUS configuration?
(config)# radius server
279
What command allows that group and local users in?
(config)# aaa authentication login group local
280
What command shows SNMP contact email?
(config)# snmp-server contact admin@example.com
281
What command adds an SNMP community?
(config)# snmp-server community [ro, rw]
282
What command enables NTP server?
(config)# ntp master [stratum]
283
What command shows open ports?
# show control-plane host open-ports
284
What command stops the HTTP server?
(config)# no ip http server
285
What command disables CDP?
(config)# no cdp enable
286
What command shows NTP connections?
# show ntp associations
287
What command requires remote to authenticate via CHAP?
(config-if)# ppp authentication chap