Avaya Using Technician Interface Scripts Users Manual V13.00,
2015-06-01
: Avaya Avaya-Using-Technician-Interface-Scripts-Users-Manual-734820 avaya-using-technician-interface-scripts-users-manual-734820 avaya pdf
Open the PDF directly: View PDF .
Page Count: 892
Using Technician
Interface Scripts
BayRS Version 13.00
Part No. 303560-A Rev 00
October 1998
4401 Great America Parkway
Santa Clara, CA 95054
8 Federal Street
Billerica, MA 01821
Copyright © 1998 Bay Networks, Inc.
All rights reserved. Printed in the USA. October 1998.
The information in this document is subject to change without notice. The statements, configurations, technical data,
and recommendations in this document are believed to be accurate and reliable, but are presented without express or
implied warranty. Users must take full responsibility for their applications of any products specified in this document.
The information in this document is proprietary to Bay Networks, Inc.
The software described in this document is furnished under a license agreement and may only be used in accordance
with the terms of that license. A summary of the Software License is included in this document.
Trademarks
ACE, AFN, AN, BCN, BLN, BN, BNX, CN, FRE, LN, Optivity, PPX, Quick2Config, and Bay Networks are
registered trademarks and Advanced Remote Node, ANH, ARN, ASN, BayRS, BaySecure, BayStack, BayStream,
BCC, BCNX, BLNX, EZ Install, EZ Internetwork, EZ LAN, FN, IP AutoLearn, PathMan, RouterMan, SN, SPEX,
Switch Node, System 5000, and the Bay Networks logo are trademarks of Bay Networks, Inc.
Microsoft, MS, MS-DOS, Win32, Windows, and Windows NT are registered trademarks of Microsoft Corporation.
All other trademarks and registered trademarks are the property of their respective owners.
Restricted Rights Legend
Use, duplication, or disclosure by the United States Government is subject to restrictions as set forth in subparagraph
(c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013.
Notwithstanding any other license agreement that may pertain to, or accompany the delivery of, this computer
software, the rights of the United States Government regarding its use, reproduction, and disclosure are as set forth in
the Commercial Computer Software-Restricted Rights clause at FAR 52.227-19.
Statement of Conditions
In the interest of improving internal design, operational function, and/or reliability, Bay Networks, Inc. reserves the
right to make changes to the products described in this document without notice.
Bay Networks, Inc. does not assume any liability that may occur due to the use or application of the product(s) or
circuit layout(s) described herein.
Portions of the code in this software product may be Copyright © 1988, Regents of the University of California. All
rights reserved. Redistribution and use in source and binary forms of such portions are permitted, provided that the
above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising
materials, and other materials related to such distribution and use acknowledge that such portions of the software were
developed by the University of California, Berkeley. The name of the University may not be used to endorse or
promote products derived from such portions of the software without specific prior written permission.
SUCH PORTIONS OF THE SOFTWARE ARE PROVIDED “AS IS” AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
In addition, the program and information contained herein are licensed only pursuant to a license agreement that
contains restrictions on use and disclosure (that may incorporate by reference certain limitations and notices imposed
by third parties).
ii
303560-A Rev 00
Bay Networks, Inc. Software License Agreement
NOTICE: Please carefully read this license agreement before copying or using the accompanying software or
installing the hardware unit with pre-enabled software (each of which is referred to as “Software” in this Agreement).
BY COPYING OR USING THE SOFTWARE, YOU ACCEPT ALL OF THE TERMS AND CONDITIONS OF
THIS LICENSE AGREEMENT. THE TERMS EXPRESSED IN THIS AGREEMENT ARE THE ONLY TERMS
UNDER WHICH BAY NETWORKS WILL PERMIT YOU TO USE THE SOFTWARE. If you do not accept these
terms and conditions, return the product, unused and in the original shipping container, within 30 days of purchase to
obtain a credit for the full purchase price.
1. License Grant. Bay Networks, Inc. (“Bay Networks”) grants the end user of the Software (“Licensee”) a personal,
nonexclusive, nontransferable license: a) to use the Software either on a single computer or, if applicable, on a single
authorized device identified by host ID, for which it was originally acquired; b) to copy the Software solely for backup
purposes in support of authorized use of the Software; and c) to use and copy the associated user manual solely in
support of authorized use of the Software by Licensee. This license applies to the Software only and does not extend
to Bay Networks Agent software or other Bay Networks software products. Bay Networks Agent software or other
Bay Networks software products are licensed for use under the terms of the applicable Bay Networks, Inc. Software
License Agreement that accompanies such software and upon payment by the end user of the applicable license fees
for such software.
2. Restrictions on use; reservation of rights. The Software and user manuals are protected under copyright laws.
Bay Networks and/or its licensors retain all title and ownership in both the Software and user manuals, including any
revisions made by Bay Networks or its licensors. The copyright notice must be reproduced and included with any
copy of any portion of the Software or user manuals. Licensee may not modify, translate, decompile, disassemble, use
for any competitive analysis, reverse engineer, distribute, or create derivative works from the Software or user manuals
or any copy, in whole or in part. Except as expressly provided in this Agreement, Licensee may not copy or transfer
the Software or user manuals, in whole or in part. The Software and user manuals embody Bay Networks’ and its
licensors’ confidential and proprietary intellectual property. Licensee shall not sublicense, assign, or otherwise
disclose to any third party the Software, or any information about the operation, design, performance, or
implementation of the Software and user manuals that is confidential to Bay Networks and its licensors; however,
Licensee may grant permission to its consultants, subcontractors, and agents to use the Software at Licensee’s facility,
provided they have agreed to use the Software only in accordance with the terms of this license.
3. Limited warranty. Bay Networks warrants each item of Software, as delivered by Bay Networks and properly
installed and operated on Bay Networks hardware or other equipment it is originally licensed for, to function
substantially as described in its accompanying user manual during its warranty period, which begins on the date
Software is first shipped to Licensee. If any item of Software fails to so function during its warranty period, as the sole
remedy Bay Networks will at its discretion provide a suitable fix, patch, or workaround for the problem that may be
included in a future Software release. Bay Networks further warrants to Licensee that the media on which the
Software is provided will be free from defects in materials and workmanship under normal use for a period of 90 days
from the date Software is first shipped to Licensee. Bay Networks will replace defective media at no charge if it is
returned to Bay Networks during the warranty period along with proof of the date of shipment. This warranty does not
apply if the media has been damaged as a result of accident, misuse, or abuse. The Licensee assumes all responsibility
for selection of the Software to achieve Licensee’s intended results and for the installation, use, and results obtained
from the Software. Bay Networks does not warrant a) that the functions contained in the software will meet the
Licensee’s requirements, b) that the Software will operate in the hardware or software combinations that the Licensee
may select, c) that the operation of the Software will be uninterrupted or error free, or d) that all defects in the
operation of the Software will be corrected. Bay Networks is not obligated to remedy any Software defect that cannot
be reproduced with the latest Software release. These warranties do not apply to the Software if it has been (i) altered,
except by Bay Networks or in accordance with its instructions; (ii) used in conjunction with another vendor’s product,
resulting in the defect; or (iii) damaged by improper environment, abuse, misuse, accident, or negligence. THE
FOREGOING WARRANTIES AND LIMITATIONS ARE EXCLUSIVE REMEDIES AND ARE IN LIEU OF ALL
OTHER WARRANTIES EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY WARRANTY OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Licensee is responsible for the security of
303560-A Rev 00
iii
its own data and information and for maintaining adequate procedures apart from the Software to reconstruct lost or
altered files, data, or programs.
4. Limitation of liability. IN NO EVENT WILL BAY NETWORKS OR ITS LICENSORS BE LIABLE FOR ANY
COST OF SUBSTITUTE PROCUREMENT; SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES; OR ANY DAMAGES RESULTING FROM INACCURATE OR LOST DATA OR LOSS OF USE OR
PROFITS ARISING OUT OF OR IN CONNECTION WITH THE PERFORMANCE OF THE SOFTWARE, EVEN
IF BAY NETWORKS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT
SHALL THE LIABILITY OF BAY NETWORKS RELATING TO THE SOFTWARE OR THIS AGREEMENT
EXCEED THE PRICE PAID TO BAY NETWORKS FOR THE SOFTWARE LICENSE.
5. Government Licensees. This provision applies to all Software and documentation acquired directly or indirectly
by or on behalf of the United States Government. The Software and documentation are commercial products, licensed
on the open market at market prices, and were developed entirely at private expense and without the use of any U.S.
Government funds. The license to the U.S. Government is granted only with restricted rights, and use, duplication, or
disclosure by the U.S. Government is subject to the restrictions set forth in subparagraph (c)(1) of the Commercial
Computer Software––Restricted Rights clause of FAR 52.227-19 and the limitations set out in this license for civilian
agencies, and subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause of DFARS
252.227-7013, for agencies of the Department of Defense or their successors, whichever is applicable.
6. Use of Software in the European Community. This provision applies to all Software acquired for use within the
European Community. If Licensee uses the Software within a country in the European Community, the Software
Directive enacted by the Council of European Communities Directive dated 14 May, 1991, will apply to the
examination of the Software to facilitate interoperability. Licensee agrees to notify Bay Networks of any such
intended examination of the Software and may procure support and assistance from Bay Networks.
7. Term and termination. This license is effective until terminated; however, all of the restrictions with respect to
Bay Networks’ copyright in the Software and user manuals will cease being effective at the date of expiration of the
Bay Networks copyright; those restrictions relating to use and disclosure of Bay Networks’ confidential information
shall continue in effect. Licensee may terminate this license at any time. The license will automatically terminate if
Licensee fails to comply with any of the terms and conditions of the license. Upon termination for any reason,
Licensee will immediately destroy or return to Bay Networks the Software, user manuals, and all copies. Bay
Networks is not liable to Licensee for damages in any form solely by reason of the termination of this license.
8. Export and Re-export. Licensee agrees not to export, directly or indirectly, the Software or related technical data
or information without first obtaining any required export licenses or other governmental approvals. Without limiting
the foregoing, Licensee, on behalf of itself and its subsidiaries and affiliates, agrees that it will not, without first
obtaining all export licenses and approvals required by the U.S. Government: (i) export, re-export, transfer, or divert
any such Software or technical data, or any direct product thereof, to any country to which such exports or re-exports
are restricted or embargoed under United States export control laws and regulations, or to any national or resident of
such restricted or embargoed countries; or (ii) provide the Software or related technical data or information to any
military end user or for any military end use, including the design, development, or production of any chemical,
nuclear, or biological weapons.
9. General. If any provision of this Agreement is held to be invalid or unenforceable by a court of competent
jurisdiction, the remainder of the provisions of this Agreement shall remain in full force and effect. This Agreement
will be governed by the laws of the state of California.
Should you have any questions concerning this Agreement, contact Bay Networks, Inc., 4401 Great America Parkway,
P.O. Box 58185, Santa Clara, California 95054-8185.
LICENSEE ACKNOWLEDGES THAT LICENSEE HAS READ THIS AGREEMENT, UNDERSTANDS IT, AND
AGREES TO BE BOUND BY ITS TERMS AND CONDITIONS. LICENSEE FURTHER AGREES THAT THIS
AGREEMENT IS THE ENTIRE AND EXCLUSIVE AGREEMENT BETWEEN BAY NETWORKS AND
LICENSEE, WHICH SUPERSEDES ALL PRIOR ORAL AND WRITTEN AGREEMENTS AND
COMMUNICATIONS BETWEEN THE PARTIES PERTAINING TO THE SUBJECT MATTER OF THIS
AGREEMENT. NO DIFFERENT OR ADDITIONAL TERMS WILL BE ENFORCEABLE AGAINST BAY
NETWORKS UNLESS BAY NETWORKS GIVES ITS EXPRESS WRITTEN CONSENT, INCLUDING AN
EXPRESS WAIVER OF THE TERMS OF THIS AGREEMENT.
iv
303560-A Rev 00
Contents
Preface
Before You Begin .............................................................................................................xiii
Text Conventions .............................................................................................................xiv
Acronyms .........................................................................................................................xvi
Bay Networks Technical Publications ..............................................................................xix
How to Get Help .............................................................................................................. xx
Chapter 1
Introducing Technician Interface Scripts
What Are Technician Interface Scripts? ..........................................................................1-2
Script Types ..............................................................................................................1-2
Script Command Categories ....................................................................................1-3
Installing .bat and .mnu Files ..........................................................................................1-5
Setting Up Scripts ...........................................................................................................1-6
Using Script Commands .................................................................................................1-8
Using the show Command .......................................................................................1-8
Using the enable and disable Commands .............................................................1-15
Using the Menu Utility ...................................................................................................1-17
Displaying Menus ...................................................................................................1-17
Configuring Menus .................................................................................................1-20
Adding a Command .........................................................................................1-21
Deleting a Command .......................................................................................1-21
Clearing All Commands ...................................................................................1-21
Editing a Command .........................................................................................1-22
Editing a Menu Title .........................................................................................1-22
Loading a New Menu .......................................................................................1-22
Toggling Menu Titles and Commands .............................................................1-23
Saving Changes Made to Menus .....................................................................1-27
303560-A Rev 00
v
Chapter 2
Using the show Command
show ahb ........................................................................................................................2-2
show appn ......................................................................................................................2-6
show at .........................................................................................................................2-50
show atm ......................................................................................................................2-66
show atmarp .................................................................................................................2-76
show atmdxi ..................................................................................................................2-84
show atmsig ..................................................................................................................2-94
show atm line ................................................................................................................2-99
show aurp ...................................................................................................................2-111
show autoneg .............................................................................................................2-120
show bgp ....................................................................................................................2-127
show bisync ................................................................................................................2-136
show bootp .................................................................................................................2-146
show bot .....................................................................................................................2-151
show bridge ................................................................................................................2-158
show circuits ...............................................................................................................2-164
show console ..............................................................................................................2-175
show csmacd ..............................................................................................................2-182
show dcm ...................................................................................................................2-195
show decnet ...............................................................................................................2-200
show dls ......................................................................................................................2-214
show ds1e1 ................................................................................................................2-226
show dsx3 ...................................................................................................................2-251
show dvmrp ................................................................................................................2-266
show e1 ......................................................................................................................2-275
show egp ....................................................................................................................2-281
show fddi ....................................................................................................................2-284
show fr ........................................................................................................................2-300
show ftp ......................................................................................................................2-318
show fwall ...................................................................................................................2-319
show hardware ...........................................................................................................2-321
show hifn ....................................................................................................................2-328
show hssi ....................................................................................................................2-331
vi
303560-A Rev 00
show igmp ..................................................................................................................2-339
show ip .......................................................................................................................2-343
show ip6 .....................................................................................................................2-370
show ipx ......................................................................................................................2-377
show iredund ..............................................................................................................2-411
show isdn ....................................................................................................................2-413
show isdn bri ...............................................................................................................2-424
show l2tp ....................................................................................................................2-432
show lane ...................................................................................................................2-435
show lapb ...................................................................................................................2-445
show lnm ....................................................................................................................2-451
show mospf ................................................................................................................2-462
show mpoa .................................................................................................................2-466
show nbip ...................................................................................................................2-469
show nhrp ...................................................................................................................2-471
show nml ....................................................................................................................2-478
show ntp .....................................................................................................................2-482
show osi ......................................................................................................................2-486
show ospf ...................................................................................................................2-495
show packet ................................................................................................................2-504
show ping ...................................................................................................................2-513
show ppp ....................................................................................................................2-517
show process ..............................................................................................................2-547
show protopri ..............................................................................................................2-552
show radius .................................................................................................................2-555
show rarp ....................................................................................................................2-562
show rip6 ....................................................................................................................2-565
show rptr .....................................................................................................................2-567
show rredund ..............................................................................................................2-576
show rsc .....................................................................................................................2-584
show rsvp ...................................................................................................................2-588
show sdlc ....................................................................................................................2-590
show smds ..................................................................................................................2-594
show snmp .................................................................................................................2-599
show span ..................................................................................................................2-607
303560-A Rev 00
vii
show sr .......................................................................................................................2-615
show srspan ...............................................................................................................2-628
show sta .....................................................................................................................2-635
show stac ....................................................................................................................2-638
show state ..................................................................................................................2-640
show sws ....................................................................................................................2-643
show sync ...................................................................................................................2-662
show system ...............................................................................................................2-680
show t1 .......................................................................................................................2-685
show tcp .....................................................................................................................2-693
show telnet .................................................................................................................2-696
show tftp .....................................................................................................................2-698
show token ..................................................................................................................2-699
show vines ..................................................................................................................2-711
show wcp ....................................................................................................................2-723
show wep ....................................................................................................................2-731
show x25 ...................................................................................................................2-737
show xb ......................................................................................................................2-748
show xns .....................................................................................................................2-758
Chapter 3
Using enable/disable Commands
enable/disable appn ........................................................................................................3-2
enable/disable at .............................................................................................................3-5
enable/disable atm ..........................................................................................................3-6
enable/disable atmdxi .....................................................................................................3-8
enable/disable aurp ........................................................................................................3-9
enable/disable autoneg .................................................................................................3-10
enable/disable bootp .....................................................................................................3-11
enable/disable bridge ....................................................................................................3-12
enable/disable circuits ..................................................................................................3-13
enable/disable csmacd .................................................................................................3-14
enable/disable dcm .......................................................................................................3-15
enable/disable decnet ...................................................................................................3-17
enable/disable dls .........................................................................................................3-18
enable/disable ds1e1 ....................................................................................................3-19
viii
303560-A Rev 00
enable/disable dvmrp ...................................................................................................3-20
enable/disable e1 ..........................................................................................................3-21
enable/disable fddi ........................................................................................................3-22
enable/disable fr ...........................................................................................................3-23
enable/disable ftp ..........................................................................................................3-24
enable/disable hssi .......................................................................................................3-25
enable/disable igmp ......................................................................................................3-26
enable/disable ip ...........................................................................................................3-27
enable/disable ipx .........................................................................................................3-28
enable/disable iredund ..................................................................................................3-29
enable/disable isdn .......................................................................................................3-30
enable/disable isdn bri ..................................................................................................3-32
enable/disable lapb .......................................................................................................3-33
enable/disable lnm ........................................................................................................3-34
enable/disable nbip .......................................................................................................3-35
enable/disable nml ........................................................................................................3-36
enable/disable osi .........................................................................................................3-37
enable/disable ospf .......................................................................................................3-38
enable/disable packet ...................................................................................................3-39
enable/disable ppp ........................................................................................................3-40
enable/disable rarp .......................................................................................................3-41
enable/disable rptr ........................................................................................................3-42
enable/disable rredund .................................................................................................3-43
enable/disable sdlc .......................................................................................................3-44
disable/enable snmp .....................................................................................................3-45
enable/disable span ......................................................................................................3-46
enable/disable sr ...........................................................................................................3-47
enable/disable srspan ...................................................................................................3-48
enable/disable sta .........................................................................................................3-49
enable/disable sws .......................................................................................................3-50
enable/disable sync ......................................................................................................3-51
enable/disable t1 ...........................................................................................................3-52
enable/disable tcp .........................................................................................................3-53
enable/disable telnet .....................................................................................................3-54
enable/disable tftp .........................................................................................................3-55
303560-A Rev 00
ix
enable/disable token .....................................................................................................3-56
enable/disable vines .....................................................................................................3-57
enable/disable wcp .......................................................................................................3-58
enable/disable x25 ........................................................................................................3-59
enable/disable xb ..........................................................................................................3-60
enable/disable xns ........................................................................................................3-61
Index
x
303560-A Rev 00
Tables
Table 1-1.
Displaying Service Information
Table 1-2.
Enabling and Disabling Services
303560-A Rev 00
..............................................................1-9
.........................................................1-15
xi
Preface
This guide describes how to use Technician Interface scripts to display statistical
and configuration information about Bay Networks® routers and BayStream™
platforms.
Before You Begin
Before using this guide to run Technician Interface commands on a router or
BayStream platform, you must:
•
Install the router or BayStream platform.
•
Use one of the following methods to establish a connection to the router or
BayStream platform:
-- Connect the serial port of an ASCII terminal device (for example, a DEC
VT100) directly to the console port of the router or BayStream platform.
-- Connect the serial port of a workstation or PC directly to the console port
of the router or BayStream platform. (Run ASCII terminal emulation
software on the workstation or PC.)
-- Dial in to the console port of the router or BayStream platform from a
workstation or PC running ASCII terminal emulation software. (This
alternative requires one modem locally attached to your workstation or
PC, and another modem locally attached to the console port of the router
or BayStream platform you want to access.)
-- Establish a Telnet (in-band) connection to the router or BayStream
platform.
303560-A Rev 00
xiii
Using Technician Interface Scripts
Note: Before you can access the Technician Interface using Telnet, the router
or BayStream platform must have at least one assigned IP address. Although
there is no limit to the number of Telnet connections that you can make to the
Technician Interface, we recommend that you establish no more than one
Telnet session per router or BayStream platform.
Text Conventions
This guide uses the following text conventions:
angle brackets (< >)
Indicate that you choose the text to enter based on the
description inside the brackets. Do not type the
brackets when entering the command.
Example: If the command syntax is:
ping , you enter:
ping 192.32.10.12
bold text
Indicates text that you need to enter and command
names and options.
Example: Enter show ip {alerts | routes}
Example: Use the dinfo command.
braces ({})
Indicate required elements in syntax descriptions
where there is more than one option. You must choose
only one of the options. Do not type the braces when
entering the command.
Example: If the command syntax is:
show ip {alerts | routes}, you must enter either:
show ip alerts or show ip routes.
brackets ([ ])
Indicate optional elements in syntax descriptions. Do
not type the brackets when entering the command.
Example: If the command syntax is:
show ip interfaces [-alerts], you can enter either:
show ip interfaces or show ip interfaces -alerts.
xiv
303560-A Rev 00
Preface
ellipsis points (. . . )
Indicate that you repeat the last element of the
command as needed.
Example: If the command syntax is:
ethernet/2/1 [ ] . . ., you enter
ethernet/2/1 and as many parameter-value pairs as
needed.
italic text
Indicates file and directory names, new terms, book
titles, and variables in command syntax descriptions.
Where a variable is two or more words, the words are
connected by an underscore.
Example: If the command syntax is:
show at
valid_route is one variable and you substitute one value
for it.
screen text
Indicates system output, for example, prompts and
system messages.
Example: Set Bay Networks Trap Monitor Filters
separator ( > )
Shows menu paths.
Example: Protocols > IP identifies the IP option on the
Protocols menu.
vertical line ( | )
Separates choices for command keywords and
arguments. Enter only one of the choices. Do not type
the vertical line when entering the command.
Example: If the command syntax is:
show ip {alerts | routes}, you enter either:
show ip alerts or show ip routes, but not both.
303560-A Rev 00
xv
Using Technician Interface Scripts
Acronyms
xvi
ACE
Advanced Communications Engine
AFN
Access Feeder Node
ALN
Access Link Node
AN
Access Node
ANH
Access Node Hub
APING
APPN Ping
APPN
Advanced Peer-to-Peer Routing
ARP
Address Resolution Protocol
ASCII
American Standard Code for Information Interchange
ASN
Access Stack Node
ASN.1
Abstract Syntax Notation
AT
AppleTalk Protocol
ATM
Asynchronous Transfer Mode
AURP
Appletalk Update-based Routing Protocol
BCN
Backbone Concentrator Node
BGP
Border Gateway Protocol
BLN
Backbone Link Node
BLN-2
Backbone Link Node (2 power supplies)
BOOTP
Bootstrap Protocol
CLNP
Connectionless Network Protocol
CN
Concentrator Node
CPU
Central Processing Unit
CRC
Cyclic Redundancy Check
CSMA/CD
Carrier Sense Multiple Access with Collision Detection
DCM
Data Collection Module
DLCMI
Data Link Control Management Interface
DLSw
Data Link Switch
303560-A Rev 00
Preface
303560-A Rev 00
DOS
Disk Operating System
DRAM
Dynamic RAM
DSAP
Destination Service Access Point
DVMRP
Distance Vector Multicast Routing Protocol
EOF
End of File
EGP
Exterior Gateway Protocol
FAT
File Allocation Table
FDDI
Fiber Distributed Data Interface
FIFO
First In First Out
FRSW
Frame Relay Switch
FTP
File Transfer Protocol
FN
Feeder Node
FR
Frame Relay
FRE
Fast Routing Engine
GAME
Gate Access Management Entity
GMT
Greenwich Mean Time
HDLC
High-level Data Link Control
HSSI
High Speed Serial Interface
ICMP
Internet Control Message Protocol
IGMP
Internet Group Membership Protocol
IN
Integrated Node
IP
Internet Protocol
IP6
Internet Protocol version 6
IPX
Internet Packet Exchange
ISDN
Integrated Services Digital Network
LAN
Local Area Network
LAPB
Link Access Procedure Balanced
LED
Light Emitting Diode
LLC
Logical Link Control
xvii
Using Technician Interface Scripts
xviii
LMI
Local Management Interface
LN
Link Node
LNM
LAN Network Manager
LSP
Link State Packet
MAC
Media Access Control
MCT1
Multichannel T1
MIB
Management Information Base
MOSY
Managed Object Syntax
NML
Native Mode LAN
NSAP
Network Service Access Point
NVFS
Non-Volatile File System
OSI
Open Systems Interconnection
OSPF
Open Shortest Path First
PCMCIA
Personal Computer Memory Card International
Association
PPP
Point-to-Point Protocol
PPX
Parallel Packet Express
PROM
Programmable Read-Only Memory
QENET
Quad Ethernet
RAM
Random Access Memory
RARP
Reverse Address Resolution Protocol
RIP
Routing Information Protocol
RIP6
Routing Information Protocol version 6
RIF
Routing Information Field
RFC
Request for Comment
SAP
Service Access Point
SDLC
Synchronous Data Link Control
SIMM
Single In-line Memory Module
SMDS
Switched Multimegabit Data Services
303560-A Rev 00
Preface
SNAP
SubNetwork Access Protocol
SNMP
Simple Network Management Protocol
SR
Source Routing
SRM-L
System Resources Link Module
STA
Statistics, Thresholds, and Alarms
SYSCON
System Controller board
SWS
Switched Services
TCP
Transport Control Protocol
TFTP
Trivial File Transfer Protocol
TIP
Terminal Interface Program
TP
Transaction Program
VC
Virtual Circuit
VINES
Virtual Networking System
WAN
Wide Area Network
XB
Translation Bridge
XNS
Xerox Networking Systems
Bay Networks Technical Publications
You can now print Bay Networks technical manuals and release notes free,
directly from the Internet. Go to support.baynetworks.com/library/tpubs/. Find the
Bay Networks product for which you need documentation. Then locate the
specific category and model or version for your hardware or software product.
Using Adobe Acrobat Reader, you can open the manuals and release notes, search
for the sections you need, and print them on most standard printers. You can
download Acrobat Reader free from the Adobe Systems Web site,
www.adobe.com.
303560-A Rev 00
xix
Using Technician Interface Scripts
You can purchase Bay Networks documentation sets, CDs, and selected technical
publications through the Bay Networks Collateral Catalog. The catalog is located
on the World Wide Web at support.baynetworks.com/catalog.html and is divided
into sections arranged alphabetically:
•
The “CD ROMs” section lists available CDs.
•
The “Guides/Books” section lists books on technical topics.
•
The “Technical Manuals” section lists available printed documentation sets.
Make a note of the part numbers and prices of the items that you want to order.
Use the “Marketing Collateral Catalog description” link to place an order and to
print the order form.
How to Get Help
For product assistance, support contracts, or information about educational
services, go to the following URL:
http://www.baynetworks.com/corporate/contacts/
Or telephone the Bay Networks Technical Solutions Center at:
800-2LANWAN
xx
303560-A Rev 00
Chapter 1
Introducing Technician Interface Scripts
This chapter provides an overview of the Technician Interface scripts and explains
how to run them. It also describes how to:
•
Load scripts.
•
Set up scripts.
•
Use script commands.
•
Use the menu utility.
This guide assumes that you have a working knowledge of the Bay Networks
Technician Interface. For complete information about this router management
tool, see Using Technician Interface Software. For information on how to write
your own Technician Interface scripts, see Writing Technician Interface Scripts.
303560-A Rev 00
1-1
Using Technician Interface Scripts
What Are Technician Interface Scripts?
The Technician Interface show/monitor and enable/disable scripts are programs
that enable you to view and use information stored in the Bay Networks
Management Information Base (MIB). You use scripts to display statistical and
configuration information about various router services, and to enable or disable
those services.
Script Types
Most Technician Interface scripts run from a .bat (batch) file.
The system loads a specific .bat file into active memory when you enter a scripts
command such as show appn directory statistics. The system software supports
one .bat file for each router protocol or service. Each .bat file contains the routines
for all script subcommand options for a protocol or service. The routine called by
each subcommand generates and prints (to the router console) statistics that reveal
a particular view of that protocol or service.
As an alternative to entering show/enable/disable commands at the Technician
Interface prompt, you can also access protocol-specific menus from the scripts
main menu. You enter (choose by number) a protocol/service submenu from the
scripts main menu. From a submenu, you can access all scripts options for a
protocol or service without entering commands. All scripts menus exist as *.mnu
files you install during initial configuration of each router. To save file space,
install only the .bat and .mnu files that pertain to the protocols or services you
want to support on each router.
Other Technician Interface scripts are programs embedded within the router
software image. The router software currently includes embedded scripts for the
following services:
• CSMACD
• SNMP
• FR
• SYNC
• FTP
• TCP
• IP
• TELNET
• MOSPF
• TFTP
• RIP
1-2
303560-A Rev 00
Introducing Technician Interface Scripts
These scripts run more efficiently than their batch file counterparts. You enter at
the Technician Interface prompt the command for any script, regardless of type
(batch or embedded) in the same way, as follows:
{show|enable|disable} {} {}
Script Command Categories
The system software supports scripts in the following command categories:
show
Displays configuration, state, and statistical information
about a router service. This command helps you isolate
problems such as circuits that are not working, packets that
are not being forwarded, and so on. It uses the show.bat file.
monitor
Displays the same information as the show command but
refreshes the display periodically so you can observe trends
and changes. Since you can use monitor in place of show,
this manual does not describe syntax for the monitor
command. This command uses the monitor.bat file.
enable/disable
Enables or disables system features, protocols, drivers, or
individual circuits. These commands use the enable.bat and
disable.bat files.
menu
Provides a menu interface to the scripts. Also provides a
menu-building feature that enables you to create custom
menus. This command uses menu.bat and various .mnu files.
Each show command supports a subset of commands that display statistical and
configuration information about a particular service or driver running on the
router.
303560-A Rev 00
1-3
Using Technician Interface Scripts
Some show commands present a broad or collective view of router status and
resources. For example,
show circuits
Displays information about all drivers running on the
router. You can use this command to display information
about all circuits without needing to know the driver that
runs on each circuit.
show drivers
Displays information about the configuration of all link
modules in the router.
show hardware
Displays backplane, configuration file, image, memory,
PROM, and slot information about the router’s hardware.
show protocols
Displays information about the protocols configured on
every slot in the router.
show state
Displays information about the current state of services
running on the router.
show system
Displays information about router memory, buffers, drivers,
and configured protocols.
Note: You can abbreviate command names, using the first three characters of
the command name, as long as the abbreviation uniquely identifies the
command.
To establish the search path used to find the script files, use the run setpath
command. It defines the aliases that integrate scripts into the Technician Interface
command set. The section “Setting Up Scripts” explains the run setpath
command, which uses the setpath.bat script.
1-4
303560-A Rev 00
Introducing Technician Interface Scripts
Installing .bat and .mnu Files
You can use the Bay Networks implementation of File Transfer Protocol (FTP) to
install .bat version scripts and .mnu script menu files on a memory card in the
router. FTP enables you to install more than one script at a time.
Before installing any scripts on a router:
•
Log in to the router. (Refer to Chapter 1 of Using Technician Interface
Software if you need more information on login procedures.)
•
Enable the FTP service on the router.
•
Run the dir command to verify that you have sufficient contiguous freespace
on the NVFS volume reserved for scripts and their associated menu files.
(Refer to Chapter 4 of Using Technician Interface Software if you need more
information on how to run the dir command.)
•
Run the compact command on the NVFS volume reserved for scripts and
their associated menu files. (Refer to Chapter 8 of Using Technician Interface
Software if you need more information on how to run the compact
command.)
To install all the .bat scripts and .mnu menu files located in a directory on a UNIX
workstation, change to that directory using the cd command. Then enter the
following commands at the UNIX command line prompt:
$: ftp
Name: Manager
Password:
ftp> cd :
ftp> bin
ftp> prompt
ftp> mput *.bat
ftp> mput *.mnu
The prompt command disables the prompt that asks whether you want to transfer
each file.
303560-A Rev 00
1-5
Using Technician Interface Scripts
Note: You must have Manager access to write to an NVFS volume using the
Bay Networks implementation of FTP.
This procedure installs all of the .bat and .mnu files on a file system volume in the
router. To conserve space on a router’s local file system, load only scripts for the
protocols and drivers you need to run on that router.
If you want to use the Trivial File Transfer Protocol (TFTP) to install .bat and
.mnu files one at a time, refer to Chapters 4 and 5 of Using Technician Interface
Software.
Setting Up Scripts
Once you log in to a Technician Interface session on a router, you can enter any
embedded script commands at the command line prompt without any additional
preparations. However, before you run any .bat version scripts, designate a default
file system volume, as shown in the following example:
dir 2:
Next, define the search path and alias definitions for your .bat and .mnu version
script files by using the run setpath command. The search path is a list of volume
IDs you want the system to search for any script file. There are two ways to
specify a search path, as shown in the following examples.
Example 1 -- Entering the volume IDs on the command line
run setpath "2:;3:;4:"
1-6
303560-A Rev 00
Introducing Technician Interface Scripts
Example 2 -- Letting the setpath command prompt you for input
run setpath
NVFS File System:
VOL STATE
TOTAL SIZE FREE SPACE CONTIG FREE SPACE
--------------------------------------------------------------------------------------------------------3:
FORMATTED
2097152
1218683
1017067
2:
FORMATTED
2097152
431128
431128
Please enter the volume ID that contains the script files.
More than one volume may be entered; each separated by a
semi-colon.
Format: :[;: ...]
Example: 2:;3:;4:
Enter volume(s)[2:]: 3:
You can also use the Manager or User autoscript features to automatically run the
setpath.bat script (the run setpath command). Specify a file system search path,
Manager or User script file, and logout mechanism using following
wfSerialPortEntry (router serial port) attributes:
•
Login Script Search Path
•
Manager’s Login Script
•
User’s Login Script
•
Force User Logout
You can set up separate Manager and User autoscript files for login. The User
autoscript contains a switch that enables you to lock the user into the script. With
the switch enabled, the autoscript automatically logs out a user that tries to break
out of the script. For more information on the autoscript feature, see Chapter 2 of
Using Technician Interface Software.
303560-A Rev 00
1-7
Using Technician Interface Scripts
Using Script Commands
This section provides an overview of the show/monitor and enable/disable
commands.
Using the show Command
After you set up scripts with the run setpath command, you can use the show