Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

JUNOS: How to quickly find a CLI command if the exact syntax is not known?

0

0

Article ID: KB9615 KB Last Updated: 29 Jun 2010Version: 3.0
Summary:
How to quickly find a JUNOS CLI command if the exact syntax is not known.
Symptoms:

Solution:
When the exact syntax of a configuration command is not known, the CLI command help apropos can be used to obtain a list of all configuration-mode commands that contain a particular text string.  In the following example, the help apropos command is used to find all the commands related to ike.

[edit]
georg@ankara-re0# help apropos ike
set security traceoptions flag ike
    Trace IKE module processing
set security ike
    IKE configuration
set security ike proposal
    Define an IKE proposal
set security ike proposal <name>
    Name of the IKE proposal
set security ike proposal <name> description <description>
    Text description of IKE proposal
.
.
.
set services ipsec-vpn ike policy <name> proposals
    Define the set of IKE proposals
set services ipsec-vpn traceoptions flag ike
    Trace IKE module processing

[edit]
georg@ankara-re0#

In JUNOS releases prior to JUNOS 8.0R1, the help apropos command is available only in configuration mode.  Beginning with JUNOS 8.0R1, the command has been made available in operational mode.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search