Commands

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

pwd

(present working directory) command verifies that we are viewing the NVRAM directory.

The filtering parameters that can be configured after the pipe include:

1) section - Shows entire section that starts with the filtering expression 2) include - Includes all output lines that match the filtering expression 3) exclude - Excludes all output lines that match the filtering expression 4) begin - Shows all the output lines from a certain point, starting with the line that matches the filtering expression

ip route 0.0.0.0 0.0.0.0

A default static route using the ip route 0.0.0.0 0.0.0.0 command.

Show filtering

Another very useful feature that improves the user experience in the command-line interface (CLI) is the filtering of show output. Filtering commands can be used to display specific sections of output. To enable the filtering command, enter a pipe (|) character after the show command and then enter a filtering parameter and a filtering expression.

show clock

Before NTP is configured on the network, the show clock command displays the current time on the software clock. With the detail option, the time source is also displayed.

no cdp run

CDP can be disabled for all the interfaces on the device with the no cdp run command in the global configuration mode. a security approach, do on not used interfaces

Router# license clear feature-name

Clear the technology package license from license storage.

datak9

Data technology package

Router(config)# license boot module module-name technology-package package-name disable

Disable the active license with the command:

show ip interface brief

Displays a summary for all interfaces including the IPv4 address of the interface and current operational status.

show interfaces

Displays interface information and packet flow count for all interfaces on the device.

show ip interface

Displays the IPv4 related information for all interfaces on a router.

show running-config interface

Displays the commands configured on the specified interface.

show ip route

Displays the contents of the IPv4 routing table stored in RAM. In Cisco IOS 15, active interfaces should appear in the routing table with two related entries identified by the code 'C' (Connected) or 'L' (Local). In previous IOS versions, only a single entry with the code 'C' will appear.

ipbasek9

IP Base technology package

To eliminate the recursive lookup, a directly connected static route can be implemented using the following command:

R1(config)# ip route 192.168.2.0 255.255.255.0 GigabitEthernet 0/1

A static route can be configured to reach a specific remote network. IPv4 static routes are configured using the following command:

Router(config)# ip route network mask { next-hop-ip | exit-intf }

To create a VLAN with the vlan_id of 99, and associate it to an interface, use the following commands:

S1(config)# vlan vlan_id S1(config-vlan)# name vlan_name S1(config-vlan)# exit S1(config)# interface interface_id S1(config-if)# switchport access vlan vlan_id

securityk9

Security technology package

show interface gigabitethernet #/#

Shows the interface details for that particular interface

ip route

Static routes are configured using the ip route global configuration command. One or both of the following parameters must also be used: 1) ip-address - The IP address of the connecting router to use to forward the packet to the remote destination network. Commonly referred to as the next hop. 2) exit-intf - The outgoing interface to use to forward the packet to the next hop.

ipv6 route

Static routes for IPv6 are configured using the ipv6 route global configuration command.

switchport port-security mac-address sticky

Sticky secure MAC addresses can also be manually defined. When sticky secure MAC addresses are configured by using the switchport port-security mac-address sticky mac-address interface configuration mode command, all specified addresses are added to the address table and the running configuration.

Router# license save file-sys://lic-location

The command to back up a copy of the licenses on a device

ipv6 unicast-routing

The ipv6 unicast-routing global configuration command must be configured to enable the router to forward IPv6 packets. On routers and level 3 switches

show ip protocols

The show ip protocols command displays the IPv4 routing protocol settings currently configured on the router. (slide: 3.2.1.3)

default-information originate

This instructs R1 to originate default information, by propagating the static default route in RIP updates.

show port-security address

To display all secure MAC addresses configured on all switch interfaces, or on a specified interface with aging information for each, use the show port-security address command. Shows what vlan it belongs to.

show port-security interface [interface-id]

To display port security settings for the switch, or for the specified interface, use the show port-security interface [interface-id] command.

lldp run

To enable LLDP globally on a Cisco network device, enter the lldp run command in the global configuration mode. To disable LLDP, enter the no lldp run command in the global configuration mode.

router rip

To enable RIP, use the router rip command, as shown in Figure 3. This command does not directly start the RIP process. Instead, it provides access to the router configuration mode where the RIP routing settings are configured. When enabling RIP, the default version is RIPv1

no auto-summary

To modify the default RIPv2 behavior of automatic summarization, use the no auto-summary router configuration mode command as shown in Figure 2. This command has no effect when using RIPv1. When automatic summarization has been disabled, RIPv2 no longer summarizes networks to their classful address at boundary routers. RIPv2 now includes all subnets and their appropriate masks in its routing updates. The show ip protocols now states that "automatic network summarization is not in effect".

boot system

To upgrade to the copied IOS image after that image is saved on the router's flash memory, configure the router to load the new image during bootup using the boot system command

show lldp

To verify LLDP has been enabled on the device, enter the show lldp command in the privileged EXEC mode.

show cdp neighbors detail

To verify the status of CDP and display a list of neighbors, use the show cdp neighbors command in the privileged EXEC mode. The show cdp neighbors command displays important information about the CDP neighbors command provides helpful information about each CDP neighbor device, including the following: Device identifiers - The host name of the neighbor device (S1) Port identifier - The name of the local and remote port (Gig 0/1 and Fas 0/5, respectively) Capabilities list - Whether the device is a router or a switch (S for switch; I for IGMP is beyond scope for this course) Platform - The hardware platform of the device (WS-C2960 for Cisco 2960 switch)

Syslog Server

To view syslog messages, a syslog server must be installed on a workstation in the network. The syslog server provides a relatively user-friendly interface for viewing syslog output. The server parses the output and places the messages into pre-defined columns for easy interpretation.

uck9

Unified Communications package (not available on 1900 series)

service timestamps log datetime

Use the command service timestamps log datetime to force logged events to display the date and time.

duplex

Use the duplex interface configuration mode command to manually specify the duplex mode for a switch port.

ntp server

Use the ntp server ip-address command in global configuration mode to configure

passive-interface

Use the passive-interface router configuration command to prevent the transmission of routing updates through a router interface, but still allow that network to be advertised to other routers. The command stops routing updates out the specified interface.

show cdp interface

Use the show cdp interface command to display the interfaces that are CDP enabled on a device. The status of each interface is also displayed.

speed

Use the speed interface configuration mode command to manually specify the speed for a switch port.

version 2

Use the version 2 router configuration mode command to enable RIPv2, as shown in Figure 2. Notice how the show ip protocols command verifies that R2 is now configured to send and receive version 2 messages only. The RIP process now includes the subnet mask in all updates, making RIPv2 a classless routing protocol.

show lldp neighbors

With LLDP enabled, device neighbors can be discovered using the show lldp neighbors command.

terminal history size #

chances you command input history size so you can arrow up

confreg 0x2142

command allows the user to set the configuration register to 0x2142. With the configuration register at 0x2142, the device will ignore the startup config file during startup. The startup config file is where the forgotten passwords are stored. After setting the configuration register to 0x2142, type reset at the prompt to restart the device. Enter the break sequence while the device is rebooting and decompressing the IOS.

ping

command for IPv6 is identical to the command used with IPv4 except that an IPv6 address is used.

show ipv6 route

command shown in Figure 3 can be used to verify that IPv6 networks and specific IPv6 interface addresses have been installed in the IPv6 routing table. The showipv6route command will only display IPv6 networks, not IPv4 networks.

show ipv6 interface brief

displays a summary for each of the interfaces. The "up/up" output on the same line as the interface name indicates the Layer 1/Layer 2 interface state. This is the same as the Status and Protocol columns in the equivalent IPv4 command.

license install (stored-location-url) privileged exec mode

install a license file.

interface range

is simple to make configuration changes to multiple ports on a switch. If a range of ports must be configured, use the interface range command. Switch(config)# interface range type module/first-number - last-number

Show license udi

it gives you the platform and the code. The PID identifies the type of device. Only the PID and SN are used for license creation. This UDI can be displayed using the show license udi command shown in Figure 1. This information is also available on a pull-out label tray found on the device.

Ctrl+P or the Up Arrow

recall commands in the history buffer

copy running-config tftp

saves the running configuration to a tftp file on a host.

copy startup-config tftp

saves the startup configuration to a tftp file on a host.

Router(config)# license accept end user agreement

shows how to configure a one-time acceptance of the EULA:

Router# license boot module module-name technology-package package-name

shows the command to activate an Evaluation RTU license:

boot system

the BOOT environment variable is set using the boot system global configuration mode command. Notice that the IOS is located in a distinct folder and the folder path is specified. Use thecommand show boot to see what the current IOS boot file is set to.

show ip route static

the show ip route static command output displays the contents of the static routes in the routing table. Note the asterisk (*)next to the route with code 'S'. As displayed in the Codes table in the figure, the asterisk indicates that this static route is a candidate default route, which is why it is selected as the Gateway of Last Resort.

show ipv6 route static

the show ipv6 route static command output displays the contents of the routing table. Unlike IPv4, IPv6 does not explicitly state that the default IPv6 is the Gateway of Last Resort. The key to this configuration is the ::/0 mask. Remember that the IPv6 prefix-length in a routing table determines how many bits must match between the destination IP address of the packet and the route in the routing table. The ::/0 mask indicates that none of the bits are required to match. As long as a more specific match does not exist, the default static IPv6 route matches all packets.

show ntp associations and show ntp status

to verify that R1 is synchronized with the NTP server

show file systems

which lists all of the available file systems on a Cisco 1941 router. This command provides useful information such as the amount of available and free memory, the type of file system, and its permissions. Permissions include read only (ro), write only (wo), and read and write (rw), shown in the Flags column of the command output.


Set pelajaran terkait

Excelsior College- Life Span 1 Quiz 1 NoAnswers

View Set

BUS210 Business Law Final Resendez

View Set

Sheppard air frequently missed questions (IFR)

View Set

Fluid, Electrolyte and Acid-base regulation

View Set

Chapter 28: Care of Patients Requiring Oxygen Therapy or Tracheostomy

View Set

AP Environmental Science Chapter 2 Review (1-10)

View Set