
Using the Bay Command Console
3-2 115976-A Rev. A
Example:
To configure an Ethernet interface on slot 2, connector 1, of a BLN router, enter at
the command line prompt the name of the object (
ethernet), followed by unique
values for its REQUIRED attributes (in this case,
slot and connector). The BCC
creates a copy of the template (class object) for an ethernet interface and assigns
to the copy the unique instance identifier,
ethernet/2/1.
bcc> ethernet slot 2 connector 1
ethernet/2/1>
The prompt displays the instance identifier for the new context.
When you enter the
help command after the context-sensitive prompt, the BCC
displays a list of all objects configurable within that context. When you enter the
info command after the context-sensitive prompt, the BCC displays (after the
attribute name “subprotocols”) a list of all objects configured within that context.
The subprotocols list also displays each configured object by its unique instance
identifier.
Example:
Find out what configured objects exist within the context of IP (address 1.2.3.4)
on ethernet 2/1:
ip/1.2.3.4> info
group {ethernet/2/1}
state enabled
sub-protocols {arp/1.2.3.4/1 rip/1.2.3.4}
address 1.2.3.4
mask 255.0.0.0
. .
. .
. .
In this example, instances of the protocol ARP and the protocol RIP are
configured within the context of ip/1.2.3.4, as follows:
arp/1.2.3.4/1 = ARP on ip/1.2.3.4; the BCC automatically appends the intenally
generated circuit number 1 to complete the unique instance identifier for this
object.
rip/1.2.3.4 = RIP on ip/1.2.3.4
Each object has its own requirements for unique instance identification.
Komentáře k této Příručce