Apply an access list to a line, Create an x.29 profile script, Example: x.29 profile script – AIS Router AI2524 User Manual

Page 305: Apply an access list to a line -47, Create an x.29 profile script -47, Example: x.29 profile script -47

Advertising
background image

Chapter 12: AI2524 X.25 Configuration Steps

August 1997

Page 12-47

2524UM

Apply an Access List to a Line

In line configuration mode, apply an access list to a virtual line by re-
stricting incoming and outgoing connections between a particular vir-
tual terminal line (into a Cisco access server) and the addresses in an
access list:

access-class

access-list-number

in

The access list number is used for incoming TCP access and for in-
coming PAD access. For TCP access, the protocol translator uses the
defined IP access lists. For incoming PAD connections, the protocol
translator uses the defined X.29 access list. If you want to have access
restrictions only on one of the protocols, create an access list that per-
mits all addresses for the other protocols.

Create an X.29
Profile Script

You can create an X.29 profile script for th

translate

command.

When an X.25 connection is established, the protocol translator acts as
if an X.29 Set Parameter packet had been sent containing the parame-
ters and values set by this command.

In global configuration mode, create an X.29 profile script:

x29 profile

name parameter

:

value

[

parameter:value

]

Example: X.29 Profile Script

This profile script turns local edit mode on when the connection is
made and establishes local echo and line termination upon receipt of a
Return. The name linemode is used with the

translate

command

to activate this script.

x29 profile linemode 2:1 3:2 15:1

translate tcp 172.30.1.26 x25 55551234 profile linemode

Advertising