JUNOSe 9.1.x Link Layer Configuration Guide > Configuring Packet over SONET
> Configuration Tasks
Configuration Tasks
To configure a POS interface:
- Configure a physical interface.
host1(config)#interface pos 0/1
- (Optional) Assign a text description or an alias to the interface.
host1(config-if)#pos description austin01 pos interface
- Configure the encapsulation method.
host1(config-if)#encapsulation ppp
- (Optional) Configure the internal clock source.
host1(config-if)#clock source internal module
- (Optional) Set the size of the CRC.
host1(config-if)#crc 32
- (Optional) Set the time interval at which the router calculates bit and packet rate counters.
host1(config-if)#load-interval 90
- (Optional) Set the type of loopback mode.
host1(config-if)#loopback line
- (Optional) Set the MRU size.
host1(config-if)#mru 1000
- (Optional) Set the MTU size.
host1(config-if)#mtu 1000
- (Optional) Set the type of framing.
host1(config-if)#pos framing sdh
- Disable payload scrambling.
host1(config-if)#no pos scramble-atm
- (Optional) Disable an interface.
host1(config-if)#shutdown
clock source
- Use to set the clock source.
- You can set internal or line clocking.
- Internal clocking has two options:
- moduleUses internal clock from the line module
- chassisUses the configured router clock
host1(config-if)#clock source internal module
Use the no version to restore the default value, line.
crc
- Use to set the number of bits used for CRC checking.
- CRC is an error-checking technique that uses a calculated numeric value to detect errors in transmitted data; 16 and 32 indicate the number of check digits per frame that are used to calculate the frame check sequence (FCS). Both the sender and receiver must use the same setting.
- Example
host1(config-if)#crc 32
Use the no version to restore the default value, 16.
encapsulation frame-relay ietf
- Use to specify Frame Relay as the encapsulation method for the interface.
- The router uses IETF format (RFC 2427 encapsulation).
- Example
host1(config-if)#encapsulation frame-relay ietf
Use the no version to remove the Frame Relay configuration from an interface.
encapsulation ppp
- Use to specify PPP as the encapsulation method for the interface.
- Example
host1(config-if)#encapsulation ppp
Use the no version to remove the PPP configuration from an interface.
interface pos
- Use to configure a POS interface.
- 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
- To specify a POS interface for E120 and E320 routers, use the slot/adapter/port 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).
- portPort number on the IOA
- 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/1
host1(config-if)#interface pos 5/0/0
Use the no version to remove the POS interface.
load-interval
- Use to set the time interval at which the router calculates bit and packet rate counters.
- You can choose a multiple of 30 seconds, in the range 30300 seconds.
- Example
host1(config-if)#load-interval 90
Use the no version to restore the default value, 300.
loopback
- Use to specify the type of loopback for a POS interface.
- internalConnects the local transmitted signal to the local received signal.
- lineConnects the received network signal directly to the transmit network signal. When configured in line loopback mode, the router never receives data from the network.
host1(config-if)#loopback line
Use the no version to clear the loopback.
mru
- Use to set the maximum allowable size of the MRU.
- Specify a value in the range 19996 bytes.
- Example
host1(config-if)#mru 1000
Use the no version to restore the default value, 4470.
mtu
- Use to set the maximum allowable size of the MTU.
- Specify a value in the range 19996 bytes.
- Example
host1(config-if)#mtu 1000
Use the no version to restore the default value, 4470.
pos description
- Use to assign a text description or an alias to a POS HDLC interface.
- You can use this command to help you identify the interface and keep track of interface connections.
- The description or alias can be a maximum of 80 characters.
- Use the show interfaces pos command to display the text description.
- Example
host1(config-if)#pos description austin01 pos interface
Use the no version to remove the text description or alias.
pos framing
- Use to set the type of framing for a POS interface.
- sdhUses SDH framing format
- sonetUses SONET framing format (the default)
host1(config-if)#pos framing sdh
Use the no version to restore the default value, sonet.
pos scramble-atm
- Use to enable payload scrambling on a POS interface.
- Payload scrambling is enabled by default. When enabled, both sides of the connection must be using the scrambling algorithm. The router uses a 43rd-order synchronous scrambler to scramble the output data.
- Example
host1(config-if)#pos scramble-atm
Use the no version to disable scrambling on the POS interface.
shutdown
- Use to disable a POS interface.
- Example
host1(config-if)#shutdown
Use the no version to restart a disabled interface.