- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
03-FR QoS Commands | 73.22 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 FR TP is enabled on interfaces. The router does not support this keyword.
outbound: Sets the CIR ALLOW for the outgoing packets. This keyword is available when FR TP is enabled on interfaces.
committed-information-rate: CIR ALLOW in bps, in the range of 1000 to 45000000. 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
class-name: FR class name, which is a string of 1 to 30 characters.
interface-type interface-number: Specifies an interface by its type and number.
|: 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 the mapping relationship between FR classes and interfaces (including the DLCIs of an interface, subinterfaces of an interface, and the DLCIs of subinterfaces).
For this command, you can specify an FR class name, or specify a primary interface. However, you cannot specify a subinterface.
Examples
# Display the mapping relationship between Serial 2/1/6:0 and FR classes.
<Sysname> display fr class-map interface Serial 2/1/6:0
Serial2/1/6:0
fr-class ts
Table 1 Output description
Field |
Description |
Serial2/1/6:0 |
FR interface |
fr-class |
FR class |
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 remove the specified FR class.
By default, no FR class is created.
The FR class parameters do not take effect until you associate the FR class with an interface or PVC and enable the FR QoS function on the interface.
With an FR class removed, all the associations associating this FR class with an interface or a DLCI are released.
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 associate an FR class with the current FR PVC.
Use the undo fr-class command to cancel the association.
By default, no FR class is associated with an FR interface/subinterface or FR PVC.
If the specified FR class does not exist, the fr-class command creates an FR class and then associates the FR class with the current FR PVC. If the specified FR class exists, the fr-class command just associates the FR class with the current FR PVC, without creating a new FR class.
Instead of removing an FR class, the undo fr-class command just cancels the association between the FR class and the current FR PVC. To remove an FR class, use the undo fr class command.
Related commands: fr class.
Examples
# Associate FR class test1 with an FR PVC with DLCI 200.
<Sysname> system-view
[Sysname] interface Serial 2/1/6:0
[Sysname-Serial2/1/6:0] fr dlci 200
[Sysname-fr-dlci-Serial12/1/6:0-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 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 (Layer 2—WAN Command Reference).
Examples
# Enable FRTS on Serial 2/1/6:0.
<Sysname> system-view
[Sysname] interface Serial 2/1/6:0
[Sysname-Serial 2/1/6:0] fr traffic-shaping