Cisco Cisco Prime IP Express 8.3 Technical References

Page of 277
 
  Synopsis
 
    nrcmd [flags] [<command>]
  Description
 
    Flags can be zero or more of:
      -C [<cluster>][:<port>]  Specify the cluster to connect to and
                                 optional port number.
      -N <name>                Specify the administrator name.
      -P <password>            Specify the administrator password.     
      -b                       Run in batch mode.
      -R                       Connect to a regional cluster.
      -v (or -vv)              Display the version (and PCV and build).
    <cluster> can be a host name, IPv4 address, or IPv6 address
    enclosed in brackets (i.e., [2001:DB8::1]). Default is localhost.
    In batch mode, input is performed a line at a time rather than
    a character at a time, and the prompt is terminated with a newline
    character rather than a space.
  Examples
 
    % nrcmd -N admin -P changeme -C localhost
    % nrcmd -N admin -P changeme -C [::1]:1234
intro
 
    intro - Introduction to nrcmd commands
  Synopsis
 
  Description
    The nrcmd commands fall into two basic groups: regular and irregular.
    The regular commands manipulate configuration objects such as DHCP
    Scopes and DNS Zones in a standard fashion.  The irregular commands
    do everything else that is useful.  This page will describe the
    general pattern of the regular commands.  The behavior of the
    irregular commands will be described in their individual man pages.
  Regular Command Form
    Regular commands provide common functions for creating, deleting,
    viewing and editing objects of a given class.
    Create 
      <cmd> <name> create [<required args>] [<prop>=<val>]
    Delete
      <cmd> <name> delete 
    List
      <cmd> list
        The list command lists full details on each object.
      <cmd> listnames
        The listnames command lists only the names each object.
      <cmd> listbrief
        The listbrief command lists brief details on each
        object (see the conf/nrcmd-listbrief-defaults.txt file
        for more details).
      <cmd> listcsv
        This listbrief command outputs the objects in CSV format.
      Note that for most list operations, <prop>=<val> clauses may be
      specified to filter the list of returned objects to those where
      that property has that value. In addition, the following can be
      used: