
Using the Bay Command Console (BCC™)
4-18
117383-B Rev. 00
Deleting a Configured Object
Because of the tree hierarchy, objects on higher branches of the tree depend on the
state (and existence) of objects closer to the root of the tree. Deleting an object
also deletes anything configured on that object.
Here is a BN router example of how to delete an IP interface from the active
device configuration:
1.
Navigate to the object you want to delete:
box# ethernet/13/1
ethernet/13/1# ip/192.168.133.114/255.255.255.224
ip/192.168.133.114/255.255.255.224#
2.
List all objects configured on the current object:
ip/192.168.133.114/255.255.255.224# lso
arp/192.168.133.114/1 rip/192.168.133.114
3.
Delete the object.
ip/192.168.133.114/255.255.255.224# delete
ethernet/13/1#
4.
Verify that you deleted the object.
ethernet/13/1# lso
(no objects listed)
Note that ip/192.168.133.114/255.255.255.224 no longer appears in the list of
objects configured on ethernet/13/1. With a single
delete
command, the BCC
automatically deleted the branch objects (arp/192.168.133.114/1 and
rip/192.168.133.114) configured on ip/192.168.133.114/255.255.255.224.
You can also delete an object from its parent context, using the following syntax:
delete
<BCC_instance_identifier>
Example
ip/1.2.3.4/255.0.0.0# delete rip/1.2.3.4
ip/1.2.3.4/255.0.0.0#
Using this method, you remain in the current context after deleting the branch
object.
Comentarios a estos manuales