Accessing Command Modes
Table 10 describes the command modes available in the CLI.
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 Table 24. 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.3host1(config-if)#Exec Modes
There are two Exec modes: User Exec and Privileged Exec.
After you log in to the system, the CLI is in User Exec mode. By default, the commands you can execute from User Exec mode provide only user-level access; however, you should password protect it to prevent unauthorized use.The User Exec commands allow you to perform such functions as:
- Change terminal settings on a temporary basis.
- Perform ping and trace commands.
- Display system information.
host1>?clear Clear system informationdefault Set a command to its default(s)dir Display a list of local filesdisable Reduce the command privilege levelenable Enable access to privileged commandserase Erase configuration settingsexit Exit from the current command modeflash-disk Perform flash disk operationshelp Describe the interactive help systemip Configure IP attributes on an interfaceipv6 Configure IPv6 attributesl2tp L2TP operationsmacro Run a CLI macrompls Execute MPLS commandsmtrace Trace the path that packets will traverse from source todestination for a given groupno Negate a command or set its default(s)ping Send echo request to remote hostshow Display system informationsleep Make the Command Interface pause for a specified durationterminal Configure the terminal line settingstest Test the outcome of a commandtraceroute Trace the path that packets traverse to their destinationPrivileged Exec mode provides privileged-level access and therefore should also be password protected to prevent unauthorized use. Privileged Exec commands allow you to perform such functions as:
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:
- At the prompt, type enable and press <Enter>.
host1>enablePassword:- At the password prompt, type your password and press <Enter>.
Password:*********host1#
NOTE: The
>character in the command-line prompt changes to the#character.
host1#?baseline Set a baseline for statisticsclear Clear a stateclock Set the system's clockconfigure Enter Global Configuration modecopy Copy filesdebug Configure debugging functionsdefault Set a command to its default(s)delete Delete a local filedir Display a list of local filesdisable Reduce the command privilege leveldisconnect Disconnect remote CLI sessionenable Enable access to privileged commandsexit Exit from the current command modeflash-disk Perform flash disk operationshalt Halt the system in preparation for power downhelp Describe the interactive help systemip Configure IP attributes on an interfaceipv6 Configure IPv6 attributesl2tp L2TP operationslog Configure logging settingslogout Logout PPP Subscribersmacro Run a CLI macromore Display contents of a filempls Execute MPLS commandsmtrace Trace the path that packets will traverse from source todestination for a given groupno Negate a command or set its default(s)ping Send echo request to remote hostpppoe Set PPPoE informationprofile-reassign Perform profile reassignmentredundancy Perform a redundancy actionreload Halt and perform a cold restartrename Rename a local filesend Send a message to specified linesshow Display system informationsleep Make the Command Interface pause for a specified durationsrp Perform SRP operationssynchronize Manually synchronize redundant system controller file systemtelnet Access a remote system via telnetterminal Configure the terminal line settingstest Test the outcome of a commandtraceroute Trace the path that packets traverse to their destinationundebug Disable debug logging functionsvirtual-router Specify a virtual routerwrite Write the system's running configuration to a destinationIn addition, you can execute a script file (.scr), which is simply a file containing a sequence of CLI commands, via the configure command.
Global Configuration Mode
Within Global Configuration mode, you can:
- Apply features globally to a router.
- Enable a feature or function.
- Disable a feature or function.
- Configure a feature or function.
- Access all Configuration modes.
To access Global Configuration mode, you begin in Privileged Exec mode. Type configure terminal and press <Enter>.
host1#configure terminalEnter configuration commands, one per line. End with ^Z.host1(config)#The system is now in Global Configuration mode.
Executing a Script File
- From Privileged Exec mode, type configure and the filename you want to execute, and press <Enter>.
host1#configure fileFile name:/myFile.scrProceed 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.
For more information, see the section Managing Files in Chapter 4, Managing the System.
AAA Profile Configuration Mode
From this mode, you can restrict or allow the use of domain names, translate an original domain name to a new domain name, or create domain name aliases.
From Global Configuration mode, type the aaa profile command and a profileName, and then press <Enter>.
host1(config)#aaa profile charliehost1(config-aaa-profile)#?allow Configure the authorization domain namedefault Set a command to its default(s)deny Configure the authorization domain nameexit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationtranslate Configure the translation map for domain nameAddress Family Configuration Mode
From this mode, you can configure address family parameters for BGP VPN services or RIP VPN services.
From Global Configuration mode, type the router bgp command to enter Router Configuration mode for BGP. Type either the address-family ipv4 or address-family vpnv4 command, and then press <Enter>.
host1(config)#router bgp 100host1(config-router)#address-family ?ipv4 Configure IPv4 address familyvpnv4 Configure VPN-IPv4 address familyFrom Global Configuration mode, type the router rip command to enter Router Configuration mode for RIP. Type the address-family ipv4 command, and then press <Enter>.
host1(config)#router rip 100host1(config-router)#address-family ?ipv4 Configure IPv4 address familyClassifier Group Configuration Mode
In this mode, you can configure the set of rules for a classification group in a policy list that you can attach to an interface.
From Policy List Configuration mode, type the classifier-group command and its attributes, and then press <Enter>.
host1(config-policy-list)#classifier-group ipCLACL10 precedence 75host1(config-policy-list-classifier-group)#?color Create a color policydefault Set a command to its default(s)exit Exit from the current command modefilter Create a filter policyforward Create a forward policyhelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macromark Create a set TOS byte policynext-hop Create a next-hop policynext-interface Create a next-interface policyno Negate a command or set its default(s)rate-limit-profile Create a rate-limit policyrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationsuspend Suspend a policy ruletraffic-class Create a traffic class policyuser-packet-class Create a user packet class policyController 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/1host1(config-controll)#host1(config)#controller ?e1 Configure a channelized E1 controllere3 Configure a E3 controllersonet Configure a Sonet controllert1 Configure a channelized T1 controllert3 Configure a T3 controllerDHCP Local 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 charliehost1(config-dhcp-local)#?default Set a command to its default(s)default-router The default-router to use for this pooldns-server The dns-server to use for this pooldomain-name The domain name for the poolexit Exit from the current command modehelp Describe the interactive help systemlease The lease time for addresses from this poollink Link to another DHCP Poollog Configure logging settingsmacro Run a CLI macronetbios-name-server The netbios-name-server to use for this poolnetbios-node-type The netbios-node-type to use for this poolnetwork The network specified for this poolno Negate a command or set its default(s)reserve Reserve an ip address for a specific Mac Addressrun Run an exec mode commandserver-address The DHCP Server address to send to clientssleep Make the Command Interface pause for a specifieddurationDomain 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 charlie76host1(config-domain-map)#?address-pool-name Configure the address-pool-name for the domain nameatm Configure ATM parametersdefault Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemip-hint Configure the IP hint feature for the domainlocal-interface Configure the local interface value for remote clientslog Configure logging settingsloopback Configure the loopback interface to use when RX has anunnumbered interface to the PPP clientmacro Run a CLI macrono Negate a command or set its default(s)override-user Configure the username and password values to use insteadof the values from the remote clientpadn Configure pppoe active discovery network parameters forthe domain namerouter-name Configure the virtual-router for the domain namerun Run an exec mode commandsleep Make the Command Interface pause for a specified durationstrip-domain Configure the domain name stripping feature for the domaintunnel Configure tunnel tagvirtual-router Configure the virtual-router for the domain nameDomain 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 17host1(config-domain-map-tunnel)#?address Configure tunnel endpoint addressclient-name Configure the client hostname of the tunneldefault Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemhostname Configure the client hostname of the tunnelidentification Configure tunnel identificationlog Configure logging settingsmacro Run a CLI macromax-sessions Configure maximum sessions for this tunnelmedium Configure tunnel mediumno Negate a command or set its default(s)password Configure tunnel passwordpreference Configure tunnel preferencerun Run an exec mode commandserver-name Configure the remote hostname for the tunnelsleep Make the Command Interface pause for a specified durationsource-address Configure tunnel source addresstype Configure tunnel typeDrop Profile Configuration Mode
In this mode, you can configure drop profiles for QoS. Drop profiles control RED dropping behavior.
From Global Configuration mode, type the drop-profile command, and press <Enter>.
host1(config)#drop profilehost1(config-drop-profile)#?average-length-exponent Select TAQL coefficientcommitted-threshold Specify committed queue thresholds and maximum dropprobabilityconformed-threshold Specify conformed queue thresholds and maximum dropprobabilitydefault Set a command to its default(s)exceeded-threshold Specify exceeded queue thresholds and maximum dropprobabilityexit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationExplicit 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 xyzhost1(config-expl-path)#?append-after Add an entry after a specified indexdefault Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemindex Specify the index of the entry to be added or editedlist List part or all of the entries in current explicit pathlog Configure logging settingsmacro Run a CLI macronext-address Configure an IP address at the last hop of the explicit pathno Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationInterface 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/1host1(config-if)#The CLI is now in Interface Configuration mode.
host1(config)#interface ?atm ATM interfacefastEthernet IEEE 802.3 fastEthernet interfacegigabitEthernet IEEE 802.3 gigabitEthernet interfacehssi High Speed Serial interfaceip Ip shared interfaceloopback Loopback interfacemlframe-relay Multilink frame-relay interfacemlppp Multilink PPP interfacenull Null interfacepos Packet over SONET interfaceserial Serial interfacesonet SONET interfacetunnel Tunnel interfaceSome Interface Configuration commands can affect general interface parameters, such as bandwidth and clock rate. For interface-specific commands, such as commands for ATM interfaces, see the appropriate chapter in this documentation set.
IP NAT Pool Configuration Mode
In this mode, you can specify the information that the system uses in creating IP Network Address Translation (NAT) pools.
host1(config)#ip nat pool multiplerange prefix-length 30host1(config-ipnat-pool)#?address Configure address rangesdefault Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationIPSec CA Identity Configuration Mode
In this mode, you can specify the information that the system uses in online certificate requests and during negotiations with its peers.
From Global Configuration mode, type ipsec ca identity, and press <Enter>.
host1(config)#ipsec ca identityhost1(config-ca-identity)#?crl Certificate Revocation List checkingdefault Set a command to its default(s)enrollment Configure enrollment parametersexit Exit from the current command modehelp Describe the interactive help systemissuer-identifier issuer identifierlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)root Specify root proxyrun Run an exec mode commandsleep Make the Command Interface pause for a specifiedIPSec Identity Configuration Mode
In this mode, you can specify the information that the system uses in offline certificate requests and during negotiations with its peers.
From Global Configuration mode, type ipsec identity, and press <Enter>.
host1(config)#ipsec identityhost1(config-ipsec-identity)#?common-name Common Namecountry Country namedefault Set a command to its default(s)domain-name Domain nameexit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)organization Organization namerun Run an exec mode commandsleep Make the Command Interface pause for a specified durationIPSec IKE Policy Configuration Mode
In this mode, you can create an IKE policy, which is used during IKE phase 1 negotiation.
From the Global Configuration mode, type ipsec ike-policy-rule and the policyNumber, and press <Enter>.
host1(config)#ipsec ike-policy-rule 10host1(config-ike-policy)#?aggressive-mode Allows aggressive mode negotiation for the tunnelauthentication Configure the authentication methoddefault Set a command to its default(s)encryption Configure the encryption algorithm within an IKE policyexit Exit from the current command modegroup Configure the Diffie-Hellman group identifierhash Configure the hash algorithm within an IKE policyhelp Describe the interactive help systemlifetime Configure the time an SA will live before expirationlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationIPSec 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.1host1(config-manual-key)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemkey Manually specify a keylog Configure logging settingsmacro Run a CLI macromasked-key Enter a masked key (not for manual entry, show config generates)no Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationIPSec Transport Profile Configuration Mode
In this mode, you can configure an IPSec transport profile, which is used for L2TP over IPSec connections.
From the Global Configuration mode, type ipsec transport profile, the profileName, virtual-router vrName, ip address ipAddress, and press <Enter>.
host1(config)#ipsec transport profile secureL2tp virtual-router default ip address 0.0.0.0host1(config-ipsec-transport-profile)#?application Configure the application type that is protected by the l2tpdefault Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlifetime Configure the renegotiation timelocal Configure local endpoint of the transport connectionlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)pfs Configure perfect forward secrecyrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationtransform-set Configure the transform set used by ipsec transport profileL2TP 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.16host1(config-l2tp-dest-profile)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)remote Configure L2TP remote parametersrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationL2TP 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 georgehost1(config-l2tp-dest-profile-host)#?default Set a command to its default(s)disable Disable L2TP parameter for remote hostenable Enable L2TP parameter for remote hostexit Exit from the current command modehelp Describe the interactive help systemlocal Configure L2TP local parameters for remote hostlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)profile Assign a profile for remote hostrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationtunnel Configure L2TP tunnel parameters for remote hostLDP Configuration Mode
In this mode, you can create and configure MPLS Label Distribution Protocol (LDP) profile parameters.
From Global Configuation mode, type mpls ldp interface profile and the profileName, and press <Enter>.
host1(config)#mpls ldp interface profile shellhost1(config-ldp)#?cr-ldp Enable CR-LDP at interface leveldefault Set a command to its default(s)exit Exit from the current command modehello Configure hello parametershelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationLine 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>.
host1(config)#line vty 0 29host1(config-line)#?access-class Restrict or permit telnet access based on an access listdata-character-bits Set the number of bits per character used by the displaydefault Set a command to its default(s)exec-banner Enable the exec bannerexec-timeout Set the inactivity timeoutexit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingslogin Require the use of passwords for vty loginsmacro Run a CLI macromotd-banner Enable the message of the day bannerno Negate a command or set its default(s)password Configure the password for line accessrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationtimeout Specify the login timeout value for the selected line(s)
NOTE: The privilege command is available in Line Configuration mode when the user is logged in at privilege level 15. For more information, see Privileged-Level Access and Changing CLI Command Privileges.
Local IPSec Transport Profile Configuration
In this mode, you can configure preshared IKE keys for IPSec transport profiles.
From the IPSec Transport Profile Configuration mode, type local ip address and the ipAddress, and press <Enter>.
host1(config-ipsec-transport-profile)#local ip address 10.10.1.1host1(config-ipsec-transport-profile-local)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)pre-share Specify pre-shared group key based on local ip addresspre-share-masked A pre-encrypted key, generated by show config rather thaninteractiverun Run an exec mode commandsleep Make the Command Interface pause for a specified durationMap 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 the map-class frame-relay command and the mapClassName you want to configure, and press <Enter>.
host1(config)#map-class frame-relay testmapclasshost1(config-map-class)#?default Set a command to its default(s)exit Exit from the current command modeframe-relay Configure frame relay parametershelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationMap 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 mjt3330host1(config-map-list)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemip Add IP address to the maplog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationPolicy List Configuration Mode
In this mode, you can configure a policy list—that is, a set of rules—that you can attach to an interface. You can modify a policy list and update it wherever the policy list is used on the configuration.
To create an policy list, from Global Configuration mode type the policy-list command preceded by the type of policy and press <Enter>. For example,
host1(config)#l2tp policy-list routeL2tp100
NOTE: If you do not include the type of policy, the system creates an IP policy list.
host1(config)#ip policy-list routeForABBCCorphost1(config-policy-list)#?classifier-group Specify the classifier listcolor Create a color policydefault Set a command to its default(s)exit Exit from the current command modefilter Create a filter policyforward Create a forward policyhelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macromark Create a set TOS byte policynext-hop Create a next-hop policynext-interface Create a next-interface policyno Negate a command or set its default(s)rate-limit-profile Create a rate-limit policyrun Run an exec mode commandsleep Make the Command Interface pause for a specifieddurationsuspend Suspend a policy ruletraffic-class Create a traffic class policytraffic-shape-profile Create a traffic-shape policyuser-packet-class Create a user packet class policyPPPoE Service Name Table Configuration Mode
In this mode, you can configure entries for a PPPoE service name table. PPPoE clients use these entries to request that an access concentrator (AC), such as an E-series router, support certain services. Issue the service command from this mode to configure a specific service name entry, or to specify that the AC should ignore (drop), rather than respond to (terminate, the default action), a PPPoE Active Discovery Initiation (PADI) request from a client containing the empty service name tag.
From Global Configuration mode, type the pppoe-service-name-table command followed by an alphanumeric table name of up to 32 characters, and press <Enter>.
host1(config)#pppoe-service-name-table serviceTable1host1(config-pppoe-service-name-table)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandservice Configure service-name table entriessleep Make the Command Interface pause for a specified durationProfile 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 germany78host1(config-profile)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemip Configure IP characteristicsl2tp Configure L2TP characteristicslog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)ppp Configure PPP parameterspppoe Pppoe informationrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationQoS 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 testabchost1(config-qos-profile)#?atm ATM interfaceatm-vc ATM-VC interfacebridge Bridge interfacecbf Cbf interfacedefault Set a command to its default(s)ethernet Ethernet interfaceexit Exit from the current command modefr-vc Frame Relay subinterfacehelp Describe the interactive help systemip IP interfaceip-tunnel IP FROM-tunnel interfacel2tp-tunnel L2tp FROM-tunnel interfacelog Configure logging settingslsp Lsp (MPLS) interfacemacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandserial Serial interfaceserver-port Server Port interfacesleep Make the Command Interface pause for a specified durationvlan VLAN subinterfaceQueue Profile 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 testabcd1234host1(config-queue)#?buffer-weight Set drop threshold in proportion to this weightcommitted-length Set min and max constraints for committed thresholdconformed-fraction Set conformed threshold as a percentage of committedconformed-length Set min and max constraints for conformed thresholddefault Set a command to its default(s)exceeded-fraction Set exceeded threshold as a percentage of committedexceeded-length Set min and max constraints for exceeded thresholdexit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationRADIUS Configuration Mode
In this mode, you can configure various parameters of your RADIUS authentication, accounting, and dynamic-request servers.
From Global Configuration mode, type either the radius authentication server, radius accounting server, or radius dynamic-request server command with the server ipAddress, and press <Enter>.
host1(config)#radius authentication server 1.2.1.3host1(config-radius)#?deadtime Configure the amount of time a timed-out server is dropped for usagedefault Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemkey Configure the secret used in RADIUS client to server exchangelog Configure logging settingsmacro Run a CLI macromax-sessions Configure the number of outstanding requests allowed to the serverno Negate a command or set its default(s)retransmit Configure the number of times to retransmit RADIUS requestbefore failingrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationtimeout Configure the number of seconds to wait for a RADIUS responsebefore retransmittingudp-port Configure the RADIUS server's UDP portRADIUS Relay Configuration Mode
In this mode, you can configure various parameters of your RADIUS relay authentication and accounting servers.
From Global Configuration mode, type either the radius relay authentication server or radius relay accounting server command, and press <Enter>.
host1(config)#radius authentication serverhost1(config-radius-relay)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemkey Configure the secret used in RADIUS client to relay server exchangelog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationudp-port Configure the RADIUS relay server's udp portRate Limit Profile Configuration Mode
In this mode, you can set parameters for an IP or L2TP 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.
To create an IP rate limit profile, from Global Configuration mode type ip rate-limit-profile and a profileName, and press <Enter>.
To create an L2TP rate limit profile, from Global Configuration mode type l2tp rate-limit-profile and a profileName, and press <Enter>.
NOTE: If you do not include either the ip or l2tp keywords, the system creates an IP rate limit profile.
host1(config)#ip rate-limit-profile fm78930host1(config-rate-limit-profile)#?committed-action Set the committed access rate actioncommitted-burst Set the committed access rate burst size in Bytescommitted-rate Set the committed access rate value in bits per secondconformed-action Set the conformed access rate actiondefault Set a command to its default(s)exceeded-action Set the exceeded actionexit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macromask-val Set mask to be applied with mark valuesno Negate a command or set its default(s)peak-burst Set the peak burst size in Bytespeak-rate Set the peak access rate in bits per secondrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationRemote 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.61host1(config-router-rn)#?authentication Configure authenticationdefault Set a command to its default(s)distribute-list Specify an access list to be a distribute listexit Exit from the current command modeexit-remote-neighbor Exit the remote-neighbor configuration modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)receive Set reception characteristicsroute-map Specify a route map to apply to outgoing routesrun Run an exec mode commandsend Set transmit characteristicssleep Make the Command Interface pause for a specifieddurationsplit-horizon Enable Split-horizontime-to-live Configure ttl used to send to this neighborupdate-source Source address to be used for transmitRoute 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 unis889host1(config-route-map)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macromatch Identify this entry as requiring an attribute matchmatch-set Identify this entry to match and set attributesno Negate a command or set its default(s)run Run an exec mode commandset Configure this entry to set attributessleep Make the Command Interface pause for a specified durationRouter 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 2378host1(config-router)#?address-family Enter address family configuration modeaggregate-address Create an aggregate entry in BGP routing tableauto-summary Automatic summarization of redistributed routesto their natural network masksbgp Configure BGPdefault Set a command to its default(s)default-fields Set default fields for show commandsdefault-information Configure the distribution of default routinginformationdisable-dynamic-redistribute disable dynamic importing of routinginformation with the latest policydistance Configure administrative distances for routesexit Exit from the current command modehelp Describe the interactive help systemip Configure the type of route to be contributedby this BGP address familylimits Configure limits on internal BGP tableslog Configure logging settingsmacro Run a CLI macromaximum-paths Configure the maximum number of equal-cost pathsneighbor Specify neighbor propertiesnetwork Identify a network for BGP to announceno Negate a command or set its defaultsoverload Configure BGP behaviour when reaching overloadstate (no more resources available)redistribute Configure the redistribution of routinginformation from another protocolrib-out Configure rib-out storage for all BGP peersrun Run an exec mode commandsleep Make the Command Interface pause for aspecified durationsynchronization Enable synchronization with the IGPtable-map Specify a table map to map external entryattributes into routing tabletimers Configure the keep-alive interval and the hold-timeRSVP Configuration Mode
In this mode, you can create and configure MPLS Resource Reservation Protocol (RSVP) parameters.
From Global Configuration mode, type mpls rsvp interface profile and the profileName, and press <Enter>.
host1(config)#mpls rsvp interface profile sprinthost1(config-rsvp)#?cleanup-timeout-factor Configure the timeout factordefault Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)refresh-period Configure refresh periodrun Run an exec mode commandsleep Make the Command Interface pause for a specifieddurationRTR 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 Global Configuration mode, type rtr and the mapNumber, and press <Enter>.
host1(config)#rtr 784078348host1(config-rtr)#?default Set a command to its default(s)exit Exit from the current command modefrequency Specify the frequency intervalhelp Describe the interactive help systemhops-of-statistics-kept Specify the hops capturelog Configure logging settingsmacro Run a CLI macromax-response-failure Specify the maximum number of consecutive failuresno Negate a command or set its default(s)operations-per-hop Specify a number of operations per hopowner Specify the owner of entryrequest-data-size Specify the request payload sizerun Run an exec mode commandsamples-of-history-kept Specify the maximum history samplessleep Make the Command Interface pause for a specified durationtag Specify the user defined tagtimeout Specify the operation timeouttos Specify a value for the ToS bytetype Specify the type of the entryScheduler 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 A990host1(config-scheduler-profile)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandshaping-rate Shape the node or queue to the specified ratesleep Make the Command Interface pause for a specified durationstrict-priority Dequeue strict priority packets ahead of other packetsweight Set the relative weight of the node or queueSNMP Event Manager Configuration Mode
In this mode, you can configure certain SNMP triggers for events, what occurs when an event is triggered, resource limits for triggers, and some trap notification options.
NOTE: This release supports only threshold triggers for absolute and delta sampling.
host1(config)#snmp-server management-eventhost1(config-mgmtevent)#?default Set a command to its default(s)event Specify what happens when an event is triggeredexit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)resource Specify the resource limitsrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationtrigger Specify the conditions that lead to eventsStatistics Profile Configuration Mode
In this mode, you can configure a statistics profile. You can then set the rate period during which statistics are gathered, enable statistics gathering, and enable the counting of drop and forwarding events.
From Global Configuration mode, type statistics-profile and the statisticsProfileName that you want to create or configure, and press <Enter>.
host1(config)#statistics-profile statpro-1host1(config-statistics-profile)#?committed-drop-threshold Set threshold for logging a committed-drop eventconformed-drop-threshold Set threshold for logging a conformed-drop eventdefault Set a command to its default(s)exceeded-drop-threshold Set threshold for logging an exceeded-drop eventexit Exit from the current command modeforwarding-rate-threshold Set threshold for logging a forwarding-rate eventhelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)rate-period Set the time period for calculating queue ratesrun Run an exec mode commandsleep Make the Command Interface pause for a specifieddurationSubinterface 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 provide 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.6host1(config-subif)#Subscriber Policy Configuration Mode
In this mode, you can configure a policy (a set of forwarding and filtering rules) that defines how a subscriber (client) bridge group interface should handle various packet types. After you define the policy, use the bridge subscriber-policy command (from Global Configuration mode) to associate the policy with a bridge group interface.
From Global Configuration mode, type the subscriber-policy command followed by an alphanumeric policy name of any character length, and press <Enter>.
host1(config)#subscriber-policy client1host1(config-policy)#?arp Modify arp policybroadcast Modify broadcast policydefault Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemip Modify ip policylog Configure logging settingsmacro Run a CLI macrompls Modify mpls policymulticast Modify multicast policyno Negate a command or set its default(s)pppoe Modify PPPoE policyrelearn Modify relearn policyrun Run an exec mode commandsleep Make the Command Interface pause for a specifieddurationunicast Modify user-to-user (Unicast) policyunknown-destination Modify unknown destination policyunknown-protocol Modify unknown protocol policyTraffic 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 Global Configuration mode, type the traffic-class command followed by a trafficClassName, and then press <Enter>.
host1(config)#traffic-class test123host1(config-traffic-class)#?default Set a command to its default(s)exit Exit from the current command modefabric-strict-priority Allow packets in this class to be dequeued out of thefabric ahead of other traffic classeshelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationTraffic 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 trafclasnameabcdhost1(config-traffic-class-group)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationtraffic-class Set the traffic class belong to this groupTunnel 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 stormhost1(config-tunnelprofile)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationtunnel Configure tunnel interface parametersTunnel Server Configuration Mode
In this mode, you can configure (provision) the maximum number of tunnel-service interfaces to be used on a dynamic tunnel-server port.
From Global Configuration mode, type tunnel-server and the slot number and port number of the dynamic tunnel-server port, and press <Enter>.
host1(config)#tunnel-server 2/2host1(config-tunnel-server)#?default Set a command to its default(s)exit Exit from the current command modehelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macromax-interfaces Configure maximum number of tunnel-server interfaces fordynamic server portno Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationVRF 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 <Enter>.
host1(config)#ip vrf yankeeProceed with new vrf creation? [confirm]host1(config-vrf)#?default Set a command to its default(s)description Configure VRF specific descriptionexit Exit from the current command modeexport Specify VRF export characteristicshelp Describe the interactive help systemimport Specify VRF import characteristicsip Configure IP characteristicslog Configure logging settingsmacro Run a CLI macromaximum Specify a maximum limitno Negate a command or set its default(s)rd Specify route distinguisherroute-target Specify VPN extended community Targetrun Run an exec mode commandsleep Make the Command Interface pause for a specified durationhost1(config-vrf)#