Configuring ATM Pseudowires
ATM pseudowires are described in RFC 4717. Pseudowire encapsulation is selected by configuring for a cell-relay pseudowire:
Or for an AAL5 pseudowire:
encapsulation atm-ccc-cell-relay can be set at either the physical interface or logical interface level. atm-ccc-vc-mux can only be set at the logical interface level.
The following sections describe:
Cell Relay Mode
In cell relay mode, one or more cells are bundled together to form a packet that is sent across the PSN tunnel. N-to-one mode is used to encapsulate cell bundles. In this mode, 52 bytes of each cell are transported across the PSN (the HEC field of the ATM header is omitted). The optional one-to-one mode is not supported.
By default, each ATM cell is encapsulated into a pseudowire packet (per RFC 4717) and sent over the pseudowire (cell-bundle-size = 1). The pseudowire may be configured to aggregate a user-configured number of cells into a packet to increase network utilization efficiency.
where cells is the number of cells each pseudowire packet should contain.
Configuring VP or Port Promiscuous Mode
By default, all incoming cells are mapped from a single VC to an ATM pseudowire. For ATM physical interfaces configured with atm-l2circuit-mode cell, you can configure port or VP promiscuous mode.
In VP promiscuous mode, all cells with the same VPI are forwarded on a single pseudowire:
In port promiscuous mode, all cells received on a T1 or E1 ATM port are forwarded across a single pseudowire:
Use the show interface at-x/y/z:n command to view cell relay statistics.
Configuring AAL5 SDU Mode
In AAL5 SDU mode, the ATM logical interface (VC) expects all data to be either AAL5 encapsulated packets or OAM cells. AAL5 packets are de-encapsulated (AAL5 trailer is stripped off), prepended with an ATM pseudowire control word (RFC 4717) and forwarded on the pseudowire.
OAM cells that are received while an AAL5 packet is being reassembled are forwarded on the pseudowire immediately (they are reordered ahead of the packet being reassembled).
Use the show interface at-x/y/z:n command to view AAL5 statistics.