Wired Intelligent Edge (Campus Switching and Routing)

Reply
Occasional Contributor I

show run question

Hey guys,

How can I make show run without aaa port access and spanning-tree

i tried: show run | exc spanning-tree - But I see the aaa port-access,

i tried: show run | exc aaa - But i see the spanning-tree,

we dont have command to exclude them both.

how can I see the show running clearly ?

 

MVP Expert

Re: show run question

it is not possible for me...




PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info


PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info


PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)


PowerArubaIAP: Powershell Module to use Aruba Instant AP




ACMP 6.4 / ACMX #107 / ACCP 6.5
Highlighted
MVP Expert

Re: show run question

Greetings!

 

The filter options for show commands accept regular expressions, so you can specify multiple keywords to include or exclude from the command's output. 

 

In your case, you can use the following command to exclude both AAA and spanning-tree commands using the following command:

 

switch# show running-config | exclude aaa|spanning-tree

 



Matt Fern
Technical Marketing Engineer, Wired Intelligent Edge

Aruba, a Hewlett Packard Enterprise company

8000 FOOTHILLS BLVD  |  ROSEVILLE, CA 95747
T: 916.540.1759  |  E: mfern@hpe.com   |   Matt @ Twitter
Contributor II

Re: show run question


@Matthew_Fern wrote:

Greetings!

 

The filter options for show commands accept regular expressions, so you can specify multiple keywords to include or exclude from the command's output. 

 

In your case, you can use the following command to exclude both AAA and spanning-tree commands using the following command:

 

switch# show running-config | exclude aaa|spanning-tree

 


It appears  "aaa" is case sensitive.  Is there a method to ignore CASE?

 

For example, I tried:

#show runn | begin 34 "AVL-S" and got hits.

#show runn | begin 34 "avl-s" got NO hits    (with and w/o the quotes)

 

 

Thanks in advance.

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: