Your browser failed to load CSS style sheets. Your browser or web proxy might not support elliptic-curve TLS

Building network automation solutions

6 week online course

Start now!
back to overview

Tcl script to display Frame Relay DLCI status

In my IP Corner article, Enhance the IOS User Interface, I've included a short Tcl script that displays the list of all DLCIs on the router in a nice tabular format. If you'd like to have them grouped by interface, you can use this Tcl script. To use it, download it and store it into your router's flash. Define an alias: alias exec dlci tclsh flash:dlci.tcl. Now you can use the new dlci command to display nicely formatted list of DLCI's.Here is a sample printout:
rtr#dlci

Interface Serial0/0/0

DLCI Status Usage Interface
=============================================
100 ACTIVE LOCAL Serial0/0/0.100
200 ACTIVE UNUSED
301 ACTIVE UNUSED
401 ACTIVE UNUSED

Interface Serial0/1/0 (DCE)

DLCI Status Usage Interface
=============================================
213 ACTIVE LOCAL
214 ACTIVE LOCAL
301 INACTIVE SWITCHED

Interface Tunnel0

DLCI Status Usage Interface
=============================================
301 ACTIVE SWITCHED

No comments:

You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.

Sidebar