Example: Configuring the G.SHDSL Interface
This example shows how to configure the G.SHDSL interface.
Starting in Junos OS Release 15.1X49-D10 SHDSL interfaces are no longer supported on SRX300, SRX320, SRX340, SRX345, and SRX550HM devices.
Before you begin, configure network interfaces as necessary. See Understanding Ethernet Interfaces.
In this example, you specify the wire mode called 2-port-atm and create an interface called at-1/0/0. You then specify the annex type as annex-a and set the line rate to auto. Then you specify the encapsulation type as ethernet-over-atm and define a logical unit as unit 3 that you connect to this physical G.SHDSL interface. You can set a value from 0 through 7. Finally, you configure the encapsulation type as ether-over-atm-llc.
CLI Quick Configuration
To quickly configure this example, copy the following command, paste it into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the command into the CLI at the  hierarchy level, and then enter commit from configuration mode.
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.
To configure the G.SHDSL interface:
- Specify the wire mode.user@host# set chassis fpc 1 pic 0 shdsl pic-mode 2-port-atm
For configuring the G.SHDSL interface in chassis cluster mode, provide the node id also. For example, to configure an shdsl 2 port pic-mode in chassis cluster mode for the fpc slot 1 on the node 0, use the following command:
set chassis node 0 fpc 1 pic 0 shdsl pic-mode 2-port-atm
- Create an interface.user@host# edit interfaces at-1/0/0 shdsl-options
- Specify the annex type.[edit interfaces at-1/0/0 shdsl-options]user@host# set annex annex-a
- Configure the line rate.[edit interfaces at-1/0/0 shdsl-options]user@host# set line-rate auto
- Specify the encapsulation type.[edit interfaces at-1/0/0]user@host# set encapsulation ethernet-over-atm
- Define one or more logical units.[edit interfaces at-1/0/0]user@host# edit unit 3
- Configure the encapsulation type.[edit interfaces at-1/0/0 unit 3]user@host# set encapsulation ether-over-atm-llc
From configuration mode, confirm your configuration by entering the show interfaces at-1/0/0 and show chassis fpc 1 commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
If you are done configuring the device, enter commit from configuration mode.
Confirm that the configuration is working properly.
Verifying G.SHDSL Interface Properties
Verify that the G.SHDSL interface properties are configured properly.
From operational mode, enter the show interfaces at-1/0/0 extensive command.
user@host> show interfaces at-1/0/0 extensive
Four-wire mode for interface at-1/0/0:
Physical interface: at-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 139, Generation: 329 Link-level type: ATM-PVC, MTU: 1496, Clocking: Internal, Speed: SHDSL(4-wire) Speed: SHDSL(4-wire), Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 00:24:dc:01:cf:a0 Last flapped : 2009-09-24 00:19:03 PDT (00:00:54 ago) Statistics last cleared: 2009-09-24 00:18:24 PDT (00:01:33 ago) Traffic statistics: Input bytes : 125 0 bps Output bytes : 96 0 bps Input packets: 2 0 pps Output packets: 1 0 pps Input errors: Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 1, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 Egress queues: 8 supported, 4 in use Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 1 1 0 1 expedited-fo 0 0 0 2 assured-forw 0 0 0 3 network-cont 0 0 0 SHDSL alarms : None SHDSL defects : None SHDSL media: Seconds Count State LINE1_LOSD 32 0 OK LINE1_LOSW 37 0 OK LINE2_LOSD 32 0 OK LINE2_LOSW 37 0 OK ES 37 SES 37 UAS 48 SHDSL status: Line termination : STU-R Annex : Annex B Line mode : 4-wire Modem status : Data Bit rate (kbps) : 4608 Last fail mode : No failure (0x00) Framer mode : ATM Dying gasp : Enabled Framer sync status : In sync Chipset version : 00 SHDSL statistics: Loop attenuation (dB) : 0.0 Transmit power (dBm) : 0.0 Receiver gain (dB) : -inf SNR sampling (dB) : inf CRC errors : 0 SEGA errors : 0 LOSW errors : 0 Received cells : 0 Transmitted cells : 0 HEC errors : 0 Cell drop : 0 Packet Forwarding Engine configuration: Destination slot: 1 CoS information: Direction : Output CoS transmit queue Bandwidth Buffer Priority Limit % bps % usec 0 best-effort 95 4377600 95 0 low none 3 network-control 5 230400 5 0 low none Logical interface at-1/0/0.0 (Index 76) (SNMP ifIndex 133) (Generation 402) Flags: Point-To-Multipoint SNMP-Traps 0x0 Encapsulation: Ether-over-ATM-LLC Traffic statistics: Input bytes : 125 Output bytes : 116 Input packets: 2 Output packets: 1 Local statistics: Input bytes : 125 Output bytes : 116 Input packets: 2 Output packets: 1 Transit statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps Security: Zone: Null Flow Statistics : Flow Input statistics : Self packets : 0 ICMP packets : 0 VPN packets : 0 Multicast packets : 0 Bytes permitted by policy : 0 Connections established : 0 Flow Output statistics: Multicast packets : 0 Bytes permitted by policy : 0 Flow error statistics (Packets dropped due to): Address spoofing: 0 Authentication failed: 0 Incoming NAT errors: 0 Invalid zone received packet: 0 Multiple user authentications: 0 Multiple incoming NAT: 0 No parent for a gate: 0 No one interested in self packets: 0 No minor session: 0 No more sessions: 0 No NAT gate: 0 No route present: 0 No SA for incoming SPI: 0 No tunnel found: 0 No session for a gate: 0 No zone or NULL zone binding 0 Policy denied: 0 Security association not active: 0 TCP sequence number out of window: 0 Syn-attack protection: 0 User authentication errors: 0 Protocol inet, MTU: 1468, Generation: 322, Route table: 0 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 17.1.1/24, Local: 188.8.131.52, Broadcast: 184.108.40.206, Generation: 496 VCI 1.70 Flags: Active, Multicast Total down time: 0 sec, Last down: Never ATM per-VC transmit statistics: Tail queue packet drops: 0 Traffic statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Logical interface at-1/0/0.32767 (Index 77) (SNMP ifIndex 141) (Generation 403) Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0 Encapsulation: ATM-VCMUX Traffic statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Local statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Security: Zone: Null Flow Statistics : Flow Input statistics : Self packets : 0 ICMP packets : 0 VPN packets : 0 Multicast packets : 0 Bytes permitted by policy : 0 Connections established : 0 Flow Output statistics: Multicast packets : 0 Bytes permitted by policy : 0 Flow error statistics (Packets dropped due to): Address spoofing: 0 Authentication failed: 0 Incoming NAT errors: 0 Invalid zone received packet: 0 Multiple user authentications: 0 Multiple incoming NAT: 0 No parent for a gate: 0 No one interested in self packets: 0 No minor session: 0 No more sessions: 0 No NAT gate: 0 No route present: 0 No SA for incoming SPI: 0 No tunnel found: 0 No session for a gate: 0 No zone or NULL zone binding 0 Policy denied: 0 Security association not active: 0 TCP sequence number out of window: 0 Syn-attack protection: 0 User authentication errors: 0 VCI 1.4 Flags: Active Total down time: 0 sec, Last down: Never ATM per-VC transmit statistics: Tail queue packet drops: 0 Traffic statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0
The output shows a summary of interface information. Verify the following information:
The physical interface is enabled. If the interface is shown as disabled, do either of the following:
In the CLI configuration editor, delete the disable statement at the [edit interfacesinterface-name] level of the configuration hierarchy.
In the J-Web configuration editor, clear the Disable check box on the Interfaces page (Interfaces>interface-name).
The physical link is up. A link state of down indicates a problem with the interface module, interface port, or physical connection (link-layer errors).
The last flapped time is an expected value. The last flapped time indicates the last time the physical interface became unavailable and then available again. Unexpected flapping indicates likely link-layer errors.
The traffic statistics reflect expected input and output rates. Verify that the number of inbound and outbound bytes and packets matches expected throughput for the physical interface. To clear the statistics and see only new changes, use the clear interfaces statistics interface-name command.
No SHDSL alarms and defects appear that can render the interface unable to pass packets. When a defect persists for a certain amount of time, it is promoted to an alarm.
LOS—Loss of signal. No signal was detected on the line.
LOSW—Loss of sync word. A message ID was sent.
Power status—A power failure has occurred.
LOSD—Loss of signal was detected at the remote application interface.
ES—Errored seconds. One or more cyclic redundancy check (CRC) anomalies were detected.
SES—Severely errored seconds. At least 50 CRC anomalies were detected.
UAS—Unavailable seconds. An interval has occurred during which one or more LOSW defects were detected.
Examine the SHDSL interface status:
Line termination—SHDSL transceiver unit–remote (STU–R). (Only customer premises equipment is supported.)
Annex—Either Annex A or Annex B. Annex A is supported in North America, and Annex B is supported in Europe.
Line mode—SHDSL mode configured on the G.SHDSL interface pair, either two-wire or four-wire.
Modem status—Data. Sending or receiving data.
Bit rate (kbps)—Data transfer speed on the SHDSL interface.
Last fail code—Code for the last interface failure.
Framer mode —ATM framer mode of the underlying interface.
Dying gasp—Ability of a device that has lost power to send a message informing the attached DSLAM that it is about to go offline.
Chipset version—Version number of the chipset on the interface
Examine the operational statistics for a SHDSL interface.
Loop attenuation (dB)—Reduction in signal strength.
Transmit power (dB)—Amount of SHDSL.
Receiver gain (dB)—Maximum extraneous signal allowed without causing the output to deviate from an acceptable level.
SNR sampling (dB)—Signal-to-noise ratio at a receiver point.
CRC errors—Number of cyclic redundancy check errors.
SEGA errors—Number of segment anomaly errors. A regenerator operating on a segment received corrupted data.
LOSW errors—Number of loss of signal defect errors. Three or more consecutively received frames contained one or more errors in the framing bits.
Received cells—Number of cells received through the interface.
Transmitted cells—Number of cells sent through the interface.
HEC errors—Number of header error checksum errors.
Cell drop—Number of dropped cells on the interface.