- Table of Contents
-
- 01-Access Volume
- 01-CPOS Interface Commands
- 02-POS Interface Commands
- 03-Ethernet Interface Commands
- 04-WAN Interface Commands
- 05-Frame Relay Commands
- 06-HDLC Commands
- 07-PPP Commands
- 08-Logical Interface Commands
- 09-Modem Management Commands
- 10-ATM Interface Commands
- 11-ATM Commands
- 12-E-CPOS Interface Commands
- 13-VLAN Termination Commands
- 14-Port Mirroring Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
11-ATM Commands | 180.38 KB |
Table of Contents
ATM Configuration Commands
atm class
Syntax
atm class atm-class-name
undo atm class atm-class-name
View
System view
Default Level
2: System level
Parameters
atm-class-name: Name of an ATM class, a string of 1 to 16 characters.
Description
Use the atm class command to create an ATM class and enter the ATM class view.
Use the undo atm class command to delete the specified ATM class.
An ATM class is a group of predefined parameters that can be used for an ATM interface or PVC.
Related commands: atm-class.
Examples
# Create an ATM class named main and enter ATM class view.
<Sysname> system-view
[Sysname] atm class main
[Sysname-atm-class-main]
atm-class
Syntax
atm-class atm-class-name
undo atm-class
View
ATM interface view, PVC view
Default Level
2: System level
Parameters
atm-class-name: Name of an ATM class, a string of 1 to 16 characters.
Description
Use the atm-class command to apply an ATM class to an ATM interface or a PVC.
Use the undo atm-class command to remove the ATM class applied to an ATM interface or a PVC.
Related commands: atm class.
Examples
# Apply the ATM class named main to interface ATM 1/0.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] atm-class main
atm-link check
Syntax
atm-link check
undo atm-link check
View
ATM P2P subinterface view
Default Level
2: System level
Parameters
None
Description
Use the atm-link check command to make the protocol state of the ATM P2P subinterface adaptive to the protocol state of the PVCs configured on the subinterface in addition to the state of the physical interface. The protocol state of the subinterface is up only when both the physical interface and the PVCs configured on the subinterface are up.
Use the undo atm-link check command to restore the default.
By default, the protocol of the ATM P2P subinterface goes up or comes down depending on the state of the physical interface.
This command applies only to ATM P2P subinterfaces.
Examples
# Enable the protocol state of ATM P2P subinterface 4/0.1 to change depending on the protocol state of the physical interface and the protocol state of the PVCs configured on the subinterface.
<Sysname> system-view
[Sysname] interface atm 4/0.1 p2p
[Sysname-Atm4/0.1] atm-link check
clock
Syntax
clock { master | slave }
undo clock
View
ATM main interface view
Default Level
2: System level
Parameters
master: Specifies the internal transmission clock.
slave: Specifies the line clock.
Description
Use the clock command to specify the clock signal to be adopted by an ATM interface.
Use the undo clock command to restore the default.
By default, an ATM interface uses line clock signal, that is, operates in slave clock mode. This clock signal is usually provided by a device which provides ATM interfaces.
When two network devices are connected back-to-back through ATM interfaces, you must configure the clock mode to master on one side and to slave on the other side.
The effect of this command applies to both ATM main interface and subinterface. However, the command is available only in ATM main interface view.
Related commands: display atm interface.
Examples
# Specify interface ATM 1/0 to adopt the signal of the internal transmission clock.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] clock master
display atm class
Syntax
display atm class [ atm-class-name ]
View
Default Level
1: Monitor level
Parameters
atm-class-name: ATM class name, a string of 1 to 16 characters.
Description
Use the display atm class command to display the information about an ATM class.
Note that:
l If you provide the atm-class-name argument, this command displays the information about the ATM class identified by the argument.
l If you do not specify the atm-class-name argument, this command displays the information about all the ATM classes.
Examples
# Display the information about the ATM class named main.
<Sysname> display atm class main
ATM CLASS: main
Service ubr 8000
encapsulation aal5snap
Table 1-1 display atm class command output description
Field |
Description |
ATM CLASS |
ATM class name |
Service ubr 8000 |
The PVC’s service type and the bit rate |
encapsulation aal5snap |
The type of ATM AAL5 encapsulation of the PVC is aal5snap. |
display atm interface
Syntax
display atm interface [ atm interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-number: Specifies an ATM interface to view its detailed information.
Description
Use the display atm interface command to display detailed information about the specified or all ATM interfaces if no ATM interface is specified.
Examples
# Display the information interface about ATM 4/0.
<Sysname> display atm interface atm 4/0
ATM interface Atm4/0, State UP
Port Information:
Maximum VCs: 1024
PVCs: 5, MAPs: 1
input pkts: 11603, input bytes: 426476, input pkt errors: 37092
output pkts: 14053, output bytes: 519106, output pkt errors: 0
Main interface Information:
PVCs: 4, MAPs: 1
input pkts: 11603, input bytes: 426476, input pkt errors: 19210
output pkts: 14053, output bytes: 519106, output pkt errors: 0
ATM interface Atm4/0.1, point-to-point, State UP
Sub-interface Information:
PVCs: 1, MAPs: 0
input pkts: 0, input bytes: 0, input pkt errors: 17880
output pkts: 0, output bytes: 0, output pkt errors: 0
Table 1-2 display atm interface command output description
Field |
Description |
ATM interface Atm6/0/0, State UP |
Name and state of the interface |
Maximum VCs |
Maximum number of VCs on the ATM interface |
PVCs |
Number of PVCs configured on the interface |
MAPs |
Number of mappings on the interface |
input pkts: 0, input bytes: 0, input pkt errors: 0 |
Received packets, bytes, and errors |
output pkts: 69, output bytes: 2218, output pkt errors: 8 |
Transmitted packets, bytes, and errors |
display atm map-info
Syntax
display atm map-info [ interface interface-type interface-number [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
pvc-name: PVC name, a unique string of 1 to 16 characters on the specified ATM interface, case insensitive. The name cannot be the same as any valid VPI/VCI pair. For example, the name 1/20 is not allowed.
vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier; its value ranges from 0 to 255. VCI is short for virtual channel identifier; its value range varies by interface type. As VCIs from 0 to 31 are reserved for special purposes, do not use them in normal cases. For details regarding the value range, refer to Table 1-8.
Description
Use the display atm map-info command to display the PVC mapping information of the specified ATM interface, PVC, or all ATM interfaces if no interface is specified.
Examples
# Display the PVC mapping information of all ATM interfaces.
<Sysname> display atm map-info
Atm1/0, PVC 1/32, PPP, Virtual-Template10, UP
Atm1/0, PVC 1/33, IP & Mask, State UP
100.11.1.1, mask 255.255.0.0, vlink 1
Atm1/0, PVC 2/101, ETH, Virtual-Ethernet1, UP
Table 1-3 display atm map-info command output description
Field |
Description |
ATM1/0 |
Interface number |
PVC 1/33 |
PVC identifier |
IP & Mask |
Protocol type |
State UP |
PVC state |
100.11.1.1, mask 255.255.0.0 |
Protocol address |
Vlink 1 |
Virtual link number |
display atm pvc-group
Syntax
display atm pvc-group [ interface interface-type interface-number [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Interface type and interface number.
pvc-name: PVC name, a unique string of 1 to 16 characters on an ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI value pair. For example, the name 1/20 is not allowed.
vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier; its value ranges from 0 to 255. VCI is short for virtual channel identifier; its value range varies by interface type. Normally, VCI values from 0 to 31 are reserved for special purpose, you are not recommended to use them. For details regarding the value range, refer to Table 1-8.
Description
Use the display atm pvc-group command to view the information about PVC-Group.
Note that:
l If no interface is specified, the system displays PVC-Group information on all ATM interfaces.
l If the PVC name or the VPI/VCI value pair is not specified, the system displays information of all PVC-Groups on the specified ATM interface.
Examples
# Display the information about PVC-Group on all ATM interfaces.
<Sysname> display atm pvc-group
VPI/VCI PVC-NAME STATE ENCAP PROT INTERFACE GROUP
1/32 aa UP SNAP IP Atm11/0(UP) 1/32
1/33 UP SNAP IP Atm11/0(UP) 1/32
3/34 UP SNAP IP Atm11/0(UP) 1/32
Table 1-4 display atm pvc-group command output description
Field |
Description |
VPI/VCI |
VPI/VCI value pair |
PVC-NAME |
PVC name |
STATE |
PVC state |
ENCAP |
AAL5 encapsulation type of the PVC |
PROT |
Upper protocol running on the PVC |
INTERFACE |
Interface to which the PVC belongs |
GROUP |
PVC group to which the PVC belongs |
display atm pvc-info
Syntax
display atm pvc-info [ interface interface-type interface-number [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Interface type and number.
pvc-name: PVC name, a unique string of 1 to 16 characters on an ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI value pair. For example, the name 1/20 is not allowed.
vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier; its value ranges from 0 to 255. VCI is short for virtual channel identifier; its value range varies by interface type. Normally, VCI values from 0 to 31 are reserved for special purpose, you are not recommended to use them. For details regarding the value range, refer to Table 1-8.
Description
Use the display atm pvc-info command to view the information about a PVC.
Note that:
l Without an interface specified, the system displays PVC information on all ATM interfaces.
l Without a PVC name or a VPI/VCI value pair specified, the system displays all the PVC information on the specified ATM interface.
Examples
# Display the PVC information on all ATM interfaces.
<Sysname> display atm pvc-info
VPI/VCI | STATE | PVC-NAME | INDEX | ENCAP | PROT | INTERFACE
--------|---------|-----------|--------|--------|------|----------
1/32 |UP |aa |33 |SNAP |IP |Atm1/0 (UP)
1/33 |UP |Sysname |34 |MUX |None |Atm1/0 (UP)
1/55 |UP |datacomm |56 |SNAP |PPP |Atm1/0.1 (UP)
2/66 |UP | |68 |SNAP |IP |Atm1/0.4 (UP)
2/101 |UP |beijing |103 |SNAP |ETH |Atm1/0.2 (UP)
Table 1-5 display atm pvc-info command output description
Field |
Description |
VPI/VCI |
VPI/VCI value pair |
STATE |
PVC state |
PVC-NAME |
PVC name |
INDEX |
Internal index of the PVC |
ENCAP |
AAL5 encapsulation type of the PVC |
PROT |
Upper protocol running on the PVC |
INTERFACE |
Interface to which the PVC belongs |
# Display the PVC information on a specified ATM interface (MIM interface card).
<Sysname> display atm pvc-info interface atm 2/0 pvc 1/100
Atm2/0, VPI: 1, VCI: 100, INDEX: 0
AAL5 Encaps: SNAP, Protocol: IP
Service-type: CBR, output-pcr: 200 kbps, CDVT: 500 us
Transmit-Priority: 0
OAM interval: 0 sec(disabled), OAM retry interval: 1 sec
OAM retry count (up/down): 3/5
OAM ais-rdi count (up/down): 3/1
input pkts: 0, input bytes: 0, input pkt errors: 0
output pkts: 0, output bytes: 0, output pkt errors: 0
Interface State: UP, OAM State: UP, PVC State: UP
Output queue : (Urgent queuing : Size/Length/Discards) 0/100/0
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
OAM cells received: 42
F5 InEndloop: 0, F5 InAIS: 42, F5 InRDI: 0
OAM cells sent: 0
F5 OutEndloop: 0
OAM cell drops: 0
OAM CC State: No CC Alarm
Table 1-6 display atm pvc-info interface command output description
Field |
Description |
VPI |
Virtual path identifier |
VCI |
Virtual channel identifier |
INDEX |
Internal index of the PVC |
AAL5 Encaps |
AAL5 encapsulation type of the PVC |
Protocol |
Upper layer protocol running on the PVC |
Service-type |
Service type |
Transmit-Priority |
Transmit priority |
OAM interval |
Interval at which OAM F5 loopback cells are sent |
OAM retry interval |
Interval at which the system retransmits OAM F5 loopback cells |
OAM retry count |
Number of OAM cells transmitted before a PVC is declared up or down |
OAM ais-rdi count |
Number of OAM cells for the device to receive before reporting that the PVC is down; number of seconds for the device to wait before reporting that the PVC is up after the PVC has stopped receiving OAM cells |
input pkts: |
Received packets |
input bytes: |
Received bytes |
input pkt errors: |
Received error packets |
output pkts |
Transmitted packets |
output bytes |
Transmitted bytes |
output pkt errors |
Transmitted error packets |
Interface State |
Link layer protocol status of the interface |
PVC State |
PVC status |
Output queue |
Output queue of the PVC |
OAM cells received |
Received OAM cells |
F5 InEndloop |
Received F5 loopback cells |
F5 InAIS |
Received AIS cells |
F5 InRDI |
Received RDI cells |
OAM cells sent |
Transmitted OAM cells |
F5 OutEndloop |
Transmitted F5 loopback cells |
OAM cell drops |
Dropped OAM cells |
OAM CC State |
OAM CC alarm states |
# Display the PVC information on a specified ATM interface (HIM interface card).
<Sysname> display atm pvc-info interface atm 2/0 pvc 1/100
Atm2/0, VPI: 1, VCI: 100, INDEX: 0
AAL5 Encaps: SNAP, Protocol: IP
Service-type: CBR, output-pcr: 200 kbps, CDVT: 500 us
Transmit-Priority: 0
OAM interval: 0 sec(disabled), OAM retry interval: 1 sec
OAM retry count (up/down): 3/5
OAM ais-rdi count (up/down): 3/1
input pkts: 0, input bytes: 0, input pkt errors: 0
output pkts: 0, output bytes: 0, output pkt errors: 0
Interface State: UP, OAM State: UP, PVC State: UP
Output queue : (Urgent queuing : Size/Length/Discards) 0/100/0
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
OAM cells received: 42
F5 InEndloop: 0
OAM cells sent: 0
F5 OutEndloop: 0
OAM cell drops: 0
OAM AIS State: No AIS Alarm
OAM RDI State: No RDI Alarm
OAM CC State: No CC Alarm
Table 1-7 display atm pvc-info interface command output description
Field |
Description |
VPI |
Virtual path identifier |
VCI |
Virtual channel identifier |
INDEX |
Internal index of the PVC |
AAL5 Encaps |
AAL5 encapsulation type of the PVC |
Protocol |
Upper layer protocol running on the PVC |
Service-type |
Service type |
Transmit-Priority |
Transmit priority |
OAM interval |
Interval at which OAM F5 loopback cells are sent |
OAM retry interval |
Interval at which the system retransmits OAM F5 loopback cells |
OAM retry count |
Number of OAM cells transmitted before a PVC is declared up or down |
OAM ais-rdi count |
Number of OAM cells for the device to receive before reporting that the PVC is down; number of seconds for the device to wait before reporting that the PVC is up after the PVC has stopped receiving OAM cells |
input pkts: |
Received packets |
input bytes: |
Received bytes |
input pkt errors: |
Received error packets |
output pkts |
Transmitted packets |
output bytes |
Transmitted bytes |
output pkt errors |
Transmitted error packets |
Interface State |
Link layer protocol status of the interface |
PVC State |
PVC status |
Output queue |
Output queue of the PVC |
OAM cells received |
Received OAM cells |
F5 InEndloop |
Received F5 loopback cells |
OAM cells sent |
Transmitted OAM cells |
F5 OutEndloop |
Transmitted F5 loopback cells |
OAM cell drops |
Dropped OAM cells |
OAM AIS State |
OAM AIS alarm states |
OAM RDI State |
OAM RDI alarm states |
OAM CC State |
OAM CC alarm states |
encapsulation
Syntax
encapsulation aal5-encap
undo encapsulation
View
PVC view, ATM class view
Default Level
2: System level
Parameters
aal5-encap: AAL5 encapsulation type; its possible values are as follows:
l aal5mux: MUX encapsulation type
l aal5nlpid: RFC1490 encapsulation type
l aal5snap: LLC/SNAP (Logical Link Control/Subnet Access Protocol) encapsulation type
Description
Use the encapsulation command to specify the ATM AAL5 encapsulation type for a PVC.
Use the undo encapsulation command to restore the default.
By default, aal5snap encapsulation is adopted.
Note that:
l Among aal5snap, aal5mux and aal5nlpid, only aal5snap encapsulation supports InARP.
l If InARP is enabled, you need to disable it before changing AAL5 encapsulation to aal5mux or aal5nlpid.
l An ATM PVC can carry multiple protocols simultaneously, but certain types of encapsulations may not support some applications (one or more of IPoA, IPoEoA, PPPoA and PPPoEoA). When such cases occur, the system gives a prompt.
Examples
# Specify the AAL5 encapsulation of PVC 1/32 on interface ATM 1/0 to aal5snap.
<Sysname>system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc 1/32
[Sysname-atm-pvc-Atm1/0-1/32] encapsulation aal5snap
interface atm
Syntax
interface atm { interface-number | interface-number.subnumber [ p2mp | p2p ] }
undo interface atm interface-number.subnumber
View
System view
Default Level
2: System level
Parameters
interface-number: ATM main interface number.
subnumber: ATM subinterface number, in the range 0 to 1023.
p2mp: Sets the connection type on the subinterface to point-to-multiple point.
p2p: Sets the connection type on the subinterface to point-to-point.
Description
Use the interface atm command to create an ATM subinterface or enter an ATM subinterface view.
Use the undo interface atm command to delete ATM subinterface.
Be default, the connection type of subinterface is p2mp.
Two types of connections are available on an ATM subinterface: p2mp and p2p. In p2mp connection, you can create multiple PVCs on the subinterface; in p2p connection, you can create just one PVC on the subinterface.
Examples
# Enter interface ATM1/0..
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0]
# Create and enter subinterface Atm1/0.1, and set its connection type to point-to-point.
<Sysname> system-view
[Sysname] interface atm 1/0.1 p2p
[Sysname-Atm1/0]
ip-precedence
Syntax
ip-precedence { pvc-name [ vpi/vci ] | vpi/vci } { min [ max ] | default }
undo ip-precedence { pvc-name [ vpi/vci ] | vpi/vci }
View
ATM PVC-group view
Default Level
2: System level
Parameters
pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI pair value. For example, the name 1/20 is not allowed.
vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier; its value ranges from 0 to 255. VCI is short for virtual channel identifier; its value range varies by interface type. Normally, VCI values from 0 to 31 are reserved for special purpose, you are not recommended to use them. For details regarding the value range, refer to Table 1-8.
min: Minimum precedence of IP packets carried by the PVC, in the range 0 to 7.
max: Maximum precedence of IP packets carried by the PVC, in the range 0 to 7.
default: Uses the specified PVC as the default PVC.
Description
Use the ip-precedence command to let different PVCs in PVC-group carry IP packets of different precedence levels.
Use the undo ip-precedence command to delete the precedence configuration of IP packets carried over PVC.
l If the ip-precedence command is not configured, all IP packets, regardless of their precedence levels, are transmitted over the primary PVC (the one used when the PVC-group is created) in the PVC-group.
l If this command is configured and the default keyword is used, which means the current PVC is configured as the default PVC, and all the IP packets without specified precedence levels will be transmitted over this PVC.
l If this command is used without using the default keyword, which means no PVC is taken as the default PVC, all IP packets without specified precedence levels are transmitted over the primary PVC.
l This command is for configuration of the PVCs in the PVC-Group only. The specified minimum preference min must be smaller than or equal to the specified maximum preference max.
Note that this command does not change the precedence levels of IP packets.
Related commands: pvc-group, pvc.
Examples
# Configure a PVC named aa, whose VPI/VCI is 1/32, to carry IP packets with precedence levels 0 to 3.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc-group aa 1/32
[Sysname-atm-pvc-group-Atm1/0-1/32-aa] ip-precedence aa 1/32 0 3
map bridge
Syntax
map bridge virtual-ethernet interface-number
undo map bridge
View
PVC view, ATM Class view
Default Level
2: System level
Parameters
interface-number: Virtual Ethernet (VE) interface number.
Description
Use the map bridge command to establish the IPoEoA mapping or PPPoEoA mapping on the PVC.
Use the undo map bridge command to delete the mapping.
By default, no mapping is configured.
Before using this command, make sure that the VE has been created.
Examples
The following example demonstrates a complete process of IPoEoA configuration.
# Establish a VE interface numbered 1.
<Sysname> system-view
[Sysname] interface virtual-ethernet 1
# Assign IP address 10.1.1.1/16 to the VE interface.
[Sysname-Virtual-Ethernet1] ip address 10.1.1.1 255.255.0.0
[Sysname-Virtual-Ethernet1] quit
# Create PVC 1/102 on the ATM interface ATM2/0.
[Sysname] interface atm 2/0
[Sysname-Atm2/0] pvc 1/102
# Establish the IPoEoA mapping using the established VE interface in PVC view.
[Sysname-atm-pvc-Atm2/0-1/102] map bridge virtual-ethernet 1
map ip
Syntax
In PVC view:
map ip { ip-address [ ip-mask] | default | inarp [ minutes ] } [ broadcast ]
undo map ip { ip-address | default | inarp }
In ATM class view:
map ip inarp [ minutes ] [ broadcast ]
undo map ip inarp
View
PVC view, ATM class view
Default Level
2: System level
Parameters
ip-address: Remote IP address mapped to the current PVC.
ip-mask: IP address mask. It specifies a network segment together with the ip-address argument. This allows the device to forward an IP packet out of the PVC so long as a next-hop address in the specified network segment is found for the packet.
default: Sets the default PVC mapping. If no PVC mapping can be found for the next hop address of a packet, the packet will be sent from the PVC in the default PVC mapping.
inarp: Enables inverse address resolution protocol (InARP) on the current PVC.
minutes: Time interval to send InARP packets, in minutes. The value ranges from 1 to 600 and defaults to 15 minutes.
broadcast: Enables pseudo-broadcast. If the mapping of a PVC is configured with pseudo-broadcast, the device sends on the PVC a copy of each broadcast or multicast packet that it sends out the interface to which the PVC belongs.
You must configure the broadcast keyword on an ATM PVC where broadcast or multicast packets must be sent, for example, to allow PIM multicast to create neighbor relationship with the router connected using the ATM interface.
Description
Use the map ip command to create an IPoA mapping for the PVC.
Use the undo map ip command to delete the mapping.
By default, no mapping is configured. If a mapping is configured, pseudo-broadcast is not supported by default.
Before configuring InARP, make sure the aal5snap encapsulation is used. InARP is not supported when using aal5mux or aal5nlpid encapsulations.
Examples
# Create a static mapping on PVC 1/32, specifying the opposite IP address to 61.123.30.169 and supporting pseudo-broadcast.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc 1/32
[Sysname-atm-pvc-Atm1/0-1/32] map ip 61.123.30.169 broadcast
# Enable InARP on PVC 1/33 and send InARP packets every 10 minutes.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc 1/33
[Sysname-atm-pvc-Atm1/0-1/33] map ip inarp 10
map ppp
Syntax
map ppp virtual-template vt-number
undo map ppp
View
PVC view, ATM class view
Default Level
2: System level
Parameters
vt-number: Number of the virtual template (VT) interface corresponding to a PPPoA mapping.
Description
Use the map ppp command to create a PPPoA map on the PVC.
Use the undo map ppp command to delete the map.
By default, no mapping is configured.
Before using this command, make sure that the VT has been created.
Examples
The following example demonstrates a complete process of PPPoA configuration.
# Create a VT interface numbered 10, and assign it an IP address.
<Sysname> system-view
[Sysname] interface virtual-template 10
[Sysname-Virtual-Template10] ip address 202.38.160.1 255.255.255.0
[Sysname-Virtual-Template10] quit
# Create PVC 1/101 on interface ATM 1/0.
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc 1/101
# Create a PPPoA map using the VT interface created.
[Sysname-atm-pvc-Atm1/0-1/101] map ppp virtual-template 10
mtu
Syntax
mtu mtu-number
undo mtu
View
Interface view
Default Level
2: System level
Parameters
mtu-number: MTU size on an ATM interface, in the range of 128 to 1580 bytes.
Description
Use the mtu command to set the size of maximum transmission unit (MTU) on ATM interface.
Use the undo mtu command to restore the default.
By default, the MTU of an ATM interface is 1,500 bytes.
The MTU only influences the packet assembly and disassembly at the IP layer at the ATM interface. Due to the limit of QoS queue length (for example, the default length of the FIFO queue is 75), MTU which is too small may cause numerous fragments and thus be dropped by the QoS queue. In this case, the length of the QoS queue can be increased appropriately. The default queue dispatching mechanism used by PVC is FIFO. You can use the fifo queue-length command in the PVC view to change its queue length.
This command applies to ATM main interface and subinterface simultaneously.
Examples
# Set the MTU to 1492 bytes for interface ATM 1/0.
[Sysname] interface atm 1/0
[Sysname-Atm1/0] mtu 1492
oam ais-rdi
Syntax
oam ais-rdi up up-count down down-count
undo oam ais-rdi
View
PVC view, ATM class view
Default Level
2: System level
Parameters
up-count: Period (in seconds). A PVC goes up if no alarm indication signal/remote defect indication (AIS/RDI) alarm cell is received in the period specified by this argument. The value range of this argument varies with device model.
down-count: Number of AIS/RDI alarm cells. A PVC goes down if the number of the successive AIS/RDI alarm cells received reaches the number specified by this argument. The value range of this argument varies with device model.
Description
Use the oam ais-rdi command to modify the parameters related to AIS/RDI alarm cell detection.
Use the undo oam ais-rdi command to restore the default.
By default, AIS/RDI alarm cell detection is enabled, which means a PVC goes down if the number of successive AIS/RDI alarm cells received reaches that specified by the down-count argument, and it goes up if no AIS/RDI alarm cell is received in a period specified by the up-count argument.
Note that the oam ais-rdi command is not applicable to the secondary PVCs of a PVC group.
l The primary PVC of a PVC group is the PVC based on which the PVC group is created.
l Second PVCs are created in PVC groups.
Examples
# Configure the AIS-RDI alarm detection parameters for PVC 1/32, setting both up-count and down-count to 5.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc 1/32
[Sysname-atm-pvc-Atm1/0-1/32] oam ais-rdi up 5 down 5
oam cc end-to-end
Syntax
oam cc end-to-end { both | sink | source }
undo oam cc end-to-end { both | sink | source }
View
PVC view, ATM class view
Default Level
2: System level
Parameters
both: Enables the PVC as both the continuity check (CC) cell source and the CC cell sink, that is, the receiver.
sink: Enables the PVC as the CC cell sink to receive and process CC cells.
source: Enables the PVC as the CC cell source to generate CC cells.
Description
Use the oam cc end-to-end command to enable the OAM continuity check (CC) function on the current PVC.
Use the undo oam cc end-to-end command to disable the OAM CC function on the current PVC.
By default, OAM CC is disabled.
Note that:
l When configuring OAM CC on a PVC, configure one end of the PVC as the CC cell source and the other end as the CC cell sink.
l On an OAM CC-enabled PVC, if the detecting end fails to receive any CC cell within 3 seconds, the state of the PVC changes to down and will change to up only after CC cells or packets are received again.
l When disabling OAM CC on a PVC, you must ensure that the role of the PVC in continuity check is the same as the one that has been enabled. For example, if you have enabled the PVC as both the CC cell source and the sink, you should perform the undo oam cc end-to-end both command rather than the undo oam cc end-to-end sink command to disable the function.
l This command cannot be configured on the member PVCs in a PVC group.
Examples
# Enable OAM CC.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc 1/32
[Sysname-atm-pvc-Atm1/0-1/32] oam cc end-to-end sink
oam frequency
Syntax
oam frequency frequency [ up up-count down down-count retry-frequency retry-frequency ]
undo oam frequency
View
PVC view, ATM class view
Default Level
2: System level
Parameters
frequency: Time interval to send operations, administration, and maintenance (OAM) F5 loopback cells, in seconds, and the range of the value is 0 to 600. The frequency argument being 0 indicates that no OAM F5 loopback cell will be sent.
up-count: Number of OAM F5 Loopback cells. A PVC goes up only when the number of the OAM F5 Loopback cells successively and correctly received reaches the number specified by this argument. This argument ranges from 1 to 600. The system default is 3.
down-count: Number of OAM F5 Loopback cells. A PVC goes down only when the number of the successive OAM F5 Loopback cells not received reaches the number specified by this argument. This argument ranges from 1 to 600. The system default is 5.
retry-frequency: Interval (in seconds) to send OAM F5 Loopback cell in retransmission detection before PVC status changes. This argument ranges from 1 to 1,000. The system default is 1.
Description
Use the oam frequency command to enable the transmission and retransmission detection of the OAM F5 Loopback cell, as well as to modify the related parameters.
Use the undo oam frequency command to disable the transmission and retransmission detection of the cell.
By default, OAM F5 Loopback cell transmission is disabled, but if an OAM F5 Loopback cell is received, it should be responded.
The oam frequency command is not applicable to the secondary PVCs of a PVC group.
Examples
# Enable OAM F5 Loopback detection on PVC 1/32, with the period of 12 seconds. And set the retransmission detection up-count to 4, down-count to 4 and retransmission period to 1 second.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc 1/32
[Sysname-atm-pvc-Atm1/0-1/32] oam frequency 12 up 4 down 4 retry-frequency 1
oamping interface
Syntax
oamping interface atm interface-number pvc { pvc-name | vpi/vci } [ number timeout ]
View
ATM interface view
Default Level
2: Monitor level
Parameters
atm interface-number: Specifies an ATM interface number.
pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI pair value. For example, the name 1/20 is not allowed.
vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier; its value ranges from 0 to 255. VCI is short for virtual channel identifier; its value range varies by interface type. Normally, VCI values from 0 to 31 are reserved for special purpose, you are not recommended to use them. For details regarding the value range, refer to Table 1-8.
number: Number of OAM cells to be transmitted consecutively, in the range 1 to 1,000. The system default is 5.
timeout: OAM response timeout period in seconds, in the range 1 to 30. The system default is 2.
Description
Use the oamping interface command to send OAM cells over the specified PVC on the specified ATM interface so as to check the link state. If no response is received within the specified time, this means that the link is bad or so busy that packets are lost.
Examples
# Check the link state of PVC 1/32 on interface ATM 1/0, sending three cells and setting timeout period to one second.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] oamping interface atm 3/0 pvc 1/32 3 1
Ping interface Atm3/0,pvc 0/45, with 3 of 53 bytes of ATM OAM F5 end-to-end
cell(s),
timeout is 1 second(s), press CTRL_C to break
Receive reply from pvc 1/32: time=1 ms
Receive reply from pvc 1/32: time=1 ms
Receive reply from pvc 1/32: time=1 ms
pvc
Syntax
pvc { pvc-name [ vpi/vci ] | vpi/vci }
undo pvc { pvc-name [ vpi/vci ] | vpi/vci }
View
ATM interface view, PVC-group view
Default Level
2: System level
Parameters
pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI pair value. For example, the name 1/20 is not allowed.
vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier; its value ranges from 0 to 255. VCI is short for virtual channel identifier; its value range varies by interface type. Normally, VCI values from 0 to 31 are reserved for special purpose, you are not recommended to use them. For details regarding the value range, refer to Table 1-8.
Table 1-8 VCI range for each type of ATM interface
Interface type |
VCI |
ADSL 2+ |
0 to 255 |
ATMOC3 |
0 to 1023 |
ATM T1 |
0 to 511 |
ATM T3 |
0 to 1023 |
l The vpi and vci argument cannot both be 0.
l A PVC in a specific PVC-group cannot be removed in ATM interface view.
Description
Use the pvc command to create a PVC or enter the PVC view on ATM interface, or to add the specified PVC into PVC-Group.
Use the undo pvc command to delete the specified PVC.
By default, no PVC is created.
l If you specified the pvc-name argument when creating a PVC, you can use the pvc pvc-name [ vpi/vci ] command to enter the view of that PVC.
l You can use either the undo pvc pvc-name [ vpi/vci ] command or the undo pvc vpi/vci command to delete that PVC.
The VPI/VCI value of a PVC should be unique at an ATM interface (including the main interface and the subinterface).
The actual number of PVCs that can be created depends on the pvc max-number command.
Related commands: display atm pvc-info, pvc max-number.
Examples
# Create a PVC named aa with the VPI/VCI value of 1/101.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc aa 1/101
pvc-group
Syntax
pvc-group { pvc-name [ vpi/vci ] | vpi/vci }
undo pvc-group { pvc-name [ vpi/vci ] | vpi/vci }
View
ATM interface view
Default Level
2: System level
Parameters
pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI pair value. For example, the name 1/20 is not allowed. The PVC corresponding to pvc-name must have already been created.
vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier; its value ranges from 0 to 255. VCI is short for virtual channel identifier; its value range varies by interface type. Normally, values from 0 to 31 are reserved for special purpose, you are not recommended to use them. For details about the value range, refer to Table 1-8.
Description
Use the pvc-group command to create a PVC group or enter PVC group view.
Use the undo pvc-group command to delete the specified PVC-Group.
In creating a PVC-Group, the pvc-name argument or the vpi/vci argument defines the primary PVC of the PVC-Group.
Before creating a PVC group, make sure the corresponding PVC exists.
The encapsulation command and the oam-related commands are not applicable to secondary PVCs. The configurations corresponding to these commands on the primary PVC of a PVC group apply to all the secondary PVCs in the PVC group.
Related commands: ip-precedence, pvc.
Examples
# Create a PVC group named aa, with the primary PVC being the PVC with the VPI/VCI value of 1/32.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc aa 1/32
[Sysname-atm-pvc-group-Atm1/0-1/32-aa] quit
[Sysname-Atm1/0] pvc-group aa 1/32
pvc max-number
Syntax
pvc max-number max-number
undo pvc max-number
View
ATM main interface view
Default Level
2: System level
Parameters
max-number: Maximum number of PVCs allowed. The value range varies by the type of physical interface, as shown in the following table.
Table 1-9 Maximum number of PVCs supported on ATM interfaces
Interface type |
Maximum number |
Default |
ADSL |
1 to 32 |
32 |
ATM OC3 |
1 to 1024 |
1024 |
ATM25 |
1 to 256 |
256 |
ATM T3 |
1 to 1024 |
1024 |
Description
Use the pvc max-number command to set the maximum number of PVCs allowed on an ATM interface.
Use the undo pvc max-number command to restore the default.
The maximum number of PVCs allowed varies with interface type.
The maximum number specified in this command is the total number of the PVCs available to both ATM main interface and the subinterfaces.
This command applies to both ATM main interface and subinterface. However, the command itself is available only in ATM main interface view.
Examples
# Configure ATM 1/0 interface to support up to 1024 PVCs.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc max-number 1024
pvp limit
Syntax
pvp limit vpi output-scr
undo pvp limit vpi
View
ATM interface view
Default Level
2: System level
Parameters
vpi: Virtual path identifier of the ATM network, in the range 0 to 255.
output-scr: Sustainable rate of ATM cell output (in kbps). For its detailed value range, refer to Table 1-10.
Description
Use the pvp limit command to set the parameters for VP policing.
Use the undo pvp limit command to delete the VP policing.
By default, VP policing is not performed.
Related commands: pvc, service cbr, service vbr-nrt, service vbr-rt, service ubr.
Examples
# Set the traffic of VP with vpi 1 to 2000 Kbps.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvp limit 1 2000
service cbr
Syntax
service cbr output-pcr [ cdvt cdvt-value ]
View
PVC view, ATM class view
Default Level
2: System level
Parameters
output-pcr: Output peak rate of an ATM cell (in kbps). The value range of this parameter varies with interface types, as shown in the following table:
Table 1-10 Value ranges of the output-pcr argument
Interface type |
Value range of output-pcr |
ADSL 2+ |
64 to 640 |
ATMOC3/STM-1 |
64 to 155000 |
ATM OC12/STM-4 |
64 to 622000 |
ATM T1 |
64 to 1536 |
ATM T3 |
64 to 44000 |
cdvt-value: Cell delay variation tolerance, in μs. The effective range is 0 to 10,000 and the default is 500 μs. This argument cannot be configured in ATM class view.
Description
Use the service cbr command to specify the PVC service type as constant bit rate (CBR).
By default, the service type is UBR after a PVC is created.
You can use this command to set the PVC service type and the rate parameter. The newly specified PVC service type will replace the existing service type. You are recommended to create the PVC with larger bandwidth first and then the one with smaller bandwidth. If the creation fails, you can increase the cdvt-value and try to create the PVC again. In the command line, the system will prompt you on this, as follows:
“fail to set service parameter, please adjust cdvt value”
The command is not applicable to ATM E1 interfaces and ATM E3 interfaces.
Related commands: service vbr-nrt, service vbr-rt, service ubr.
Examples
# Create a PVC named aa, with the VPI/VCI value of 1/101.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc aa 1/101
# Specify the service type of the PVC as CBR and the peak rate of an ATM cell as 50000 kbps, and the cell delay variation tolerance as 1000 μs.
[Sysname-atm-pvc-Atm1/0-1/101-aa] service cbr 50000 cdvt 1000
service ubr
Syntax
service ubr output-pcr
View
PVC view, ATM class view
Default Level
2: System level
Parameters
output-pcr: Output peak rate of an ATM cell (in kbps). For the value ranges of this parameter, see Table 1-10.
Description
Use the service ubr command to specify the service type of PVC as unspecified bit rate (UBR) and specify the related rate parameters.
By default, the service type is UBR after a PVC creating is created..
You can use this command as well as the service vbr-nrt, service vbr-rt and service cbr commands to set the service type and the rate-related parameters of a PVC. A newly configured PVC service type overwrites the existing one.
Related commands: service vbr-nrt, service vbr-rt, service cbr.
Examples
# Create a PVC named aa with the VPI/VCI value of 1/101.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc aa 1/101
# Specify the service type of the PVC as UBR and the peak cell rate of ATM cell as 100000 kbps.
[Sysname-atm-pvc-Atm1/0-1/101-aa] service ubr 100000
service vbr-nrt
Syntax
service vbr-nrt output-pcr output-scr output-mbs
View
PVC view, ATM class view
Default Level
2: System level
Parameters
output-pcr: Peak rate of ATM cell output (in kbps). For the value ranges of this parameter, see Table 1-10.
output-scr: Sustainable rate of ATM cell output (in kbps). Its value ranges are the same as those of the output-pcr argument.
output-mbs: Maximum burst size for ATM cell output, that is, the maximum number of ATM cells that the output interface can cache. The value ranges from 1 to 512.
Description
Use the service vbr-nrt command to specify the service type of PVC as variable bit rate-non real time (VBR-NRT) and specify the related rate parameters.
By default, the service type is UBR after a PVC is created..
You can use this command as well as the service ubr, service vbr-rt and service cbr commands to set the service type and rate-related parameters of a PVC. A newly configured PVC service type overwrites the existing one.
Related commands: service ubr, service vbr-rt, service cbr.
Examples
# Create a PVC named aa, with the VPI/VCI value of 1/101.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc aa 1/101
[Sysname-atm-pvc-Atm1/0-1/101-aa] service vbr-nrt 100000 50000 320
service vbr-rt
Syntax
service vbr-rt output-pcr output-scr output-mbs
View
PVC view, ATM class view
Default Level
2: System level
Parameters
output-pcr: Peak cell rate of ATM output (in kbps). For the value ranges of this parameter, see Table 1-10.
output-scr: Sustainable cell rate of ATM output (in kbps). Its value ranges are the same as those of the output-pcr argument.
output-mbs: Maximum burst size of ATM cell output, that is, the maximum cache size of ATM cell output at the interface in cell number. The range of the value is 1 to 512. When it is used in ATM E3 interface, the range of the parameter is 1 to 512.
Description
Use the service vbr-rt command to set the service type of a PVC to Variable Bit Rate Real-Time (VBR-RT) and specify the related rate parameters in PVC view.
By default, the service type is UBR after a PVC is created.
You can use this command as well as the service ubr, service cbr and service vbr-nrt commands to set the service type and rate-related parameters of a PVC. A newly configured PVC service type overwrites the existing one. This command is not applicable to ATM E1 interfaces.
Related commands: service vbr-nrt, service ubr, service cbr.
Examples
# Create a PVC named aa with the VPI/VCI value of 1/101.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc aa 1/101
# Specify the service type of the PVC as VBR-RT, setting the peak cell rate of ATM to 100000 kbps, the sustainable cell rate to 50000 kbps, and the maximum burst size to 320 cells.
[Sysname-atm-pvc-Atm1/0-1/101-aa] service vbr-rt 100000 50000 320
shutdown
Syntax
shutdown
undo shutdown
View
ATM interface view
Default Level
2: System level
Parameters
None
Description
Use the shutdown command to shut down an ATM interface.
Use the undo shutdown command to bring up an ATM interface.
By default, an ATM interface is up.
Examples
# Shut down interface ATM 5/0.
<Sysname> system-view
[Sysname] interface atm 5/0
[Sysname-Atm5/0] shutdown
# Bring up interface ATM 5/0.
<Sysname> system-view
[Sysname] interface atm 5/0
[Sysname-Atm5/0] undo shutdown