Part No. 117383-A Rev. ASeptember 1997BayRS Version 12.00BCC Version 3.10 Using theBay Command Console(AN/BN Routers)
Using the Bay Command Console (AN/BN Routers)5-10 117383-A Rev. AConfiguring a Token Ring Interface with IP and RIPYou can configure IP and RIP on a tok
Configuration Examples117383-A Rev. A 5-115. Check to see what you can configure next in this context.tokenring/9/1# ?Sub-Contexts: ipParameters in Cu
Using the Bay Command Console (AN/BN Routers)5-12 117383-A Rev. AConfiguring PPP and IP on a Synchronous InterfaceThis example configures PPP and IP on
Configuration Examples117383-A Rev. A 5-13Configuring a FDDI Interface with IP and RIPThis example includes an attempt to change the address assigned t
Using the Bay Command Console (AN/BN Routers)5-14 117383-A Rev. A6. Go back to the previous level in the configuration tree.rip/192.168.5.1# backip/192
Configuration Examples117383-A Rev. A 5-15Configuring OSPF and BGPThis example shows how to• Add two OSPF areas.• Add OSPF to interfaces configured on t
Using the Bay Command Console (AN/BN Routers)5-16 117383-A Rev. A3. Add IP (address 192.168.100.1 with the Class C natural mask) to the virtual interf
Configuration Examples117383-A Rev. A 5-178. Check legal values for the as-boundary-router parameter, then specify that this autonomous system (AS) bo
Using the Bay Command Console (AN/BN Routers)5-18 117383-A Rev. A13. Go back to the previous configuration level. area/0.0.0.1# backospf# 14. Verify th
Configuration Examples117383-A Rev. A 5-1918. Add OSPF area 0.0.0.0 to ip/192.168.8.1/255.255.255.0.ip/192.168.8.1/255.255.255.0# ospf area 0.0.0.0osp
117383-A Rev. A xi Tables Table 3-1. BCC Command Operators (Methods) ...3-12Table 3-2. Keystrokes fo
Using the Bay Command Console (AN/BN Routers)5-20 117383-A Rev. A24. Add ARP to the IP interface, and verify the values that the BCC assigns to parame
Configuration Examples117383-A Rev. A 5-2132. Check to see what you can configure next in this context.bgp# ?Sub-Contexts: accept announce
Using the Bay Command Console (AN/BN Routers)5-22 117383-A Rev. A36. Go back to the previous level in the configuration tree. peer/192.168.10.1/192.168
Configuration Examples117383-A Rev. A 5-2343. Go back to accept/accept-192.168.0.0 in the configuration tree. network/192.168.0.0/255.255.0.0
Using the Bay Command Console (AN/BN Routers)5-24 117383-A Rev. A3. Add Telnet server capability to global Telnet.telnet# serverserver# 4. Add SNMP to
Configuration Examples117383-A Rev. A 5-259. Add TFTP to the device configuration. manager/public/0.0.0.0# tftptftp# The BCC searches backward to find a
Using the Bay Command Console (AN/BN Routers)5-26 117383-A Rev. A13. List/define the configurable attributes of global FTP.ftp# help param
Configuration Examples117383-A Rev. A 5-2715. Change the default volume to 1.ftp# def 1ftp# 16. Verify the default volume setting.ftp# def default-vo
117383-A Rev. A A-1 Appendix AConfiguration TreeYou can configure any object shown in the following BCC configuration tree for AN and BN (BLN/BCN) router
Using the Bay Command Console (AN/BN Routers)A-2 117383-A Rev. Abox hssi ppp ip
Configuration Tree117383-A Rev. A A-3 box ip ospf area
Using the Bay Command Console (AN/BN Routers)A-4 117383-A Rev. Aip bgp announce
Configuration Tree117383-A Rev. A A-5 box rip announce match
117383-A Rev. A B-1 Appendix BSystem CommandsAN and BN (BLN/BCN) routers support all system commands shown in Table B-1. Note that some commands perfo
Using the Bay Command Console (AN/BN Routers)B-2 117383-A Rev. Aback [<n>](BCC configuration mode only)Move your current working location or leve
System Commands117383-A Rev. A B-3 config [-read-write|-read-only](BCC only)Enter BCC configuration mode. If you logged on as Manager, you have read-wri
Using the Bay Command Console (AN/BN Routers)B-4 117383-A Rev. Adiags [<slot _ID>] Perform CPU/memory, backbone, and link diagnostics before dow
System Commands117383-A Rev. A B-5 help [[ commands ] [-more] | <command> | syntax | tree [<box_level_object>] | learning-bcc | editing ]
117383-A Rev. A xiii About This Guide If you are responsible for configuring and managing Bay Networks ® AN ® and BN ® (BCN ® and BLN ® ) routers
Using the Bay Command Console (AN/BN Routers)B-6 117383-A Rev. Ahelp [ <command> | -all ](Technician Interface only)The help command, entered wi
System Commands117383-A Rev. A B-7 log [<vol>:<logfile>] [-d<date>] [-t<time>] [-e"<entity>"] [-f<severity&g
Using the Bay Command Console (AN/BN Routers)B-8 117383-A Rev. A(continued)mset {<obj_name>|<obj_id>}.{<attr_name>| <attr_id>}
System Commands117383-A Rev. A B-9 (continued)rm <vol>:<filename>(BCC only)Remove (delete) the file from the specified volume.✔save {config|al
Using the Bay Command Console (AN/BN Routers)B-10 117383-A Rev. AFor more detailed information about a specific command:• Enter help <command> at
117383-A Rev. A C-1 Appendix CTCL SupportThe BCC supports the following subset of Tool Command Language (TCL) scripting commands on the router platfor
117383-A Rev. A Index-1Aabbreviating commands and parameters, 1-7acronyms, xvASCII files, 3-4, 3-14BBay Networks Press, xviBCCaccessing, 1-1, 2-1configu
Index-2 117383-A Rev. Aconventions, xivcreating a new configuration, 4-1customer supportprograms, xviTechnical Solutions Centers, xviiDdelete command (
117383-A Rev. A Index-3Oobjectsdefined, 1-3deleting, 4-19disabling, 4-17enabing, 4-18leaf, 1-5on parameter, 2-24online Help, BCC, 2-12, B-5optional att
Using the Bay Command Console (AN/BN Routers)xiv 117383-A Rev. A Conventions angle brackets ( < > ) Indicate a variable in a command line. The
About This Guide 117383-A Rev. A xv italic text Indicates variable values in command syntax descriptions, new terms, file and directory names, and bo
Using the Bay Command Console (AN/BN Routers)xvi 117383-A Rev. A Ordering Bay Networks Publications To purchase additional copies of this document or
About This Guide 117383-A Rev. A xvii How to Get Help If you purchased a service contract for your Bay Networks product from a distributor or author
117383-A Rev. A 1-1 Chapter 1Overview of the BCC Interface The BCC is a command-line interface for configuring Bay Networks devices. After logging on
ii 117383-A Rev. A4401 Great America Parkway 8 Federal StreetSanta Clara, CA 95054 Billerica, MA 01821 Copyright © 1997 Bay Networks, Inc. All rights
Using the Bay Command Console (AN/BN Routers)1-2 117383-A Rev. A From the bcc> prompt, you can • Run any system command not classified as “Techni
Overview of the BCC Interface 117383-A Rev. A 1-3 Terminology and Concepts The following list of terms and concepts defines key functional and user-or
Using the Bay Command Console (AN/BN Routers)1-4 117383-A Rev. AFor some objects, the BCC automatically appends an internally generated number to ensu
Overview of the BCC Interface117383-A Rev. A 1-5Figure 1-2. Configuring IP and RIP on an Ethernet InterfaceContext -- Your working location or level wi
Using the Bay Command Console (AN/BN Routers)1-6 117383-A Rev. ABox -- The BCC uses the name box to identify the chassis for a Bay Networks nonstackab
Overview of the BCC Interface117383-A Rev. A 1-7Interface, physical -- Circuitry and digital logic associated with the interconnection between a physi
117383-A Rev. A 2-1Chapter 2Learning to Use the BCC InterfaceThis chapter provides primary instructions on how to use the BCC interface to complete an
Using the Bay Command Console (AN/BN Routers)2-2 117383-A Rev. ATo enter and exit the BCC:1. Access the Technician Interface on the router by entering
Learning to Use the BCC Interface117383-A Rev. A 2-34. When you finish using BCC configuration mode, enter the exit command at any prompt.box# exitbcc&
117383-A Rev. A iii Bay Networks, Inc. Software License Agreement NOTICE: Please carefully read this license agreement before copying or using the
Using the Bay Command Console (AN/BN Routers)2-4 117383-A Rev. AFigure 2-1. Sample BCC Configuration (AN/BN Router)ipospfsync/3/1box(root)arpethernet/2
Learning to Use the BCC Interface117383-A Rev. A 2-5Note the tree-like hierarchy of this configuration, where• Box contains global objects IP, Telnet,
Using the Bay Command Console (AN/BN Routers)2-6 117383-A Rev. ADisplaying ContextIn BCC configuration mode, use the pwc (print working context) comman
Learning to Use the BCC Interface117383-A Rev. A 2-7Navigating in Configuration ModeYou can navigate from one object to another in BCC configuration mod
Using the Bay Command Console (AN/BN Routers)2-8 117383-A Rev. ANavigating with Configuration CommandsUsing BCC configuration commands, you can• Move ba
Learning to Use the BCC Interface117383-A Rev. A 2-9Moving Forward from Root (box) LevelTo move from your current working level to the next configured
Using the Bay Command Console (AN/BN Routers)2-10 117383-A Rev. ASpecifying a Full PathYou can specify a full, or absolute, path from root (box) level
Learning to Use the BCC Interface117383-A Rev. A 2-11ExampleMove from ip/192.168.33.66/255.255.255.0 on ethernet/2/1 to rip/1.2.3.4 on ethernet/2/2 (F
Using the Bay Command Console (AN/BN Routers)2-12 117383-A Rev. ADisplaying Online HelpThe BCC supports the following online Help and Help-oriented fe
Learning to Use the BCC Interface117383-A Rev. A 2-13Get configuration data (BCC configuration mode only):List the names of objects, parameters, and com
iv 117383-A Rev. A 4. Limitation of liability. IN NO EVENT WILL BAY NETWORKS OR ITS LICENSORS BE LIABLE FOR ANY COST OF SUBSTITUTE PROCUREMENT; SPE
Using the Bay Command Console (AN/BN Routers)2-14 117383-A Rev. AExampleGet a terse overview of BCC Help features:bcc> help
Learning to Use the BCC Interface117383-A Rev. A 2-15ExampleGet a more detailed overview of BCC Help features:bcc> help -more
Using the Bay Command Console (AN/BN Routers)2-16 117383-A Rev. AExampleGet an alphabetical list of BCC system commands (syntax only, with some exampl
Learning to Use the BCC Interface117383-A Rev. A 2-17 _________________________________________________________________
Using the Bay Command Console (AN/BN Routers)2-18 117383-A Rev. AExampleGet a more detailed alphabetized list of BCC commands (with syntax and terse d
Learning to Use the BCC Interface117383-A Rev. A 2-19ExampleDefine the purpose of each parameter of ethernet/2/1:ethernet/2/1# help parameters
Using the Bay Command Console (AN/BN Routers)2-20 117383-A Rev. AExampleShow all objects you can configure on this device:box# help tree
Learning to Use the BCC Interface117383-A Rev. A 2-21ExampleList objects you can configure on the ethernet/2/1 branch of the router configuration tree:e
Using the Bay Command Console (AN/BN Routers)2-22 117383-A Rev. AYou can also use the output of the help tree command to determine the optional <pa
Learning to Use the BCC Interface117383-A Rev. A 2-23ip/192.168.125.34/255.255.255.224# ?Sub-Contexts: arp igmp ospf rdisc ripParameters
117383-A Rev. A v Contents About This Guide Conventions ...
Using the Bay Command Console (AN/BN Routers)2-24 117383-A Rev. AExampleGet the values currently assigned to all parameters of IP (address 1.2.3.4) on
Learning to Use the BCC Interface117383-A Rev. A 2-25Because on and has are parameters of any object, you can get the current value of on or has by en
Using the Bay Command Console (AN/BN Routers)2-26 117383-A Rev. AExamplesbox# help-file-name 2:bcc.helpor:box# help-file-name 4:new.helpDisplaying C
Learning to Use the BCC Interface117383-A Rev. A 2-27Examplebcc> show configbox type freln board slot 1 type srml back board slot 2
Using the Bay Command Console (AN/BN Routers)2-28 117383-A Rev. ADisplaying the Configuration of One ObjectYou can view objects configured within a spec
Learning to Use the BCC Interface117383-A Rev. A 2-29Displaying Binary Configuration Files as BCC SyntaxAfter booting the device from a binary configura
117383-A Rev. A 3-1 Chapter 3Entering CommandsYou can enter BCC configuration commands using basic (full), default, or abbreviated syntax. In addition,
Using the Bay Command Console (AN/BN Routers)3-2 117383-A Rev. ACommand Input FeaturesThis section contains information about• Using Command Abbreviat
Entering Commands117383-A Rev. A 3-3 The command history list contains up to 20 commands by default. You can increase the number of commands in the hi
vi 117383-A Rev. A Navigating in Configuration Mode ...2-7Navigating
Using the Bay Command Console (AN/BN Routers)3-4 117383-A Rev. ASyntax for the source command is as follows:source <volume>:<filename>For i
Entering Commands117383-A Rev. A 3-5 Example ip/1.2.3.4/255.0.0.0# cost 2 \ip/1.2.3.4/255.0.0.0_ mask-reply on \ip/1.2.3.4/255.0.0.0_ proxy on \ip/1.2
Using the Bay Command Console (AN/BN Routers)3-6 117383-A Rev. AEntering CommentsYou can use a text editor (such as vi on a UNIX workstation) to add d
Entering Commands117383-A Rev. A 3-7 Configuration CommandsThis section describes how to enter BCC configuration commands using any of the following for
Using the Bay Command Console (AN/BN Routers)3-8 117383-A Rev. AThe BCC assumes that an object you specify is new (and will create it) if it is not in
Entering Commands117383-A Rev. A 3-9 box# ethernetRequired attribute "slot" was not specified for class: Ethernet.Usage: "ethernet slot
Using the Bay Command Console (AN/BN Routers)3-10 117383-A Rev. AIf you press Return before entering a sufficient number of characters for the BCC to r
Entering Commands117383-A Rev. A 3-11 Specifying Multiple Parameter-Value PairsWithin a specific context in configuration mode, you can• Enter an object
Using the Bay Command Console (AN/BN Routers)3-12 117383-A Rev. ATable 3-1. BCC Command Operators (Methods)Operator Functiondisable Change the adminis
Entering Commands117383-A Rev. A 3-13 Editing Command Lines Table 3-2 describes the keystrokes you can use to edit BCC command lines.Table 3-2. Keystr
117383-A Rev. A vii Chapter 4 Configuring a Network Device Creating and Modifying a Device Configuration ...
Using the Bay Command Console (AN/BN Routers)3-14 117383-A Rev. ASaving Commands on a WorkstationIf you log in to an AN/BN router from a workstation u
117383-A Rev. A 4-1Chapter 4Configuring a Network DeviceThis chapter describes how to complete the following tasks using BCC commands:Creating and Modi
Using the Bay Command Console (AN/BN Routers)4-2 117383-A Rev. A4. Use the save command to save your configuration as a bootable (binary) file on the de
Configuring a Network Device117383-A Rev. A 4-3• Synchronous interface in slot 5• Dual Token Ring interface in slot 9• FDDI interface in slot 11• SRML
Using the Bay Command Console (AN/BN Routers)4-4 117383-A Rev. AFigure 4-2. Typical BCC Configuration CycleBCC0013BEnter info to check parameter values
Configuring a Network Device117383-A Rev. A 4-5To create the sample configuration shown in Figure 4-1 using BCC commands, proceed as follows:1. Log on
Using the Bay Command Console (AN/BN Routers)4-6 117383-A Rev. A4. Check the hardware configuration of the router.box# show configbox type frecn (BCN r
Configuring a Network Device117383-A Rev. A 4-76. Check to see what you can configure (sub-contexts and parameters) at this level.ethernet/13/1# ?Sub-C
Using the Bay Command Console (AN/BN Routers)4-8 117383-A Rev. A7. Add IP (address 192.168.133.114) to ethernet/13/1.ethernet/13/1# ip 192.168.133.114
Configuring a Network Device117383-A Rev. A 4-99. Change the subnet mask to 255.255.255.224.ip/192.168.133.114/255.255.255.0# mask 255.255.255.224&quo
Using the Bay Command Console (AN/BN Routers)4-10 117383-A Rev. A12. Return to root (box) level to configure global system services.rip/192.168.133.114
Configuring a Network Device117383-A Rev. A 4-1116. Check to see what you can configure next at this level.snmp# ?Sub-Contexts: community trap-e
Using the Bay Command Console (AN/BN Routers)4-12 117383-A Rev. A18. Define the SNMP community "public."snmp# community publiccommunity/publi
Configuring a Network Device117383-A Rev. A 4-1325. Check values currently assigned to attributes of TFTP.tftp# info on box state enabled default-v
Using the Bay Command Console (AN/BN Routers)4-14 117383-A Rev. A30. Check values currently assigned to parameters of FTP. ftp# info on box state e
Configuring a Network Device117383-A Rev. A 4-15 rip back back back ip arp back rip back tcp back back snmp comm
Using the Bay Command Console (AN/BN Routers)4-16 117383-A Rev. A38. When you finish configuring the router, exit configuration mode.box# exitbcc>39.
Configuring a Network Device117383-A Rev. A 4-17Disabling a Configured ObjectIn most cases, the BCC automatically enables objects that you add to the d
Using the Bay Command Console (AN/BN Routers)4-18 117383-A Rev. AEnabling a Configured Object If you disable a configured object to manage or troublesho
Configuring a Network Device117383-A Rev. A 4-19Deleting a Configured ObjectBecause of the tree hierarchy, objects on higher branches of the tree depen
117383-A Rev. A ix Figures Figure 1-1. The Technician Interface and the BCC Interface ...1-1Figure 1-2. Configuring
Using the Bay Command Console (AN/BN Routers)4-20 117383-A Rev. AConfiguration Command ResponsesThe BCC completes the configuration task you entered unl
117383-A Rev. A 5-1Chapter 5Configuration ExamplesThis chapter contains examples that demonstrate how to perform the following configuration tasks:Task
Using the Bay Command Console (AN/BN Routers)5-2 117383-A Rev. AIdentifying Installed Link ModulesBefore you begin configuring a device, you can check
Configuration Examples117383-A Rev. A 5-34. Display the device configuration.box# show configbox type frecn (BCN router with a FRE-2 controller) board
Using the Bay Command Console (AN/BN Routers)5-4 117383-A Rev. AConfiguring an Ethernet Interface with IP, ARP, and RIPYou can add or customize a physi
Configuration Examples117383-A Rev. A 5-55. List the parameters and their assigned values for the current object (ethernet/13/1).ethernet/13/1# info
Using the Bay Command Console (AN/BN Routers)5-6 117383-A Rev. A8. Add IP (address 192.168.1.1, mask 255.255.255.224) to ethernet/13/1.ethernet/13/1#
Configuration Examples117383-A Rev. A 5-7Configuring a HSSI Port with IPTo configure a HSSI port with IP, you must also specify a WAN protocol such as S
Using the Bay Command Console (AN/BN Routers)5-8 117383-A Rev. A5. Check values currently assigned to this object.hssi/5/1# info on box state enable
Configuration Examples117383-A Rev. A 5-97. Determine the purpose of these hssi parameters. (Enter the help parameters command.)hssi/5/1# help paramhs
Comments to this Manuals