CCNA ICND2 Cisco learning network lab all commands – Flashcards

115 test answers

Unlock all answers in this set

Unlock answers 115
question
? or help
answer
In user mode, Cisco IOS Software lists a subset of the available commands. After you enter the enable command and your enable password for privileged mode, a much larger list of available commands is displayed.
question
clock set
answer
Manages the system clock.
question
configure terminal
answer
Activates the configuration mode from the terminal.
question
enable
answer
Activates privileged mode. In privileged mode, more commands are available. This command requires you to enter the enable password if an enable password is configured. If an enable secret password is also configured, the enable secret password overrides the enable password. (example below) Router1 enable Router1#
question
exec time-out
answer
Sets the inactivity time that is allowed before a session will be automatically logged out.
Unlock the answer
question
history size
answer
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.
Unlock the answer
question
[no] ip domain-lookup
answer
By default, the command-line interpreter tries, when receiving a command it does not recognize, to interpret it as a symbolic name for an IP address. The no form of this command turns off this default action, thus speeding up the interpretation of erroneous entries.
Unlock the answer
question
line console 0
answer
Enters line console 0 configuration mode.
Unlock the answer
question
line vty 0 4
answer
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 that is being used. Typical values are 0-4 and 0-15 (inclusive). Virtual Cisco IOS Software on UNIX devices has vty line values of 0 to 4.
Unlock the answer
question
logging synchronous
answer
Synchronizes unsolicited messages and debugs privileged EXEC command output with solicited device output and prompts for a specific console port line or vty line. (prevents interuptions while typing)
Unlock the answer
question
show clock
answer
Displays the system clock.
Unlock the answer
question
show history
answer
Displays recently entered commands.
Unlock the answer
question
show interfaces
answer
Displays information regarding all of the router interfaces.
Unlock the answer
question
show running-config
answer
Displays the active configuration.
Unlock the answer
question
show terminal
answer
Displays the current settings for the terminal.
Unlock the answer
question
show version
answer
Displays the configuration of the router hardware and the various software versions.
Unlock the answer
question
terminal history size
answer
Sets the command history buffer size.
Unlock the answer
question
banner motd
answer
Allows the conf iguration of a message, which will be display ed at the time of the login process.
Unlock the answer
question
clear mac-address-table dynamic interface int-id
answer
Clears the secure MAC addresses that are associated with the specified interface. The access parameter ensures that trunk ports are not affected.
Unlock the answer
question
configure terminal (conf t)
answer
Activates the configuration mode from the terminal.
Unlock the answer
question
copy running-config destination
answer
Copies the switch running configuration file to another destination. A typical destination is the startup configuration.
Unlock the answer
question
copy running-config startup-config
answer
Copies the switch running configuration file to the startup configuration file that is held in local NVRAM.
Unlock the answer
question
crypto key generate rsa
answer
Generates the RSA key pairs to be used.
Unlock the answer
question
end
answer
Terminates the configuration mode.
Unlock the answer
question
interface int-id
answer
Enters interface configuration mode.
Unlock the answer
question
interface range int-id - last-port-number
answer
Allows the grouping of interfaces, so that subsequent interface configuration commands will be applied to all the specified interfaces simultaneously.
Unlock the answer
question
IP domain-name name
answer
Supplies an IP domain name, which is required by the cryptographic key generation process.
Unlock the answer
question
IP SSH version [1 | 2]
answer
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.
Unlock the answer
question
line VTY 0 15
answer
Enters the VTY configuration mode. VTY lines allow access to the switch for remote network management. The number of VTY lines that are available is dependent on the Cisco IOS Software version. Typical values are 0-4 and 0-15 (inclusive).
Unlock the answer
question
login
answer
Activates the login process on the console or VTY lines.
Unlock the answer
question
login local
answer
Makes the login process on the console or vty lines rely on (or use) the local authentication database.
Unlock the answer
question
logout
answer
Exits EXEC mode, and requires reauthentication (if enabled).
Unlock the answer
question
password
answer
Assigns a password to the console or VTY lines.
Unlock the answer
question
ping IP-address
answer
Used to troubleshoot the accessibility of devices. This tool uses ICMP path echo requests and ICMP path echo replies to determine whether a remote host is active. The ping command also measures the amount of time it takes to receive the echo reply.
Unlock the answer
question
reload
answer
Restarts the switch and reloads the Cisco IOS operating system.
Unlock the answer
question
service password-encryption
answer
Enables the service, which will encrypt all passwords in the running configuration.
Unlock the answer
question
show IP ARP
answer
Displays the IP address resolution table, which holds the binding between IP addresses and their respective MAC addresses.
Unlock the answer
question
show IP SSH
answer
Shows the current settings of the SSH protocol.
Unlock the answer
question
show mac-address-table dynamic
answer
Displays only the dynamically learned MAC addresses in the table.
Unlock the answer
question
show mac-address-table interface int-id
answer
Displays only the MAC addresses in the table that are associated with the specified interface.
Unlock the answer
question
show port-security interface int-id
answer
Displays administrative and operational status of secure ports on a switch. Optionally displays specific interface security settings or all secure MAC addresses.
Unlock the answer
question
show running-config
answer
Displays the active configuration.
Unlock the answer
question
show running-config interface int-id
answer
Displays the running configuration of the interface that is specified in the command.
Unlock the answer
question
shutdown no shutdown
answer
Disables and enables an interface.
Unlock the answer
question
switchport mode access
answer
Sets the port to access mode. Use the no version of this command to reset default values.
Unlock the answer
question
switchport port-security
answer
Enables port security on an interface. Entered without keywords.
Unlock the answer
question
switchport port-security mac-address sticky
answer
Sets the secure MAC addresses that are associated with an interface to be learned dynamically.
Unlock the answer
question
switchport port-security maximum [number]
answer
Sets the maximum number of secure MAC addresses for the interface. Use the no version of this command to remove it.
Unlock the answer
question
switchport port-security violation violation mode
answer
Sets the action to be taken when a security violation occurs. Protect, restrict, and shutdown are the three valid modes.
Unlock the answer
question
transport input telnet ssh
answer
Specifies which protocols to use to connect to a specific line of the switch.
Unlock the answer
question
username username password password
answer
Creates a username and password pair, which can then be used as a local authentication database.
Unlock the answer
question
interface type number
answer
To configure an interface type and enter interface configuration mode, use the interface command in global configuration mode.
Unlock the answer
question
copy running-config startup-config
answer
Copies the switch running configuration file to the startup configuration file that is held in local NVRAM.
Unlock the answer
question
ping system-address
answer
Diagnoses basic network connectivity in IP networks. Use the ping command in user EXEC or privileged EXEC mode.
Unlock the answer
question
ipv6 unicast-routing
answer
Enables the forwarding of IPv6 unicast datagrams. Use the ipv6 unicast-routing command in global configuration mode.
Unlock the answer
question
ipv6 address ipv6-address/prefix-length
answer
Configure an IPv6 address based on an IPv6 general prefix and enables IPv6 processing on an interface. Use the ipv6 address command in interface configuration mode.
Unlock the answer
question
ipv6 address ipv6-prefix/prefix-length eui-64
answer
Configures an IPv6 address for an interface and enables IPv6 processing on the interface using an EUI-64 interface ID in the low order 64 bits of the address. Use the ipv6 address eui-64 command in interface configuration mode.
Unlock the answer
question
ipv6 address autoconfig
answer
Enables automatic configuration of IPv6 addresses using stateless autoconfiguration on an interface and enables IPv6 processing on the interface. Use the ipv6 address autoconfig command in interface configuration mode.
Unlock the answer
question
ipv6 address ipv6-address/prefix-length link-local
answer
Configures an IPv6 link-local address for an interface and enables IPv6 processing on the interface. Use the ipv6 address link-local command in interface configuration mode.
Unlock the answer
question
ipv6 nd prefix ipv6-prefix/prefix-length
answer
Configures which IPv6 prefixes are included in IPv6 Neighbor Discovery (ND) router advertisements. Use the ipv6 nd prefix command in interface configuration mode.
Unlock the answer
question
show ipv6 interface type number]
answer
Displays the usability status of interfaces configured for IPv6. Use the show ipv6 interface command in user EXEC or privileged EXEC mode.
Unlock the answer
question
vlan vlan-id
answer
Configures a specific VLAN. Use the vlan command in VLAN configuration mode.
Unlock the answer
question
name vlan-name
answer
Defines a text string used as the name of the VLAN (1 to 32 characters)
Unlock the answer
question
switchport access vlan vlan-id
answer
Configures the interface as a static access port with the VLAN ID of the access mode VLAN. The range is 1 to 4094.
Unlock the answer
question
switchport mode access
answer
Sets the port to static access mode. The port is set to access unconditionally and operates as a nontrunking, single VLAN interface that sends and receives unencapsulated (nontagged) frames. An access port can be assigned to only one VLAN.
Unlock the answer
question
show vlan brief
answer
Displays only a single line for each VLAN, naming the VLAN, status, and ports.
Unlock the answer
question
switchport trunk encapsulation dot1q
answer
Sets the trunk encapsulation format to 802.1Q.
Unlock the answer
question
switchport mode trunk
answer
Specifies a trunking VLAN Layer 2 interface.
Unlock the answer
question
ping system-address
answer
Diagnoses basic network connectivity in IP networks. Use the ping command in user EXEC or privileged EXEC mode.
Unlock the answer
question
encapsulation dot1q vlan-id
answer
Enables IEEE 802.1Q encapsulation of traffic on a specified router subinterface in a VLAN; Use the encapsulation dot1q command in interface range configuration mode or subinterface configuration mode.
Unlock the answer
question
router ospf process-id
answer
Configures an OSPF routing process. Use the router ospf command in global configuration mode.
Unlock the answer
question
router-id ip-address
answer
To use a fixed router ID, use the router-id command in router configuration mode.
Unlock the answer
question
network ip-address wildcard-mask area area-id
answer
Defines the interfaces on which OSPF runs and to define the area ID for those interfaces; Use the network area command in router configuration mode.
Unlock the answer
question
show ip ospf neighbor
answer
Displays OSPF neighbor information on a per-interface basis. Use the show ip ospf neighbor command in EXEC mode.
Unlock the answer
question
ip ospf process-id area area-id
answer
Enables OSPFv2 on an interface. Use the ip ospf area command in interface configuration mode.
Unlock the answer
question
show ip ospf interface brief
answer
Displays brief overview information for OSPF interfaces, states, addresses and masks, and areas on the router.
Unlock the answer
question
default-information originate
answer
Generates a default external route into an OSPF routing domain. Use the default-information originate command in router configuration or router address family topology configuration mode.
Unlock the answer
question
Ipv6 router ospf process-id
answer
Configures an OSPFv3 routing process; Use the ipv6 router ospf command in global configuration mode
Unlock the answer
question
router-id ip-address
answer
To use a fixed router ID, use the router-id command in router configuration mode.
Unlock the answer
question
show ipv6 ospf neighbor
answer
Displays OSPFv3 neighbor information on a per-interface basis. Use the show ipv6 ospf neighbor command in EXEC mode.
Unlock the answer
question
Ipv6 ospf process-id area area-id
answer
Enables OSPFv3 on an interface. Use the ipv6 ospf area command in interface configuration mode.
Unlock the answer
question
show ipv6 ospf interface brief
answer
Displays brief overview information for OSPFv3 interfaces, states, addresses and masks, and areas on the router.
Unlock the answer
question
default-information originate
answer
Generates a default external route into an OSPFv3 routing domain. Use the default-information originate command in router configuration or router address family topology configuration mode.
Unlock the answer
question
ipv6 unicast-routing
answer
Enables the forwarding of IPv6 unicast datagrams. Use the ipv6 unicast-routing command in global configuration mode.
Unlock the answer
question
name vlan-name
answer
Defines a VLAN name from config-vlan subconfiguration mode.
Unlock the answer
question
ping
answer
Executes an extended ping command. You will set the ping count and other options manually. (Use this command in privileged EXEC mode.)
Unlock the answer
question
ping ip-address
answer
Common tool that is used to troubleshoot the accessibility of devices. It uses ICMP echo requests and ICMP echo replies to determine whether a remote host is active. The ping command also measures the amount of time it takes to receive the echo reply.
Unlock the answer
question
show interfaces interface
answer
Displays the trunk parameters.
Unlock the answer
question
show interfaces interface switchport
answer
Displays VLAN and trunk information.
Unlock the answer
question
show spanning-tree vlan vlan#
answer
Displays spanning-tree information for a particular VLAN.
Unlock the answer
question
show vlan
answer
Displays information on all configured VLANs.
Unlock the answer
question
show vtp status
answer
Displays the VTP status.
Unlock the answer
question
spanning-tree mode rapid-pvst
answer
Global configuration mode to enable the Rapid-PVST protocol.
Unlock the answer
question
spanning-tree portfast
answer
Enables PortFast on an interface.
Unlock the answer
question
spanning-tree vlan vlan- ID root primary
answer
Global configuration mode to designate a switch to be the primary root for a particular VLAN.
Unlock the answer
question
spanning-tree vlan vlan- ID root secondary
answer
Global configuration mode to designate a switch to be the secondary root for a particular VLAN.
Unlock the answer
question
switchport access vlan vlan#
answer
Interface configuration mode to assign a port to a VLAN.
Unlock the answer
question
switchport mode trunk
answer
Interface configuration mode to set a Fast Ethernet or Gigabit Ethernet port to trunk mode.
Unlock the answer
question
vlan vlan-id
answer
Global configuration mode to add a VLAN and enter config- vlan subconfiguration mode. Use the no form of this command to delete the VLAN.
Unlock the answer
question
vtp domain domain
answer
Sets the VTP administrative domain.
Unlock the answer
question
vtp mode {server | client | transparent}
answer
Sets the VTP mode; use the no form of this command to return to the default setting.
Unlock the answer
question
ping 10.1.1.1
answer
Tests Layer 3 connectivity
Unlock the answer
question
show interface
answer
Displays interface status and statistics
Unlock the answer
question
show interface switchport
answer
Displays switching-related interface statistics
Unlock the answer
question
show interface trunk
answer
Displays interfaces configured to be trunk ports
Unlock the answer
question
show vlan id vlan-number
answer
Displays VLAN status and statistics
Unlock the answer
question
show interface trunk
answer
Displays interfaces configured to be trunk ports
Unlock the answer
question
show vlan id vlan-number
answer
Displays VLAN status and statistics
Unlock the answer
question
debug ip ospf adj
answer
Displays the OSPF neighbor establishment process
Unlock the answer
question
debug ip ospf hello
answer
Displays the OSPF hello packets exchange
Unlock the answer
question
show interfaces type
answer
Displays statistics for interfaces configured on the router
Unlock the answer
question
show ip ospf interface
answer
Displays statistics for interfaces that have OSPF enabled
Unlock the answer
question
show ip ospf neighbor
answer
Determines the state of an OSPF neighbor
Unlock the answer
question
show ip protocols
answer
Displays values about routing protocols and routing protocol timer information associated with the router
Unlock the answer
question
show ip route
answer
Displays the routing table
Unlock the answer
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New