SUMMARY STEPS
1.
{
show
|
more
}
command
| {
begin
|
include
|
exclude
}
regular-expression
DETAILED STEPS
Purpose
Command or Action
Searches and filters the output.
{
show
|
more
}
command
| {
begin
|
include
|
exclude
}
regular-expression
Step 1
Expressions are case sensitive. For example, if you enter
| exclude output
, the lines that contain
output
are not
displayed, but the lines that contain
output
appear.
Example:
Device#
show interfaces | include protocol
Vlan1 is up, line protocol is up
Vlan10 is up, line protocol is down
GigabitEthernet1/0/1 is up, line protocol is down
GigabitEthernet1/0/2 is up, line protocol is up
Accessing the CLI
You can access the CLI through a console connection, through Telnet, a SSH, or by using the browser.
To debug the standby switch, use the
session standby ios
privileged EXEC command from the active switch
to access the IOS console of the standby switch. To debug a specific stack member, use the
session switch
stack-member-number
privileged EXEC command from the active switch to access the diagnostic shell of
the stack member. For more information about these commands, see the switch command reference.
Accessing the CLI Through a Console Connection or Through Telnet
Before you can access the CLI, you must connect a terminal or a PC to the device console or connect a PC to
the Ethernet management port and then power on the device, as described in the hardware installation guide
that shipped with your device.
If your device is already configured, you can access the CLI through a local console connection or through a
remote Telnet session, but your device must first be configured for this type of access.
You can use one of these methods to establish a connection with the device:
•
Connect the device console port to a management station or dial-up modem, or connect the Ethernet
management port to a PC. For information about connecting to the console or Ethernet management
port, see the device hardware installation guide.
•
Use any Telnet TCP/IP or encrypted Secure Shell (SSH) package from a remote management station.
The device must have network connectivity with the Telnet or SSH client, and the device must have an
enable secret password configured.
•
The device supports up to 16 simultaneous Telnet sessions. Changes made by one Telnet user are
reflected in all other Telnet sessions.
•
The device supports up to five simultaneous secure SSH sessions.
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3650 Switches)
OL-29890-01
11
Using the Command-Line Interface
Accessing the CLI