O'Reilly logo

JUNOS Cookbook by Aviva Garrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.17. Performing a Loopback Test on a T1 Interface

Problem

A new T1 interface has been installed and configured, and you want to perform a loopback test to make sure the interface is operating properly.

Solution

Set up a T1 loopback configuration:

	[edit interfaces t1-0/0/3]
	aviva@RouterF# set t1-options loopback local
	aviva@RouterF# set no-keepalives
	aviva@RouterF# set encapsulation cisco-hdlc
	aviva@RouterF# commit

Make sure the interface is up:

	aviva@RouterF> show interfaces t1-0/0/3    terse
	Interface               Admin    Link  Proto    Local     Remote
	t1-0/0/3                up       up

Then zero all the statistics on the interface:

	aviva@RouterF> clear interfaces statistics t1-0/0/3

Run the loopback test, which sends 1,000 ping messages rapidly and reports the results in a single message:

	aviva@RouterF> ping interface t1-0/0/3 10.0.13.2  
bypass-routing count 1000 rapid PING 10.0.13.2 (10.0.13.2): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required