Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
35 Cards in this Set
- Front
- Back
To filter the output of a show cmd to only include lines with the specified string.
|
R1# show [cmd] | include [text]
|
|
To filter the output of a show cmd to display everything except lines containing the string you specify.
|
R1# show [cmd] | exclude [text]
|
|
To Jump through the output of a show cmd to the first occurrence of a specified string.
|
R1# show [cmd] | begin [name]
|
|
To display IP routing table with only the specified address space and all its subnets.
|
R1# show ip route [network add] [mask] longer-prefixes
|
|
To redirect (pipe) the output of a cmd to a file suppressing the onscreen output.
|
R1# show [cmd] | redirect ftp://[ip add]/[filename].txt
|
|
To redirect (pipe) the output of a cmd to a file without suppressing the onscreen output.
|
R1# show [cmd] | tee ftp://[ip add]/[filename].txt
|
|
To append an output your exporting to an already existing file.
|
R1# show [cmd] | append ftp://[ip add]/[filename].txt
|
|
To see 5 second, 1 minute and 5 minute CPU utilization statistics in addition to a listing of processes running on a platform with each processes utilization statistics.
|
R1# show processes cpu
|
|
To display summary information about processor and I/O memory, followed by a more comprehensive report of memory utilization.
|
R1# show memory
|
|
To show L1 and L2 interface status, interface load information and error statistics that include: Input queue drops=Receives info faster than can be processed, Output queue drops=Received info faster than could be sent out, Input Errors=Frames not received correctly (e.g. CRC error), Output Errors=Frames not transmitted correctly (perhaps due to duplex mismatch).
|
R1# show interfaces
|
|
To reset interface counters. It is advisable to do so prior to collecting statistics. Stating interfaces or vans is optional.
|
R1# clear counters [[type] [mod/num]] [vlan [vlan-id]
|
|
To display very detailed controller and interface information. Most of the time, you will only use this command to see if a serial link is a DCE or a DTE and the clock rate speed.
|
R1# show controllers
|
|
To send ping. Size=No. of bytes in ECMP Echo packet (default 100), Repeat=No. of packets sent, Timeout=No. of seconds waits for a reply, DF-bit=Sets the do-no-fragment bit.
|
R1# ping [ip add] size [bytes] repeat [no.] timeout [secs] df-bit
|
|
To connect to a remote IP address via telnet using TCP port 23 by default, or optionally via a specified port.
|
R1# telnet [ip add] [port no.]
|
|
To configure SPAN, which specifies the src interface from where you want to capture packets of both the incoming and outgoing traffic.
|
SW1(config)# monitor session [no.] source interface [type] [mod/num]
|
|
To configure SPAN to set the dst port where your packet capture device is.
|
SW1(config)# monitor session [no.] destination interface [type] [mod/num]
|
|
To configure a VLAN as a Remote SPAN VLAN. It will carry the capture packets to a packet capture device on a different switch.
|
SW1(config-vlan)# remote-span
|
|
To configure RSPAN on a switch so that it passes packets down the RSPAN VLAN towards the switch with the packet capture device connected.
|
SW1(config)# monitor session [no.] destination remote vlan [vlan-id] reflector-port [type] [mod/num]
|
|
To configure RSPAN on a switch so that the packets it receives down the Remote-SPAN VLAN are passed onto the packet capture device.
|
SW1(config)# monitor session [no.] source remote vlan [vlan-id]
|
|
To verify which ports are doing what in SPAN and RSPAN.
|
SW1# show monitor
|
|
To set up snmp with a read only (ro) or read/write (rw) community string. The community string must match on SNMP agent and NMS.
|
SW1(config)# snmp-server community [string] [ro | rw]
|
|
To force an SNMP interface index to stay consistent during data collection, even if a device is rebooted.
|
SW1(config)# snmp-server ifindex persist
|
|
To enable SNMP traps which allow a device running SNMP agent to initiate communication with an NMS. Can individually enter trap names if want to specify certain traps, but by default enables all.
|
SW1(config)# snmp-server enable traps
|
|
To point the router to an SNMP server (NMS) so it can push info and report problems/events to the NMS (e.g. an interface going down).
|
SW1(config)# snmp-server host [ip add] version [number] [community string]
|
|
To turn on net flow on a port so that all flows passing through that port, regardless of direction, can be monitored.
|
SW1(config-if)# ip flow ingress
|
|
To set the NetFlow source interface on the router, which is the interface used to communicate with an external NetFlow collector.
|
SW1(config)# ip flow-export source [type] [mod/num]
|
|
To set the version of NetFlow to use, with version 5 being the most widely deployed.
|
SW1(config)# ip flow-export version [1 | 5 | 9]
|
|
To specify the IP address and port number of an external NetFlow Collector. There is no default port number for NetFlow.
|
SW1(config)# ip flow-export destination [ip add] [port]
|
|
To enter EEM configuration mode. EEM allows you to create your own event definitions and specify custom responses to those events.
|
R3(config)# event manager applet [name]
|
|
To set the event that will trigger the action. In this case is the cmd you specify, if it occurs once, and that the CLI wont be skipped.
|
R3(config-applet)# event cli pattern [cmd] sync no skip no occurs
|
|
To set the action that is taken once the event occurs. In this case the action is a specified sys message with the specified severity level.
|
R3(config-applet)# action [name] syslog priority [severity level] msg [message]
|
|
What is a traffic flow?
|
A flow is a series of packets, all of which have shared header info such as src and dst IP, protocol numbers, port numbers and Type of service (TOS) field info.
|
|
What are the characteristics of SNMP?
|
It collects device statistics and uses a pull model where statistics are pulled from the SMNP agent (monitoring device) by a Network Management Station (NMS).
|
|
What are the characteristics of Net flow?
|
It collects detailed information about traffic flows and uses a push model where statistics are pushed from the monitoring device to a NetFlow collector.
|
|
What's the difference between SNMP v3 and 2c?
|
V3 supports encryption and authentication of SNMP messages, whilst 2c uses Community strings for security. The most popular version deployed today is 2c.
|