atmReassembly
atmReassembly - configure ATM port to reassemble particular VPI/VCI streams
SYNOPSIS
atmReassembly sub-command options
DESCRIPTION
The atmReassembly command is used to configure an ATM port to reassemble received data for particular VPI/VCIs. This is necessary if a receive port is to be used in an atmStat receive list or in atmFilter. Note that these commands automatically calls this command for the port, if it is not in the reassembly list. Except for receive ports using other than default encapsulation (atmEncapsulationLLCRoutedCLIP) in packet group mode, the add sub-command need never be called; the del and removeAll commands proves useful when changing a list.
STANDARD OPTIONS
enableIpTcpUdp
Checksum true | false
Enables the collection of TCP and UDP checksum statistics for packets that match this VCI/VPI. (default = 1)
enableIpQos
true | false
Enables the collection of QoS statistics for packets that match this VCI/VPI. (default = 1)
encapsulation
The decode encapsulation to be used on received data when the port is in packet group mode. This is the only means by which the encapsulation may be set; calls from atmStat and atmFilter uses the default (atmEncapsulationLLCRoutedCLIP).
Option |
Value |
Usage |
---|---|---|
atmEncapsulationVccMuxIPV4Routed |
101 |
|
atmEncapsulationVccMuxBridgedEthernetFCS |
102 |
|
atmEncapsulationVccMuxBridgedEthernetNoFCS |
103 |
|
atmEncapsulationVccMuxIPV6Routed |
104 |
|
atmEncapsulationVccMuxMPLSRouted |
105 |
|
atmEncapsulationLLCRoutedCLIP |
106 |
(default) |
atmEncapsulationLLCBridgedEthernetFCS |
107 |
|
atmEncapsulationLLCBridgedEthernetNoFCS |
108 |
|
atmEncapsulationLLCPPPoA |
109 |
|
atmEncapsulationVccMuxPPPoA |
110 |
|
vci
Read-only. The current VCI.
vpi
Read-only. The current VPI.
COMMANDS
The atmReassembly command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
atmReassembly add chasID cardID portID vpi vci
Adds the vpi/vci pair to the reassembly list for the indicated port. Specific errors are:
- The port is in use by another user
- ATM is not supported on this port
- Invalid port
- Invalid vci/vpi pair
- Item already in the list
atmReassembly cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the atmReassembly command.
atmReassembly del chasID cardID portID vpi vci
Removes the vpi/vci pair from the reassembly list for the indicated port. Specific errors are:
- The port is in use by another user
- ATM is not supported on this port
- Item is not in the list
atmReassembly getFirstPair chasID cardID portID
Accesses the first VPI/VCI pair in the list, whose values can be found in the STANDARD OPTIONS for this command. Specific errors are:
- No connection to the chassis
- ATM is not supported on this port
- Invalid port
- No pairs in the list.
atmReassembly getNextPair chasID cardID portID
Accesses the next VPI/VCI pair in the list, whose values can be found in the STANDARD OPTIONS for this command. Specific errors are:
- No connection to the chassis
- ATM is not supported on this port
- Invalid port
- No more pairs in the list.
atmReassembly removeAll chasID cardID portID
Removes all vpi/vci pairs from the reassembly list for the indicated port. Specific errors are:
- No connection to the chassis
- ATM is not supported on this port
- The port is in use by another user
- Invalid port
atmReassembly setDefault
Sets to IxTclHal default values for all configuration options.
EXAMPLES
package require IxTclHal
set chassis 1
set card 42
set vpi 1
set vci 17
if [atmReassembly removeAll $chassis $card 1] {
ixPuts "Error in atmReassembly removeall"
}
if [atmReassembly removeAll $chassis $card 2] {
ixPuts "Error in atmReassembly removeall"
}
if [atmReassembly add $chassis $card 1 $vpi $vci] {
ixPuts "Error in atmReassembly add"
}
if [atmReassembly add $chassis $card 2 $vpi $vci] {
ixPuts "Error in atmReassembly add"
}
if [atmReassembly del $chassis $card 1 $vpi $vci] {
ixPuts "Error in atmReassembly del"
}
if [atmReassembly getFirstPair $chassis $card 1] {
ixPuts "No pairs in the list"
}
if [atmReassembly getNextPair $chassis $card 1] {
ixPuts "No more pairs in the list"
}