No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
ATM Configuration Commands

ATM Configuration Commands

atm-cell qos enable

Function

The atm-cell qos enable command enables ATM cell rate limiting on an interface card.

The undo atm-cell qos enable command disables ATM cell rate limiting on an interface card.

By default, ATM cell rate limiting is disabled on an interface card.

Format

atm-cell qos enable

undo atm-cell qos enable

Parameters

None

Views

ATM-PVC view, ATM-PVC-Group-PVC view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, ATM cell rate limiting is disabled. The service cbr, service ubr, service vbr-nrt, or service vbr-rt command enables ATM cell rate limiting on the main control card. The atm-cell qos enable command enables ATM cell rate limiting on an interface card.

Prerequisite

The service type of a PVC and related rate parameters have been configured using the service cbr, service ubr, service vbr-nrt, or service vbr-rt command.

Precautions

If the configured service type of a PVC is deleted using the undo service command, ATM cell rate limiting enabled on an interface card using the atm-cell qos enable command is also disabled.

Example

# Set the PVC name to huawei, VPI/VCI to 1/101, PVC service type to CBR, and peak forwarding rate of ATM cells to 1000 kbit/s, and enable ATM cell rate limiting on an interface card.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc huawei 1/101
[Huawei-atm-pvc-Atm1/0/0-1/101-huawei] service cbr 1000
[Huawei-atm-pvc-Atm1/0/0-1/101-huawei] atm-cell qos enable

description (PVC view)

Function

The description command configures the description for a PVC.

The undo description command deletes the configured description for a PVC.

By default, there is no description for a PVC.

Format

description text

undo description

Parameters

Parameter Description Value
text Specifies the description for a PVC. The value is a string of 1 to 128 case-sensitive characters, spaces supported.

Views

ATM-PVC view, IMA-PVC view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To describe a configured PVC, you can run the description command to configure the description for a PVC.

Prerequisites

A PVC has been created using the pvc command.

Example

# Configure the description for a PVC.

<Huawei> system-view
[Huawei] interface atm1/0/0
[Huawei-Atm1/0/0] pvc 100/100
[Huawei-atm-pvc-Atm1/0/0-100/100] description abc

display atm interface

Function

The display atm interface command displays detailed information about ATM interfaces.

If sub-interfaces exist, detailed information about sub-interfaces is also displayed.

Format

display atm interface [ atm interface-number ]

Parameters

Parameter Description Value
atm

Indicates an ATM interface.

-

interface-number

Specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Currently, ATM is mainly used at the data link layer. Based on packet switching, ATM inherits high-speed circuit switching to provide a universal connection-oriented transfer mode suitable for various services. This allows ATM to carry multiple upper-layer protocols, such as IP, IPoE, PPP, and PPPoE. Their applications are called IPoA, IPoEoA, PPPoA, and PPPoEoA.

To monitor the interface status and locate an interface fault, run the display atm interface command to obtain the interface status and statistics.

Example

# Display information about ATM 2/0/0.

<Huawei> display atm interface atm 2/0/0
ATM interface Atm2/0/0, State UP
  Port Information:
    Maximum VCs: 16
    PVCs: 2, MAPs: 1
    input pkts: 0, input bytes: 0, input pkt errors: 0
    output pkts: 5915, output bytes: 141960, output pkt errors: 0
 information of this Interface 
    PVCs: 1, MAPs: 1
    input pkts: 0, input bytes: 0, input pkt errors: 0
    output pkts: 5915, output bytes: 141960, output pkt errors: 0
ATM interface Atm2/0/0.1, multi-point, State UP
 information of this Interface 
    PVCs: 0, MAPs: 0
    input pkts: 0, input bytes: 0, input pkt errors: 0
    output pkts: 0, output bytes: 0, output pkt errors: 0
ATM interface Atm2/0/0.10, point-to-point, State UP
 information of this Interface 
    PVCs: 1, MAPs: 0
    input pkts: 0, input bytes: 0, input pkt errors: 0
    output pkts: 0, output bytes: 0, output pkt errors: 0
Table 6-15  Description of the display atm interface command output

Item

Description

ATM interface, State

Indicates the number and status of the ATM interface.

Port Information:

Indicates information about a port.

Maximum VCs: 16

Indicates that the maximum number of PVCs on the ATM interface is 16.
NOTE:
The maximum number of PVCs on ADSL interface is 16, the maximum number of PVCs on G.SHDSL interface is 8.

PVCs: 2, MAPs: 1

Indicates that there are two PVCs and one MAP on the main interface.

input pkts: 0, input bytes: 0, input pkt errors: 0

Indicates that the numbers of input packets, input bytes, and input packet errors are all 0.

output pkts: 5915, output bytes: 141960, output pkt errors: 0

Indicates that the number of output packets is 5915; the number of output bytes is 141960; the number of output packet errors is 0.

ATM interface Atm2/0/0.1, multi-point, State UP

Indicates a sub-interface ATM 2/0/0.1 whose type is P2MP and status is Up.

Related Topics

display atm map-info

Function

The display atm map-info command displays information about the upper layer protocol mapping table of ATM.

Format

display atm map-info [ interface atm interface-number [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ]

Parameters

Parameter Description Value
interface

Indicates an interface.

-

atm

Indicates an ATM interface.

-

pvc

Specifies the Permanent Virtual Circuit (PVC).

-

pvc-name

Specifies the PVC name.

The value is created by the pvc command. The value of vpi/vci for each PVC must be unique on an ATM interface (including its sub-interfaces).

The value is a string of 1-16 case-insensitive characters.

vpi

Specifies the VPI.

The PVC identified by vpi must have been created.

The value is an integer. It is ranging from 0 to 255.

vci

Specifies the VCI.

The PVC identified by vci must have been created.

The value is an integer ranging from 0 to 2 and 5 to 255.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

In the scenario where you need to monitor the status of an interface or locate an interface fault, you can run the display atm map-info command to view the status and statistics of the interface. According to the information, you can measure traffic and locate the interface fault.

Example

# Display information about the upper layer protocol mapping table of all ATM interfaces.

<Huawei> display atm map-info
Atm1/0/0, PVC 1/33, IP, State UP
1.2.1.1, vlink 1
Atm1/0/0, PVC 1/32, PPP, Virtual-Template10, UP
Atm1/0/0, PVC 2/101, ETH, Virtual-Ethernet0/0/1, UP
Table 6-16  Description of the display atm map-info command output

Item

Description

Atm1/0/0, PVC 1/33, IP, State UP

1.2.1.1, vlink 1

Indicates that:
  • PVC 1/33 of ATM 1/0/0 is configured with IPoA mapping.

  • The configured mapping static IP address is 1.2.1.1.

  • The Vlink numbered 1 is used.

  • The status of Vlink 1 is activated (Up).

Atm1/0/0, PVC 1/32, PPP, Virtual-Template10, UP

Indicates that:
  • PVC 1/32 of ATM 1/0/0 is configured with PPPoA mapping.

  • The VT interface numbered 10 is used.

  • The status of the VT interface is activated (Up).

Atm1/0/0, PVC 2/101, ETH, Virtual-Ethernet0/0/1, UP

Indicates that:
  • PVC 2/101 of ATM 1/0/0 is configured with PPPoEoA mapping or IPoEoA mapping.

  • The VE interface numbered 0/0/1 is used.

  • The status of the VE interface is activated (Up).

Related Topics

display atm pvc-group

Function

The display atm pvc-group command displays information about PVC groups.

Format

display atm pvc-group [ interface atm interface-number [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ]

Parameters

Parameter Description Value
interface

Indicates an interface.

-

atm

Indicates an ATM interface.

-

pvc-name

Specifies the PVC name.

The value is created by the pvc command. The value of vpi/vci for each PVC must be unique on an ATM interface (including its sub-interfaces).

The value is a string of 1-16 case-insensitive characters.

interface-number

Specifies the interface number.

-

vpi

Specifies the VPI.

The PVC identified by vpi must have been created.

The value is an integer. It is ranging from 0 to 255.

vci

Specifies the VCI.

The PVC identified by vci must have been created.

The value is an integer ranging from 0 to 2 and 5 to 255.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

If no PVC group is configured, all PVCs evenly share bandwidth resources and transmit packets to destinations. This does not ensure reliable transmission and may cause transmission delays. To address this problem, you can configure a PVC group and specify PVCs in the group to separately transmit IP packets with different priorities. In addition, the PVCs can be configured to provide Differential QoS assurance based on application requirements.

If a PVC group has been configured on an interface, run the display atm pvc-group command to view the configuration and statistics about the PVC group.

When using the display atm pvc-group command, note the following points:

  • If no parameter is specified, the configuration and statistics about PVC groups on all interfaces are displayed.

  • If only the parameter interface is specified, the configuration and statistics about PVC groups on the specific interface are displayed.

Prerequisites

The configuration about ATM PVC groups is complete.

Example

# Display information about all PVC groups on ATM interfaces of the device.

<Huawei> display atm pvc-group
PVC-GROUP-NAME    VPI/VCI    STATE ENCAP PROTOCOL INTERFACE
aaa                 3/35     Down  SNAP  None     Atm1/0/0(DOWN)
Table 6-17  Description of the display atm pvc-group command output

Item

Description

PVC-GROUP-NAME

Indicates the name of a PVC-Group.

VPI/VCI

Indicates the VPI/VCI values of a PVC.

STATE

Indicates the status of a PVC, either Up or Down.

ENCAP

Indicates the AAL encapsulation type.

PROTOCOL

Indicates the application mode:
  • IP indicates IPoA.

  • ETH indicates PPPoEoA or IPoEoA.

  • PPP indicates PPPoA.

INTERFACE

Indicates an ATM interface, which is named in the slot number/card number/interface number format, for example, ATM 1/0/0.

Related Topics

display atm pvc-info

Function

The display atm pvc-info command displays information about PVCs.

Format

display atm pvc-info [ interface atm interface-number [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ]

Parameters

Parameter Description Value
interface atm interface-number Specifies the ATM interface number. -
pvc

Specifies the PVC.

-
pvc-name

Specifies the PVC name.

The value is created by the pvc command. The value of vpi/vci for each PVC must be unique on an ATM interface (including its sub-interfaces).

The value is a string of 1-16 case-insensitive characters.

vpi/vci

Specifies the virtual path identifier (VPI) and virtual channel identifier (VCI) on an ATM network.

The PVC specified by vpi/vci must have been created.

The vpi value is an integer ranging from 0 to 255.

The vci value is an integer ranging from 0 to 2 and 5 to 65534.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

ATM is connection-oriented. ATM connections are logical connections, called virtual circuits (VCs). Each VC is identified by a virtual path identifier (VPI) and a virtual channel identifier (VCI). A pair of VPI/VCI takes effect only on one link between two ATM nodes. Each ATM node maps the VPI/VCI values into a specific address. When an ATM connection is released, the VPI/VCI values for the connection are also reclaimed and put into a resource table. Then, the VPI/VCI can be used again.

If a PVC has been configured on an interface, run the display atm pvc-info command to view the configuration and statistics about the PVC.

When using the display atm pvc-info command, note the following points:

  • If no parameter is specified, the configuration and statistics about PVCs on all interfaces are displayed.

  • If only the parameter interface is specified, the configuration and statistics about PVCs on the specific interface are displayed.

Prerequisites

The configuration about ATM PVCs is complete.

Example

# Display information about PVCs of all ATM interfaces.

<Huawei> display atm pvc-info
Atm1/0/0, VPI: 33, VCI: 44, INDEX: 19                                           
  AAL5 Encaps: SNAP, Protocol: IP                                               
  Service-type:UBR                                                              
  input pkts: 1357852279, input bytes: 4294967295, input pkt errors: 0          
  output pkts: 1511, output bytes: 66964, output pkt errors: 0                  
  Interface State: UP, PVC State: UP  
  OAM Statistics:                                                               
  input pkts: 0, input bytes: 0                                                 
  output pkts: 0, output bytes: 0 

# Display information about the PVC of the specified interface.

<Huawei> display atm pvc-info interface atm 2/0/0 pvc 1/100
Atm2/0/0, VPI: 1, VCI: 100, INDEX: 1
  AAL5 Encaps: SNAP, Protocol: IP
  Service-type:UBR
  input pkts: 0, input bytes: 0, input pkt errors: 0
  output pkts: 8959, output bytes: 215016, output pkt errors: 0
  Interface State: UP, PVC State: UP
  OAM Statistics:                                                               
  input pkts: 0, input bytes: 0                                                 
  output pkts: 0, output bytes: 0 
Table 6-18  Description of the display atm pvc-info command output

Item

Description

VPI, VCI

Values of VPI and VCI in the VPI/VCI pair.

INDEX

Index number of the PVC.

AAL5 Encaps

The encapsulation type is AAL5.

Protocol

Type of the network layer protocol.

Service-type

Service type, including:
  • CBR: Constant Bit Rate

  • UBR: Unspecified Bit Rate

  • VBR-NRT: Variable Bit Rate-Non Real Time

  • VBR-RT: Variable Bit Rate-Real Time

input pkts, input bytes, input pkt errors

Numbers of input packets, input bytes, and input packet errors.

output pkts, output bytes, output pkt errors

Numbers of output packets; output bytes; and output packet errors.

Interface State

Interface status.

  • UP
  • DOWN

PVC State

PVC status.

  • UP
  • DOWN

OAM Statistics

OAM statistics.

Related Topics

display atm pvc-info statistics

Function

The display atm pvc-info statistics command displays statistics about PVC number.

Format

display atm pvc-info statistics [ interface interface-type interface-number ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays statistics about PVC number on a specified interface.

If interface interface-type interface-number is not specified in the command, statistics about PVC number on all interfaces on which PVC has been configured are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

If PVCs are configured on multiple interfaces, to check statistics about PVC number on each interface, you need to run the display this command on each interface, which is time-consuming. To address issue, run the display atm pvc-info statistics command to check statistics about PVC number on all interfaces.

Precautions

If a PVC has not been configured on an interface, no information is displayed.

Example

# Display statistics about PVC number on all interfaces.

<Huawei> display atm pvc-info statistics
Atm pvc-info statistics for interface Atm1/0/0:
Maximum VCs: 2048
Total VCs : 2
UP VCs    : 2  DOWN VCs   : 0
Atm pvc-info statistics for interface Atm2/0/0:
Maximum VCs: 2048
Total VCs : 1
UP VCs    : 1  DOWN VCs   : 0

# Display statistics about PVC number on ATM 1/0/0.

<Huawei> display atm pvc-info statistics interface atm 1/0/0
Atm pvc-info statistics for interface Atm1/0/0:
Maximum VCs: 2048
Total VCs : 2
UP VCs    : 2  DOWN VCs   : 0
Table 6-19  Description of the display atm pvc-info statistics command output

Item

Description

Maximum VCs

Maximum number of PVCs that can be configured on the interface, which can be configured using the pvc max-number command.

Total VCs

Number of PVCs configured on the interface.

UP VCs

Number of PVCs with the link layer protocol Up.

DOWN VCs

Number of PVCs with the link layer protocol Down.

encapsulation (PVC view)

Function

The encapsulation command specifies the ATM AAL5 as the encapsulation type for PVC.

The undo encapsulation command restores the default setting.

By default, aal5snap is adopted.

Format

encapsulation { aal5snap | aal5mux }

undo encapsulation

Parameters

Parameter Description Value
aal5snap

Indicates the aal5snap encapsulation type.

-
aal5mux

Indicates the aal5mux encapsulation type, that is, the multiplexing encapsulation type.

-

Views

ATM-PVC view, IMA-PVC view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

ATM supports multi-protocol encapsulation. It defines a standard technique that transmits multi-protocol datagrams using AAL5 frames on an ATM network. The ATM Adaptation Layer (AAL) isolates the ATM layer from a higher layer. It transforms data packets into 48-byte ATM cells. Running the encapsulation command can configure an ATM AAL5 encapsulation type. The parameters of the encapsulation command are applied to different encapsulation scenarios:
  • aal5snap

    The aal5snap encapsulation type can be used to transmit multiple protocols over the same PVC. If the aal5snap is configured, PVCs support Inverse Address Resolution Protocol (InARP), LLC encapsulation, and Subnetwork Access Protocol (SNAP) encapsulation.

    LLC/SNAP is a default encapsulation technology . It allows multiplexing of multiple protocols over a single ATM VC. A protocol adds a different IEEE 802.2 logical link control (LLC) header to PDUs that are transmitted using the protocol.

  • aal5mux

    This encapsulation type allows a specified PVC between two ATM sites to transmit a single type of protocol packets. If the two ATM sites change, another type of protocol packets will be transmitted over the PVC. Therefore, a PVC can be used to transmit different types of protocol packets. PVCs must be configured with the aal5mux encapsulation type.

aal5snap and aal5mux are two common encapsulation types. They are selected based on real-world situations, such as network types and costs. If network costs depend on the number of established PVCs, aal5snap is preferred. If network costs depend on transmission volume, aal5mux is preferred because packets encapsulated based on aal5mux have smaller packet headers.

Precautions

Running the encapsulation command will change the encapsulation type of PVCs. Therefore, verify that PVCs are not transmitting services before running the command.

Some encapsulation types may not support one or more of the following service modes: IPoA, IPoEoA, PPPoA, and PPPoEoA. If a service mode is configured with an encapsulation type that does not support the service mode, the system will display a prompt.

Only aal5snap supports InARP. InARP cannot be configured when aal5mux is adopted.

To change the AAL5 encapsulation type of PVC to aal5mux, InARP must be deleted first if it has been configured.

Example

# The first method is as follows(Specify the AAL5 encapsulation type of the PVC 2/45 as aal5snap):.

<Huawei>system-view
[Huawei]interface atm 1/0/0
[Huawei-Atm1/0/0]pvc 2/45
[Huawei-atm-pvc-Atm1/0/0-2/45] encapsulation aal5snap
Related Topics

interface atm

Function

The interface atm command creates an ATM sub-interface and displays the ATM interface view.

The undo interface atm command deletes an ATM sub-interface.

By default, the type of a sub-interface is P2MP.

Format

interface atm interface-number

interface atm interface-number.subinterface-number [ p2mp | p2p ]

undo interface atm interface-number

undo interface atm interface-number.subinterface-number

Parameters

Parameter Description Value
interface-number Specifies the number of an ATM interface. -
subinterface-number Specifies the number of an ATM sub-interface. The value is an integer that ranges from 1 to 1024.
p2mp Specifies the type of a sub-interface of p2mp. -
p2p Specifies the type of a sub-interface of p2p. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Currently, ATM is mainly used at the data link layer. Based on packet switching, ATM inherits high-speed circuit switching to provide a universal connection-oriented transfer mode suitable for various services. This allows ATM to carry multiple upper-layer protocols, such as IP, IPoE, PPP, and PPPoE. Their applications are called IPoA, IPoEoA, PPPoA, and PPPoEoA.
  • Run the interface atm interface-number command to enter the ATM interface view and configure PVCs.

  • Run the interface atm interface-number.subinterface-number [ p2mp | p2p ] command to enter the ATM sub-interface view and configure PVCs.

    The type of an ATM sub-interface can be P2MP or P2P. Multiple PVCs can be created on a P2MP sub-interface, whereas only one PVC can be created on a P2P sub-interface.

Precautions

Before changing the sub-interface type, run the undo interface atm interface-number.subinterface-number command on the sub-interface.

Example

# Enter the ATM 1/0/0 interface view.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0]

# Create and enter ATM 1/0/0.1, and set its type to P2P.

<Huawei> system-view
[Huawei] undo interface atm 1/0/0.1
[Huawei] interface atm 1/0/0.1 p2p
[Huawei-Atm1/0/0.1]
Related Topics

ip dscp

Function

The ip dscp command maps a range of DSCP values of IP packets to a PVC.

The undo ip dscp command deletes the mapping between a range of DSCP values and a PVC.

By default, IP packets carrying DSCP identifier on a PVC have not precedences

Format

ip dscp { pvc-name [ vpi/vci ] | vpi/vci } { min [ max ] | default }

undo ip dscp [ pvc-name [ vpi/vci ] | vpi/vci ]

Parameters

Parameter Description Value
pvc-name

Specifies a PVC name.

This parameter is used in the pvc command line. The vpi/vci values of each PVC on an ATM interface (main interface or sub-interface) is unique.

The value is a string of 1 to 16 case-insensitive characters.

vpi

Specifies vpi to be the virtual path identifier (VPI) for a virtual path on an ATM network.

The PVC specified by vpi must have been created.

The value is an integer. It is ranging from 0 to 255.

vci

Specifies vci to be the virtual channel identifier (VCI) for a virtual channel on an ATM network.

The PVC specified by vci must have been created.

The value is an integer ranging from 0 to 2 and 5 to 65534.

min

Specifies the minimum IP precedence value of IP packets to be transmitted along the PVC.

The value is an integer ranging from 0 to 63.

max

Specifies the maximum IP Precedence value of IP packets to be transmitted along the PVC.

The value is an integer ranging from 0 to 63.

default

Indicates that the PVC transmits IP packets with default precedence.

-

Views

ATM-PVC group view, IMA-Group-PVC-Group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Configuring PVC groups can classify service data based on precedence values. IP packets that are transmitted over ATM links can be classified based on the ToS field of packets.

The ToS field in an IP packet contains a DSCP or precedence value. Perform the following operations to map DSCP or precedence values to PVCs:
  • If the ToS field contains a DSCP value, run the ip dscp command to map a DSCP value to a PVC.

    The DSCP value uses 6 bits of the ToS field, ranging from 0 to 63. The greater the value, the higher the precedence. After precedence values are mapped to PVCs, IP packets with different precedence values are transmitted along specified PVCs. This allows services with different precedence values to be transmitted separately.

    The parameters of the ip dscp command can be selected as required.
    • Running the ip dscp { pvc-name [ vpi/vci ] | vpi/vci } min [ max ] command can configure IP packets with DSCP values between min and max to be transmitted along a PVC with the specified vpi/vci values.

    • Running the ip dscp { pvc-name [ vpi/vci ] | vpi/vci } default command can configure all IP packets without specified PVCs to be transmitted along the PVC with the specified vpi/vci values.

  • If the ToS field contains a precedence value, run the ip precedence command to configure a PVC to transmit IP packets with the precedence value.

Prerequisites

Create the PVC for transmitting IP packets.

Precautions

DSCP values can be mapped only to PVCs in the PVC group. The min value must be smaller than or equal to the max value. If the PVC to which a specific DSCP value is mapped goes Down or the PVC is not mapped to a specific DSCP value, IP packets with this DSCP value will be transmitted along the default PVC. If the default PVC is also Down, the packets will be transmitted along a PVC to which a smaller DSCP value is mapped. The following PVC forwarding modes are recommended:
  • Forward unicast packets over PVCs to which IP priorities of these packets are mapped.
  • Forward IS-IS, multicast, and broadcast packets over the PVC to which the DSCP value of 63 is mapped.

The ip dscp command takes effect only for the ATM PVC group containing the PVCs transmitting IPoA packets.

Example

# Configure PVC with the name of mypvc and VPI/VCI of 2/45 to transmit IP packets with DSCP values of 0 to 3.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-ATM1/0/0] pvc mypvc 2/45
[Huawei-atm-pvc-Atm1/0/0-2/45-mypvc] quit
[Huawei-ATM1/0/0] pvc-group mypvc 2/45
[Huawei-Atm1/0/0-atm-pvc-group-2/45-mypvc] ip dscp mypvc 2/45 0 3
Related Topics

ip precedence

Function

The ip precedence command maps a range of IP precedence values to a PVC.

The undo ip precedence command deletes the mapping between a range of IP precedence values and a PVC.

By default, a PVC is not configured with a precedence.

Format

ip precedence { pvc-name [ vpi/vci ] | vpi/vci } { min [ max ] | default }

undo ip precedence [ pvc-name [ vpi/vci ] | vpi/vci ]

Parameters

Parameter Description Value
pvc-name

Specifies a PVC name.

This parameter is used in the pvc command line. The vpi/vci values of each PVC on an ATM interface (main interface or sub-interface) are unique.

The value is a string of 1 to 16 case-insensitive characters.

vpi

Specifies vpi to be the virtual path identifier (VPI) for a virtual path on an ATM network.

The PVC specified by vpi must have been created.

The value is an integer. It is ranging from 0 to 255.

vci

Specifies vci to be the virtual channel identifier (VCI) for a virtual channel on an ATM network.

The PVC specified by vci must have been created.

The value is an integer ranging from 0 to 2 and 5 to 65534.

min

Specifies the minimum IP precedence value of IP packets to be transmitted along the PVC.

The value is an integer ranging from 0 to 7.

max

Specifies the maximum IP precedence value of IP packets to be transmitted along the PVC.

The value is an integer ranging from 0 to 7.

default

Indicates that the PVC transmits IP packets with the default precedence value.

-

Views

ATM-PVC group view, IMA-Group-PVC-Group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Configuring PVC groups can classify service data based on precedence values IP packets that are transmitted over FR links can be classified based on the ToS fields of packets.

The ToS field in an IP packet contains a DiffServ Code Point (DSCP) or precedence value. Perform the following operations to map DSCP or precedence values to PVCs:
  • If ToS fields of packets contain precedence values, run the ip precedence command to map precedence values of packets to a PVC.

    The 3-bit precedence value in the ToS field ranges from 0 to 7. It can identify 8 precedence values. The larger the value, the higher the precedence. After IP precedence values are mapped to PVCs, IP packets with different IP precedence values are transmitted along separate PVCs. This allows services with different precedence values to be transmitted separately.

    The parameters of the ip precedence command can be selected as required.
    • Running the ip precedence { pvc-name [ vpi/vci ] | vpi/vci } min [ max ] command, you can configure IP packets with DSCP values ranging from min to max to be transmitted along a PVC with a specified vpi/vci value.

    • Running the ip precedence { pvc-name [ vpi/vci ] | vpi/vci } default command configures all IP packets without specified PVCs to be transmitted along the PVC with the specified vpi/vci value.

  • If ToS fields of packets contain DSCP values, run the ip dscp command to map DSCP values of packets to a PVC.

Prerequisites

Create the PVC to which the DSCP values of packets are mapped.

Precautions

DSCP values can be mapped only to PVCs in the PVC group. The min value must be smaller than the max value. If the PVC to which a specific DSCP value is mapped goes Down or the PVC is not mapped to a specific DSCP value, IP packets with this DSCP value will be transmitted along the default PVC. If the default PVC is also Down, the packets will be transmitted along a PVC to which a smaller DSCP value is mapped. By default, the device forwards IS-IS, multicast, and broadcast packets along the PVC to which DSCP value 6 is mapped. Sufficient bandwidth resources must be reserved for a PVC carrying protocol packets to ensure that the protocol packets are transmitted properly. If traffic congestion on the PVC causes the protocol packets to fail to be transmitted, service interruption may occur. The following PVC forwarding modes are recommended:
  • Forward unicast packets over PVCs to which IP precedence values of these packets are mapped.
  • Forward IS-IS, multicast, and broadcast packets over the PVC to which the DSCP value of 7 is mapped.

The VPI/VCI values configured for the primary and secondary ATM PVCs in an ATM PVC group must be the same on the local and remote ends. The IP precedence value configured for each ATM PVC must also be the same on the local and remote ends. If ATM PVCs on the local and remote ends are configured with different IP precedence values, services provided by the ATM PVC group will be interrupted.

The ip precedence command takes effect only for the ATM PVC group containing the PVCs transmitting IPoA packets.

Example

# Configure PVC with the name of huawei and VPI/VCI of 2/45 to transmit IP packets with IP precedence values of 0 to 3.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-ATM1/0/0] pvc huawei 2/45
[Huawei-atm-pvc-Atm1/0/0-2/45-huawei] quit
[Huawei-ATM1/0/0] pvc-group huawei 2/45
[Huawei-Atm1/0/0-atm-pvc-group-2/45-huawei] ip precedence huawei 2/45 0 3
Related Topics

map bridge

Function

The map bridge command sets up the IPoEoA mapping or PPPoEoA mapping on the PVC.

The undo map bridge command deletes the IPoEoA mapping or PPPoEoA mapping on the PVC.

By default, no mapping is configured on the PVC.

Format

map bridge virtual-ethernet interface-number

undo map bridge

Parameters

Parameter Description Value
virtual-ethernet interface-number

Specifies the interface number of a VE interface. The format is slot number/module number/sequence number.

The sequence number ranges from 0 to 127.

The VE interface has been created.

Views

ATM-PVC view, IMA-PVC view

Default Level

2: Configuration level

Usage Guidelines

NOTE:

Because the upper layer of the link layer of the VE interface is Ethernet and the lower layer is AAL5, the MAC address of the VE interface is not the actual one and it cannot be obtained from the hardware. You must manually configure the correct MAC address.

IPoE over ATM (IPoEoA) means that IPoE packets are encapsulated into ATM cells and transmitted on ATM networks. IPoEoA is applicable to the scenario where a device is connected to the remote server to access an external server at a high speed. An ATM PVC can be used to bear traffic between the device and the server that is far away from the device. In addition, the server must provide an ATM interface to bear Ethernet packets.

PPPoE over ATM (PPPoEoA) is used to bear PPP over Ethernet (PPPoE) packets on an ATM network. This means that Ethernet packets are encapsulated in ATM cells. A PVC can be used to provide all Ethernet functions.

Running the map bridge virtual-ethernet interface-number command can configure IPoEoA or PPPoEoA mapping.

Example

The following examples display a complete process of the IPoEoA configuration.

# Create VE 0/0/2.

<Huawei> system-view
[Huawei] interface virtual-ethernet 0/0/2

# Configure IP address 10.1.1.1/16 for the interface.

[Huawei-Virtual-Ethernet0/0/2] ip address 10.1.1.1 255.255.0.0
[Huawei-Virtual-Ethernet0/0/2] quit

# Create PVC 1/102 at ATM 0/0/2

[Huawei] interface atm 0/0/2
[Huawei-Atm0/0/2] pvc 1/102

# Use the VE interface to set up the IPoE mapping in the PVC view.

[Huawei-atm-pvc-Atm0/0/2-1/102] map bridge virtual-ethernet 0/0/2
Related Topics

map bridge broadcast

Function

The map bridge broadcast command configures a PVC to send and receive bridge packets.

The undo map bridge broadcast command prohibits a PVC from sending and receiving bridge packets.

By default, a PVC on an ATM interface is not configured to send and receive bridge packets.

NOTE:

Only the AR509G-L-D-H and AR509GW-L-D-H support this command.

Format

map bridge broadcast

undo map bridge broadcast

Parameters

None

Views

ATM-PVC view, IMA-PVC view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When two Ethernet networks communicate with each other by using ATM links or IMA group links, the Ethernet frames need to be transmitted by means transparent bridging (TB). The map bridge broadcast command can be run to allow a PVC to send and receive bridge packets.

Prerequisites

Interfaces have been added to a bridge group.

Precautions

On an ATM interface, only one PVC is allowed to send and receive bridge packets.

If a PVC is deleted, the configuration (sending and receiving bridge packets) of the PVC will also be automatically deleted.

Example

# Configure PVC 1/102 to send and receive bridge packets.

<Huawei> system-view
[Huawei] interface atm 1/0/1
[Huawei-Atm1/0/1] bridge 2
[Huawei-Atm1/0/1] pvc 1/102
[Huawei-atm-pvc-Atm1/0/1-1/102] map bridge broadcast

map ip

Function

The map ip command creates the IPoA mapping for the PVC.

The undo map ip command deletes the mapping.

By default, no mapping is configured.

Format

map ip { ip-address | default | inarp [ minutes ] } [ broadcast ]

undo map ip [ ip-address | default | inarp ]

Parameters

Parameter Description Value
ip-address Specifies the peer IP address mapping to PVC. -
default Configures a mapping with the default route property. If a packet cannot find a mapping of the next hop at the interface, and a certain PVC has the default mapping, the packet can be sent over the PVC. -
inarp Enables InARP at a PVC. -
minutes Specifies the interval of sending InARP packets in minutes. The value ranges from 1 to 600. The default is 1.
broadcast Indicates the pseudo broadcast. If a mapping with such property is configured at PVC, the broadcast packets of a PVC interface are sent at the PVC. -

Views

ATM-PVC view, IMA-PVC view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

IPoA means that IP packets are encapsulated into ATM cells and transmitted on ATM networks. As bearer networks for IP services, ATM networks provide good network performance and mature QoS assurance. Running the map ip command to create IPoA mapping is to associate the protocol address of a remote device with a local PVC. This helps upper-layer protocols locate the remote device based on its protocol address.

Running the map ip ip-address command configures a mapping between a PVC and a destination IP address. Every IP packet to be transmitted on an IPoA network must be mapped to a PVC. You can perform the following operations to configure mappings in batches:
  • To map all the IP packets destined for the same network segment to one PVC, run the map ip ip-address command.
  • To map all the IP packets that have not been mapped to any PVCs to one PVC, run the map ip default command.
  • If the local device is the DTE, run the map ip inarp [ minutes ] command to use InARP for automatic mapping. In this case, you do not need to configure mappings between IP addresses and PVCs.

    NOTE:

    minutes must be set to a proper value based on the network topology stability. If the network topology changes frequently, set a small minutes value. If the network topology is stable, set a large minutes value.

    The AR509G-L-D-H, AR509GW-L-D-H, do not support map ip inarp [ minutes ] command.

If the upper-layer protocol, such as OSPF, transmits packets in broadcast mode on an ATM network, configure broadcast for the PVC. If a PVC is configured with broadcast, all broadcast packets on the PVC's interface are sent along the PVC.

Prerequisites

The aal5snap encapsulation type has been configured.

Precautions

The IP address specified in this command must be the IP address of the peer interface. Otherwise, data cannot be correctly forwarded.

One IP address cannot be mapped to multiple ATM interfaces or sub-interfaces on the same device. Otherwise, traffic cannot be properly forwarded.

Example

# Create a static mapping on PVC 2/45. Configure the peer IP address to 10.1.1.1 and configure the address to support pseudo broadcast.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc 2/45
[Huawei-atm-pvc-Atm1/0/0-2/45] map ip 10.1.1.1 broadcast

# Enable InARP at PVC 2/45 to make the interface automatically obtain the peer address and send InARP packets every 10 minutes.

[Huawei-atm-pvc-Atm1/0/0-2/45] map ip inarp 10
Related Topics

map ppp

Function

The map ppp command creates a mapping between PPPoA and a PVC.

The undo map ppp command deletes the mapping between PPPoA and a PVC.

By default, PPPoA is not configured.

Format

map ppp { virtual-template vt-number [ server ] | dialer dialer-number }

undo map ppp

Parameters

Parameter Description Value
virtual-template vt-number Specifies the number of the VT interface for PPPoA. The vt-number must have been created by interface virtual-template command. The value is an integer ranging from 0 to 1023.
server Configures the device as a PPPoA server. -
dialer dialer-number Specifies the number of the Dialer interface for PPPoA. The interface must have been created by interface dialer command.

The value is an integer and the value range is 0 to 127.

Views

ATM-PVC view, IMA-PVC view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

ATM has short communication delays and high network throughput, but does not support authentication. This means that unauthorized users can use ATM to access enterprise networks. Point-to-Point Protocol (PPP) is a data link layer protocol used to transmit network layer packets on P2P links. It supports authentication and is extensible. PPPoA allows devices to check validity of users that attempt to log in. This improves ATM network security.
NOTE:
PPPoA means that PPP packets are encapsulated into ATM cells and transmitted over the ATM network. IP or other protocol packets are encapsulated into PPP packets. PPP provides flexible and various applications for PPPoA.
PPPoA links are classified into the following types:
  • Permanent-online PPPoA: You can run the map ppp virtual-template vt-number command to configure permanent-online PPPoA.
  • On-demand PPPoA: You can run the map ppp virtual-template vt-number or map ppp dialer dialer-number command to configure on-demand PPPoA.

Prerequisites

A virtual template (VT) interface or a dialer interface has been created.

Precautions

If on-demand PPPoA is configured, a PPP connection will be automatically terminated after a period of time that is set in the dial control center (DCC). Therefore, the undo map ppp command does not need to be run.

The Dialer interface to be specified in the map ppp dialer dialer-number command must be the one that is not used and is configured with the PPP encapsulation mode. If the Dialer interface is used or configured with another encapsulation mode, the system displays an error.

Example

The following example describes a complete process for configuring PPPoA.

# Create VT interface 10 and assign an IP address to this interface.

<Huawei> system-view
[Huawei] interface virtual-template 10
[Huawei-Virtual-Template10] ip address 10.1.1.1 255.255.255.0
[Huawei-Virtual-Template10] quit

# Create PVC 1/101 on ATM 1/0/0.

[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc 1/101

# Configure PPPoA on VT interface 10.

[Huawei-atm-pvc-Atm1/0/0-1/101] map ppp virtual-template 10
Related Topics

oam ais-rdi

Function

Using the oam ais-rdi command, you can enable Alarm Indication Signal (AIS) or Remote Defect Indication (RDI) cell detection.

Using the undo oam ais-rdi command, you can disable AIS or RDI cell detection.

By default, AIS or RDI cell detection is disabled.

Format

oam ais-rdi [ up up-count down down-count ]

undo oam ais-rdi

Parameters

Parameter Description Value
up up-count

Specifies the number of consecutive seconds during which AIS/RDI cells are not received before the PVC becomes Up.

The value is an integer that ranges from 1 to 10, in seconds. The default value is 2.

down down-count

Specifies the number of consecutively received AIS/RDI cells before the PVC becomes Down.

The value is an integer that ranges from 1 to 5. The default value is 2.

Views

ATM-PVC view, IMA-PVC view, IMA-Group-PVC-Group-PVC view, ATM-PVC-Group-PVC view

Default Level

2: Configuration level

Usage Guidelines

An AIS cell is sent to notify the downstream device that the upstream device is faulty. An RDI cell is sent to notify the upstream device that the downstream device is unreachable. After AIS or RDI cell detection is enabled, if the device receives AIS/RDI cells of a number specified by down-count, the PVC becomes Down. If the device does not receive AIS/RDI cells within the specified number of consecutive seconds specified by up-count, the PVC becomes Up.

Example

# Set up-count to 5s and down-count to 5 on PVC2/45.

<Huawei> system-view
[Huawei] interface atm 2/0/0
[Huawei-Atm2/0/0] pvc 2/45
[Huawei-atm-pvc-Atm2/0/0-2/45] oam ais-rdi up 5 down 5

oam cc end-to-end

Function

Using the oam cc end-to-end command, you can enable the OAM Continuity Check (CC) function.

Using the undo oam cc end-to-end command, you can disable the OAM CC function.

By default, OAM CC is disabled.

Format

oam cc end-to-end { both | sink | source }

undo oam cc end-to-end { both | sink | source }

Parameters

Parameter Description Value
both

Indicates that the PVC receives CC cells when it functions as the receive end and the PVC encapsulates CC cells into cell flows when it functions as the transmit end.

-

sink

Indicates that the PVC receives CC cells when it functions as the receive end.

-

source

Indicates that the PVC encapsulates CC cells into cell flows when it functions as the transmit end.

-

Views

ATM-PVC view, IMA-PVC view, IMA-Group-PVC-Group-PVC view, ATM-PVC-Group-PVC view

Default Level

2: Configuration level

Usage Guidelines

OAM CC allows the device to encapsulate CC cells into cell flows periodically. If CC cells are transmitted successfully, connectivity is normal. This detection mode occupies certain bandwidth on each link.

After CC is enabled, if the device does not receive CC cells in 3s, the PVC becomes Down. After the device receives CC cells, the PVC becomes Up.

NOTE:

When you configure CC, if source or both is configured on one end, sink or both must be configured on the other end.

Example

# Enable CC on PVC2/45.

<Huawei> system-view
[Huawei] interface atm 2/0/0
[Huawei-Atm2/0/0] pvc 2/45
[Huawei-atm-pvc-Atm2/0/0-2/45] oam cc end-to-end sink

oam loopback

Function

Using the oam loopback command, you can enable OAM F5 loopback cell transmission and retransmission detection.

Using the undo oam loopback command, you can disable OAM F5 loopback cell transmission and retransmission detection.

By default, the device does not send OAM F5 loopback cells, but the device must respond to the received OAM F5 loopback cells.

Format

oam loopback [ up up-count down down-count retry-frequency retry-frequency ]

undo oam loopback

Parameters

Parameter Description Value
up up-count

Specifies the number of consecutive OAM F5 loopback cells received before the PVC changes from Down to Up.

The value is an integer that ranges from 1 to 10. The default value is 5.

down down-count

Specifies the number of consecutive OAM F5 loopback cells not received before the PVC changes from Up to Down.

The value is an integer that ranges from 1 to 10. The default value is 5.

retry-frequency retry-frequency

Specifies the interval at which OAM F5 loopback cells are sent during retransmission detection before the PVC status changes.

The value is an integer that ranges from 1 to 10, in seconds. The default value is 5.

Views

ATM-PVC view, IMA-PVC view, IMA-Group-PVC-Group-PVC view, ATM-PVC-Group-PVC view

Default Level

2: Configuration level

Usage Guidelines

OAM F5 loopback cells are sent to detect connectivity on the ATM network. After OAM F5 loopback cell transmission and retransmission detection are enabled, the PVC status changes only when a certain number of OAM F5 loopback cells are received.

Example

# Enable OAM F5 loopback cell detection on PVC2/45, and set up-count to 4, down-count to 4, and the interval at which OAM F5 loopback cells are sent during retransmission detection to 2s.

<Huawei> system-view
[Huawei] interface atm 2/0/0
[Huawei-Atm2/0/0] pvc 2/45
[Huawei-atm-pvc-Atm2/0/0-2/45] oam loopback up 4 down 4 retry-frequency 2

oamping pvc

Function

Using the oamping pvc command, you can test connectivity of an ATM link on a specified ATM interface.

Format

oamping pvc { pvc-name | vpi/vci } [ number timeout ]

Parameters

Parameter Description Value
pvc-name

Specifies the name of the PVC on which OAM cells are sent.

The value is a string of 1 to 16 case-insensitive characters without spaces.

vpi/vci

Specifies the VPI/VCI pair of the PVC on which OAM cells are sent.

The VPI value ranges from 0 to 255 and the VCI value ranges from 0 to 2 and 5 to 65534.

number

Specifies the number of OAM cells sent consecutively.

The value is an integer that ranges from 1 to 1000. The default value is 4.

timeout

Specifies the timeout interval during which no OAM response message is received.

The value is an integer that ranges from 1 to 30, in seconds. The default value is 2.

Views

ATM interface view

Default Level

2: Configuration level

Usage Guidelines

The device can send OAM cells on a PVC of a specified ATM interface to determine connectivity of the ATM link. If no ATM response message is received within the timeout interval, packets are lost on the ATM link because the ATM link is unreachable or busy.

Example

# On PVC2/45 of ATM2/0/0, set number to 3 and timeout to 1s.

<Huawei> system-view
[Huawei] interface atm 2/0/0
[Huawei-Atm2/0/0] oamping pvc 2/45 3 1

pvc

Function

The pvc command creates a PVC of the specified VPI/VCI or PVCs of the specified VPI/VCI in batches and displays the PVC view or the PVC batch view.

The undo pvc command deletes the specified PVC.

By default, no PVC is created.

Format

pvc { { pvc-name [ vpi/vci ] | vpi/vci } | { start-vpi/start-vci end-vpi/end-vci } }

undo pvc { pvc-name [ vpi/vci ] | vpi/vci }

Parameters

Parameter Description Value
pvc-name

Specifies a PVC name.

This parameter is used in the pvc command line. The vpi/vci values of each PVC on an ATM interface (main interface or sub-interface) is unique.

The value is a string of 1 to 16 case-insensitive characters. It cannot contain a space or question mark (?).

vpi

Specifies vpi to be the virtual path identifier (VPI) for a virtual path on an ATM network.

The PVC specified by vpi must have been created.

The value is an integer. It is ranging from 0 to 255.

vci

Specifies vci to be the virtual channel identifier (VCI) for a virtual channel on an ATM network.

The PVC specified by vci must have been created.

The value is an integer ranging from 0 to 2 and 5 to 65534.

start-vpi/start-vci Specifies the start vpi/vci in PVCs configured in batches.

The start-vpi value is an integer. It is ranging from 0 to 255.

The start-vci value is an integer ranging from 0 to 2 and 5 to 65534.

end-vpi/end-vci Specifies the start vpi/vci in PVCs configured in batches.

The start-vpi value is an integer. It is ranging from 0 to 255.

The start-vci value is an integer ranging from 0 to 2 and 5 to 65534.

Views

Atm sub-interface view, ATM-PVC group view, IMA group view, IMA group sub-interface view, IMA-Group-PVC-Group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

ATM is mainly used at the data link layer. ATM works based on packet switching and inherits high-speed circuit switching to provide a universal connection-oriented transfer mode. This transfer mode is applicable to various services. It allows multiple upper-layer protocols (such as the IPoA, IPoEoA, PPPoA, and PPPoEoA) to be carried on the ATM network.

ATM is connection-oriented. ATM connections are logical connections, called virtual circuits (VCs). Each VC is identified by a virtual path identifier (VPI) and a virtual channel identifier (VCI). A pair of VPI/VCI takes effect only on one link between two ATM nodes. Each ATM node maps the VPI/VCI values into a specific address. When an ATM connection is released, the VPI/VCI values for the connection are also reclaimed and put into a resource table. Then, the VPI/VCI values can be used again.

If pvc-name is configured to create a PVC, vpi/vci values must be specified for the PVC. After a PVC is configured with a PVC name, run the pvc pvc-name command to display the PVC view. To delete this PVC, run the undo pvc command with either the PVC name or the VPI/VCI values of the PVC.

Precautions

PVCs with the same attributes can be created or deleted in batches. The principles for deleting PVCs in batches are as follows:
  • Run the pvc command to create PVCs with the same attributes in batches in one of the following situations:
    • PVCs to be created have the same VPI value and consecutive VCI values.
    • PVCs to be created have the same VCI value and consecutive VPI values.
    • PVCs to be created have consecutive VPI values and are in the same VCI range.
    • If PVCs to be created have consecutive VPI values and are in different VCI ranges, create PVCs in batches based on VPIs.
    • If PVCs to be created have inconsecutive VPI values, check whether the PVCs can be created in batches based on their VPI values.
    PVCs with different attributes cannot be displayed in batches.

    The IMA group interfaces do not support the batch PVC creation function.

  • Running the undo pvc command can delete PVCs with different attributes in batches as long as these PVCs are within the specified VPI/VCI range.

Example

# Create a PVC named "huawei" with VPI/VCI being 1/101.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc huawei 1/101
Related Topics

pvc-group

Function

The pvc-group command creates a PVC group on an interface or displays the PVC group view.

The undo pvc-group command deletes a specified PVC group.

By default, a PVC group on an interface is not created.

Format

pvc-group { pvc-name [ vpi/vci ] | vpi/vci }

undo pvc-group { pvc-name [ vpi/vci ] | vpi/vci }

Parameters

Parameter Description Value
pvc-name

Specifies a PVC name.

This parameter is used in the pvc command line. The vpi/vci values of each PVC on an ATM interface (main interface or sub-interface) are unique.

The value is a string of 1 to 16 case-insensitive characters. It cannot contain a space or question mark (?).

vpi

Specifies vpi to be the virtual path identifier (VPI) for a virtual path on an ATM network.

The PVC specified by vpi must have been created.

The value is an integer. It is ranging from 0 to 255.

vci

Specifies vci to be the virtual channel identifier (VCI) for a virtual channel on an ATM network.

The PVC specified by vci must have been created.

The value is an integer ranging from 0 to 2 and 5 to 65534.

Views

ATM interface view, ATM sub-interface view, IMA group view, IMA group sub-interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a PVC group is not configured, each PVC can be mapped only to one IP address. That is, a subscriber's traffic flow can occupy only one PVC. The traffic flows of different types of the subscriber evenly share the PVC's bandwidth. This processing cannot meet various services' different requirements for reliability and transmission delays. After a PVC group is configured, a subscriber's traffic flow can occupy multiple PVCs. You can specify PVCs in the PVC group to separately transmit IP packets with different precedence values. This transmission mechanism provides different QoSs for different services.

If a pvc-name value (such as "huawei") has been specified for a PVC, running the pvc-group pvc-name command with the pvc-name value of "huawei" can display a PVC group view. This upgrades the PVC named pvc-name to a PVC group.

To delete a PVC group, you can run the undo pvc-group pvc-name command. If the name of the PVC group is "huawei", you can run the undo pvc-group huawei command. Alternatively, you can run the undo pvc-group vpi/vci command. If the VPI/VCI values of the PVC group are 2/45, you can run the undo pvc-group vpi/vci command.

Prerequisites

Check that the PVC with the same name or VPI/VCI value has been created.

Precautions

The virtual path identifier (VPI)/virtual channel identifier (VCI) values configured for the primary and secondary ATM PVCs in an ATM PVC group must be the same on the local and remote ends. The IP precedence value or the DSCP value carried by the IP packet on each ATM PVC must also be the same on the local and remote ends. If the IP packets on ATM PVCs on the local and remote ends are configured with different IP precedence values (ip precedence) or DSCP values (ip dscp), services provided by the ATM PVC group will be interrupted.

If a PVC link is unstable, you must configure ATM OAM on the PVC interface of the local end to sense the PVC status change on the remote end.

Example

# Create a PVC group based on the PVC named huawei and with the VPI or VCI value of 2 or 45.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc huawei 2/45
[Huawei-atm-pvc-Atm1/0/0-2/45-huawei] quit
[Huawei-Atm1/0/0] pvc-group huawei 2/45
Related Topics

pvc-protect

Function

The pvc-protect command configures protection for member permanent virtual channels (PVCs) in a PVC group.

The undo pvc-protect command disables protection for member PVCs in a PVC group.

By default, protection for member PVCs in a PVC group is disabled.

Format

pvc-protect { pvc-name [ vpi/vci ] | vpi/vci } individual

undo pvc-protect { pvc-name [ vpi/vci ] | vpi/vci }

Parameters

Parameter Description Value
pvc-name

Specifies a PVC name.

This parameter is used in the pvc command line. The vpi/vci values of each PVC on an asynchronous transfer mode (ATM) interface (main interface or sub-interface) are unique.

The value is a string of 1 to 16 case-insensitive characters.

vpi/vci

Specifies the virtual path identifier (VPI) and virtual channel identifier (VCI) on an ATM network.

The PVC specified by vpi/vci must have been created.

The vpi value is an integer ranging from 0 to 255.

The vci value is an integer ranging from 0 to 2 and 5 to 65534.

individual

Specifies the Individual mode in which PVCs are protected separately.

-

Views

ATM-PVC group view, IMA-Group-PVC-Group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By configuring a PVC group, users can specify PVCs in the group to separately transmit IP packets with different priorities. In addition, the PVCs can be configured to provide differential QoS assurance based on application requirements. If a PVC with a high priority goes Down, the device automatically searches for a PVC with a low priority to take over user traffic. This mechanism prevents a service interruption, but a user cannot detect the link fault.

To configure protection for member PVCs in a PVC group, run the pvc-protect command. If the link goes faulty on a protected member PVC, the PVC group becomes unavailable so that traffic cannot be forwarded. This way helps detect the link fault promptly and locate the cause.

Precautions

If the pvc-protect command is configured on a member PVC on which no service is running in the PVC group, the PVC group goes Down when the member PVC goes Down. If the PVC group goes Down, all member PVCs go Down, which causes the services running on other member PVCs to be interrupted.

Example

# Configure protection for member PVCs named huawei in a PVC group.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-ATM1/0/0] pvc huawei 2/45
[Huawei-atm-pvc-Atm1/0/0-2/45-huawei] quit
[Huawei-ATM1/0/0] pvc-group huawei 2/45
[Huawei-atm-pvc-group-Atm1/0/0-2/45-huawei] pvc-protect huawei 2/45 individual
Related Topics

pvc max-number

Function

The pvc max-number command sets the maximum number of VCs on an ATM interface.

The undo pvc max-number command restores the default maximum number of VCs on an ATM interface.

By default, G.SHDSL interfaces, E1-IMA interfaces, and IMA groups support a maximum of eight VCs on an ATM interface; ADSLand VDSL interfaces support a maximum of 16 VCs on an ATM interface.

Format

pvc max-number max-number

undo pvc max-number

Parameters

Parameter Description Value
max-number Specifies the supported maximum VC number. The value is an integer. The value range is as follows:
  • G.SHDSL interfaces, E1-IMA interfaces, and IMA groups: 1-8
  • ADSL and VDSL interfaces: 1-16

Views

ATM interface view, IMA-Group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To prevent device resources from being exhausted, run the pvc max-number command to configure the maximum number of VCs on an ATM interface. If the number of PVCs configured on an ATM interface reaches the upper limit, no PVC can be created again.

Precautions

Running the pvc max-number command can configure the maximum number of VCs that are shared by the ATM main interface and sub-interfaces.

If an ATM main or sub-interface has PVCs, the number of PVCs configured using the pvc max-number command must be greater than the number of existing PVCs.

This command can be executed only in the view of an ATM main interface.

Example

# Sets the maximum number of VCs to 8 on ATM 1/0/0.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc max-number 8
Related Topics

pvp limit

Function

The pvp limit command sets the parameters for the VP policing.

The undo pvp limit command deletes the VP policing.

By default, the VP policing is not performed.

Format

pvp limit vpi peak-rate

undo pvp limit vpi

Parameters

Parameter Description Value
vpi Specifies the ATM network VPI. It ranges from 0 to 255 in integer.
peak-rate Specifies the normal traffic. The value ranges from 8 to 4294967295, in Kbit/s.Set the value of peak-rate within the actual bandwidth of an ATM interface.

Views

ATM interface view, IMA group view

Default Level

2: Configuration level

Usage Guidelines

In the VP policing, the parameters of PVC are still valid.

The packets are transmitted only when the packets meet requirements of PVC and VP policing.

The traffic statistics include the LLC/SNAP, MUX and NLPID encapsulation headers except for the ATM cell header.

Example

# Set the traffic of VP with VPI being 1 to 2 M.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvp limit 1 2000

reset atm

Function

The reset atm command clears the ATM interface statistics.

Format

reset atm interface [ atm interface-number ]

Parameters

Parameter Description Value
atm interface-number Specifies the ATM interface index. -

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Based on the status and statistics of an interface displayed by the display atm interface command, you can measure traffic and locate faults.

Before collecting traffic information about a specific interface within a period, clear the existing traffic statistics on this interface.

Precautions

The reset atm command clears statistics on all ATM interfaces. To clear statistics on a specific ATM interface and its sub-interfaces, specify the parameter atm interface-number in the reset atm command.

Example

# Clear the statistics on all interfaces.

<Huawei> reset atm interface
Related Topics

service cbr

Function

The service cbr command specifies the PVC service type as Constant Bit Rate (CBR).

The undo service command restores the PVC service type to the default value.

By default, the service type is Unspecified Bit Rate (UBR) after a PVC is created.

Format

service cbr output-pcr

undo service

Parameters

Parameter Description Value
output-pcr Specifies the peak rate of outputting ATM cells in kbit/s.

The value is an integer in kbit/s and varies according to the interface types.

  • E1-IMA interface: 64 to 1984
  • ADSL interface: 64 to 2048
  • G.SHDSL interface: 64 to 22784
  • VDSL interface: 64 to 34000

Views

ATM-PVC view, IMA-PVC view, IMA-Group-PVC-Group-PVC view, ATM-PVC-Group-PVC view

Default Level

2: Configuration level

Usage Guidelines

This command and the service ubr, service vbr-rt and service vbr-nrt commands can be used to set the service type.

The newly specified PVC service type covers the existing service type.

The CBR can be configured on a maximum of eight PVCs of an ATM interface.

Services, and queue profiles and traffic policies containing CBQ cannot be configured on the ATM main interface simultaneously.

Services, and queue profiles and traffic policies containing CBQ cannot be configured on the ATM sub-interface simultaneously.

Example

# Create a PVC named "huawei" with VPI/VCI being 1/101.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc huawei 1/101

# Specify the PVC service type as CBR. Set the peak rate of outputting ATM cells to 1,000 kbit/s.

[Huawei-atm-pvc-Atm1/0/0-1/101-huawei] service cbr 1000

service ubr

Function

The service ubr command specifies the service type of a PVC as UBR and specifies the rate parameters.

The undo service command restores the PVC service type to the default value.

By default, the service type is UBR after a PVC is created.

Format

service ubr [ output-pcr ]

undo service

Parameters

Parameter Description Value
output-pcr Specifies the peak rate of outputting ATM cells in kbit/s.

The value is an integer in kbit/s and varies according to the interface types.

  • E1-IMA interface: 64 to 1984
  • ADSL interface: 64 to 2048
  • G.SHDSL interface: 64 to 22784
  • VDSL interface: 64 to 34000

Views

ATM-PVC view, IMA-PVC view, IMA-Group-PVC-Group-PVC view, ATM-PVC-Group-PVC view

Default Level

2: Configuration level

Usage Guidelines

This command as well as the service vbr-nrt, service vbr-rt and the service cbr commands can be used to set the service type and service parameters of a PVC.

The newly specified PVC service type covers the existing service type.

Services, and queue profiles and traffic policies containing CBQ cannot be configured on the ATM main interface simultaneously.

Services, and queue profiles and traffic policies containing CBQ cannot be configured on the ATM sub-interface simultaneously.

Example

# Create a PVC named "huawei" with VPI/VCI being 1/101.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc huawei 1/101
# Specify the service type of the PVC as UBR.
[Huawei-atm-pvc-Atm1/0/0-1/101-huawei] service ubr 
# Specify the service type of the PVC as UBR and set the peak rate of ATM cells to 1,000 kbit/s.
[Huawei-atm-pvc-Atm1/0/0-1/101-huawei] service ubr 1000 

service vbr-nrt

Function

The service vbr-nrt command specifies the service type of a PVC as Variable Bit Rate-Non Real Time (VBR-NRT) and specifies the rate parameters.

The undo service command restores the PVC service type to the default value.

By default, the service type is UBR when a PVC is created.

Format

service vbr-nrt output-pcr output-scr output-mbs

undo service

Parameters

Parameter Description Value
output-pcr Specifies the peak rate of outputting ATM cells in kbit/s.

The value is an integer in kbit/s and varies according to the interface types.

  • E1-IMA interface: 64 to 1984
  • ADSL interface: 64 to 2048
  • G.SHDSL interface: 64 to 22784
  • VDSL interface: 64 to 34000
output-scr Specifies the sustainable rate of outputting ATM cells in kbit/s.

The value is an integer in kbit/s and varies according to the interface types.

  • E1-IMA interface: 64 to 1984
  • ADSL interface: 64 to 2048
  • G.SHDSL interface: 64 to 22784
  • VDSL interface: 64 to 34000

output-scr must be no larger than output-pcr.

output-mbs Specifies the maximum burst size of the sent ATM cells, namely the maximum cache number of sent ATM cells. The value ranges from 1 to 512 in cells.

Views

ATM-PVC view, IMA-PVC view, IMA-Group-PVC-Group-PVC view, ATM-PVC-Group-PVC view

Default Level

2: Configuration level

Usage Guidelines

This command and the service cbr, service vbr-rt, and service ubr commands can be used to set the PVC service type and service parameters of Variable Bit Rate-Real Time (VBR-RT) and CBR.

The newly specified PVC service type covers the existing service type.

Services, and queue profiles and traffic policies containing CBQ cannot be configured on the ATM main interface simultaneously.

Services, and queue profiles and traffic policies containing CBQ cannot be configured on the ATM sub-interface simultaneously.

Example

# Create a PVC named "huawei" with VPI/VCI being 1/101.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc huawei 1/101

# Specify the service type of the PVC as VBR-NRT. Set the peak rate of outputting ATM cells to 1,000 kbit/s, sustainable cell output rate to 1,000 kbit/s and the maximum burst size to 320 cells.

[Huawei-atm-pvc-Atm1/0/0-1/101-huawei] service vbr-nrt 1000 1000 320

service vbr-rt

Function

The service vbr-rt command sets the service type of a PVC to Variable Bit Rate-Real Time (VBR-RT) and specifies the rate parameters.

The undo service command restores the PVC service type to the default value.

By default, the service type is UBR when a PVC is created.

Format

service vbr-rt output-pcr output-scr output-mbs

undo service

Parameters

Parameter Description Value
output-pcr Specifies the peak rate of outputting ATM cells in kbit/s.

The value is an integer in kbit/s and varies according to the interface types.

  • E1-IMA interface: 64 to 1984
  • ADSL interface: 64 to 2048
  • G.SHDSL interface: 64 to 22784
  • VDSL interface: 64 to 34000
output-scr Specifies the sustainable rate of outputting ATM cells in kbit/s.

The value is an integer in kbit/s and varies according to the interface types.

  • E1-IMA interface: 64 to 1984
  • ADSL interface: 64 to 2048
  • G.SHDSL interface: 64 to 22784
  • VDSL interface: 64 to 34000
output-scr must be no larger than output-pcr
output-mbs Specifies the maximum burst size of sent ATM cells, namely the maximum cache number of sent ATM cells at the interface. The value ranges from 1 to 512 cells.

Views

ATM-PVC view, IMA-PVC view, IMA-Group-PVC-Group-PVC view, ATM-PVC-Group-PVC view

Default Level

2: Configuration level

Usage Guidelines

This command and the service ubr, service cbr and service vbr-nrt commands can be used to set the service type.

The newly specified PVC service type covers the existing service type.

Services, and queue profiles and traffic policies containing CBQ cannot be configured on the ATM main interface simultaneously.

Services, and queue profiles and traffic policies containing CBQ cannot be configured on the ATM sub-interface simultaneously.

Example

# Create a PVC named "huawei" with VPI/VCI being 1/101.

<Huawei> system-view
[Huawei] interface atm 1/0/0
[Huawei-Atm1/0/0] pvc huawei 1/101

# Specify the service type of the PVC as VBR-RT. Configure the peak rate of outputting ATM cells to 1,000 kbit/s, sustainable output rate to 1,000 kbit/s, the maximum burst size to 320 cells.

[Huawei-atm-pvc-Atm1/0/0-1/101-huawei] service vbr-rt 1000 1000 320
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 92527

Downloads: 126

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next