O'Reilly logo

JUNOS Cookbook by Aviva Garrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.22. Configuring an ATM Interface

Problem

You need to get the ATM interface in your router up and running.

Solution

Set up the ATM interface with one virtual path identifier (VPI) and one virtual circuit identifier ( VCI):

	[edit interfaces at-1/0/0]
	aviva@M10i#  
set atm-options pic-type atm2
	aviva@M10i# set atm-options  
vpi 0
	aviva@M10i# set unit 0 vci 0.32
	aviva@M10i# set unit 0 family inet address 136.1.1.1/24

Discussion

ATM connections are set up over virtual paths and virtual circuits. The virtual path, represented by a VPI, establishes a route between two devices in a network. Each VPI can contain multiple virtual circuits, each with a VCI. There can be a maximum of 4,090 VCIs, starting at number 32. (Numbers 0 through 31 are reserved.) The VPI can range from 0 through 255. VPIs and VCIs are local to the router, so only the two devices connected by them need know the details of the connection.

This recipe sets up a basic ATM interface for a one-port ATM2 OC-12 PIC that is in slot 1. The ATM interface has a VPI of 0 and a VCI of 32. You configure the virtual circuit on the logical interface because, as the name implies, it's a virtual, not a physical, interface. It is also important to include the set atm-options command to explicitly configure the PIC as an ATM2 PIC type, not an ATM1. Some statements for configuring ATM PICs work either with the ATM1 PIC or the ATM2 PIC, but not both. If you do not use the set atm-options command, and if you use an ATM1-only statement with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required