Cisco Works, SNMP, MIBs.
rajes4india
New Member
Posts:
38
Joined:
Mon May 02, 2011 11:26 am
Certs:
ccna,jncia-er,jncia-es,jncis-er.

Cisco Cli Clarification

Wed Sep 14, 2011 8:52 am

Hi Geeks,
Anyone knows if Cisco supports displaying complete CLI tree including all modes along with commands applicable to that particular mode?

For an example:
when i give Cisco#anycommand -->to show CLI tree for the particular mode.as

*****EXEC mode****
show interfaces gigabitEthernet
show interfaces fastEthernet
....
.....
....
so on

Thanks
Rajesh Kumar V :thankyou:
Thanks & Regards
Rajesh
twitter/@rajes4india

User avatar
jdsilva
Post Whore
Posts:
5347
Joined:
Mon Jan 17, 2005 11:01 pm
Certs:
CCNP

Re: Cisco Cli Clarification

Wed Sep 14, 2011 9:26 am


User avatar
Vito_Corleone
Moderator
Posts:
9847
Joined:
Mon Apr 07, 2008 10:38 am
Certs:
CCNP RS, CCNP DC, CCDP, CCIP

Re: Cisco Cli Clarification

Wed Sep 14, 2011 9:39 am

There's a sh parser command or something like that.
http://blog.alwaysthenetwork.com

User avatar
jdsilva
Post Whore
Posts:
5347
Joined:
Mon Jan 17, 2005 11:01 pm
Certs:
CCNP

Re: Cisco Cli Clarification

Wed Sep 14, 2011 9:43 am

Vito_Corleone wrote:There's a sh parser command or something like that.

That's what I thought too. I checked my 1841 at home and there was nothing there that helped.

Code: Select all
lamia#sh parser ?
  dump        Display CLI dumper output
  statistics  Display parser statistics
  view        Show view configuration



But I also know on a 3560 there's a 'sh parser macro' command... So maybe different platforms have something like this and others don't?

User avatar
bakergarry
Senior Member
Posts:
387
Joined:
Mon May 30, 2011 1:51 pm
Certs:
ccna, ccna security, ccna voice, ccnp, ccip

Re: Cisco Cli Clarification

Wed Sep 14, 2011 9:49 am

http://www.cisco.com/en/US/docs/ios/fun ... #wp1553332

R1#show parser dump exec
Mode Name :exec
15 upgrade
15 upgrade satellite <interface> <address> <string>
15 upgrade rom-monitor preference readonly
15 upgrade rom-monitor preference upgrade
15 upgrade rom-monitor file <URL>
15 upgrade filesystem monlib
1 clear
1 clear counters <interface>
1 clear counters Line <tty>
1 clear counters
1 clear host vrf <string> <string>
1 clear host view <string> all
1 clear host view <string>
1 clear host view default
1 clear host
1 clear parser cache
1 clear tgrep counters csr dial-peer <1-2147483647>
1 clear tgrep counters csr dial-peer *
1 clear tgrep counters csr carrier
1 clear tgrep counters csr trunk-group
1 clear tgrep counters csr *
1 clear tgrep counters ac
--more
"With sufficient thrust, pigs fly just fine..." - RFC 1925

User avatar
ristau5741
Post Whore
Posts:
10238
Joined:
Tue Aug 21, 2007 2:15 pm
Certs:
Instanity

Re: Cisco Cli Clarification

Wed Sep 14, 2011 1:12 pm

Infinite wrote:http://www.cisco.com/en/US/docs/ios/mcl/124tmcl/124t_book.html



gotta 1 up you....sorry 'finite

http://www.cisco.com/en/US/docs/ios/mcl ... _book.html

rajes4india
New Member
Posts:
38
Joined:
Mon May 02, 2011 11:26 am
Certs:
ccna,jncia-er,jncia-es,jncis-er.

Re: Cisco Cli Clarification

Thu Sep 15, 2011 12:55 am

Infinite wrote:
Vito_Corleone wrote:There's a sh parser command or something like that.

That's what I thought too. I checked my 1841 at home and there was nothing there that helped.

Code: Select all
lamia#sh parser ?
  dump        Display CLI dumper output
  statistics  Display parser statistics
  view        Show view configuration



But I also know on a 3560 there's a 'sh parser macro' command... So maybe different platforms have something like this and others don't?



Vito_Corleone:yeah got it Vito_Corleone.this is the command i am expected.
Thanks & Regards
Rajesh
twitter/@rajes4india

rajes4india
New Member
Posts:
38
Joined:
Mon May 02, 2011 11:26 am
Certs:
ccna,jncia-er,jncia-es,jncis-er.

Re: Cisco Cli Clarification

Thu Sep 15, 2011 12:57 am

Thanks for the valuable help.Special thanks to bakergarry and Infinite.

Thanks
Rajesh Kumar V
Thanks & Regards
Rajesh
twitter/@rajes4india

User avatar
bakergarry
Senior Member
Posts:
387
Joined:
Mon May 30, 2011 1:51 pm
Certs:
ccna, ccna security, ccna voice, ccnp, ccip

Re: Cisco Cli Clarification

Thu Sep 15, 2011 5:38 am

rajes4india wrote:Thanks for the valuable help.Special thanks to bakergarry and Infinite.

Thanks
Rajesh Kumar V


important to note that this command is removed in ios 15, and they did not list a replacement command for this, or i did not see it...

"Effective with Cisco IOS Release 15.0(1)M, the show parser dump command is not available in Cisco IOS software"
"With sufficient thrust, pigs fly just fine..." - RFC 1925

rajes4india
New Member
Posts:
38
Joined:
Mon May 02, 2011 11:26 am
Certs:
ccna,jncia-er,jncia-es,jncis-er.

Re: Cisco Cli Clarification

Mon Sep 26, 2011 2:26 am

Hi guys,
please share any similar command in juniper junos platform if possible.
Thanks
Rajesh Kumar V
Thanks & Regards
Rajesh
twitter/@rajes4india

'

Return to Cisco Network Management

Who is online

Users browsing this forum: No registered users and 11 guests