The following configuration is sufficient to get an ATM1 OC3 or OC12 interface up and running. By default, ATM interfaces use ATM PVC encapsulation.
- [edit interfaces]
- at-fpc/pic/port {
-
- atm-options {
- vpi vpi-identifier maximum-vcs maximum-vcs-value;
- unit 0 { # one unit per VC
- vci vpi-identifier.vci-identifier;
-
- family inet {
-
- address local-address {
- destination address;
- }
- }
- }
- unit 1 {# second VC
- ...
- }
Complex Configuration Example
- [edit interfaces]
- at-0/0/0 {
- encapsulation atm-pvc;
-
- atm-options {
- vpi 0 maximum-vcs 1200;
- }
-
- unit 2 {
- encapsulation atm-snap;
- inverse-arp;
- vci 0.80;
-
- family inet {
- mtu 1500;
-
- address 192.168.0.3/32 {
- destination 192.168.0.1;
- }
- }
- }
-
- unit 3 {
- encapsulation atm-snap;
- vci 0.32;
- oam-period 60;
-
- family inet {
- mtu 1500;
-
- address 192.168.4.3/32 {
- destination 192.168.4.2;
- }
- }
- }
- }
- at-0/2/0 {
- encapsulation atm-pvc;
-
- atm-options {
- vpi 0 maximum-vcs 1200;
- }
-
- unit 2 {
- encapsulation atm-snap;
- inverse-arp;
- vci 0.82;
-
- family inet {
- mtu 1500;
-
- address 192.168.5.3/32 {
- destination 192.168.5.2;
- }
- }
- }
- }
- at-0/3/0 {
- encapsulation atm-pvc;
-
- atm-options {
- vpi 0 maximum-vcs 1200;
- }
-
- unit 140 {
- encapsulation atm-snap;
- multipoint;
-
- family inet {
-
- address 192.168.7.4/24 {
- multipoint-destination 192.168.7.5;
- vci 0.100;
- inverse-arp;
- }
- }
- }
- }
- at-7/3/0 {
- encapsulation atm-pvc;
-
- atm-options {
- vpi 0 maximum-vcs 1200;
- }
-
- unit 0 {
- encapsulation atm-snap;
- vci 0.32;
-
- family inet {
-
- address 192.168.12.3/32 {
- destination 192.168.12.2;
- }
- }
- }
- }