AI2524 Router Card User’s Manual

Create an Access List

To specify the access conditions, restrict incoming and outgoing con- nections between a particular Virtual Terminal (VTY) line (into a Cisco access server) and the addresses in an access list by typing (in global configuration mode):

x29 access-list access-list-number{deny

permit} x121-address

An access list can contain any number of lines. The lists are processed in the order in which you type the entries. The first match causes the permit or deny condition. If an X.121 address does not match any of the entries in the access list, access is denied.

Example: X.29 Access List

This example illustrates an X.29 access list. Incoming permit condi- tions are set for all IP hosts that have specific characters in their names. All X.25 connections to a printer are denied. Outgoing connections are list restricted.

Permit all IP hosts beginning with VMS. Deny X.25 connections to th printer on line 5.

access-list 1 permit 0.0.0.0 255.255.255.255 lat access-list 1 permit ^VMS.*

x29 access-list 1 deny .*

!

line vty 5 access-class 1 i

Permit outgoing connections for other lines. Permit IP access with the network 172.30.

access-list 2 permit 172.30.0.0 0.0.255.255

Permit X.25 connections to Infonet hosts only.

x29 access-list 2 permit ^31370

!

line vty 0 16 access-class 2 ou

Page 12-46

August 1997

 

2524UM

Page 304
Image 304
AIS user manual AI2524 Router Card User’s Manual Create an Access List, Example X.29 Access List, Permit x121-address