- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
03-FR QoS Commands | 79.29 KB |
Contents
cir allow
Syntax
cir allow [ inbound | outbound ] committed-information-rate
undo cir allow [ inbound | outbound ]
View
FR class view
Default level
2: System level
Parameters
inbound: Sets the CIR ALLOW for the incoming packets. This keyword is available when Frame Relay traffic policing is enabled on interfaces. The router does not support this keyword. This keyword does not take effect even if you configure it.
outbound: Sets the CIR ALLOW for the outgoing packets. This keyword is available when FR traffic policing is enabled on interfaces.
committed-information-rate: CIR ALLOW in bps, in the range of 56000 to 2500000000. The CIR ALLOW is 56000 bps by default.
Description
Use the cir allow command to set the CIR ALLOW for FR PVCs.
Use the undo cir allow command to restore the default.
CIR ALLOW is the transmit rate that an FR PVC can provide when no congestion occurs to the network.
If the packet direction is not specified, the CIR ALLOW is effective for both incoming packets and outgoing packets.
|
NOTE: Do not configure CIR ALLOW to be smaller than CIR, which defaults to 56000 bps. |
Examples
# Set CIR ALLOW to 64000 bps for FR class test1.
[Sysname] fr class test1
[Sysname-fr-class-test1] cir allow 64000
display fr class-map
Syntax
display fr class-map { fr-class class-name | interface interface-type interface-number } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
fr-class class-name: Displays FR class mappings for an FR class. The class-name argument specifies an FR class name, a string of 1 to 30 characters.
interface interface-type interface-number: Displays FR class mappings for an FR interface. The interface-type interface-number argument specifies a main interface by its type and number. You cannot specify a subinterface.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display fr class-map command to display FR class mappings for an FR class or main interface.
If an interface is specified, the command displays all FR class mappings on the interface, including the FR class-to-interface, FR class-to-subinterface, FR class-to-DLCI mappings.
Examples
# Display the FR class mappings for POS 3/1/1.
<Sysname> display fr class-map interface Pos 3/1/1
Pos3/1/1
fr-class 1
Pos3/1/1.1
fr-class 1
fr dlci 16 Pos3/1/1
Table 1 Output description
Field |
Description |
POS3/1/1 |
FR interface |
fr-class |
FR class |
POS3/1/1.1 |
FR subinterface |
fr dlci |
FR DLCI |
fr class
Syntax
fr class class-name
undo fr class class-name
View
System view
Default level
2: System level
Parameters
class-name: FR class name, which is a string of 1 to 30 characters.
Description
Use the fr class command to create an FR class and enter FR class view.
Use the undo fr class command to delete an FR class.
By default, no FR class is created.
The parameters in an FR class take effect after you associate the FR class with an interface, subinterface, or DLCI, and enable the FR QoS function on the main interface.
Deleting an FR class can cause all mappings for this FR class to be removed.
Related commands: fr-class.
Examples
# Create FR class test1 and enter its view.
<Sysname> system-view
[Sysname] fr class test1
[Sysname-fr-class-test1]
fr-class
Syntax
fr-class class-name
undo fr-class class-name
View
FR interface/subinterface view, FR DLCI view
Default level
2: System level
Parameters
class-name: FR class name, which is a string of 1 to 30 characters.
Description
Use the fr-class command to map an FR class to an FR main interface, subinterface, or DLCI.
Use the undo fr-class command to remove the association.
By default, no FR class is associated with any FR main interface, subinterface, or DLCI.
· The FR class mapped to an FR main interface takes effect on all PVCs on the FR main interface, including the PVCs on subinterfaces.
· The FR class mapped to an FR subinterface takes effect on all PVCs on the FR subinterface.
· The FR class mapped to a DLCI takes effect only on the PVC identified by the DLCI.
If the specified FR class does not exist, the fr-class command creates an FR class and then associates the FR class with the FR PVC. If the specified FR class exists, the fr-class command just associates the FR class with the FR PVC, without creating a new FR class.
Instead of deleting FR classes, the undo fr-class command just removes FR class-to-PVC mappings. To remove an FR class, use the undo fr class command.
Related commands: fr class.
Examples
# Map the FR class test1 to DLCI 200.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] fr dlci 200
[Sysname-fr-dlci-Pos3/1/1-200] fr-class test1
fr traffic-shaping
Syntax
fr traffic-shaping
undo fr traffic-shaping
View
FR interface view, MFR interface view
Default level
2: System level
Parameters
None
Description
Use the fr traffic-shaping command to enable frame relay traffic shaping (FRTS).
Use the undo fr traffic-shaping command to disable FRTS.
By default, FRTS is disabled.
FRTS is applied to the outgoing interfaces and are usually applied to the DCE of an FR network.
Related commands: fr class and fr-class; fr dlci (the Layer 2 – WAN Command Reference).
Examples
# Enable FRTS on POS 3/1/1.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] fr traffic-shaping