cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
620
Views
4
Helpful
4
Replies

WLC 9800 output header is repeated

ksumann
Level 1
Level 1

Hello,

i' m using

terminal length 0
show ap cdp neighbors

but every 10 rows the header is repeated. Is there a way to stop this?

1 Accepted Solution

Accepted Solutions

Rich R
VIP
VIP

No!  It's one of a number of commands which do not respect the term len settings on 9800.  It's unbelievable that Cisco dev team still haven't fixed such a fundamental bug after so many releases.  Your only option for now is to use filters to exclude the repeating lines.
"sh ap image" has the same problem but is even worse because it repeats the entire block of pre-download stats after every 10 APs along with lots of blank lines!
So I filter it like this: 9800#sh ap image | ex Number of APs|:|--------|Primary Image|^$

So you could use: 9800#sh ap cdp neighbors | ex Number of neighbors|AP Name|-------|^$

If any of you have any influence with wireless BU please feel free to tell them how absolutely embarrassingly rubbish this is, and the fix needs to be applied to all affected commands.
Maybe somebody has the time to open a TAC case and persuade TAC to raise a bug?

@marce1000 it looks like this:

Number of neighbors: XXX

AP Name AP IP Neighbor Name Neighbor IP Neighbor Port
-------------------------------------------------------------------------------------------------------------------------------------------------------------
<line of CDP output> (10 lines)
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>

Number of neighbors: 386

AP Name AP IP Neighbor Name Neighbor IP Neighbor Port
-------------------------------------------------------------------------------------------------------------------------------------------------------------
(so repeating every 10 APs)

And:

Total number of APs : XXX


Number of APs
Initiated : 0
Downloading : 0
Predownloading : 0
Completed downloading : 0
Completed predownloading : 0
Not Supported : 0
Failed to Predownload : 0
Predownload in progress : No
AP Name Primary Image Backup Image Predownload Status Predownload Version Next Retry Time Retry Count Method
------------------------------------------------------------------------------------------------------------------------------------------------------------------
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>

Total number of APs : XXX


Number of APs
Initiated : 0
Downloading : 0
Predownloading : 0
Completed downloading : 0
Completed predownloading : 0
Not Supported : 0
Failed to Predownload : 0
Predownload in progress : No
AP Name Primary Image Backup Image Predownload Status Predownload Version Next Retry Time Retry Count Method
------------------------------------------------------------------------------------------------------------------------------------------------------------------

So there's more lines of duplicated "stats" and blank lines than there are of actual useful output!

View solution in original post

4 Replies 4

marce1000
Hall of Fame
Hall of Fame

 

              - Could you post a screenshot of this repeating row header ?

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Rich R
VIP
VIP

No!  It's one of a number of commands which do not respect the term len settings on 9800.  It's unbelievable that Cisco dev team still haven't fixed such a fundamental bug after so many releases.  Your only option for now is to use filters to exclude the repeating lines.
"sh ap image" has the same problem but is even worse because it repeats the entire block of pre-download stats after every 10 APs along with lots of blank lines!
So I filter it like this: 9800#sh ap image | ex Number of APs|:|--------|Primary Image|^$

So you could use: 9800#sh ap cdp neighbors | ex Number of neighbors|AP Name|-------|^$

If any of you have any influence with wireless BU please feel free to tell them how absolutely embarrassingly rubbish this is, and the fix needs to be applied to all affected commands.
Maybe somebody has the time to open a TAC case and persuade TAC to raise a bug?

@marce1000 it looks like this:

Number of neighbors: XXX

AP Name AP IP Neighbor Name Neighbor IP Neighbor Port
-------------------------------------------------------------------------------------------------------------------------------------------------------------
<line of CDP output> (10 lines)
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>
<line of CDP output>

Number of neighbors: 386

AP Name AP IP Neighbor Name Neighbor IP Neighbor Port
-------------------------------------------------------------------------------------------------------------------------------------------------------------
(so repeating every 10 APs)

And:

Total number of APs : XXX


Number of APs
Initiated : 0
Downloading : 0
Predownloading : 0
Completed downloading : 0
Completed predownloading : 0
Not Supported : 0
Failed to Predownload : 0
Predownload in progress : No
AP Name Primary Image Backup Image Predownload Status Predownload Version Next Retry Time Retry Count Method
------------------------------------------------------------------------------------------------------------------------------------------------------------------
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>
<line of image output>

Total number of APs : XXX


Number of APs
Initiated : 0
Downloading : 0
Predownloading : 0
Completed downloading : 0
Completed predownloading : 0
Not Supported : 0
Failed to Predownload : 0
Predownload in progress : No
AP Name Primary Image Backup Image Predownload Status Predownload Version Next Retry Time Retry Count Method
------------------------------------------------------------------------------------------------------------------------------------------------------------------

So there's more lines of duplicated "stats" and blank lines than there are of actual useful output!

JPavonM
VIP
VIP

I have told about this issue to a wireless BU engineer who I have direct access to, to see if he can transmit this concern to the developers. He told me he is going to open an enhancement request to see if they solve it... fingers crossed

Review Cisco Networking for a $25 gift card