Accessing Command Modes
Table 2-5 describes the command modes available in the CLI.
Table 2-5 Command mode overview
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.3host1(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:
- Change terminal settings on a temporary basis.
- Perform ping and trace commands.
- Display system information.
host1>?baseline Set a baseline for statisticsclear Clear active statedefault 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 modehelp Describe the interactive help systemip Configure IP attributes on an interfacelog Configure logging settingmacro 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 settingstraceroute Trace the path that packets traverse to their destinationhost1>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 informationbaseline 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 modehalt Halt the system in preparation for power downhelp Describe the interactive help systemip Configure IP attributes on an interfacelog Configure logging settingslogout Logout Subscribersmacro 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 hostpppoe Set PPPoE informationredundancy 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 filesystemtelnet Access a remote system via telnetterminal Configure the terminal line settingstest Test a featuretraceroute 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 destinationhost1#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:
host1>enablePassword:Password:*********host1#
Note: The![]()
>character in the command line prompt changes to the#character.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 CNTL/Z.host1(config)#The system is now in Global Configuration mode.
Executing a Script File
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.![]()
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 100host1(config-router)#address-family ?ipv4 Configure IPv4 address familyvpnv4 Configure VPN-IPv4 address familyhost1(config-router)#address-familyController 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 controllerhost1(config)#controllerDHCP 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 specifieddurationhost1(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 charlie76host1(config-domain-map)#?atm 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 domainlog 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 instead ofthe values from the remote clientsleep 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 namehost1(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 17host1(config-domain-map-tunnel)#?address Configure tunnel endpoint addressexit Exit from the current command modehelp Describe the interactive help systemhostname Configure hostname of tunnelidentification Configure tunnel identificationlog Configure logging settingsmacro Run a CLI macromedium Configure tunnel mediumno Negate a command or set its default(s)password Configure tunnel passwordpreference Configure tunnel preferenceserver-name Configure the hostname of the tunnel serversleep Make the Command Interface pause for a specified durationsource-address Configure tunnel source addresstype Configure tunnel typehost1(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 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)sleep Make the Command Interface pause for a specified durationhost1(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/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 interfacehost1(config)#interfaceSome 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.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 macrono Negate a command or set its default(s)run Run an exec mode commandsleep Make the Command Interface pause for a specified durationISAKMP 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 10host1(config-isakmp-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 durationhost1(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.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 parameterssleep Make the Command Interface pause for a specified durationhost1(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 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 hostsleep Make the Command Interface pause for a specified durationtunnel Configure L2TP tunnel parameters for remote hosthost1(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 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)sleep Make the Command Interface pause for a specified durationhost1(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 19host1(config-line)#?data-character-bits Set the number of bits per character used by the displaydefault Set a command to its default(s)dsr-detect Enable data-set-ready detectionexec-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 accesssleep Make the Command Interface pause for a specifieddurationspeed Set the console baud rate in bits per secondtimeout 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 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 durationhost1(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 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)sleep Make the Command Interface pause for a specified durationhost1(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 tswells923host1(config-policy)#?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 policysleep Make the Command Interface pause for a specified durationsuspend Suspend a policy ruletraffic-shape-profile Create a traffic-shape policyhost1(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 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 characteristicslog Configure logging settingsmacro Run a CLI macrono Negate a command or set its default(s)ppp Configure PPP parameterspppoe Configure pppoe parameterssleep Make the Command Interface pause for a specified durationhost1(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 testabchost1(config-qos-profile)#?atm ATM interfaceatm-vc ATM 1483 subinterfacecbf 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 tunnel interfacel2tp-tunnel L2tp tunnel intefacelog Configure logging settingsmacro 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 Ethernet subinterfacehost1(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 testabcd1234host1(config-queue)#?buffer-weight Set the buffer length of the queue as relative to otherqueuescommitted-length Set the queue length for committed trafficconformed-fraction Set the maximum percentage of queue occupied by conformedtrafficconformed-length Set the queue length for conformed trafficdefault Set a command to its default(s)exceeded-fraction Set the maximum percentage of queue occupied by exceededtrafficexceeded-length Set the queue length for exceeded trafficexit 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 durationhost1(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.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 number of times to retransmit RADIUS request before 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 response before retransmittingudp-port Configure the RADIUS server's UDP porthost1(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 fm78930host1(config-rate-limit-profile)#?committed-action Set the committed access rate actioncommitted-burst Set the committed access rate burst sizecommitted-rate Set the committed access rate valueconformed-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 sizepeak-rate Set the peak access ratesleep Make the Command Interface pause for a specifieddurationhost1(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 34534host1(config-router-rn)#?authentication Specify authentication type to be used for the OSPFinterfaceauthentication-key Configure an authentication keyauthentication-none Specify to use no authenticationcost Specify the interface cost for OSPFdead-interval Specify the interval (in seconds) until a silentneighbor is declared deaddefault Set a command to its default(s)exit Exit from the current command modehello-interval Configure the interval between sending hello packetshelp Describe the interactive help systemlog Configure logging settingsmacro Run a CLI macromessage-digest-key Specify an authentication password/keyno Negate a command or set its default(s)retransmit-interval Configure the time between retransmissions of lost LSAsrun Run an exec mode commandsleep Make the Command Interface pause for a specifieddurationtransmit-delay Configure the transmit delay interval for link stateupdatesttl Specify the TTL value for OSPF unicast packetupdate-source Specify the local source address for OSPF connectionhost1(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 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)set Configure this entry to set attributessleep Make the Command Interface pause for a specified durationhost1(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 2378host1(config-router)#host1(config)#router ?bgp Configure the Border-Gateway Protocol (BGP)dvmrp Configure the Distance Vector Multicast Routing Protocoligmp Configure the Internet Group Membership Protocol (IGMP)isis Configure ISO IS-ISospf Configure the Open Shortest Path First protocol (OSPF)pim Configure PIMrip Configure the Routing Information Protocolhost1(config)#routerRSVP 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 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 periodsleep Make the Command Interface pause for a specifieddurationhost1(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 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 sizesamples-of-history-kept Specify the maximum history samplessleep Make the Command Interface pause for a specifieddurationtag Specify the user defined tagtimeout Specify the operation timeouttos Specify a value for the ToS bytetype Specify the type of the entryhost1(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 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 queuehost1(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.6host1(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 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 classesfabric-weight Set the relative weight for fabric queue in thistraffic classhelp 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 specifieddurationhost1(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 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 grouphost1(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 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)sleep Make the Command Interface pause for a specified durationtunnel Configure tunnel interface parametershost1(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 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 characteristicslog Configure logging settingsmacro Run a CLI macrono 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)#