[Contents] [Prev] [Next] [Index] [Report an Error]


Configure the Encapsulation on a Physical Interface

The physical interface encapsulation can be one of the following:

You can configure an ATM 1 PIC to use cell-relay accumulation mode (CAM). In this mode, the incoming cells (1 to 8 cells) are packaged into a single packet and forwarded to the label-switched path (LSP). Cell-relay accumulation mode is not supported on ATM 2 PICs. You configure CAM as shown in the following example:

[edit chassis]
fpc 1 {
    pic 0 {
        atm-cell-relay-accumulation;
    }
}

For more information, see the JUNOS Internet Software Configuration Guide: Getting Started.

To configure the encapsulation on a physical interface, include the encapsulation statement at the [edit interfaces interface-name] hierarchy level:

[edit interfaces interface-name] 
encapsulation (atm-ccc-cell-relay | atm-pvc | cisco-hdlc | cisco-hdlc-ccc | cisco-hdlc-tcc | ethernet-ccc 

| ethernet-tcc | ethernet-over-atm | frame-relay | frame-relay-ccc | frame-relay-tcc | ppp | ppp-ccc | 
ppp-tcc | vlan-ccc | extended-vlan-ccc | extended-vlan-tcc); 

When you configure a point-to-point encapsulation (such as PPP or Cisco HDLC) on a physical interface, the physical interface can have only one logical interface (that is, only one unit statement) associated with it. When you configure a multipoint encapsulation (such as Frame Relay), the physical interface can have multiple logical units, and the units can be either point-to-point or multipoint.

Ethernet interfaces in VLAN mode can have multiple logical interfaces. For encapsulation type vlan-ccc, VLAN IDs from 1 through 511 are reserved for normal VLANs, and VLAN IDs from 512 through 1023 are reserved for CCC VLANs. For encapsulation type extended-vlan-ccc, all VLAN IDs from 1 through 4094 are valid. VLAN ID 0 is reserved for tagging the priority of frames. For more information, see Configure 802.1Q VLANs. Ethernet CCC encapsulation for Ethernet interfaces with standard TPID tagging requires that the physical interface have only a single logical interface.

When you configure a TCC encapsulation, some modifications are needed to handle VPN connections over unlike Layer 2 and Layer 2.5 links and terminate the Layer 2 and Layer 2.5 protocol locally. The router performs the following media-specific changes:

Example: Configure the Encapsulation on a Physical Interface

Configure PPP encapsulation on a SONET interface. The second and third family statements allow IS-IS and MPLS to run on the interface:

[edit interfaces]
so-7/0/0 {
    encapsulation ppp;
    unit 0 {
        point-to-point;
        family inet {
            address 192.168.1.113/32 {
                destination 192.168.1.114;
            }
        }
        family iso;
        family mpls;
    }
}

[Contents] [Prev] [Next] [Index] [Report an Error]