Cisco IOS Commands Flashcards
What is the Cisco IOS Command?
In user EXEC mode, lists the subset of commands that are available at that level.
? or help
What is the Cisco IOS Command?
Applies the ACL to the vty line. The *{direction}* argument can have the value of eitherinorout**.
access-class {number} {**direction}
What is the Cisco IOS Command?
Creates a standard ACL that permits all traffic from or to a specified network.
access-list {number}permit{ip_address} {wildcard_mask}
What is the Cisco IOS Command?
Configures a standard ACL that permits a network.
access-list {acl_id}permit** {network} {wildcard_mask}
What is the Cisco IOS Command?
Creates a numbered access list entry.
access-list {acl_id} permit {network}
What is the Cisco IOS Command?
Allows the configuration of a message that is displayed just before login.
banner login
What is the Cisco IOS Command?
Enables Cisco Discovery Protocol on an interface.
cdp enable
What is the Cisco IOS Command?
Interface subcommands that enable [or disable] CDP for a particular interface.
[no] cdp enable
What is the Cisco IOS Command?
Global commands that enable [or disable] CDP for the entire switch or router.
[no] cdp run
What is the Cisco IOS Command?
Manages the system clock.
clock set
What is the Cisco IOS Command?
Activates the configuration mode from the terminal.
configure terminal
What is the Cisco IOS Command?
Enters global configuration mode.
configure terminal
What is the Cisco IOS Command?
Saves the running configuration into NVRAM as the startup configuration
copy running-config startup-config
What is the Cisco IOS Command?
Copies the switch running configuration file to another destination. A typical destination is the startup configuration.
copy running-config {destination}
What is the Cisco IOS Command?
Generates an RSA crypto key pair.
crypto key generate rsa
What is the Cisco IOS Command?
Generates the RSA key pairs to be used.
crypto key generate rsa
What is the Cisco IOS Command?
Enables debugging of ICMP packets.
debug ip icmp
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).
Default-information originate [always]
What is the Cisco IOS Command?
Specifies the IP address of the default router for a DHCP client.
default-router {address}
What is the Cisco IOS Command?
Deletes a file from flash memory.
delete {**name}
What is the Cisco IOS Command?
Creates a deny access list entry.
deny [ip | tcp | udp] {source_network} {wildcard} {mask} {dst_network} {wildcard} {mask}
What is the Cisco IOS Command?
Creates ACL statements for a named ACL. This one disallows.
deny {test conditions}
What is the Cisco IOS Command?
Adds a descriptive comment to the configuration of an interface.
description
What is the Cisco IOS Command?
Specifies the IP address of the DNS server that is available to a DHCP client.
dns-server {address}
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.
do {**command}
What is the Cisco IOS Command?
Enables full duplex on an interface.
duplex full
What is the Cisco IOS Command?
Interface subcommand that manually sets the interface duplex.
duplex [auto | full | half]
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.
enable
What is the Cisco IOS Command?
Enters the privileged EXEC mode command interpreter.
enable
What is the Cisco IOS Command?
Sets a password for entering privileged EXEC mode. The password is protected using strong MD5-type encryption.
enable secret {**password}
What is the Cisco IOS Command?
Configures the enable password in encrypted form.
enable secret {password}
What is the Cisco IOS Command?
Sets the encapsulation type and VLAN on a subinterface on a router.
encapsulation dot1q {vlan} [native]
What is the Cisco IOS Command?
Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in VLANs.
encapsulation dot1q {vlan}
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.
encapsulation dot1q {vlan} [native]
What is the Cisco IOS Command?
A subinterface subcommand that tells the router to use ISL trunking for a particular VLAN.
encapsulation isl {vlan}
What is the Cisco IOS Command?
Terminates configuration mode.
end
What is the Cisco IOS Command?
Erases the startup configuration that is stored in nonvolatile memory.
erase startup-config
What is the Cisco IOS Command?
Sets the interval before the user session is disconnected when idle.
exec-timeout
What is the Cisco IOS Command?
Exits the current configuraton mode.
exit
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.
history size {number}
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.
history size {number}
What is the Cisco IOS Command?
Sets the system name, which forms part of the prompt.
hostname {**hostname}
What is the Cisco IOS Command?
Specifies an interface and enters interface configuration mode.
interface {**type} {module/slot/port}
What is the Cisco IOS Command?
Enters interface configuration mode.
interface {interface}
What is the Cisco IOS Command?
Enters the subinterface configuration mode.
interface {interface} . {subinterface}
What is the Cisco IOS Command?
Global command to create a subinterface and to enter configuration mode for that subinterface.
interface {interface}.{subinterface}
What is the Cisco IOS Command?
Specifies interface FastEthernet 0/13 and enters interface configuration mode.
interface FastEthernet 0/13
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.
interface vlan {vlan}
What is the Cisco IOS Command?
Enters interface configuration mode for VLAN 1 to set the switch management IP address.
interface vlan 1
What is the Cisco IOS Command?
Applies an extended ACL to an interface in the inbound or outbound direction.
ip access-group {acl_name} [in | out]
What is the Cisco IOS Command?
Enables an IP ACL on an interface.
ip access-group {ACL_name} [in | out]
What is the Cisco IOS Command?
Defines an ACL and enters ACL configuration mode.
ip access-list extended {ACL_name}
What is the Cisco IOS Command?
Creates an extended, named ACL.
ip access-list extended {acl_name}
What is the Cisco IOS Command?
Configures an IP address manually on an interface.
ip address {ip_address} {network_mask}
What is the Cisco IOS Command?
Sets the IP address and mask of the interface.
ip address {ip-address} {subnet-mask}
What is the Cisco IOS Command?
Interface subcommand that assigns the interface’s IP address and optionally makes the address a secondary address.
ip address {ip-address} {mask} [secondary]
What is the Cisco IOS Command?
Configures an interface to obtain an IP address using DHCP.
ip address dhcp
What is the Cisco IOS Command?
Specifies the IP addresses that a DHCP server should not assign to a DHCP client.
ip dhcp excluded-addresses {ip-address} [{last-ip-address}]
What is the Cisco IOS Command?
Configures a DHCP address pool and enters DHCP configuration mode.
ip dhcp pool {name}
What is the Cisco IOS Command?
Enables DNS resolution of symbolic names.
ip domain lookup
What is the Cisco IOS Command?
Supplies an IP domain name that is required by the cryptographic key-generation process.
ip domain-name {name}
What is the Cisco IOS Command?
Sets a domain name.
ip domain-name {domain}
What is the Cisco IOS Command?
Enables forwarding of broadcasts that are received on the interface to the specified IP address.
ip helper-address {address}
What is the Cisco IOS Command?
Configures an interface as NAT inside interface.
ip nat inside
What is the Cisco IOS Command?
Configures an interface as NAT inside.
ip nat inside
What is the Cisco IOS Command?
Configures a dynamic source NAT rule that translates addresses into IP addresses defined in the pool.
ip nat inside source list {acl_id} pool {pool_name}
What is the Cisco IOS Command?
Configures dynamic NAT with PAT.
ip nat inside source list {acl_id} interface {interface} overload
What is the Cisco IOS Command?
Configures a dynaic source NAT or PAT rule that translates addresses into the IP address of an interface.
ip nat inside source list {acl_id} interface {interface_name} overload
What is the Cisco IOS Command?
Configures an interface as NAT outside.
ip nat outside
What is the Cisco IOS Command?
Configures an interface as a NAT outside interface.
ip nat outside
What is the Cisco IOS Command?
Configures a NAT pool.
ip nat pool {pool_name} {start_IP} {end_IP} netmask {mask}
What is the Cisco IOS Command?
Global command that enables or disables the routing of IPv4 packets on a router or Layer 3 switch.
[no] ip routing
What is the Cisco IOS Command?
Global configuration command that creates a static route.
ip route {ip-address} {subnet-mask} [{ip-address} | {interface}]
What is the Cisco IOS Command?
Configures a static route (including a default route).
ip route {network} {network_mask} {next_hop_address}
What is the Cisco IOS Command?
Enables SSH version 2.
ip ssh version 2
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.
ip ssh version [1 | 2]
What is the Cisco IOS Command?
Global command that allows or disallows the configuration of an interface IP address in a zero subnet.
[no] ip subnet-zero
What is the Cisco IOS Command?
Configures IPv6 address to the interface.
ipv6 address {ipv6_address} / {ipv6_mask}
What is the Cisco IOS Command?
Sets the IPv6 address and prefix length on an interface.
ipv6 address {ipv6-address} / {prefix_length}
What is the Cisco IOS Command?
Enables IPv6 autoconfiguration on the interface.
ipv6 address autoconfig
What is the Cisco IOS Command?
Enables an interface for OSPFv3 in an area.
ipv6 ospf {process_id} area {area_id}
What is the Cisco IOS Command?
Enables OSPFv3 routing on the interface.
ipv6 ospf {process_ID} area {area_ID}
What is the Cisco IOS Command?
Enables the IPv6 default route.
ipv6 route ::/0 {interface} {next_hop}
What is the Cisco IOS Command?
Enables OSPFv3 and enters routing process mode.
ipv6 router ospf {process_ID}
What is the Cisco IOS Command?
Creates the OSPFv3 process.
ipv6 router ospf {process_id}
What is the Cisco IOS Command?
Enables IPv6 forwarding support on the router.
ipv6 unicast-routing
What is the Cisco IOS Command?
Enables IPv6 routing on a router.
ipv6 unicast-routing
What is the Cisco IOS Command?
Specifies the duration of the lease. The default is a one-day lease.
lease [{days} [{hours}] [{minutes}] | {infinite}]
What is the Cisco IOS Command?
Enters line console configuration mode.
line console 0
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).
line vty {start_number} {end_number}
What is the Cisco IOS Command?
Synchronizes the display of router (or switch) output messages with the command-line prompt.
logging synchronous
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.
logging synchronous
What is the Cisco IOS Command?
Activates the login process on the console or vty lines.
login
What is the Cisco IOS Command?
Enables verification of a password on a line.
login
What is the Cisco IOS Command?
Enables verification of a username and password on a line.
login local
What is the Cisco IOS Command?
Makes the login process on the console or vty lines rely on (or use) the local authentication database.
login local
What is the Cisco IOS Command?
Exits EXEC mode and requires reauthentication (if enabled).
logout
What is the Cisco IOS Command?
VLAN subcommand that names the VLAN.
name {vlan-name}
What is the Cisco IOS Command?
Configures a router to advertise a network through OSPF.
network {network} {wildcard_mask} area {area_id}
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.
network {network-number} [{mask} | {prefix-length}]
What is the Cisco IOS Command?
Router subcommand that enables OSPF on interfaces matching the address/wildcard combination and sets the OSPF area.
network {ip-address} {wildcard-mask} area {area-id}
What is the Cisco IOS Command?
Disables Cisco Discovery Protocol on an interface.
no cdp enable
What is the Cisco IOS Command?
Disables DNS resolution of symbolic names.
no ip domain lookup
What is the Cisco IOS Command?
Disables the IPv6 default route.
no ipv6 route ::/0 {interface} {next_hop}
What is the Cisco IOS Command?
OSPF subcommand that tells OSPF to be active (not passive) on that interface or subinterface.
no passive-interface {interface}
What is the Cisco IOS Command?
Enables an interface.
no shutdown
What is the Cisco IOS Command?
Global config command that has the same effect as the [no] shutdown VLAN mode subcommands.
[no] shutdown vlan {vlan-id]
What is the Cisco IOS Command?
Configures Cisco IOS Software as an NTP master clock.
ntp master {stratum}
What is the Cisco IOS Command?
Allows the software clock to be synchronized by an NTP time server.
ntp server {ip-address}
What is the Cisco IOS Command?
OSPF subcommand that tells OSPF to be passive on that interface or subinterface.
passive-interface {interface}
What is the Cisco IOS Command?
OSPF subcommand that changes the OSPF default for interfaces to be passive instead of active (not passive).
passive-interface default
What is the Cisco IOS Command?
Assigns a password to the console or vty lines.
password
What is the Cisco IOS Command?
Creates ACL statements for a named ACL. This one allows.
permit {test conditions}
What is the Cisco IOS Command?
Creates a permit access list entry.
permit [ip | tcp | udp] {source_network} {wildcard} {mask} {dst_network} {wildcard} {mask}
What is the Cisco IOS Command?
Uses ICMP echo requests and ICMP echo replies to determine whether a remote host is reachable.
ping {ip-address}
What is the Cisco IOS Command?
Verifies connectivity between the source IP and destination IP.
ping {dest_IP}
What is the Cisco IOS Command?
Restarts the switch (or router) and reloads the Cisco IOS operating system and configuration.
reload
What is the Cisco IOS Command?
Creates the OSPF process.
router ospf {process_id}
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.
router ospf {process_id}
What is the Cisco IOS Command?
Enters OSPF configuration mode for the listed process.
router ospf {process-id}
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).
router-id {router-id}
What is the Cisco IOS Command?
OSPF subcommand that statically sets the router ID.
router-id {id}
What is the Cisco IOS Command?
A command on Cisco switches that enables the switch to support IP routing if configured.
sdm prefer lanbase-routing
What is the Cisco IOS Command?
Displays all ACLs that are defined on the device.
show access-list
What is the Cisco IOS Command?
Displays the contents of all IP ACLs.
show access-lists {ACL_name}
What is the Cisco IOS Command?
Displays global Cisco Discovery Protocol information.
show cdp
What is the Cisco IOS Command?
States whether CDP is enabled globally, and lists the default update and holdtime timers.
show cdp
What is the Cisco IOS Command?
Displays the same information as the show cdp neighbors detail command, but only for the named neighbor.
show cdp entry {name}
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.
show cdp interface [{interface}]
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.
show cdp neighbors [{interface}]
What is the Cisco IOS Command?
Displays detailed information about neighboring devices that are discovered by using Cisco Discovery Protocol.
show cdp neighbors
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.
show cdp neighbors [detail]
What is the Cisco IOS Command?
Lists one large set of information (approximately 15 lines) for every neighbor.
show cdp neighbors detail
What is the Cisco IOS Command?
Displays global statistics for the number of CDP advertisements sent and received.
show cdp traffic
What is the Cisco IOS Command?
Dipslays the system clock.
show clock
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.
show controllers {interface}
What is the Cisco IOS Command?
Displays the layout and contents of a flash memory file system.
show flash:
What is the Cisco IOS Command?
Examine most recently entered commands.
show history
What is the Cisco IOS Command?
Lists the commands currently held in the history buffer.
show history
What is the Cisco IOS Command?
Displays the switchport status of a port.
show interfaces {interface} switchport
What is the Cisco IOS Command?
Displays statistics for all interfaces that are configured on the router (or switch).
show interfaces
What is the Cisco IOS Command?
Displays information about all of the device interfaces.
show interfaces
What is the Cisco IOS Command?
Displays the trunking status of a port.
show interfaces {interface} trunk
What is the Cisco IOS Command?
Displays detailed information about interface status, settings, and counters.
show interfaces {interface}
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.
show interfaces description
What is the Cisco IOS Command?
Displays information about interface FastEthernet 0/13.
show interfaces FastEthernet 0/13
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.
show interfaces {interface} status
What is the Cisco IOS Command?
Displays the status of interfaces.
show interfaces status
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.
show interfaces {interface} switchport
What is the Cisco IOS Command?
Lists information about any interface regarding administrative settings and operational state.
show interfaces {interface-id} switchport
What is the Cisco IOS Command?
Displays trunking information.
show interfaces trunk
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.
show interfaces {interface} trunk
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.
show interfaces {interface-id} trunk
What is the Cisco IOS Command?
Displays configured access lists and hit counts.
show ip access-lists
What is the Cisco IOS Command?
Displays a list of all DHCP address bindings.
show ip dhcp binding
What is the Cisco IOS Command?
Displays IP-specific information for an interface, including the ACLs that are applied on an interface.
show ip interface {interface-type} {interface number}
What is the Cisco IOS Command?
Dipslays the brief status and IP addresses of interfaces.
show ip interface brief
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.
show ip interface brief
What is the Cisco IOS Command?
Displays active NAT translations.
show ip nat translations
What is the Cisco IOS Command?
Displays the NAT table.
show ip nat translations
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.
show ip ospf
What is the Cisco IOS Command?
Lists a summary of the LSAs in the local router’s LSDB, listing one line for each LSA.
show ip ospf database
What is the Cisco IOS Command?
Displays interface information that is related to OSPF.
show ip ospf interface
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.
show ip ospf interface {interface}
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.
show ip ospf interface brief
What is the Cisco IOS Command?
Shows all OSPF neighbors of the router.
show ip ospf neighbor
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.
show ip ospf neighbor {neighbor-RID}
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.
show ip protocols
What is the Cisco IOS Command?
Lists the router’s entire routing table.
show ip route
What is the Cisco IOS Command?
Lists a subset of the IP routing table.
show ip route [connected | static | ospf]
What is the Cisco IOS Command?
Displays the routing table.
show ip route
What is the Cisco IOS Command?
Lists detailed information about the route that a router matches for the listed IP address.
show ip route {ip-address}
What is the Cisco IOS Command?
Lists routes in the routing table learned by OSPF.
show ip route [ospf]
What is the Cisco IOS Command?
Displays IPv6 settings and status on an interface.
show ipv6 interface {interface}
What is the Cisco IOS Command?
Displays IPv6 status on the interface.
show ipv6 interface {interface}
What is the Cisco IOS Command?
Displays the IPv6 neighbor discovery table.
show ipv6 neighbors
What is the Cisco IOS Command?
Displays OSPFv3 settings.
show ipv6 ospf
What is the Cisco IOS Command?
Displays OSPFv3 neighbors.
show ipv6 ospf neighbor
What is the Cisco IOS Command?
Displays the IPv6 routing table.
show ipv6 route
What is the Cisco IOS Command?
Displays the MAC address table on a switch.
show mac address-table
What is the Cisco IOS Command?
Displays the MAC address table. The static option displays information about the restricted or static settings.
show mac address-table [dynamic | static] [address {hw-addr}] [interface {interface-id}] [vlan {vlan-id}]
What is the Cisco IOS Command?
Displays the status of NTP associations.
show ntp associations
What is the Cisco IOS Command?
Displays the status of NTP.
show ntp status
What is the Cisco IOS Command?
Displays information about security options configured on an interface.
show port-security [interface {interface-id}] [address]
What is the Cisco IOS Command?
Displays the secure MAC addresses for all ports.
show port-security address
What is the Cisco IOS Command?
Displays the port security settings that are defined for an interface.
show port-security interface {interface}
What is the Cisco IOS Command?
Lists information about the listed interface, including the IP address, mask, and line/protocol status.
show protocols {interface}
What is the Cisco IOS Command?
Displays the active configuration (in RAM).
show running-config
What is the Cisco IOS Command?
Examine the current configuration of a specific interface.
show running-config interface {interface}
What is the Cisco IOS Command?
Dipslays the startup configuration settings that are saved in NVRAM.
show startup-config
What is the Cisco IOS Command?
Displays the current settings for the terminal.
show terminal
What is the Cisco IOS Command?
Displays information about the active lines on a router (or switch).
show users
What is the Cisco IOS Command?
Displays users that are currently logged to a router.
show users
What is the Cisco IOS Command?
Verify switch (and router) software and hardware status.
show version
What is the Cisco IOS Command?
Displays the configuration of the switch (or router) hardware and the various software versions.
show version
What is the Cisco IOS Command?
Lists information about the VLAN.
show vlan [brief | id {vlan-id} | name {vlan-id} | summary]
What is the Cisco IOS Command?
Displays VLAN information.
show vlan {vlan}
What is the Cisco IOS Command?
Lists each VLAN and all interfaces assigned to that VLAN but does not include trunks.
show vlan [brief]
What is the Cisco IOS Command?
Displays VLAN information.
show vlan
What is the Cisco IOS Command?
Lists both access and trunk ports in the VLAN.
show vlan id {number}
What is the Cisco IOS Command?
When you configure a router on a stick, use this command to verify trunking and VLANs.
show vlans
What is the Cisco IOS Command?
Lists VLAN configuration and statistics for VLAN trunks configured on routers.
show vlans
What is the Cisco IOS Command?
Lists the current VTP status, including the current mode.
show vtp status
What is the Cisco IOS Command?
Lists VTP configuration and status information.
show vtp status
What is the Cisco IOS Command?
Shuts down an interface. Uses the no version of the command to enable the interface.
shutdown
What is the Cisco IOS Command?
Disables an interface.
shutdown
What is the Cisco IOS Command?
Interface subcommand that manually sets the interface speed.
speed [auto | 10 | 100 | 1000]
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.
ssh -l username {ip_address}
What is the Cisco IOS Command?
Interface subcommand that configures the trunking administrative mode on the interface.
switchport mode [access | dynamic auto | dynamic desirable | trunk]
What is the Cisco IOS Command?
Assigns a port to a VLAN.
switchport access vlan {vlan}
What is the Cisco IOS Command?
Specifies an access VLAN on a switchport.
switchport access vlan {vlan}
What is the Cisco IOS Command?
Interface subcommand that statically configures the interface into that one VLAN.
switchport access vlan {vlan-id}
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.
switchport mode {mode}
What is the Cisco IOS Command?
Configures a switchport as an access port.
switchport mode access
What is the Cisco IOS Command?
Configures a switchport as a trunk.
switchport mode trunk
What is the Cisco IOS Command?
Interface subcommand that disables the negotiation of VLAN trunking.
switchport nonegotiate
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.
switchport port-security violation [protect | restrict | shutdown]
What is the Cisco IOS Command?
Enables the port security feature on the interface.
switchport port-security
What is the Cisco IOS Command?
Enables port security on a switchport.
switchport port-security
What is the Cisco IOS Command?
Manually defines MAC addresses that are allowed ona switchport when port security is enabled.
switchport port-security mac-address {mac_address}
What is the Cisco IOS Command?
Enters a secure MAC address for the interface.
switchport port-security mac-address {mac-address}
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.
switchport port-security maximum {number}
What is the Cisco IOS Command?
Configures the port security violation to protect.
switchport port-security violation protect
What is the Cisco IOS Command?
Interface subcommand that defines the list of allowed VLANs.
switchport trunk allowed vlan [add | all | except | remove] {vlan-list}
What is the Cisco IOS Command?
Specifies allowed VLANs on a trunk link.
switchport trunk allowed vlan {vlans}
What is the Cisco IOS Command?
Specifies VLANS from which traffic is allowed over the trunk link.
switchport trunk allowed vlan {vlan_list}
What is the Cisco IOS Command?
Interface subcommand that defines which type of trunking to use, assuming that trunking is configured or negotiated.
switchport trunk encapsulation [dot1q | isl | negotiate]
What is the Cisco IOS Command?
Interface subcommand that defines the antive VLAN for a trunk port.
switchport trunk native vlan {vlan-id}
What is the Cisco IOS Command?
Establishes a Telnet session to an IP address.
telnet {ip_address}
What is the Cisco IOS Command?
Uses Telnet to connect to a destination IP address.
telnet {ip_address}
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.
terminal history size {number}
What is the Cisco IOS Command?
Set the number of lines that are displayed without pause. Default is 24.
terminal length {number}
What is the Cisco IOS Command?
Redirects debugging output to a Telnet session.
terminal monitor
What is the Cisco IOS Command?
Traces to the specified IP address.
traceroute {ip_address}
What is the Cisco IOS Command?
Specifies which protocols to use to connect to a specific line of the device.
transport input [telnet | ssh | all]
What is the Cisco IOS Command?
Allows Telnet and SSH on virtual lines.
transport input ssh telnet
What is the Cisco IOS Command?
Disables all debugging.
undebug all
What is the Cisco IOS Command?
Creates a user account in the local user database.
username {username} password {password}
What is the Cisco IOS Command?
Creates a username and password pair that can then be used as a local authentication database.
username {username} secret {password}
What is the Cisco IOS Command?
Global config command that both creates the VLAN and puts the CLI into VLAN configuration mode.
vlan {vlan-id}
What is the Cisco IOS Command?
Creates the VLAN that is specified.
vlan {vlan_number}
What is the Cisco IOS Command?
Creates a VLAN on a switch.
vlan {vlan_id}
What is the Cisco IOS Command?
Global config command that defines the VTP mode.
vtp mode [server | client | transparent | off]