[Contents] [Prev] [Next] [Index] [Report an Error]


Accessing Command Modes

Table 2-5 describes the command modes available in the CLI.

Table 2-5 Command mode overview  
Mode name
Use this mode to . . .
To access this mode . . .
To exit this mode . . .
Address Family Configuration
  • Configure BGP address family parameters.
  • From Global Configuration mode, use router bgp to enter Router Configuration mode. From Router Configuration, use the address-family command.
  • Prompt:
host1(config-router-af)#
  • Use the exit command twice to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Controller Configuration
  • Configure physical interfaces (for example, T3).
  • From Global Configuration mode, use the controller command.
  • Prompt:
host1(config-controll)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
DHCP Pool Configuration
  • Configure DHCP local pools.
  • From Global Configuration mode, use the ip dhcp-local pool command.
  • Prompt:
host1(config-dhcp-local)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Domain Map Configuration
  • Configure domain maps.
  • From Global Configuration mode, use the aaa domain-map command.
  • Prompt:
host1(config-domain-map)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Domain Map
Tunnel Configuration
  • Configure tunnel parameters.
  • From Domain-Map Configuration mode, use the tunnel command.
  • Prompt:
host1(config-domain-map-tunnel)#
  • Use the exit command twice to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Explicit Path Configuration
  • Configure MPLS explicit path parameters.
  • From Global Configuration mode, specify the mpls explicit-path name command.
  • Prompt:
host1(config-expl-path)#
  • Use the exit command twice to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Global Configuration
  • Enable a feature or function.
  • Disable a feature or function.
  • Configure a feature or function.
  • From Privileged Exec mode, use the configure command.
  • Prompt:
host1(config)#
  • Use the exit command, or press <Ctrl+Z> to return to Privileged Exec mode.
  • Use the interface command to enter Interface Configuration mode.
Interface Configuration
  • Create an interface.
  • Modify the operation of an interface, such as bandwidth or clock rate.
  • From Global Configuration mode, use the interface command and identify the interface by slot/port.
  • Prompt:
host1(config-if)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
IPSec Manual Key Configuration
  • Enter manual keys.
  • From the Global Configuration mode, use the ipsec key manual command.
  • Prompt:
host1(config-manual-key)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
ISAKMP Policy Configuration
  • Define an ISAKMP/IKE policy.
  • From the Global Configuration mode, use the ipsec isakmp-policy-rule command.
  • Prompt:
host1(config-isakmp-policy)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
L2TP Destination Profile Configuration
  • Define the location of an LAC.
  • From Global Configuration mode, use the l2tp destination profile command.
  • Prompt:
host1(config-l2tp-dest-profile)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
L2TP Destination Profile Host Configuration
  • Configure host profile attributes.
  • From L2TP Destination Profile Configuration mode, use the remote host command.
  • Prompt:
host1(config-l2tp-dest-profile-host)#
  • Use the exit command twice to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
LDP Configuration
  • Configure MPLS LDP profile parameters.
  • From Global Configuration mode, specify the mpls ldp profile command.
  • Prompt:
host1(config-ldp)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Line Configuration
  • Modify a virtual terminal line.
  • From Global Configuration mode, use the line command.
  • Prompt:
host1(config-line)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Map Class Configuration
  • Specify fragmentation for a map class.
  • From Global Configuration mode, specify the map-class frame-relay command.
  • Prompt:
host1(config-map-class)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Map List Configuration
  • Configure map list parameters.
  • From Global Configuration mode, use the map-list command.
  • Prompt:
host1(config-maplist)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Policy Configuration
  • Configure a policy.
  • From Global Configuration mode, use the policy-list command.
  • Prompt:
host1(config-policy)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Privileged Exec
  • Show system information.
  • Set operating parameters.
  • Access Global Configuration mode.
  • From User Exec mode, use the enable command.
  • Prompt:
host1#
  • Use the disable or exit command to return to User Exec mode.
  • Use the configure command to enter Global Configuration mode.
Profile Configuration
  • Configure profiles.
  • From Global Configuration mode, use the profile command.
  • Prompt:
host1(config-profile)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
QoS Profile Configuration
  • Configure QoS profiles.
  • From Global Configuration mode, use the qos-profile command.
  • Prompt:
host1(config-qos-profile)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Queue Configuration
  • Configure queue profiles.
  • From Global Configuration mode, use the queue-profile command.
  • Prompt:
host1(config-queue)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
RADIUS Configuration
  • Configure Broadband Remote Access Server (B-RAS) parameters.
  • From Global Configuration mode, use the radius server command.
  • Prompt:
host1(config-radius)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Rate Limit
Profile Configuration
  • Configure rate limit parameters.
  • From Global Configuration mode, use the rate-limit-profile command.
  • Prompt:
host1(config-rate-limit-profile)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Remote Neighbor Configuration
  • Configure remote neighbor parameters for OSPF, PIM, or RIP.
  • From Router Configuration mode, use the remote-neighbor command.
  • Prompt:
host1(config-router-rn)#
  • Use the exit command twice to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Route Map Configuration
  • Configure routing tables and source and destination information.
  • From Global Configuration mode, use the route-map command.
  • Prompt:
host1(config-route-map)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Router Configuration
  • Configure a routing protocol.
  • From Global Configuration mode, specify a routing protocol with the router command.
  • Prompt:
host1(config-router)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
RSVP Configuration
  • Configure an RSVP profile.
  • From Global Configuration mode, use the mpls rsvp profile command.
  • Prompt:
host1(config-rsvp)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
RTR Configuration
  • Configure RTR parameters.
  • From Global Configuration mode, use the rtr command.
  • Prompt:
host1(config-rtr)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Scheduler Profile Configuration
  • Configure shaping parameters.
  • Configure scheduler profile.
  • From Global Configuration mode, use the scheduler-profile command.
  • Prompt:
host1(config-scheduler-profile)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec menu.
Subinterface Configuration
  • Configure multiple virtual interfaces on a single physical interface.
  • From Global Configuration mode, use the interface command and identify the interface (slot/port. subinterface).
  • Prompt:
host1(config-subif)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Traffic Class Configuration
  • Configure a traffic class.
  • From Global Configuration mode, use the traffic-class command.
  • Prompt:
host1(config-traffic-class)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Traffic Class Group Configuration
  • Configure a traffic class group.
  • From Global Configuration mode, use the traffic-class-group command.
  • Prompt:
host1(config-traffic-class-group)
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
Tunnel Profile Configuration
  • Configure tunnel profile parameters.
  • From Global Configuration, specify the mpls tunnels profile command.
  • Prompt:
host1(config-tunnelprofile)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
VRF Configuration
  • Configure VRF parameters for BGP/MPLS VPNs.
  • From Global Configuration mode, use the ip vrf command.
  • Prompt:
host1(config-vrf)#
  • Use the exit command once to return to Global Configuration mode.
  • Press <Ctrl+Z> to return to Privileged Exec mode.
User Exec
  • Change terminal settings on a temporary basis.
  • Show system information.
  • Access Privileged Exec mode.
  • Log into system.
  • Prompt:
host1>
  • Use the enable command to enter Privileged Exec mode.



Note: Within any configuration mode, the commands that are available to the user include the commands defined for that configuration mode and all commands defined for Global Configuration mode. See Figure 2-1. For example, from Router Configuration mode, you could use the interface Global Configuration mode command without first explicitly going back to Global Configuration mode.

host1(router-config)# interface atm 4/0.3
host1(config-if)#

User Exec Mode

After you log in to the system, the CLI is in User Exec mode. The commands you can execute from User Exec mode provide only user-level access. The User Exec commands allow you to perform such functions as:

host1>?
  baseline    Set a baseline for statistics
  clear       Clear active state
  default     Set a command to its default(s)
  dir         Display a list of local files
  disable     Reduce the command privilege level
  enable      Enable access to privileged commands
  erase       Erase configuration settings
  exit        Exit from the current command mode
  help        Describe the interactive help system
  ip          Configure IP attributes on an interface
  log         Configure logging setting
  macro       Run a CLI macro
  mpls        Execute MPLS commands
  mtrace      Trace the path that packets will traverse from source to
              destination for a given group
  no          Negate a command or set its default(s)
  ping        Send echo request to remote host
  show        Display system information
  sleep       Make the Command Interface pause for a specified duration
  terminal    Configure the terminal line settings
  traceroute  Trace the path that packets traverse to their destination

host1> 

Privileged Exec Mode

Privileged Exec mode provides privileged-level access and therefore should be password protected to prevent unauthorized use. Privileged Exec commands allow you to perform such functions as:

In addition, you can execute a script file (.scr), which is simply a file containing a sequence of CLI commands, via the configure command.

host1#?
    PolicyRoutingTest    PolicyRoutingTest information
    baseline    Set a baseline for statistics
    clear            Clear a state
  clock            Set the system's clock
  configure            Enter Global Configuration mode
    copy        Copy files
    debug        Configure debugging functions
    default        Set a command to its default(s)
    delete        Delete a local file
    dir        Display a list of local files
    disable        Reduce the command privilege level
    disconnect        Disconnect remote CLI session
    enable        Enable access to privileged commands
    exit        Exit from the current command mode
    halt        Halt the system in preparation for power down
    help        Describe the interactive help system
    ip        Configure IP attributes on an interface
    log        Configure logging settings
    logout        Logout Subscribers
    macro        Run a CLI macro
    mpls        Execute MPLS commands
    mtrace            Trace the path that packets will traverse from source to
            destination for a given group
    no        Negate a command or set its default(s)
    ping        Send echo request to remote host
    pppoe        Set PPPoE information
    redundancy        Perform a redundancy action
    reload        Halt and perform a cold restart
    rename        Rename a local file
    send        Send a message to specified lines
    show        Display system information
    sleep        Make the Command Interface pause for a specified duration
    srp        Perform SRP operations
    synchronize    Manually synchronize redundant system controller file
            system
  telnet            Access a remote system via telnet
  terminal            Configure the terminal line settings
  test            Test a feature
    traceroute        Trace the path that packets traverse to their destination
  undebug            Disable debug logging functions
    virtual-router        Specify a virtual router
    write        Write the system's running configuration to a destination

host1# 

Password Protection

If the system administrator has configured the system to have a password, the CLI prompts you to enter that password before you receive access to Privileged Exec mode. The password is case sensitive and appears as asterisks on the screen.

To access Privileged Exec mode:

  1. At the prompt, type enable and press <Enter>.
host1>enable
Password:


  1. At the password prompt, type your password and press <Enter>.
Password:*********
host1#



Note: The > character in the command line prompt changes to the # character.

Global Configuration Mode

Within Global Configuration mode, you can:

To access Global Configuration mode, you begin in Privileged Exec mode. Type configure terminal and press <Enter>.

host1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
host1(config)# 

The system is now in Global Configuration mode.

Executing a Script File

To execute a script file:

  1. From Privileged Exec mode, type configure and the filename you want to execute, and press <Enter>.
host1#configure file
File name:/myFile.scr
Proceed with configure? [confirm]



Note: The filename must end with an .scr extension, and the file must contain a series of valid CLI commands. The file can be a local file on the router or a remote file on a host system.

  1. Press <y> or <Enter> to confirm; pressing any other key aborts the procedure.
host1#

For more information, see the section Managing Files in Chapter 4, Managing the System.

Address Family Configuration Mode

From this mode, you can configure address family parameters for BGP VPN services.

From Global Configuration mode, type the router bgp command to enter Router Configuration mode. Type either the address-family ipv4 or address-family vpnv4 command, and then press <Enter>.

host1(config)#router bgp 100
host1(config-router)#address-family ?
  ipv4   Configure IPv4 address family
  vpnv4  Configure VPN-IPv4 address family

host1(config-router)#address-family

Controller Configuration Mode

You can configure physical interfaces such as a T3 in Controller Configuration mode.

From Global Configuration mode, type the appropriate controller command and its attributes, and then press <Enter>.

host1(config)#controller t3 9/1
host1(config-controll)#

host1(config)#controller ?
  e1     Configure a channelized E1 controller
  e3     Configure a E3 controller
  sonet  Configure a Sonet controller
  t1     Configure a channelized T1 controller
  t3     Configure a T3 controller

host1(config)#controller 

DHCP Pool Configuration Mode    

In this mode, you can configure DHCP local pools. For example, you can specify a DNS or Net-Bios server.

From Global Configuration mode, type the command ip dhcp-local pool and a poolName, and then press <Enter>.

host1(config)#ip dhcp-local pool charlie
host1(config-dhcp-local)#?
  default              Set a command to its default(s)
  default-router       The default-router to use for this pool
  dns-server           The dns-server to use for this pool
  domain-name          The domain name for the pool
  exit                 Exit from the current command mode
  help                 Describe the interactive help system
  lease                The lease time for addresses from this pool
  link                 Link to another DHCP Pool
  log                  Configure logging settings
  macro                Run a CLI macro
  netbios-name-server  The netbios-name-server to use for this pool
  netbios-node-type    The netbios-node-type to use for this pool
  network              The network specified for this pool
  no                   Negate a command or set its default(s)
  reserve              Reserve an ip address for a specific Mac Address
  run                  Run an exec mode command
  server-address       The DHCP Server address to send to clients
  sleep                Make the Command Interface pause for a specified
                       duration

host1(config-dhcp-local)# 

Domain Map Configuration Mode

In this mode, you can map a user domain name to a virtual router and loopback interface.

From Global Configuration mode, type the aaa domain-map command and the domain name value as found in the client's login name. Then press <Enter>.

host1(config)#aaa domain-map charlie76
host1(config-domain-map)#?
  atm             Configure ATM parameters
  default         Set a command to its default(s)
  exit            Exit from the current command mode
  help            Describe the interactive help system
  ip-hint         Configure the IP hint feature for the domain
  log             Configure logging settings
  loopback        Configure the loopback interface to use when RX has an
                  unnumbered interface to the PPP client
  macro           Run a CLI macro
  no              Negate a command or set its default(s)
  override-user   Configure the username and password values to use instead of
                  the values from the remote client
  sleep           Make the Command Interface pause for a specified duration
  strip-domain    Configure the domain name stripping feature for the domain
  tunnel          Configure tunnel tag
  virtual-router  Configure the virtual-router for the domain name

host1(config-domain-map)# 

Domain Map Tunnel Configuration Mode

In this mode, you can configure tunnel parameters such as the tunnel's endpoint.

From Domain-Map Configuration mode, type tunnel and a tunnelNumber, and press <Enter>.

host1(config-domain-map)#tunnel 17
host1(config-domain-map-tunnel)#?
  address         Configure tunnel endpoint address
  exit            Exit from the current command mode
  help            Describe the interactive help system
  hostname        Configure hostname of tunnel
  identification  Configure tunnel identification
  log             Configure logging settings
  macro           Run a CLI macro
  medium          Configure tunnel medium
  no              Negate a command or set its default(s)
  password        Configure tunnel password
  preference      Configure tunnel preference
  server-name     Configure the hostname of the tunnel server
  sleep           Make the Command Interface pause for a 
                specified duration
  source-address  Configure tunnel source address
  type            Configure tunnel type

host1(config-domain-map-tunnel)# 

Explicit Path Configuration Mode

From this mode, you can name and configure an explicit path within MPLS.

From Global Configuration mode, type mpls explicit-path name and the explicitPathName, and press <Enter>.

host1(config)#mpls explicit-path name xyz
host1(config-expl-path)#?
  append-after  Add an entry after a specified index
  default       Set a command to its default(s) 
  exit          Exit from the current command mode
  help          Describe the interactive help system
  index         Specify the index of the entry to be added or edited
  list          List part or all of the entries in current explicit path
  log           Configure logging settings
  macro         Run a CLI macro
  next-address  Configure an IP address at the last hop of the explicit path
  no            Negate a command or set its default(s)
  sleep         Make the Command Interface pause for a specified duration

host1(config-expl-path)# 

Interface Configuration Mode

From Interface Configuration mode, you can enable many system features for each interface you create. Interface Configuration commands allow you to:

From Global Configuration mode, type interface and identify the interface you want to configure.

host1(config)#interface atm 0/1
host1(config-if)#

The CLI is now in Interface Configuration mode.

host1(config)#interface ?
  atm              ATM interface
  fastEthernet     IEEE 802.3 fastEthernet interface
  gigabitEthernet  IEEE 802.3 gigabitEthernet interface 
  hssi             High Speed Serial interface
  ip               Ip shared interface
  loopback         Loopback interface
  mlframe-relay    Multilink frame-relay interface
  mlppp            Multilink PPP interface
  null             Null interface
  pos              Packet over SONET interface
  serial           Serial interface
  sonet            SONET interface
  tunnel           Tunnel interface

host1(config)#interface 

Some Interface Configuration commands can affect general interface parameters, such as bandwidth and clock rate. For interface-specific commands, such as for ATM interfaces, see the appropriate chapter in this guide.

IPSec Manual Key Configuration Mode

In this mode, you can enter the manual key that a peer uses for authentication during the tunnel establishment phase.

From the Global Configuration mode, type ipsec key manual pre-share and the peerIPaddress, and press <Enter>.

host1(config)#ipsec key manual pre-share 10.10.1.1
host1(config-manual-key)#?
  default  Set a command to its default(s)
  exit     Exit from the current command mode
  help     Describe the interactive help system
  key      Manually specify a key
  log      Configure logging settings
  macro    Run a CLI macro
  no       Negate a command or set its default(s)
  run      Run an exec mode command
  sleep    Make the Command Interface pause for a specified duration 

ISAKMP Policy Configuration Mode

In this mode, you can create an ISAKMP/IKE policy, which is used during ISAKMP/IKE phase 1 negotiation.

From the Global Configuration mode, type ipsec isakmp-policy-rule and the policyNumber, and press <Enter>.

host1(config)#ipsec isakmp-policy-rule 10
host1(config-isakmp-policy)#?
  aggressive-mode  Allows aggressive mode negotiation for the tunnel
  authentication   Configure the authentication method
  default          Set a command to its default(s)
  encryption       Configure the encryption algorithm within an IKE policy
  exit             Exit from the current command mode
  group            Configure the Diffie-Hellman group identifier
  hash             Configure the hash algorithm within an IKE policy
  help             Describe the interactive help system
  lifetime         Configure the time an SA will live before expiration
  log              Configure logging settings
  macro            Run a CLI macro
  no               Negate a command or set its default(s)
  run              Run an exec mode command
  sleep            Make the Command Interface pause for a specified duration

host1(config-isakmp-policy)# 

L2TP Destination Profile Configuration Mode

In this mode, you can create the destination profile that defines the location of an L2TP Access Concentrator (LAC) and define the attributes used when an L2TP Network Server (LNS) communicates with an LAC. The destination is necessary to enable an LAC to connect to the LNS.

From Global Configuration mode, type l2tp destination profile, the profileName, an ipAddress, and press <Enter>.

host1(config)#l2tp destination profile augusta ip address 123.45.76.16
host1(config-l2tp-dest-profile)#?
  default  Set a command to its default(s) 
  exit    Exit from the current command mode
  help    Describe the interactive help system
  log     Configure logging settings
  macro   Run a CLI macro
  no      Negate a command or set its default(s)
  remote  Configure L2TP remote parameters
  sleep   Make the Command Interface pause for a specified duration

host1(config-l2tp-dest-profile)# 

L2TP Destination Profile Host Configuration Mode

In this mode, you can set and modify L2TP host profile attributes, such as the proxy Link Control Protocol (LCP), the local hostname, the local IP address, or the interface profile.

From Global Configuration mode, enter L2TP Destination Profile mode (see above), and type remote host and a hostName, and press <Enter>.

host1(config-l2tp-dest-profile)#remote host george
host1(config-l2tp-dest-profile-host)#?
  default  Set a command to its default(s) 
  disable  Disable L2TP parameter for remote host
  enable   Enable L2TP parameter for remote host
  exit     Exit from the current command mode
  help     Describe the interactive help system
  local    Configure L2TP local parameters for remote host
  log      Configure logging settings
  macro    Run a CLI macro
  no       Negate a command or set its default(s)
  profile  Assign a profile for remote host
  sleep    Make the Command Interface pause for a specified duration
  tunnel   Configure L2TP tunnel parameters for remote host

host1(config-l2tp-dest-profile-host)

LDP Configuration Mode

In this mode, you can create and configure MPLS Label Distribution Protocol (LDP) profile parameters.

From Global Configuation mode, type mpls ldp profile and the profileName, and press <Enter>.

host1(config)#mpls ldp profile shell
host1(config-ldp)#?
  cr-ldp  Enable CR-LDP at interface level
  default Set a command to its default(s) 
  exit    Exit from the current command mode
  hello   Configure hello parameters
  help    Describe the interactive help system
  log     Configure logging settings
  macro   Run a CLI macro
  no      Negate a command or set its default(s)
  sleep   Make the Command Interface pause for a specified duration

host1(config-ldp)# 

Line Configuration Mode

In this mode, you can modify the operation of a virtual terminal (vty) line.

From Global Configuration mode, type the line vty command and either the lineNumber or the rangeOfLineNumbers you want to configure, and press <Enter>.



Note: The system defaults to 5 vty lines at factory default. You can increase the number of vty lines available by typing the start number and end number of the vty line range. Once you execute the line vty command, you will have access to line numbers up to the ending line number.

host1(config)#line vty 0 19
host1(config-line)#?
    data-character-bits        Set the number of bits per character used by the 
display
    default            Set a command to its default(s)
    dsr-detect    Enable data-set-ready detection
    exec-banner    Enable the exec banner
    exec-timeout    Set the inactivity timeout
    exit    Exit from the current command mode
    help    Describe the interactive help system
    log    Configure logging settings
    login    Require the use of passwords for vty logins
    macro    Run a CLI macro
    motd-banner    Enable the message of the day banner
    no    Negate a command or set its default(s)
    password    Configure the password for line access
    sleep    Make the Command Interface pause for a specified
        duration
    speed    Set the console baud rate in bits per second
    timeout    Specify the login timeout value for the selected line(s)

host1(config-line)# 

Map Class Configuration Mode

In this mode, you can specify Frame Relay End-to-End fragmentation and reassembly for a map class. Optionally, you can specify the maximum payload size of a fragment or specify fragmentation only or reassembly only.

From Global Configuration mode, type map-class frame-relay command and the mapClassName you want to configure, and press <Enter>.

host1(config)#map-class frame-relay testmapclass
host1(config-map-class)#?
  default      Set a command to its default(s)
  exit         Exit from the current command mode
  frame-relay  Configure frame relay parameters
  help         Describe the interactive help system
  log          Configure logging settings
  macro        Run a CLI macro
  no           Negate a command or set its default(s)
  run          Run an exec mode command
  sleep        Make the Command Interface pause for a specified duration

host1(config-map-class)# 

Map List Configuration Mode

In this mode, you can configure map list parameters. In Map List Configuration mode, commands such as map-list and ip atm-vc are used to configure ATM NBMA interfaces.

From Global Configuration mode, type map-list and a mapListName, and press <Enter>.

host1(config)#map-list mjt3330
host1(config-map-list)#?
  default  Set a command to its default(s) 
  exit     Exit from the current command mode
  help     Describe the interactive help system
  ip       Add IP address to the map
  log      Configure logging settings
  macro    Run a CLI macro
  no       Negate a command or set its default(s)
  sleep    Make the Command Interface pause for a specified duration

host1(config-map-list)# 

Policy Configuration Mode

In this mode, you can configure a policy, or set of rules, that you can attach to an interface. You can modify a policy and update it wherever the policy is used on the configuration.

From Global Configuration mode, type policy-list and press <Enter>.

host1(config)#policy-list tswells923
host1(config-policy)#?
  color                  Create a color policy 
  default                Set a command to its default(s)
  exit                   Exit from the current command mode
  filter                 Create a filter policy
  forward                Create a forward policy
  help                   Describe the interactive help system
  log                    Configure logging settings
  macro                  Run a CLI macro
  mark                   Create a set TOS byte policy
  next-hop               Create a next-hop policy
  next-interface         Create a next-interface policy
  no                     Negate a command or set its default(s)
  rate-limit-profile     Create a rate-limit policy
  sleep                  Make the Command Interface pause for a specified duration
  suspend                Suspend a policy rule  
  traffic-shape-profile  Create a traffic-shape policy

host1(config-policy)# 

Profile Configuration Mode

In this mode, you can configure a profile to subsequently configure dynamic IP interfaces.

From Global Configuration mode, type the profile command followed by a profile name of up to 80 characters, and press <Enter>.                

host1(config)#profile germany78
host1(config-profile)#?
  default  Set a command to its default(s)
  exit     Exit from the current command mode
  help     Describe the interactive help system
  ip       Configure IP characteristics
  log      Configure logging settings
  macro    Run a CLI macro
  no       Negate a command or set its default(s)
  ppp      Configure PPP parameters
  pppoe    Configure pppoe parameters
  sleep    Make the Command Interface pause for a specified duration

host1(config-profile)#

QoS Profile Configuration Mode

In this mode, you can specify queue profiles and scheduler profiles in combination with interface types.

From Global Configuration mode, type the qos-profile command followed by a QosProfileName, and press <Enter>.

host1(config)#qos-profile testabc
host1(config-qos-profile)#?
  atm          ATM interface
  atm-vc       ATM 1483 subinterface
  cbf          Cbf interface
  default      Set a command to its default(s)
  ethernet     Ethernet interface
  exit         Exit from the current command mode
  fr-vc        Frame relay subinterface
  help         Describe the interactive help system
  ip           IP interface
  ip-tunnel    IP tunnel interface
  l2tp-tunnel  L2tp tunnel inteface
  log          Configure logging settings
  macro        Run a CLI macro
  no           Negate a command or set its default(s)
  run          Run an exec mode command
  serial       Serial interface
  server-port  Server Port interface
  sleep        Make the Command Interface pause for a specified duration
  vlan         Ethernet subinterface

host1(config-qos-profile)#

Queue Configuration Mode

In this mode, you can configure queue profiles and various queue profile parameters, such as constraints on queue lengths or queue buffer weights.

From Global Configuration mode, type the queue-profile command followed by a queueProfileName, and press <Enter>.

host1(config)#queue-profile testabcd1234
host1(config-queue)#?
  buffer-weight       Set the buffer length of the queue as relative to other
                      queues
  committed-length    Set the queue length for committed traffic
  conformed-fraction  Set the maximum percentage of queue occupied by conformed
                      traffic
  conformed-length    Set the queue length for conformed traffic
  default             Set a command to its default(s)
  exceeded-fraction   Set the maximum percentage of queue occupied by exceeded
                      traffic
  exceeded-length     Set the queue length for exceeded traffic
  exit                Exit from the current command mode
  help                Describe the interactive help system
  log                 Configure logging settings
  macro               Run a CLI macro
  no                  Negate a command or set its default(s)
  run                 Run an exec mode command
  sleep               Make the Command Interface pause for a specified duration

host1(config-queue)# 

RADIUS Configuration Mode

In this mode, you can configure various parameters of your RADIUS authentication and accounting servers.

From Global Configuration mode, type either the radius authentication server or radius accounting server command with the server ipAddress, and press <Enter>.

host1(config)#radius authentication server 1.2.1.3
host1(config-radius)#?
  deadtime      Configure the amount of time a timed-out server is dropped for usage
  default       Set a command to its default(s) 
  exit          Exit from the current command mode
  help          Describe the interactive help system
  key           Configure the secret used in RADIUS client to server exchange
  log           Configure logging settings
  macro         Run a CLI macro
  max-sessions  Configure the number of outstanding requests allowed to the server
  no            Negate a command or set its default(s)
  retransmit    Configure number of times to retransmit RADIUS request before failing
    run           Run an exec mode command 
  sleep         Make the Command Interface pause for a specified duration
  timeout       Configure the number of seconds to wait for a RADIUS 
              response before retransmitting
  udp-port      Configure the RADIUS server's UDP port

host1(config-radius)#

Rate Limit Profile Configuration Mode

In this mode, you can set parameters for a rate limit profile, which is a set of bandwidth attributes and associated actions that become part of a policy list. The policy list is then applied to the ingress or egress of an interface.

From Global Configuration mode, type rate-limit-profile and a profileName, and press <Enter>.

host1(config)#rate-limit-profile fm78930
host1(config-rate-limit-profile)#?
  committed-action  Set the committed access rate action
  committed-burst   Set the committed access rate burst size
  committed-rate    Set the committed access rate value
  conformed-action  Set the conformed access rate action
  default           Set a command to its default(s) 
  exceeded-action   Set the exceeded action
  exit              Exit from the current command mode
  help              Describe the interactive help system
  log               Configure logging settings
  macro             Run a CLI macro
  mask-val          Set mask to be applied with mark values
  no                Negate a command or set its default(s)
  peak-burst        Set the peak burst size
  peak-rate         Set the peak access rate
  sleep             Make the Command Interface pause for a specified
                              duration

host1(config-rate-limit-profile)#

Remote Neighbor Configuration Mode

In this mode, you can configure remote neighbor parameters for Routing Information Protocol (RIP), Protocol Independent Multicast (PIM), and Open Shortest Path First (OSPF).

From Global Configuration mode, type either router rip, router pim, or router ospf and the processID. Press <Enter>. You are now in Router Configuration mode.

From Router Configuration mode, type the remote-neighbor command and the appropriate attributes, and press <Enter>.

host1(config-router)#remote-neighbor 10.13.5.61 area 34534
host1(config-router-rn)#?
  authentication       Specify authentication type to be used for the OSPF
                       interface
  authentication-key   Configure an authentication key
  authentication-none  Specify to use no authentication
  cost                 Specify the interface cost for OSPF
  dead-interval        Specify the interval (in seconds) until a silent
                       neighbor is declared dead
  default              Set a command to its default(s)
  exit                 Exit from the current command mode
  hello-interval       Configure the interval between sending hello packets
  help                 Describe the interactive help system
  log                  Configure logging settings
  macro                Run a CLI macro
  message-digest-key   Specify an authentication password/key
  no                   Negate a command or set its default(s)
  retransmit-interval  Configure the time between retransmissions of lost 
                     LSAs
  run                  Run an exec mode command
  sleep                Make the Command Interface pause for a specified
                       duration
  transmit-delay       Configure the transmit delay interval for link state
                       updates
  ttl                  Specify the TTL value for OSPF unicast packet
  update-source        Specify the local source address for OSPF connection

host1(config-router-rn)# 

Route Map Configuration Mode

In this mode, you can create and modify route maps.

From Global Configuration mode, type the route-map command and the appropriate routeMapNumber, and press <Enter>.

host1(config)#route-map unis889
host1(config-route-map)#?
  default    Set a command to its default(s) 
  exit       Exit from the current command mode
  help       Describe the interactive help system
  log        Configure logging settings
  macro      Run a CLI macro
  match      Identify this entry as requiring an attribute match
  match-set  Identify this entry to match and set attributes
  no         Negate a command or set its default(s)
  set        Configure this entry to set attributes
  sleep      Make the Command Interface pause for a specified duration

host1(config-route-map)#

Router Configuration Mode

In this mode, you can configure a routing protocol using router commands.

From Global Configuration mode, type the router command and the appropriate router attributes, and press <Enter>.

host1(config)#router bgp 2378
host1(config-router)#

host1(config)#router ?
  bgp    Configure the Border-Gateway Protocol (BGP)
  dvmrp  Configure the Distance Vector Multicast Routing Protocol
  igmp   Configure the Internet Group Membership Protocol (IGMP)
  isis   Configure ISO IS-IS
  ospf   Configure the Open Shortest Path First protocol (OSPF)
  pim    Configure PIM
  rip    Configure the Routing Information Protocol

host1(config)#router 

RSVP Configuration Mode

In this mode, you can create and configure MPLS Resource Reservation Protocol (RSVP) parameters.

From Configuration mode, type mpls rsvp profile and the profileName, and press <Enter>.

host1(config)#mpls rsvp profile sprint
host1(config-rsvp)#?
  cleanup-timeout-factor  Configure the timeout factor
  default                 Set a command to its default(s) 
  exit                    Exit from the current command mode
  help                    Describe the interactive help system
  log                     Configure logging settings
  macro                   Run a CLI macro
  no                      Negate a command or set its default(s)
  refresh-period          Configure refresh period
  sleep                                              Make the Command Interface pause for a specified 
                              duration

host1(config-rsvp)

RTR Configuration Mode

In this mode, you can configure Response Time Reporter (RTR) parameters. The RTR feature allows you to monitor your network's performance and its resources by measuring response times and the availability of your network devices.

From Configuration mode, type rtr and the mapNumber, and press <Enter>.

host1(config)#rtr 784078348
host1(config-rtr)#?
    default            Set a command to its default(s) 
    exit        Exit from the current command mode
    frequency        Specify the frequency interval
    help        Describe the interactive help system
    hops-of-statistics-kept    Specify the hops capture
    log        Configure logging settings
    macro        Run a CLI macro
    max-response-failure    Specify the maximum number of consecutive failures
  no        Negate a command or set its default(s)
  operations-per-hop        Specify a number of operations per hop
  owner        Specify the owner of entry
  request-data-size        Specify the request payload size
    samples-of-history-kept    Specify the maximum history samples
  sleep        Make the Command Interface pause for a specified
        duration
  tag        Specify the user defined tag
  timeout        Specify the operation timeout
  tos        Specify a value for the ToS byte
  type        Specify the type of the entry

host1(config-rtr)#

Scheduler Profile Configuration Mode

In this mode, you can configure a scheduler profile. You can then set the shaping rate value, enable the strict-priority scheduling for the scheduler node, or set the weighted-round-robin (WRR) value of the scheduler node or queue.

From Global Configuration mode, type scheduler-profile and the scheduleProfileName that you want to create or configure, and press <Enter>.

host1(config)#scheduler-profile A990
host1(config-scheduler-profile)#?
  default          Set a command to its default(s)
  exit             Exit from the current command mode
  help             Describe the interactive help system
  log              Configure logging settings
  macro            Run a CLI macro
  no               Negate a command or set its default(s)
  run              Run an exec mode command
  shaping-rate     Shape the node or queue to the specified rate
  sleep             Make the Command Interface pause for a specified duration
  strict-priority  Dequeue strict priority packets ahead of other packets
  weight           Set the relative weight of the node or queue

host1(config-scheduler-profile)# 

Subinterface Configuration Mode

In this mode, you can configure one or more virtual interfaces called subinterfaces on a single physical interface. The system supports this feature with ATM and Frame Relay.

Both ATM and Frame Relay provides permanent virtual circuits (PVCs) that can be grouped under separate subinterfaces configured on a single physical interface. Subinterfaces allow multiple encapsulations for a protocol on a single interface.

From Interface Configuration mode, indicate a subinterface by typing the interface command and an interfaceSpecifier in slot/port.subinterface format, and then press <Enter>. For example:

host1(config-if)#interface atm 3/2.6
host1(config-subif)#

Traffic Class Configuration Mode

In this mode, you can create a traffic class and configure the level of service to packets assigned to the traffic class.

From Configuration mode, type the traffic-class command followed by a trafficClassName, and then press <Enter>.

host1(config)#traffic-class test123
host1(config-traffic-class)#?
  default                 Set a command to its default(s)
  exit                    Exit from the current command mode
  fabric-strict-priority  Allow packets in this class to be dequeued out of the
                          fabric ahead of other traffic classes
  fabric-weight           Set the relative weight for fabric queue in this
                          traffic class
  help                    Describe the interactive help system
  log                     Configure logging settings
  macro                   Run a CLI macro
  no                      Negate a command or set its default(s)
  run                     Run an exec mode command
  sleep                   Make the Command Interface pause for a specified
                          duration

host1(config-traffic-class)# 

Traffic Class Group Configuration Mode

In this mode, you can create and configure traffic class groups, which can contain multiple traffic classes.

From Global Configuration mode, type traffic-class-group command and a trafficClassGroupName, and press <Enter>.

host1(config)#traffic-class-group trafclasnameabcd
host1(config-traffic-class-group)#?
  default        Set a command to its default(s)
  exit           Exit from the current command mode
  help           Describe the interactive help system
  log            Configure logging settings
  macro          Run a CLI macro
  no             Negate a command or set its default(s)
  run            Run an exec mode command
  sleep          Make the Command Interface pause for a specified duration
  traffic-class  Set the traffic class belong to this group

host1(config-traffic-class-group)# 

Tunnel Profile Configuration Mode

In this mode, you can create and configure MPLS tunnel profiles.

From Global Configuration mode, type mpls tunnels profile and the profileName, and press <Enter>.

host1(config)#mpls tunnels profile storm
host1(config-tunnelprofile)#?
  default  Set a command to its default(s) 
  exit    Exit from the current command mode
  help    Describe the interactive help system
  log     Configure logging settings
  macro   Run a CLI macro
  no      Negate a command or set its default(s)
  sleep   Make the Command Interface pause for a specified duration
  tunnel  Configure tunnel interface parameters

host1(config-tunnelprofile)#

VRF Configuration Mode

In this mode, you can create and configure VRF parameters for BGP/MPLS VPNs.

From Global Configuration mode, type ip vrf and the vrfName, and press <Enter>. Confirm the new VRF by pressing <Return>.

host1(config)#ip vrf yankee
Proceed with new vrf creation? [confirm]
host1(config-vrf)#?
  default       Set a command to its default(s)
  description   Configure VRF specific description
  exit          Exit from the current command mode
  export        Specify VRF export characteristics
  help          Describe the interactive help system
  import        Specify VRF import characteristics
  log           Configure logging settings
  macro         Run a CLI macro
  no            Negate a command or set its default(s)
  rd            Specify route distinguisher
  route-target  Specify VPN extended community Target
    run           Run an exec mode command 
  sleep         Make the Command Interface pause for a specified duration 

host1(config-vrf)#

[Contents] [Prev] [Next] [Index] [Report an Error]