Wired Intelligent Edge

last person joined: yesterday 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

show run question

This thread has been viewed 2 times
  • 1.  show run question

    Posted Aug 22, 2019 03:51 AM

    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 ?

     



  • 2.  RE: show run question

    MVP GURU
    Posted Aug 22, 2019 10:30 AM

    it is not possible for me...



  • 3.  RE: show run question

    EMPLOYEE
    Posted Aug 22, 2019 01:42 PM

    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

     



  • 4.  RE: show run question

    Posted Oct 18, 2019 11:06 AM

    @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.