Cisco IOS Commands Flashcards

1
Q

What is the Cisco IOS Command?

In user EXEC mode, lists the subset of commands that are available at that level.

A

? or help

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

What is the Cisco IOS Command?

Applies the ACL to the vty line. The *{direction}* argument can have the value of eitherinorout**.

A

access-class {number} {**direction}

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

What is the Cisco IOS Command?

Creates a standard ACL that permits all traffic from or to a specified network.

A

access-list {number}permit{ip_address} {wildcard_mask}

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

What is the Cisco IOS Command?

Configures a standard ACL that permits a network.

A

access-list {acl_id}permit** {network} {wildcard_mask}

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

What is the Cisco IOS Command?

Creates a numbered access list entry.

A

access-list {acl_id} permit {network}

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

What is the Cisco IOS Command?

Allows the configuration of a message that is displayed just before login.

A

banner login

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

What is the Cisco IOS Command?

Enables Cisco Discovery Protocol on an interface.

A

cdp enable

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

What is the Cisco IOS Command?

Interface subcommands that enable [or disable] CDP for a particular interface.

A

[no] cdp enable

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

What is the Cisco IOS Command?

Global commands that enable [or disable] CDP for the entire switch or router.

A

[no] cdp run

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

What is the Cisco IOS Command?

Manages the system clock.

A

clock set

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

What is the Cisco IOS Command?

Activates the configuration mode from the terminal.

A

configure terminal

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

What is the Cisco IOS Command?

Enters global configuration mode.

A

configure terminal

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

What is the Cisco IOS Command?

Saves the running configuration into NVRAM as the startup configuration

A

copy running-config startup-config

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

What is the Cisco IOS Command?

Copies the switch running configuration file to another destination. A typical destination is the startup configuration.

A

copy running-config {destination}

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

What is the Cisco IOS Command?

Generates an RSA crypto key pair.

A

crypto key generate rsa

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

What is the Cisco IOS Command?

Generates the RSA key pairs to be used.

A

crypto key generate rsa

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

What is the Cisco IOS Command?

Enables debugging of ICMP packets.

A

debug ip icmp

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

What is the Cisco IOS Command?

OSPF subcommand to tell OSPF to create and advertise an OSPF default route, as long as the router has some default route (or to always advertise a default, if the always option is configured).

A

Default-information originate [always]

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

What is the Cisco IOS Command?

Specifies the IP address of the default router for a DHCP client.

A

default-router {address}

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

What is the Cisco IOS Command?

Deletes a file from flash memory.

A

delete {**name}

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

What is the Cisco IOS Command?

Creates a deny access list entry.

A

deny [ip | tcp | udp] {source_network} {wildcard} {mask} {dst_network} {wildcard} {mask}

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

What is the Cisco IOS Command?

Creates ACL statements for a named ACL. This one disallows.

A

deny {test conditions}

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

What is the Cisco IOS Command?

Adds a descriptive comment to the configuration of an interface.

A

description

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

What is the Cisco IOS Command?

Specifies the IP address of the DNS server that is available to a DHCP client.

A

dns-server {address}

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

What is the Cisco IOS Command?

Executes user EXEC or privileged EXEC commands from global configuration mode or other configuration modes or submodes, in any configuration mode.

A

do {**command}

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

What is the Cisco IOS Command?

Enables full duplex on an interface.

A

duplex full

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

What is the Cisco IOS Command?

Interface subcommand that manually sets the interface duplex.

A

duplex [auto | full | half]

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

What is the Cisco IOS Command?

Activates privileged EXEC mode. In privileged EXEC mode, more commands are available. This command requires you to enter the enable password if an enable password is configured.

A

enable

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

What is the Cisco IOS Command?

Enters the privileged EXEC mode command interpreter.

A

enable

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

What is the Cisco IOS Command?

Sets a password for entering privileged EXEC mode. The password is protected using strong MD5-type encryption.

A

enable secret {**password}

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

What is the Cisco IOS Command?

Configures the enable password in encrypted form.

A

enable secret {password}

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

What is the Cisco IOS Command?

Sets the encapsulation type and VLAN on a subinterface on a router.

A

encapsulation dot1q {vlan} [native]

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

What is the Cisco IOS Command?

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in VLANs.

A

encapsulation dot1q {vlan}

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

What is the Cisco IOS Command?

A subinterface subcommand that tells the router to use 802.1Q trunking, for a particular VLAN, and with the native keyword, to not encapsulate in a trunking header.

A

encapsulation dot1q {vlan} [native]

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

What is the Cisco IOS Command?

A subinterface subcommand that tells the router to use ISL trunking for a particular VLAN.

A

encapsulation isl {vlan}

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

What is the Cisco IOS Command?

Terminates configuration mode.

A

end

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

What is the Cisco IOS Command?

Erases the startup configuration that is stored in nonvolatile memory.

A

erase startup-config

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

What is the Cisco IOS Command?

Sets the interval before the user session is disconnected when idle.

A

exec-timeout

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

What is the Cisco IOS Command?

Exits the current configuraton mode.

A

exit

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

What is the Cisco IOS Command?

Sets the number of lines that are held in the history buffer for recall. Two separate buffers are used: one for EXEC mode commands and the other for configuration mode commands.

A

history size {number}

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

What is the Cisco IOS Command?

From console or vty line configuration mode, sets the default number of commands saved in the history buffer for the user(s) of the console or vty lines, respetively.

A

history size {number}

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

What is the Cisco IOS Command?

Sets the system name, which forms part of the prompt.

A

hostname {**hostname}

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

What is the Cisco IOS Command?

Specifies an interface and enters interface configuration mode.

A

interface {**type} {module/slot/port}

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

What is the Cisco IOS Command?

Enters interface configuration mode.

A

interface {interface}

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

What is the Cisco IOS Command?

Enters the subinterface configuration mode.

A

interface {interface} . {subinterface}

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

What is the Cisco IOS Command?

Global command to create a subinterface and to enter configuration mode for that subinterface.

A

interface {interface}.{subinterface}

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

What is the Cisco IOS Command?

Specifies interface FastEthernet 0/13 and enters interface configuration mode.

A

interface FastEthernet 0/13

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

What is the Cisco IOS Command?

Global command on a Layer 3 switch to create a VLAN interface and to enter configuration mode for that VLAN interface.

A

interface vlan {vlan}

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

What is the Cisco IOS Command?

Enters interface configuration mode for VLAN 1 to set the switch management IP address.

A

interface vlan 1

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

What is the Cisco IOS Command?

Applies an extended ACL to an interface in the inbound or outbound direction.

A

ip access-group {acl_name} [in | out]

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

What is the Cisco IOS Command?

Enables an IP ACL on an interface.

A

ip access-group {ACL_name} [in | out]

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

What is the Cisco IOS Command?

Defines an ACL and enters ACL configuration mode.

A

ip access-list extended {ACL_name}

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

What is the Cisco IOS Command?

Creates an extended, named ACL.

A

ip access-list extended {acl_name}

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

What is the Cisco IOS Command?

Configures an IP address manually on an interface.

A

ip address {ip_address} {network_mask}

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

What is the Cisco IOS Command?

Sets the IP address and mask of the interface.

A

ip address {ip-address} {subnet-mask}

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

What is the Cisco IOS Command?

Interface subcommand that assigns the interface’s IP address and optionally makes the address a secondary address.

A

ip address {ip-address} {mask} [secondary]

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

What is the Cisco IOS Command?

Configures an interface to obtain an IP address using DHCP.

A

ip address dhcp

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

What is the Cisco IOS Command?

Specifies the IP addresses that a DHCP server should not assign to a DHCP client.

A

ip dhcp excluded-addresses {ip-address} [{last-ip-address}]

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

What is the Cisco IOS Command?

Configures a DHCP address pool and enters DHCP configuration mode.

A

ip dhcp pool {name}

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

What is the Cisco IOS Command?

Enables DNS resolution of symbolic names.

A

ip domain lookup

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

What is the Cisco IOS Command?

Supplies an IP domain name that is required by the cryptographic key-generation process.

A

ip domain-name {name}

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

What is the Cisco IOS Command?

Sets a domain name.

A

ip domain-name {domain}

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

What is the Cisco IOS Command?

Enables forwarding of broadcasts that are received on the interface to the specified IP address.

A

ip helper-address {address}

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

What is the Cisco IOS Command?

Configures an interface as NAT inside interface.

A

ip nat inside

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

What is the Cisco IOS Command?

Configures an interface as NAT inside.

A

ip nat inside

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

What is the Cisco IOS Command?

Configures a dynamic source NAT rule that translates addresses into IP addresses defined in the pool.

A

ip nat inside source list {acl_id} pool {pool_name}

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

What is the Cisco IOS Command?

Configures dynamic NAT with PAT.

A

ip nat inside source list {acl_id} interface {interface} overload

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

What is the Cisco IOS Command?

Configures a dynaic source NAT or PAT rule that translates addresses into the IP address of an interface.

A

ip nat inside source list {acl_id} interface {interface_name} overload

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

What is the Cisco IOS Command?

Configures an interface as NAT outside.

A

ip nat outside

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

What is the Cisco IOS Command?

Configures an interface as a NAT outside interface.

A

ip nat outside

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

What is the Cisco IOS Command?

Configures a NAT pool.

A

ip nat pool {pool_name} {start_IP} {end_IP} netmask {mask}

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

What is the Cisco IOS Command?

Global command that enables or disables the routing of IPv4 packets on a router or Layer 3 switch.

A

[no] ip routing

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

What is the Cisco IOS Command?

Global configuration command that creates a static route.

A

ip route {ip-address} {subnet-mask} [{ip-address} | {interface}]

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

What is the Cisco IOS Command?

Configures a static route (including a default route).

A

ip route {network} {network_mask} {next_hop_address}

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

What is the Cisco IOS Command?

Enables SSH version 2.

A

ip ssh version 2

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

What is the Cisco IOS Command?

Specifies the version of SSH to be run. To disable the version of SSH that was configured and to return to compatibility mode, use the no form of this command.

A

ip ssh version [1 | 2]

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

What is the Cisco IOS Command?

Global command that allows or disallows the configuration of an interface IP address in a zero subnet.

A

[no] ip subnet-zero

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

What is the Cisco IOS Command?

Configures IPv6 address to the interface.

A

ipv6 address {ipv6_address} / {ipv6_mask}

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

What is the Cisco IOS Command?

Sets the IPv6 address and prefix length on an interface.

A

ipv6 address {ipv6-address} / {prefix_length}

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

What is the Cisco IOS Command?

Enables IPv6 autoconfiguration on the interface.

A

ipv6 address autoconfig

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

What is the Cisco IOS Command?

Enables an interface for OSPFv3 in an area.

A

ipv6 ospf {process_id} area {area_id}

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

What is the Cisco IOS Command?

Enables OSPFv3 routing on the interface.

A

ipv6 ospf {process_ID} area {area_ID}

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

What is the Cisco IOS Command?

Enables the IPv6 default route.

A

ipv6 route ::/0 {interface} {next_hop}

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

What is the Cisco IOS Command?

Enables OSPFv3 and enters routing process mode.

A

ipv6 router ospf {process_ID}

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

What is the Cisco IOS Command?

Creates the OSPFv3 process.

A

ipv6 router ospf {process_id}

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

What is the Cisco IOS Command?

Enables IPv6 forwarding support on the router.

A

ipv6 unicast-routing

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

What is the Cisco IOS Command?

Enables IPv6 routing on a router.

A

ipv6 unicast-routing

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

What is the Cisco IOS Command?

Specifies the duration of the lease. The default is a one-day lease.

A

lease [{days} [{hours}] [{minutes}] | {infinite}]

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

What is the Cisco IOS Command?

Enters line console configuration mode.

A

line console 0

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

What is the Cisco IOS Command?

Enters vty configuration mode. Vty lines allow access to the switch for remote network management. The number of vty lines available is dependent on the Cisco IOS Software version. Typical values are 0-4 and 0-15 (inclusive).

A

line vty {start_number} {end_number}

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

What is the Cisco IOS Command?

Synchronizes the display of router (or switch) output messages with the command-line prompt.

A

logging synchronous

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

What is the Cisco IOS Command?

Synchronizes unsolicited messages and debugs privileged EXEC command output with solicited device output and prompts for a specific console port line or vty line.

A

logging synchronous

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

What is the Cisco IOS Command?

Activates the login process on the console or vty lines.

A

login

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

What is the Cisco IOS Command?

Enables verification of a password on a line.

A

login

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

What is the Cisco IOS Command?

Enables verification of a username and password on a line.

A

login local

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

What is the Cisco IOS Command?

Makes the login process on the console or vty lines rely on (or use) the local authentication database.

A

login local

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

What is the Cisco IOS Command?

Exits EXEC mode and requires reauthentication (if enabled).

A

logout

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

What is the Cisco IOS Command?

VLAN subcommand that names the VLAN.

A

name {vlan-name}

99
Q

What is the Cisco IOS Command?

Configures a router to advertise a network through OSPF.

A

network {network} {wildcard_mask} area {area_id}

100
Q

What is the Cisco IOS Command?

Defines addresses in the DHCP pool. Optionally, defines the subnet mask or prefix length. Either of these parameters determines which portion of the specified network number refers to the network part.

A

network {network-number} [{mask} | {prefix-length}]

101
Q

What is the Cisco IOS Command?

Router subcommand that enables OSPF on interfaces matching the address/wildcard combination and sets the OSPF area.

A

network {ip-address} {wildcard-mask} area {area-id}

102
Q

What is the Cisco IOS Command?

Disables Cisco Discovery Protocol on an interface.

A

no cdp enable

103
Q

What is the Cisco IOS Command?

Disables DNS resolution of symbolic names.

A

no ip domain lookup

104
Q

What is the Cisco IOS Command?

Disables the IPv6 default route.

A

no ipv6 route ::/0 {interface} {next_hop}

105
Q

What is the Cisco IOS Command?

OSPF subcommand that tells OSPF to be active (not passive) on that interface or subinterface.

A

no passive-interface {interface}

106
Q

What is the Cisco IOS Command?

Enables an interface.

A

no shutdown

107
Q

What is the Cisco IOS Command?

Global config command that has the same effect as the [no] shutdown VLAN mode subcommands.

A

[no] shutdown vlan {vlan-id]

108
Q

What is the Cisco IOS Command?

Configures Cisco IOS Software as an NTP master clock.

A

ntp master {stratum}

109
Q

What is the Cisco IOS Command?

Allows the software clock to be synchronized by an NTP time server.

A

ntp server {ip-address}

110
Q

What is the Cisco IOS Command?

OSPF subcommand that tells OSPF to be passive on that interface or subinterface.

A

passive-interface {interface}

111
Q

What is the Cisco IOS Command?

OSPF subcommand that changes the OSPF default for interfaces to be passive instead of active (not passive).

A

passive-interface default

112
Q

What is the Cisco IOS Command?

Assigns a password to the console or vty lines.

A

password

113
Q

What is the Cisco IOS Command?

Creates ACL statements for a named ACL. This one allows.

A

permit {test conditions}

114
Q

What is the Cisco IOS Command?

Creates a permit access list entry.

A

permit [ip | tcp | udp] {source_network} {wildcard} {mask} {dst_network} {wildcard} {mask}

115
Q

What is the Cisco IOS Command?

Uses ICMP echo requests and ICMP echo replies to determine whether a remote host is reachable.

A

ping {ip-address}

116
Q

What is the Cisco IOS Command?

Verifies connectivity between the source IP and destination IP.

A

ping {dest_IP}

117
Q

What is the Cisco IOS Command?

Restarts the switch (or router) and reloads the Cisco IOS operating system and configuration.

A

reload

118
Q

What is the Cisco IOS Command?

Creates the OSPF process.

A

router ospf {process_id}

119
Q

What is the Cisco IOS Command?

Starts the OSPF routing process with the specified process ID. The process ID is of local significance, so two routers can have different process IDs and still become neighbors.

A

router ospf {process_id}

120
Q

What is the Cisco IOS Command?

Enters OSPF configuration mode for the listed process.

A

router ospf {process-id}

121
Q

What is the Cisco IOS Command?

Configures the OSPFv3 router ID. The router ID is a 32-bit value, written in the IPv4 form (x.x.x.x).

A

router-id {router-id}

122
Q

What is the Cisco IOS Command?

OSPF subcommand that statically sets the router ID.

A

router-id {id}

123
Q

What is the Cisco IOS Command?

A command on Cisco switches that enables the switch to support IP routing if configured.

A

sdm prefer lanbase-routing

124
Q
A
125
Q

What is the Cisco IOS Command?

Displays all ACLs that are defined on the device.

A

show access-list

126
Q

What is the Cisco IOS Command?

Displays the contents of all IP ACLs.

A

show access-lists {ACL_name}

127
Q

What is the Cisco IOS Command?

Displays global Cisco Discovery Protocol information.

A

show cdp

128
Q

What is the Cisco IOS Command?

States whether CDP is enabled globally, and lists the default update and holdtime timers.

A

show cdp

129
Q

What is the Cisco IOS Command?

Displays the same information as the show cdp neighbors detail command, but only for the named neighbor.

A

show cdp entry {name}

130
Q

What is the Cisco IOS Command?

States whether CDP is enabled on each interface, or a single interface if the interface is listed, and states update and holdtime timers on those interfaces.

A

show cdp interface [{interface}]

131
Q

What is the Cisco IOS Command?

Lists one summary line of information about each neighbor, or just the neighbor found on a specific interface if an interface was listed.

A

show cdp neighbors [{interface}]

132
Q

What is the Cisco IOS Command?

Displays detailed information about neighboring devices that are discovered by using Cisco Discovery Protocol.

A

show cdp neighbors

133
Q

What is the Cisco IOS Command?

Displays brief information about discovered neighboring Cisco devices. If the keyword detail is used, detailed information about discovered devices is displayed.

A

show cdp neighbors [detail]

134
Q

What is the Cisco IOS Command?

Lists one large set of information (approximately 15 lines) for every neighbor.

A

show cdp neighbors detail

135
Q

What is the Cisco IOS Command?

Displays global statistics for the number of CDP advertisements sent and received.

A

show cdp traffic

136
Q

What is the Cisco IOS Command?

Dipslays the system clock.

A

show clock

137
Q

What is the Cisco IOS Command?

Lists many lines of information per interface, or for one interface, for the hardware controller of the interface. On serial interfaces, this command identifies the cable as either a DCE or DTE cable.

A

show controllers {interface}

138
Q

What is the Cisco IOS Command?

Displays the layout and contents of a flash memory file system.

A

show flash:

139
Q

What is the Cisco IOS Command?

Examine most recently entered commands.

A

show history

140
Q

What is the Cisco IOS Command?

Lists the commands currently held in the history buffer.

A

show history

141
Q

What is the Cisco IOS Command?

Displays the switchport status of a port.

A

show interfaces {interface} switchport

142
Q

What is the Cisco IOS Command?

Displays statistics for all interfaces that are configured on the router (or switch).

A

show interfaces

143
Q

What is the Cisco IOS Command?

Displays information about all of the device interfaces.

A

show interfaces

144
Q

What is the Cisco IOS Command?

Displays the trunking status of a port.

A

show interfaces {interface} trunk

145
Q

What is the Cisco IOS Command?

Displays detailed information about interface status, settings, and counters.

A

show interfaces {interface}

146
Q

What is the Cisco IOS Command?

Displays one line of information per interface, with a two-item status (similar to the show interfaces command status), and includes any description that is configured on the interfaces.

A

show interfaces description

147
Q

What is the Cisco IOS Command?

Displays information about interface FastEthernet 0/13.

A

show interfaces FastEthernet 0/13

148
Q

What is the Cisco IOS Command?

Displays summary information about interface status and settings, including actual speed and duplex, a single-item status code, and whether the interface was autonegotiated.

A

show interfaces {interface} status

149
Q

What is the Cisco IOS Command?

Displays the status of interfaces.

A

show interfaces status

150
Q

What is the Cisco IOS Command?

Displays a large variety of configuration settings and current operational status, including VLAN trunking details, access and voice VLAN, and native VLAN.

A

show interfaces {interface} switchport

151
Q

What is the Cisco IOS Command?

Lists information about any interface regarding administrative settings and operational state.

A

show interfaces {interface-id} switchport

152
Q

What is the Cisco IOS Command?

Displays trunking information.

A

show interfaces trunk

153
Q

What is the Cisco IOS Command?

Lists information about the currently operational trunks (or just for the trunk listed in the command) and the VLANs supported on those trunks.

A

show interfaces {interface} trunk

154
Q

What is the Cisco IOS Command?

Lists information about all operational trunks (but no other interfaces), including the list of VLANs that can be forwarded over the trunk.

A

show interfaces {interface-id} trunk

155
Q

What is the Cisco IOS Command?

Displays configured access lists and hit counts.

A

show ip access-lists

156
Q

What is the Cisco IOS Command?

Displays a list of all DHCP address bindings.

A

show ip dhcp binding

157
Q

What is the Cisco IOS Command?

Displays IP-specific information for an interface, including the ACLs that are applied on an interface.

A

show ip interface {interface-type} {interface number}

158
Q

What is the Cisco IOS Command?

Dipslays the brief status and IP addresses of interfaces.

A

show ip interface brief

159
Q

What is the Cisco IOS Command?

Displays a brief summary of the interfaces on a device, which is useful for quickly checking the status of the device.

A

show ip interface brief

160
Q

What is the Cisco IOS Command?

Displays active NAT translations.

A

show ip nat translations

161
Q

What is the Cisco IOS Command?

Displays the NAT table.

A

show ip nat translations

162
Q

What is the Cisco IOS Command?

Lists a variety of facts about the local router’s OSPF process, notably with the first line listing the router’s router ID.

A

show ip ospf

163
Q

What is the Cisco IOS Command?

Lists a summary of the LSAs in the local router’s LSDB, listing one line for each LSA.

A

show ip ospf database

164
Q

What is the Cisco IOS Command?

Displays interface information that is related to OSPF.

A

show ip ospf interface

165
Q

What is the Cisco IOS Command?

Lists a large group of messages per interface (or just for the one listed interface), with many facts: the area in which the interface resides, neighbors adjacent on this interface, and Hello and dead timers.

A

show ip ospf interface {interface}

166
Q

What is the Cisco IOS Command?

Lists one line per interface on which OSPF is enabled, for all interfaces (including passive interfaces) on which OSPF is enabled.

A

show ip ospf interface brief

167
Q

What is the Cisco IOS Command?

Shows all OSPF neighbors of the router.

A

show ip ospf neighbor

168
Q

What is the Cisco IOS Command?

Lists neighbors and current status with neighbors, per interface, and optionally lists details for the router ID listed in the command.

A

show ip ospf neighbor {neighbor-RID}

169
Q

What is the Cisco IOS Command?

Lists a group of messages for every instance of every routing protocol running in the router, restating many configuration parameters, default configuration settings when used, and listing the known OSPF routers in that area.

A

show ip protocols

170
Q

What is the Cisco IOS Command?

Lists the router’s entire routing table.

A

show ip route

171
Q

What is the Cisco IOS Command?

Lists a subset of the IP routing table.

A

show ip route [connected | static | ospf]

172
Q

What is the Cisco IOS Command?

Displays the routing table.

A

show ip route

173
Q

What is the Cisco IOS Command?

Lists detailed information about the route that a router matches for the listed IP address.

A

show ip route {ip-address}

174
Q

What is the Cisco IOS Command?

Lists routes in the routing table learned by OSPF.

A

show ip route [ospf]

175
Q

What is the Cisco IOS Command?

Displays IPv6 settings and status on an interface.

A

show ipv6 interface {interface}

176
Q

What is the Cisco IOS Command?

Displays IPv6 status on the interface.

A

show ipv6 interface {interface}

177
Q

What is the Cisco IOS Command?

Displays the IPv6 neighbor discovery table.

A

show ipv6 neighbors

178
Q

What is the Cisco IOS Command?

Displays OSPFv3 settings.

A

show ipv6 ospf

179
Q

What is the Cisco IOS Command?

Displays OSPFv3 neighbors.

A

show ipv6 ospf neighbor

180
Q

What is the Cisco IOS Command?

Displays the IPv6 routing table.

A

show ipv6 route

181
Q

What is the Cisco IOS Command?

Displays the MAC address table on a switch.

A

show mac address-table

182
Q

What is the Cisco IOS Command?

Displays the MAC address table. The static option displays information about the restricted or static settings.

A

show mac address-table [dynamic | static] [address {hw-addr}] [interface {interface-id}] [vlan {vlan-id}]

183
Q

What is the Cisco IOS Command?

Displays the status of NTP associations.

A

show ntp associations

184
Q

What is the Cisco IOS Command?

Displays the status of NTP.

A

show ntp status

185
Q

What is the Cisco IOS Command?

Displays information about security options configured on an interface.

A

show port-security [interface {interface-id}] [address]

186
Q

What is the Cisco IOS Command?

Displays the secure MAC addresses for all ports.

A

show port-security address

187
Q

What is the Cisco IOS Command?

Displays the port security settings that are defined for an interface.

A

show port-security interface {interface}

188
Q

What is the Cisco IOS Command?

Lists information about the listed interface, including the IP address, mask, and line/protocol status.

A

show protocols {interface}

189
Q

What is the Cisco IOS Command?

Displays the active configuration (in RAM).

A

show running-config

190
Q

What is the Cisco IOS Command?

Examine the current configuration of a specific interface.

A

show running-config interface {interface}

191
Q

What is the Cisco IOS Command?

Dipslays the startup configuration settings that are saved in NVRAM.

A

show startup-config

192
Q

What is the Cisco IOS Command?

Displays the current settings for the terminal.

A

show terminal

193
Q

What is the Cisco IOS Command?

Displays information about the active lines on a router (or switch).

A

show users

194
Q

What is the Cisco IOS Command?

Displays users that are currently logged to a router.

A

show users

195
Q

What is the Cisco IOS Command?

Verify switch (and router) software and hardware status.

A

show version

196
Q

What is the Cisco IOS Command?

Displays the configuration of the switch (or router) hardware and the various software versions.

A

show version

197
Q

What is the Cisco IOS Command?

Lists information about the VLAN.

A

show vlan [brief | id {vlan-id} | name {vlan-id} | summary]

198
Q

What is the Cisco IOS Command?

Displays VLAN information.

A

show vlan {vlan}

199
Q

What is the Cisco IOS Command?

Lists each VLAN and all interfaces assigned to that VLAN but does not include trunks.

A

show vlan [brief]

200
Q

What is the Cisco IOS Command?

Displays VLAN information.

A

show vlan

201
Q

What is the Cisco IOS Command?

Lists both access and trunk ports in the VLAN.

A

show vlan id {number}

202
Q

What is the Cisco IOS Command?

When you configure a router on a stick, use this command to verify trunking and VLANs.

A

show vlans

203
Q

What is the Cisco IOS Command?

Lists VLAN configuration and statistics for VLAN trunks configured on routers.

A

show vlans

204
Q

What is the Cisco IOS Command?

Lists the current VTP status, including the current mode.

A

show vtp status

205
Q

What is the Cisco IOS Command?

Lists VTP configuration and status information.

A

show vtp status

206
Q

What is the Cisco IOS Command?

Shuts down an interface. Uses the no version of the command to enable the interface.

A

shutdown

207
Q

What is the Cisco IOS Command?

Disables an interface.

A

shutdown

208
Q

What is the Cisco IOS Command?

Interface subcommand that manually sets the interface speed.

A

speed [auto | 10 | 100 | 1000]

209
Q

What is the Cisco IOS Command?

Starts an encrypted session with a remote networking device using the current user ID. The IP address identifies the destination device.

A

ssh -l username {ip_address}

210
Q

What is the Cisco IOS Command?

Interface subcommand that configures the trunking administrative mode on the interface.

A

switchport mode [access | dynamic auto | dynamic desirable | trunk]

211
Q

What is the Cisco IOS Command?

Assigns a port to a VLAN.

A

switchport access vlan {vlan}

212
Q

What is the Cisco IOS Command?

Specifies an access VLAN on a switchport.

A

switchport access vlan {vlan}

213
Q

What is the Cisco IOS Command?

Interface subcommand that statically configures the interface into that one VLAN.

A

switchport access vlan {vlan-id}

214
Q

What is the Cisco IOS Command?

Interface configuration mode command. There are four options. The two non-negotiating modes are trunk and switch, and the two DTP negotiation modes are dynamic auto and dynamic desirable.

A

switchport mode {mode}

215
Q

What is the Cisco IOS Command?

Configures a switchport as an access port.

A

switchport mode access

216
Q

What is the Cisco IOS Command?

Configures a switchport as a trunk.

A

switchport mode trunk

217
Q

What is the Cisco IOS Command?

Interface subcommand that disables the negotiation of VLAN trunking.

A

switchport nonegotiate

218
Q

What is the Cisco IOS Command?

Interface subcommand that tells the switch what to do if an inappropriate MAC address tries to access the network through a secure switch port.

A

switchport port-security violation [protect | restrict | shutdown]

219
Q

What is the Cisco IOS Command?

Enables the port security feature on the interface.

A

switchport port-security

220
Q

What is the Cisco IOS Command?

Enables port security on a switchport.

A

switchport port-security

221
Q

What is the Cisco IOS Command?

Manually defines MAC addresses that are allowed ona switchport when port security is enabled.

A

switchport port-security mac-address {mac_address}

222
Q

What is the Cisco IOS Command?

Enters a secure MAC address for the interface.

A

switchport port-security mac-address {mac-address}

223
Q

What is the Cisco IOS Command?

Specifies the maximum number of MAC addresses that can be seen on a port when port security is enabled.

A

switchport port-security maximum {number}

224
Q

What is the Cisco IOS Command?

Configures the port security violation to protect.

A

switchport port-security violation protect

225
Q

What is the Cisco IOS Command?

Interface subcommand that defines the list of allowed VLANs.

A

switchport trunk allowed vlan [add | all | except | remove] {vlan-list}

226
Q

What is the Cisco IOS Command?

Specifies allowed VLANs on a trunk link.

A

switchport trunk allowed vlan {vlans}

227
Q

What is the Cisco IOS Command?

Specifies VLANS from which traffic is allowed over the trunk link.

A

switchport trunk allowed vlan {vlan_list}

228
Q

What is the Cisco IOS Command?

Interface subcommand that defines which type of trunking to use, assuming that trunking is configured or negotiated.

A

switchport trunk encapsulation [dot1q | isl | negotiate]

229
Q

What is the Cisco IOS Command?

Interface subcommand that defines the antive VLAN for a trunk port.

A

switchport trunk native vlan {vlan-id}

230
Q

What is the Cisco IOS Command?

Establishes a Telnet session to an IP address.

A

telnet {ip_address}

231
Q

What is the Cisco IOS Command?

Uses Telnet to connect to a destination IP address.

A

telnet {ip_address}

232
Q

What is the Cisco IOS Command?

From EXEC mode, this command allows a single user to set, just for this one login session, the size of his or her history buffer.

A

terminal history size {number}

233
Q

What is the Cisco IOS Command?

Set the number of lines that are displayed without pause. Default is 24.

A

terminal length {number}

234
Q

What is the Cisco IOS Command?

Redirects debugging output to a Telnet session.

A

terminal monitor

235
Q

What is the Cisco IOS Command?

Traces to the specified IP address.

A

traceroute {ip_address}

236
Q

What is the Cisco IOS Command?

Specifies which protocols to use to connect to a specific line of the device.

A

transport input [telnet | ssh | all]

237
Q

What is the Cisco IOS Command?

Allows Telnet and SSH on virtual lines.

A

transport input ssh telnet

238
Q

What is the Cisco IOS Command?

Disables all debugging.

A

undebug all

239
Q

What is the Cisco IOS Command?

Creates a user account in the local user database.

A

username {username} password {password}

240
Q

What is the Cisco IOS Command?

Creates a username and password pair that can then be used as a local authentication database.

A

username {username} secret {password}

241
Q

What is the Cisco IOS Command?

Global config command that both creates the VLAN and puts the CLI into VLAN configuration mode.

A

vlan {vlan-id}

242
Q

What is the Cisco IOS Command?

Creates the VLAN that is specified.

A

vlan {vlan_number}

243
Q

What is the Cisco IOS Command?

Creates a VLAN on a switch.

A

vlan {vlan_id}

244
Q

What is the Cisco IOS Command?

Global config command that defines the VTP mode.

A

vtp mode [server | client | transparent | off]