Cisco Systems WSC2960X48TSL Searching and Filtering Output of show and more Commands, Access-list

Page 22

Using the Command-Line Interface

Searching and Filtering Output of show and more Commands

DETAILED STEPS

 

Command or Action

Purpose

Step 1

access-list

Displays the global configuration command entry that extends beyond

 

 

one line.

Example:

Switch(config)# access-list 101 permit tcp

10.15.22.25255.255.255.0 10.15.22.35

Switch(config)# $ 101 permit tcp

10.15.22.25255.255.255.0 10.15.22.35

255.25

Switch(config)# $t tcp 10.15.22.25 255.255.255.0 131.108.1.20 255.255.255.0 eq

Switch(config)# $15.22.25 255.255.255.0

10.15.22.35255.255.255.0 eq 45

When the cursor first reaches the end of the line, the line is shifted ten spaces to the left and redisplayed. The dollar sign ($) shows that the line has been scrolled to the left. Each time the cursor reaches the end of the line, the line is again shifted ten spaces to the left.

Step 2

Ctrl-A

Example:

Switch(config)# access-list 101 permit tcp 10.15.22.25 255.255.255.0 10.15.2$

Checks the complete syntax.

The dollar sign ($) appears at the end of the line to show that the line has been scrolled to the right.

Step 3

Return key

Execute the commands.

The software assumes that you have a terminal screen that is 80 columns wide. If you have a different width, use the terminal width privileged EXEC command to set the width of your terminal.

Use line wrapping with the command history feature to recall and modify previous complex command entries.

Searching and Filtering Output of show and more Commands

You can search and filter the output for show and more commands. This is useful when you need to sort through large amounts of output or if you want to exclude output that you do not need to see. Using these commands is optional.

SUMMARY STEPS

1.{show more} command {begin include exclude} regular-expression

DETAILED STEPS

 

Command or Action

Purpose

Step 1

{show more} command {begin include exclude}

Searches and filters the output.

 

regular-expression

 

 

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX

10

OL-29044-01

Image 22
Contents Americas Headquarters First Published July 10Page N T E N T S Configuring the Cisco Discovery Protocol Configuring Simple Network Management Protocol Rspan Vlan Vii Viii Convention Description Document ConventionsBold font Reader Alert Conventions Obtaining Documentation and Submitting a Service Request Related DocumentationXii Information About Using the Command-Line Interface Command ModesQuit Mode Access Method Prompt Exit Method About This ModeConfigure Ctrl-ZMode Using the Help SystemCommand or Action Purpose Step HelpNo and default Forms of Commands Understanding Abbreviated CommandsCLI Error Messages Configuring the Command History How to Use the CLI to Configure FeaturesConfiguration Logging Error Message MeaningRecalling Commands Changing the Command History Buffer SizeCommand or Action Privileged Exec mode Enabling and Disabling Editing FeaturesDisabling the Command History Feature Terminal no historyEditing Commands through Keystrokes Editing Command Lines That Wrap Show more command begin include exclude regular-expression Searching and Filtering Output of show and more CommandsAccess-list Show more command begin include excludeCommand or Action Example OL-29044-01 Finding Feature Information Prerequisites for Configuring the Configuration EngineCisco Configuration Engine Software Restrictions for Configuring the Configuration EngineInformation About Configuring the Configuration Engine Related TopicsConfiguration Service Cisco Configuration Engine Architectural OverviewConfigID Event ServiceCisco Networking Services IDs and Device Hostnames NameSpace MapperDeviceID Hostname, DeviceID, and ConfigIDHostname and DeviceID Initial Configuration Cisco IOS CNS AgentsSynchronized Configuration Automated CNS ConfigurationIncremental Partial Configuration Device Required ConfigurationEnabling the CNS Event Agent How to Configure the Configuration EngineConfigure terminal EndConfigure terminal Enters the global configuration mode Reconnect-time time backupCns config partial hostname ip-address Cns config initial hostname ip-addressEnabling the Cisco IOS CNS Agent On the switch Enabling an Initial Configuration for Cisco IOS CNS AgentCommand or Action Purpose End Returns to privileged Exec modeConfigure terminal Cns template connect name Exit Hostname nameExit Returns to global configuration mode Discover controller controller-typedlciHostname string string udi event image command ExitPort-number event no-persist Source ip-address syntax-checkRefreshing DeviceIDs Show cns config connectionsShow cns event connections No cns event ip-address port-number Enabling a Partial Configuration for Cisco IOS CNS Agent Cns config partial ip-addresshostnameMonitoring CNS Configurations Command PurposeRelease Modification Additional ReferencesTechnical Assistance Description Link Cisco IOS 15.02EXInformation About CDP CDP OverviewConfiguring CDP Characteristics How to Configure CDPDefault CDP Configuration FeatureOptional Configures CDP to send Version-2 advertisements No cdp run Disables CDP Configure terminal No cdp run EndDisabling CDP Cdp run Enables CDP if it has been disabled Configure terminal Cdp run EndEnabling CDP Disabling CDP on an Interface No cdp enable EndEnters interface configuration mode Specifies the interface on which you are disabling CDPCdp enable End Enabling CDP on an InterfaceMonitoring and Maintaining CDP Cdp enable Enables CDP on a disabled interfaceCommand Description Specifies the interface on which you are enabling CDPShow cdp traffic CommandShow cdp neighbors interface-id Related Documents Related Topic Document TitleFeature History and Information for Cisco Discovery Protocol Prerequisites for Snmp Supported Snmp VersionsModel Level Authentication Encryption Result SHA Snmp Overview Restrictions for SnmpInformation About Snmp Snmp Manager FunctionsSnmp Agent Functions Snmp MIB Variables AccessSnmp Community Strings Snmp Notifications Snmp ifIndex MIB Object ValuesFeature Default Setting Default Snmp ConfigurationSnmp Configuration Guidelines Interface TypeConfigure terminal No snmp-server End How to Configure SnmpDisabling the Snmp Agent Configuring Community Strings No snmp-server Disables the Snmp agent operationSwitchconfig# access-list 4 deny any Configuring Snmp Groups and Users Snmp-server engineID localIntegers twice the normal width V1 is the least secure of the possible security modelsSnmp-server user username Configuring Snmp Notifications End ExampleNotification Type Keyword Description Port-security Snmp-server enable traps port-securitySnmp-server enable traps port-security trap-rate rate RtrV2c access access-list v3 encrypted access Snmp-server user username group-nameremoteRange is 1 to 1000 the default is Setting the Agent Contact and Location Information Snmp-server contact text Sets the system contact string Limiting Tftp Servers Used Through SnmpSnmp-server location text Sets the system location string Monitoring Snmp Status Snmp-server tftp-server-listSnmp Examples Switchconfig# snmp-server enable traps entity Configuring Span and Rspan Prerequisites for Span and RspanRestrictions for Span and Rspan RspanFlow-Based Span Fspan and Flow-Based Rspan Frspan Span and Rspan Information About Span and RspanLocal Span Example of Local Span Configuration on a Single Device Remote SpanExample of Rspan Configuration Span and Rspan Concepts and TerminologySpan Sessions Source Ports Source VLANs Rspan Vlan Span and Rspan Interaction with Other Features Flow-Based Span Span and Rspan and Device StacksConfiguration Guidelines Default Span and Rspan ConfigurationSpan Configuration Guidelines Fspan and Frspan Configuration Guidelines How to Configure Span and RspanRspan Configuration Guidelines Creating a Local Span SessionMonitor session sessionnumber source Both rx txEnd No monitor session sessionnumber all Local remoteCommand or Action Purpose Specifying VLANs to FilterConfiguring a Vlan as an Rspan Vlan Monitor session sessionnumber filter vlanRemote-span End Remote-spanCreating an Rspan Source Session Monitor session sessionnumber Destination remote vlan vlan-idSwitchconfig# no monitor session Creating an Rspan Destination Session Remote vlan vlan-id Switchconfig# monitor session 2 source remote vlan Configuring an Fspan Session Configure terminal Enters global configuration modeMonitor session sessionnumber source Configuring an Frspan Session Detailed Steps Monitoring Span and Rspan Operations Or Frspan configurationShow monitor Span and Rspan Configuration Examples Example Configuring Local SpanFeature History and Information for Span and Rspan Examples Creating an Rspan VlanLimit IPv4, IPv6 or IPv4 + IPv6, or D E Span sessions
Related manuals
Manual 18 pages 20.28 Kb

WSC2960X24TSL, C2960XSTACK, WSC2960X24PDL, WSC2960X24TSLL, WSC2960X24PSL specifications

Cisco Systems has long been a leader in networking technology, and its range of switching products exemplifies its commitment to high performance and reliability. Among its popular offerings are the Catalyst 2960-X and 2960-XR series switches, including models like WSC2960X48TSL, WSC2960XR48FPDI, WSC2960XR24TDI, and WSC2960XR48LPDI. These switches are designed to deliver efficient Layer 2 and Layer 3 capabilities, making them ideal for enterprise and small to medium-sized business networks.

The WSC2960X48TSL model boasts 48 Ethernet ports, providing ample connectivity for various devices. It supports Power over Ethernet (PoE), making it suitable for powering IP cameras, wireless access points, and VoIP phones. The switch also features Cisco’s Smart Operations technology, which simplifies network management and enhances user experience through automated features such as Cisco Auto Smartports and Auto QoS.

Turning to the WSC2960XR48FPDI, this version also features 48 ports but with enhanced redundancy and power capabilities, making it suitable for critical applications where uptime is paramount. This switch offers dual power supply options, ensuring that even in the event of a power failure, network operations continue seamlessly. Its Flexible NetFlow feature enables enhanced visibility and monitoring of traffic, allowing businesses to optimize their bandwidth usage and troubleshoot issues more efficiently.

The WSC2960XR24TDI model, with its 24 ports, is perfectly designed for networks with fewer devices yet still demands robust performance. It also includes advanced security features, such as IEEE 802.1X port-based authentication, enhancing the protection of sensitive data and communications within the network.

Lastly, the WSC2960XR48LPDI model is tailored for environments that require high availability and robust performance, featuring 48 ports along with Layer 3 static routing capabilities. With its support for IPv6 and advanced QoS features, this switch is prepared for the future of networking, accommodating the increasing demand for bandwidth and reliable connectivity.

All these switches utilize Cisco IOS software, providing a familiar interface for network administrators. They also incorporate advanced troubleshooting tools, like Cisco Prime, which facilitate effective network management. Collectively, the WSC2960 series switches represent a comprehensive solution for businesses seeking dependable, scalable, and manageable networking options. With their combination of performance, features, and reliability, these Cisco switches are essential for meeting the demands of modern networking.