Configuration Tasks
The following procedure is an example of a PPP configuration on a serial interface. These steps are mandatory unless otherwise noted.
- From Global Configuration mode, specify the physical interface on which you want to configure PPP.
host1(config)#interface serial 3/0:2/5- Specify PPP as the encapsulation method (data-link protocol) on the interface.
host1(config-if)#encapsulation ppp- Assign an IP address and subnet mask for the interface.
host1(config-if)#ip address 192.168.22.10 255.255.255.0- Verify that your configuration changes are correct.
host1#show ppp interface serial 3/0:2/5 configencapsulation ppp
host1(config-if)#encapsulation pppUse the no version to disable PPP on an interface. interface atm
- Use to specify a previously configured ATM interface on which you want to configure PPP.
- To specify an ATM interface for ERX-7xx models, ERX-14xx models, and ERX-310 routers, use the slot/port.[subinterface ] format.
- slotNumber of the chassis slot
- portPort number on the I/O module
- subinterfaceNumber of the subinterface in the range 12147483647
- To specify an ATM interface for E120 and E320 routers, use the slot/adapter/port[.subinterface ] format.
- slotNumber of the chassis slot
- adapterIdentifier for the IOA within the E320 chassis, either 0 or 1, where:
- 0 indicates that the IOA is installed in the right IOA bay (E120 router) or the upper IOA bay (E320 router).
- 1 indicates that the IOA is installed in the left IOA bay (E120 router) or the lower IOA bay (E320 router).
- For more information, see Creating a Basic Configuration in Chapter 1, Configuring ATM.
- Examples
host1(config-if)#interface atm 9/1.1host1(config-if)#interface atm 5/0/1.1Use the no version to disable or remove the subinterface or the logical interface. interface pos
- Use to specify a previously configured packet over SONET (POS) interface on which you want to configure PPP.
- To specify a POS interface for ERX-7xx models, ERX-14xx models, and ERX-310 routers, use the slot/port.[subinterface ] format.
- slotNumber of the chassis slot
- portPort number on the I/O module
- subinterfaceNumber of the subinterface
- slotNumber of the chassis slot
- adapterIdentifier for the IOA within the E320 chassis, either 0 or 1, where:
- 0 indicates that the IOA is installed in the right IOA bay (E120 router) or the upper IOA bay (E320 router).
- 1 indicates that the IOA is installed in the left IOA bay (E120 router) or the lower IOA bay (E320 router).
- For more information about modules that support POS interfaces, see JUNOSe Physical Layer Configuration Guide, Chapter 3, Configuring Unchannelized OCx/STMx Interfaces.
- Examples
host1(config-if)#interface pos 0/1host1(config-if)#interface pos 5/0/0Use the no version to remove the POS interface. interface serial
- Use to specify a serial interface in the slot/port:channel/subchannel format by selecting a previously configured physical interface on which you want to configure PPP.
- slotRefers to a router chassis slot.
- portRefers to a CT3, T3, or E3 module I/O port.
- channelRefers to a T1 (DS1) channel.
- subchannelRepresents a set of DS0 subchannels.
host1(config)#interface serial 3/0:2/5Use the no version to disable or remove the subinterface or the logical interface. ip address
host1(config-if)#ip address 192.168.22.10 255.255.255.0Use the no version to remove an IP address or disable IP processing.