You configure the X.25 services starting with the physical layer and continuing upward to the LAPB and packet (X.25) layers. The initial setup procedure of the X.25 services, using the CLI, is as follows:
- Define the physical ports as X.25. This setting is in addition to the other settings required for the physical port, such as interface type and data rate.
CLI> define wan port protocolSupport
| Parameter | Range of Values | Required Action |
| <IfIndex> | Integer (1..255) | Enter the IfIndex of a physical port on the Passport 4400 unit. |
| <ProtocolSupport> | none | standardFr | switchingFr | htds | cbr | sdlc | x25 | async | pppHdlc | channel | hdlc | casBypass | Select x25 to set this port for X.25 operation. |
Example (the example commands shown represent Passport 4430/4450/4455 hardware and have Port 1 on the EBM being used for X.25):
CLI> define wan port protocolSupport 150 x25
- Add virtual ports for the X.25 connections across the WAN. First, create a virtual frame relay port:
CLI> add fr port virtualPort
| Parameter | Range of Values | Required Action |
| <IfIndex> | Integer (1..255) | Enter an available IfIndex for the virtual port you want to add. |
| <Number> | Integer (0..31) | Enter the interface number you want to assign to this virtual port (the PPA number). |
Next, add the virtual port to the LAPB transport protocol:
CLI> add lapb virtual
| Parameter | Range of Values | Required Action |
| <Index> | Integer (1..255) | Enter an available IfIndex for the LAPB virtual port. |
| <LowerInterface> | Integer (0..255) | Enter the IfIndex you assigned to the frame relay virtual port. |
Then, add the virtual port to the X.25 protocol:
CLI> add x25 virtual
| Parameter | Range of Values | Required Action |
| <Index> | Integer (1..255) | Enter an available IfIndex for the X.25 virtual port. This will be the IfIndex for the packet layer. |
| <LowerInterface> | Integer (1..255) | Enter the IfIndex you assigned to the LAPB virtual port. |
Example sequence of commands:
CLI> add fr port virtualPort 10 2
CLI> add lapb virtual 50 10
CLI> add x25 virtual 51 50
- Define the LAPB parameters between the virtual port pairs. There are many LAPB parameters that you should review and configure as required for your network.
See Defining LAPB Parameters for more information about the LAPB parameters.
When defining the LAPB parameters, make sure that one end of the X.25 connection is DCE and the other end is DTE.
Continue on to step 4.