11-ACL and QoS Command Reference

HomeSupportResource CenterReference GuidesCommand ReferencesH3C MSR810[830][2600][3600] Routers Command Reference(V7)-R6728-6W10011-ACL and QoS Command Reference
04-FR QoS commands
Title Size Download
04-FR QoS commands 95.71 KB

FR QoS commands

The following compatibility matrixes show the support of hardware platforms for FR QoS:

 

Hardware

FR QoS compatibility

MSR810, MSR810-W, MSR810-W-DB, MSR810-LM, MSR810-W-LM, MSR810-10-PoE, MSR810-LM-HK, MSR810-W-LM-HK, MSR810-LM-CNDE-SJK, MSR810-CNDE-SJK

No

MSR810-LMS, MSR810-LUS

Yes

MSR810-LMS-EA, MSR810-LME

No

MSR1004S-5G

No

MSR2600-6-X1, MSR2600-10-X1, MSR2600-15-X1

Yes

MSR 2630

Yes

MSR3600-28, MSR3600-51

Yes

MSR3600-28-SI, MSR3600-51-SI

Yes

MSR3600-28-X1, MSR3600-28-X1-DP, MSR3600-51-X1, MSR3600-51-X1-DP

Yes

MSR3610-I-DP, MSR3610-IE-DP, MSR3610-IE-ES, MSR3610-IE-EAD, MSR-EAD-AK770, MSR3610-I-IG, MSR3610-IE-IG

Yes

MSR3610-X1, MSR3610-X1-DP, MSR3610-X1-DC, MSR3610-X1-DP-DC, MSR3620-X1, MSR3640-X1

Yes

MSR 3610, MSR 3620, MSR 3620-DP, MSR 3640, MSR 3660

Yes

MSR3610-G, MSR3620-G

Yes

MSR3640-X1-HI

Yes

Hardware

FR QoS compatibility

MSR810-W-WiNet, MSR810-LM-WiNet

No

MSR830-4LM-WiNet

No

MSR830-5BEI-WiNet, MSR830-6EI-WiNet, MSR830-10BEI-WiNet

No

MSR830-6BHI-WiNet, MSR830-10BHI-WiNet

No

MSR2600-6-WiNet, MSR2600-10-X1-WiNet

Yes

MSR2630-WiNet

Yes

MSR3600-28-WiNet

Yes

MSR3610-X1-WiNet

Yes

MSR3610-WiNet, MSR3620-10-WiNet, MSR3620-DP-WiNet, MSR3620-WiNet, MSR3660-WiNet

Yes

Hardware

FR QoS compatibility

MSR2630-XS

Yes

MSR3600-28-XS

Yes

MSR3610-XS

Yes

MSR3620-XS

Yes

MSR3610-I-XS

Yes

MSR3610-IE-XS

Yes

MSR3620-X1-XS

Yes

MSR3640-XS

Yes

MSR3660-XS

Yes

Hardware

FR QoS compatibility

MSR810-LM-GL

No

MSR810-W-LM-GL

No

MSR830-6EI-GL

No

MSR830-10EI-GL

No

MSR830-6HI-GL

No

MSR830-10HI-GL

No

MSR1004S-5G-GL

No

MSR2600-6-X1-GL

Yes

MSR3600-28-SI-GL

Yes

cir allow

Use cir allow to set the CIR ALLOW for an FR class.

Use undo cir allow to delete the CIR ALLOW setting of an FR class.

Syntax

cir allow [ inbound | outbound ] committed-information-rate

undo cir allow [ inbound | outbound ]

Default

The CIR ALLOW of an FR class is 56000 bps.

Views

FR class view

Predefined user roles

network-admin

Parameters

inbound: Sets the CIR ALLOW for incoming packets. The inbound CBS ALLOW takes effect only for FRTP.

outbound: Sets the CIR ALLOW for outgoing packets. The outbound CBS ALLOW takes effect only for FRTS.

committed-information-rate: Specifies the CIR ALLOW in bps.The value range for this argument is 1000 to 45000000.

Usage guidelines

The outbound CIR ALLOW must be greater than or equal to the CIR.

If you do not specify the inbound or outbound keyword, the set CIR ALLOW takes effect on both incoming and outgoing packets.

Examples

# Set the CIR ALLOW to 64000 bps for FR class test1.

<Sysname> system-view

[Sysname] fr class test1

[Sysname-fr-class-test1] cir allow 64000

display fr class-map

Use display fr class-map to display the associations between FR classes and interfaces (including subinterfaces and PVCs).

Syntax

display fr class-map [ fr-class class-name | interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

fr-class class-name: Specifies an FR class by its name, a case-sensitive string of 1 to 30 characters.

interface interface-type interface-number: Specifies an interface (main interface or subinterface) by its type and number. If you specify a main interface, the command displays the associations between the following elements:

·     The FR class and the main interface.

·     The FR classes and the subinterfaces on the main interface.

·     The FR classes and the PVCs on the main interface.

·     The FR classes and the PVCs on each subinterface.

If you specify a subinterface, the command displays the associations between the following elements:

·     The FR class and the subinterface.

·     The FR classes and the PVCs on the subinterface.

Usage guidelines

If you do not specify an FR class or an interface, the command displays all associations between FR classes and interfaces.

Examples

# Display the associations between Serial 2/1/1 and FR classes.

<Sysname> display fr class-map interface serial 2/1/1

Serial2/1/1

  fr-class ts1

  fr dlci 100

    fr-class ts

Serial2/1/1.1

  fr-class ts2

  fr dlci 222

    fr-class ts

# Display the associations between FR class ts and interfaces.

<Sysname> display fr class-map fr-class ts

Serial2/1/1

  fr dlci 100

    fr-class ts

Serial2/1/1.1

  fr dlci 222

    fr-class ts

Table 1 Command output

Field

Description

Serial2/1/1

  fr-class ts1

FR interface and the FR class associated with the FR interface.

fr dlci 100

  fr-class ts

PVC on the FR interface and the FR class associated with the PVC.

Serial2/1/1.1

  fr-class ts2

FR subinterface and the FR class associated with the FR subinterface.

fr dlci 222

  fr-class ts

PVC on the FR subinterface and the FR class associated with the PVC.

 

ebs

Use ebs to set the EBS for an FR class.

Use undo ebs to delete the EBS setting of an FR class.

Syntax

ebs [ inbound | outbound ] excess-burst-size

undo ebs [ inbound | outbound ]

Default

The EBS for an FR class is 0 bits.

Views

FR class view

Predefined user roles

network-admin

Parameters

inbound: Sets the EBS for incoming packets. The inbound EBS takes effect only for FRTP.

outbound: Sets the EBS for outgoing packets. The outbound EBS takes effect only for FRTS.

excess-burst-size: Specifies the EBS in the range of 0 to 16000000 bits.

Usage guidelines

If you do not specify the inbound or outbound keyword, the set EBS takes effect on both incoming and outgoing packets.

Examples

# Set the EBS to 32000 bits for FR class test1.

<Sysname> system-view

[Sysname] fr class test1

[Sysname-fr-class-test1] ebs 32000

Related commands

cbs

cir

cir allow

fifo queue-length

Use fifo queue-length to set the FIFO queue length for an FR class.

Use undo fifo queue-length to restore the default.

Syntax

fifo queue-length queue-length

undo fifo queue-length

Default

The FIFO queue length for an FR class is 75.

Views

FR class view

Predefined user roles

network-admin

Parameters

queue-length: Specifies the maximum number of packets allowed in the FIFO queue, in the range of 1 to 1024.

Examples

# Set the FIFO queue length to 80 for FR class test1.

<Sysname> system-view

[Sysname] fr class test1

[Sysname-fr-class-test1] fifo queue-length 80

fr class

Use fr class to create an FR class and enter its view, or enter the view of an existing FR class.

Use undo fr class to delete an FR class.

Syntax

fr class class-name

undo fr class class-name

Default

No FR classes exist.

Views

System view

Predefined user roles

network-admin

Parameters

class-name: Specifies the name of the FR class, a case-sensitive string of 1 to 30 characters.

Usage guidelines

For the FR class parameters to take effect, associate the FR class with an interface or PVC and enable FR QoS on the interface.

When an FR class is deleted, all associations between this FR class and interfaces are released.

Examples

# Create an FR class named test1.

<Sysname> system-view

[Sysname] fr class test1

[Sysname-fr-class-test1]

Related commands

fr-class

fr de del

Use fr de del to apply a DE rule list to an FR PVC.

Use undo fr de del to remove a DE rule list from an FR PVC.

Syntax

fr de del list-number dlci dlci-number

undo fr de del list-number dlci dlci-number

Default

No DE rule list is applied to an FR PVC.

Views

FR interface view

MFR interface view

Predefined user roles

network-admin

Parameters

list-number: Specifies a DE rule list by its number in the range of 1 to 10.

dlci-number: Specifies a FR PVC by its number in the range of 16 to 1007.

Usage guidelines

If you specify a PVC of a subinterface on the main interface, the DE rule list can be successfully applied to the specified PVC.

After a DE rule list is applied to an FR PVC, the DE bits of packets matching the DE rule list are set to 1.

Examples

# Apply DE rule list 3 to DLCI 100 of Serial 2/1/1.

<Sysname> system-view

[Sysname] interface Serial 2/1/1

[Sysname-Serial2/1/1] fr dlci 100

[Sysname-Serial2/1/1-fr-dlci-100] quit

[Sysname-Serial2/1/1] fr de del 3 dlci 100

[Sysname-Serial2/0] fr de del 3 dlci 100

Related commands

fr del inbound-interface

fr del protocol

fr del inbound-interface

Use fr del inbound-interface to create a DE rule list and add an interface-based DE rule.

Use undo fr del inbound-interface to delete an interface-based DE rule from a DE rule list.

Syntax

fr del list-number inbound-interface interface-type interface-number

undo fr del list-number inbound-interface interface-type interface-number

Default

No DE rule lists exist.

Views

System view

Predefined user roles

network-admin

Parameters

list-number: Specifies a DE rule list number in the range of 1 to 10.

interface-type interface-number: Specifies an interface by its type and number.

Usage guidelines

This command sets the DE bits of packets that are received on the specified interface to 1.

You can add a maximum of 100 rules for a DE rule list.

When the last DE rule in a DE rule list is deleted, the DE rule list is also deleted.

Examples

# Add a rule to DE rule list 1. The rule sets the DE bits of incoming packets on Serial 2/1/1 to 1.

<Sysname> system-view

[Sysname] fr del 1 inbound-interface serial 2/1/1

Related commands

fr de del

fr del protocol

fr del protocol

Use fr del protocol ip to create a DE rule list and add an IP protocol-based DE rule.

Use undo fr del protocol ip to delete an IP protocol-based DE rule from a DE rule list.

Syntax

fr del list-number protocol ip [ acl acl-number | fragments | greater-than min-number | less-than max-number | tcp-port tcpport-number | udp-port udpport-number ]

undo fr del list-number protocol ip [ fragments | acl acl-number | less-than bytes | greater-than min-number | less-than max-number | tcp-port tcpport-number | udp-port udpport-number ]

Default

No DE rule lists exist.

Views

System view

Predefined user roles

network-admin

Parameters

list-number: Specifies a DE rule list number in the range of 1 to 10.

acl acl-number: Specifies the IP packets matching the ACL specified by its number in the range of 2000 to 3999.

fragments: Specifies all fragmented IP packets.

greater-than min-number: Specifies the IP packets that are greater than the specified number of bytes. The value range for the min-number argument is 0 to 65535.

less-than max-number: Specifies the IP packets that smaller than the specified number of bytes. The value range for the max-number argument is 0 to 65535.

tcp-port tcpport-number: Specifies the IP packets with the specified source or destination TCP port number. The value range for the tcpport-number argument is 0 to 65535. The tcpport-number argument can be either an upper-layer application name or the associated port number.

Table 2 Application names and TCP port numbers

Application name

TCP port number

bgp

179

chargen

19

cmd

514

daytime

13

discard

9

domain

53

echo

7

exec

512

finger

79

ftp

21

ftp-data

20

gopher

70

hostname

101

ident

113

irc

194

klogin

543

kshell

544

login

513

lpd

515

nntp

119

pop2

109

pop3

110

smtp

25

sunrpc

111

tacacs

49

talk

517

telnet

23

time

37

uucp

540

whois

43

www

80

 

udp-port udpport-number: Specifies the IP packets with the specified source or destination UDP port number. The value range for the udpport-number argument is 0 to 65535. The udpport-number argument can be either an upper-layer application name or the associated port number.

Table 3 Application names and UDP port numbers

Application name

UDP port number

biff

512

bootpc

68

bootps

67

discard

9

dnsix

195

domain

53

echo

7

mobile-ip

434

nameserver

42

netbios-dgm

138

netbios-ns

137

ntp

123

rip

520

snmp

161

snmptrap

162

sunrpc

111

syslog

514

tacacs

49

talk

517

tftp

69

time

37

who

513

xdmcp

177

 

Usage guidelines

If you do not specify any parameters, this command applies to all IP packets.

To add more IP-protocol-based DE rules to a DE rule list, repeat this command. A DE rule list can contain both interface-based DE rules and IP-protocol-based DE rules.

When the last DE rule in a DE rule list is deleted, the DE rule list is also deleted.

Examples

# Add a rule to DE rule list 1 that sets the DE bits of all IP packets to 1.

<Sysname> system-view

[Sysname] fr del 1 protocol ip

Related commands

fr de del

fr del inbound-interface

fr traffic-policing

Use fr traffic-policing to enable FRTP.

Use undo fr traffic-policing to disable FRTP.

Syntax

fr traffic-policing

undo fr traffic-policing

Default

FRTP is disabled.

Views

FR interface view

MFR interface view

Predefined user roles

network-admin

Usage guidelines

FRTP is applicable only to the ingress interfaces on the DCE of an FR network.

Examples

# Enable FRTP on Serial 2/1/1.

<Sysname> system-view

[Sysname] interface Serial 2/1/1

[Sysname-Serial2/1/1] fr traffic-policing

Related commands

fr class

fr traffic-shaping

Use fr traffic-shaping to enable FRTS.

Use undo fr traffic-shaping to disable FRTS.

Syntax

fr traffic-shaping

undo fr traffic-shaping

Default

FRTS is disabled.

Views

FR interface view

Predefined user roles

network-admin

Usage guidelines

FRTS is applied to the outgoing interfaces and is typically used on the DTEs of an FR network.

FRTS cannot be enabled on an FR interface when fragmentation is enabled on the interface.

Examples

# Enable FRTS on Serial 2/1/1.

<Sysname> system-view

[Sysname] interface serial 2/1/1

[Sysname-Serial2/1/1] fr traffic-shaping

fragment enable

Use fragment enable to enable end-to-end FRF.12 fragmentation for an FR class.

Use undo fragment enable to disable end-to-end FRF.12 fragmentation for an FR class.

Syntax

fragment enable

undo fragment enable

Default

End-to-end FRF.12 fragmentation is disabled for an FR class.

Views

FR class view

Predefined user roles

network-admin

Usage guidelines

This command enables end-to-end FRF.12 fragmentation on all PVCs associated with an FR class or PVCs of all interfaces associated with an FR class.

Examples

# Enable Frame Relay FRF.12 fragmentation for FR class test1.

<Sysname> system-view

[Sysname] fr class test1

[Sysname-fr-class-test1] fragment enable

fragment size

Use fragment size to set the fragment size allowed for an FR class.

Use undo fragment size to restore the default.

Syntax

fragment size size

undo fragment size

Default

The fragment size allowed for an FR class is 45 bytes.

Views

FR class view

Predefined user roles

network-admin

Parameters

size: Specifies the fragment size in the range 16 to 1600 bytes.

Examples

# Set the fragment size to 128 bytes for FR class test1.

<Sysname> system-view

[Sysname] fr class test1

[Sysname-fr-class-test1] fragment size 128

fr-class

Use fr-class to associate an FR class with an FR interface or FR PVC.

Use undo fr-class to cancel the association.

Syntax

fr-class class-name

undo fr-class class-name

Default

An FR class is not associated with any FR interface or FR PVC.

Views

FR interface (main interface or subinterface) view

FR PVC view

Predefined user roles

network-admin

Parameters

class-name: Specifies an FR class by its name, a case-sensitive string of 1 to 30 characters. The FR class must already exist.

Usage guidelines

For an interface associated with an FR class, all PVCs on the interface inherit the FR QoS parameters in the FR class.

Examples

# Associate FR class test1 with an FR PVC with DLCI 200.

<Sysname> system-view

[Sysname] interface serial 2/1/1

[Sysname-Serial2/1/1] fr dlci 200

[Sysname-Serial2/1/1-fr-dlci-200] fr-class test1

Related commands

fr class

traffic-shaping adaptation

Use traffic-shaping adaptation to enable FRTS adaptation for an FR class.

Use undo traffic-shaping adaptation to disable FRTS adaptation for an FR class.

Syntax

traffic-shaping adaptation { becn | interface-congestion number }

undo traffic-shaping adaptation { becn | interface-congestion }

Default

FRTS adaptation is disabled for an FR class.

Views

FR class view

Predefined user roles

network-admin

Parameters

becn: Adjusts the traffic rate in response to BECNs.

interface-congestion number: Adjusts the traffic rate in response to the number of packets in the output queue on the interface. The value range for the number argument is 1 to 40.

Usage guidelines

For BECN-based adaptation, the router reduces the transmission rates of all FRTS-enabled PVCs associated with the FR class when it receives packets with the BECN bit set. When the router does not receive packets with the BECN bit set within 125 milliseconds, it increases the transmission rates of those PVCs.

For interface congestion-based adaptation, the router reduces the transmission rates of all FRTS-enabled PVCs associated with the FR class when the number of packets in the output queue reaches the threshold. When the number of packets drops below the threshold, the router increases the transmission rates of those PVCs.

Examples

# Enable FRTS adaptation to adjust the traffic rate in response to BECNs.

<Sysname> system-view

[Sysname] fr class test1

[Sysname-fr-class-test1] traffic-shaping adaptation becn

Related commands

fr traffic-shaping

traffic-shaping adaptation percentage

Use traffic-shaping adaptation percentage to set the rate adjustment percentage for FRTS adaptation.

Use undo traffic-shaping adaptation percentage to restore the default.

Syntax

traffic-shaping adaptation percentage number

undo traffic-shaping adaptation percentage

Default

The rate adjustment percentage for FRTS adaptation is 25%.

Views

FR class view

Predefined user roles

network-admin

Parameters

number: Specifies the rate adjustment percentage, in the range of 1 to 30.

Usage guidelines

When rate adjustment is triggered, the router reduces or increases the traffic rate by the set percentage of the current rate. The adjusted rate must be between the CIR and the CIR ALLOW. For example, the current rate is 3000 bps, the rate adjustment percentage is 20%, and the CIR is 2500 bps. The rate is  reduced to 2400 bps (3000 – 3000 x 20%). Because the adjusted rate cannot be lower than the CIR, the adjusted rate should be 2500 bps.

Examples

# Set the rate adjustment percentage to 20%.

<Sysname> system-view

[Sysname] fr class test1

[Sysname-fr-class-test1] traffic-shaping adaptation percentage 20

Related commands

fr traffic-shaping