Configuring PPP Address and Control Field Compression
For interfaces with PPP, PPP CCC, or PPP TCC encapsulation, you can configure compression of the Data Link Layer address and control fields, as defined in RFC 1661, The Point-to-Point Protocol (PPP). By default, the address and control fields are not compressed. This means PPP-encapsulated packets are transmitted with two one-byte fields (0xff and 0x03). If you configure address and control field compression (ACFC) and ACFC is successfully negotiated with the local router's peer, the local router transmits packets without these two bytes. ACFC allows you to conserve bandwidth by transmitting less data.
NOTE: The address and control fields cannot be compressed in Link Control Protocol (LCP) packets.
The PPP session restarts when you configure or modify compression options.
To configure ACFC, include the
compressionstatement at the[edit interfacesinterface-nameppp-options]hierarchy level, and specifyacfc:[edit interfacesinterface-nameppp-options]compression acfc;This configuration causes the local router to try to negotiate ACFC with its peer. If ACFC is successfully negotiated, the local router sends packets with compressed address and control fields. When you include the
compression acfcstatement in the configuration, the PPP session restarts, and the local router sends the ACFC option in the LCP Configure-Request packet. The ACFC option informs the local router's peer that the local router can receive packets with compression. If the peer indicates that it, too, can receive packets with compression, then ACFC is negotiated. If ACFC is successfully negotiated, the local router can receive packets with or without the address and control bytes included.To monitor the configuration, issue the
show interfacesinterface-namecommand. Configured options are displayed in thelink flagsfield for the physical interface. Successfully negotiated options are displayed in theflagsfield for the logical interface. In this example, both ACFC and PFC are configured, but only ACFC has been successfully negotiated.user@router#run show interfaces so-0/1/1Physical interface: so-0/1/1, Enabled, Physical link is UpInterface index: 133, SNMP ifIndex: 27Link-level type: PPP, MTU: 4474, Clocking: Internal, SONET mode, Speed: OC3, Loopback: None, FCS: 16,Payload scrambler: EnabledDevice flags : Present RunningInterface flags: Point-To-Point SNMP-Traps 16384Link flags : No-KeepalivesACFC PFCLCP state: OpenedNCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configuredCHAP state: Not-configuredCoS queues : 4 supportedLast flapped : 2004-12-29 10:49:32 PST (00:18:35 ago)Input rate : 0 bps (0 pps)Output rate : 0 bps (0 pps)SONET alarms : NoneSONET defects : NoneLogical interface so-0/1/1.0 (Index 68) (SNMP ifIndex 169)Flags: Point-To-Point SNMP-TrapsACFCEncapsulation: PPPProtocol inet, MTU: 4470Flags: NoneAddresses, Flags: Is-Preferred Is-PrimaryDestination: 3.3.3/24, Local: 3.3.3.2, Broadcast: 3.3.3.255