Getting Help About Statements
In configuration mode, you can use the
helpcommand to display help based on a text string contained in a statement name. This command displays help for statements at the current hierarchy level and below.user@host#helpstringYou can also display help based on a text string contained in a statement name using the
help topicandhelp referencecommands. Thehelp topiccommand displays usage guidelines for the statement, whereas thehelp referencecommand displays summary information about the statement.user@host#help topic?access Network access controlaccounting-options Accounting data collectionapplications Application protocolsbgp Border Gateway Protocolchassis Platformclass-of-service Class of service (CoS)connections Circuit cross-connect (CCC)dvmrp Distance Vector Multicast Routing Protocolfirewall Firewalls and filtersforwarding-options Packet samplinggroups Configuration groupsigmp Internet Group Management Protocolinterfaces Interfacesisis Intermediate System-to-Intermediate Systeml2circuit Layer 2 virtual circuitslayer2-vpns Layer 2 VPNslayer3-vpns Layer 3 VPNsldp Label Distribution Protocollink-management Link Management Protocollogical-routers Logical routersmld Multicast Listener Discovery protocolmpls Multiprotocol Label Switchingmsdp Multicast Source Discovery Protocolospf Open Shortest Path First protocolpgm Pragmatic Generalized Multicastpim Protocol-Independent Multicast and data MDTpolicy-options Routing policyrip Routing Information Protocolripng Routing Information Protocol Next Generationrmon Remote Monitoringrouter-advertisement Neighbor discoveryrouter-discovery Internet Control Message Protocol router discoveryrouting-instances Routing instancesrouting-options Protocol-independent routing optionsrsvp Resource Reservation Protocolsap Session Advertisement Protocolsecurity Internet Protocol security (IPSec)services Service sets for Adaptive Services PICsnmp Simple Network Management Protocolsystem System parametersvpls Virtual private LAN servicevpns Virtual private networks[edit]user@help# help topic access ?Possible completions:examplesl2tp Overview of Layer 2 Tunneling Protocol configurationpoint-to-point Overview of Point-to-Point Protocol configurationradius-disconnect-port Port number for RADIUS disconnect serverradius-server RADIUS server configurationtraceoptions Trace options for access processestunnel-profile Join multilink bundles based on endpoint discriminator[edit]user@host# help topic access point-to-pointConfiguring the Point-to-Point ProtocolTo configure the Point-to-Point Protocol (PPP), do the following:* Configuring the Challenge Handshake Authentication Protocol* Configuring the Authentication Orderuser@host#help referencestringIf you do not type an option for a statement that requires one, a message indicates the type of information expected. In this example, you need to type an area number to complete the command:
[edit]user@host#set protocols ospf area<Enter>syntax error, expecting <identifier>.In this example, you need to type a value for the hello interval to complete the command:
[edit]user@host#set protocols ospf area 45 interface so-0/0/0hello-interval<Enter>syntax error, expecting <data>If you have omitted a required statement at a particular hierarchy level, when you attempt to move from that hierarchy level or when you issue the
showcommand in configuration mode, a message indicates which statement is missing. For example:[edit protocols pim interface so-0/0/0]user@host#topWarning: missing mandatory statement: 'mode'[edit]user@host#showprotocols {pim {interface so-0/0/0 {priority 4;version 2;# Warning: missing mandatory statement(s): 'mode'}}}