Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Modifying object attributes in a dialog using an EDIT command

&pagelevel(4)&pagelevel

You can have the attributes of certain BCAM objects displayed (and also modify them) in a dialog. A number of EDIT commands is available for doing this.

The output starts a guided dialog for the MODIFY command. In this dialog you can modify the attributes of the object.

The following EDIT commands are available for displaying and modifying individual objects:

EDIT command

Associated MODIFY command

EDIT-BCAM-OPTIONS

MODIFY-BCAM-OPTIONS

EDIT-HOST-ATTRIBUTES

MODIFY-HOST-ATTRIBUTES

EDIT-LINE

MODIFY-LINE

EDIT-ROUTE-ATTRIBUTES

MODIFY-ROUTE-ATTRIBUTES

MODIFY-ROUTE-ATTRIBUTES

MODIFY-ROUTE-ATTRIBUTES

MODIFY-ROUTE-ATTRIBUTES

MODIFY-ROUTE-ATTRIBUTES

EDIT commands for modifying individual objects

The EDIT-BCAM-OBJECT command is also available with which you can both create and modify various BCAM objects. You use the OBJECT= operand to specify the type of the BCAM object, and the CMD= operand to control whether a CREATE or MODIFY command is to be edited. The table below shows which CREATE and MODIFY commands are generated depending on what is specified for OBJECT=.

EDIT-BCAM-OBJECT Value for OBJECT=

Associated CREATE-command when CMD=*CREATE

Associated MODIFY-command when CMD=*MODIFY

*HOST

CREATE-VIRTUAL-HOST

MODIFY-HOST-ATTRIBUTES

*LINE

CREATE-LINE

MODIFY-LINE

*LINK-AGGREGATION

CREATE-LINK-AGGREGATION

---

*NODE

CREATE-NODE

---

*PROCESSOR

CREATE-PROCESSOR

---

*ROUTE

CREATE-ROUTE

MODIFY-ROUTE-ATTRIBUTES

*VLAN-DEVICE

CREATE-VLAN-DEVICE

MODIFY-VLAN-DEVICE

*VLAN-LINE

CREATE-VLAN-LINE

MODIFY-VLAN-LINE

EDIT command EDIT-BCAM-OBJECT for creating and modifying objects

Example

You want to modify the attributes of the line STDLIN02. Enter the following EDIT command to do so:

EDIT-LINE LINE-NAME=STDLIN02

The following screen is then displayed with the line attributes:

SITUATION: DIALOG IN PROG/S-PROC          COMMAND: MODIFY-LINE
OPERANDS : ...-POLL=*ON,BROADCAST=*ON,MULTICAST=*ON,CHECKSUM=*BY-DEVICE,AUTO-
ROU
         TE-SWITCHING=*ON,ROUTE-RESWITCHING=*OFF,DUP-ADDR-DETECTION=*STD,AD
           DR-CONFLICT-DETECT=*STD,TIMEOUT-PROCESSING=*KEEP-LINE,MAX-LPDU-
SIZ...
-----------------------------------------------------------------------------
LINE-NAME            = STDLIN02
NEW-LINE-NAME        = *SAME
WRITE-DEVICE         = VO
READ-DEVICE          = VP
SLOW-POLL            = *ON
BROADCAST            = *ON
MULTICAST            = *ON
CHECKSUM             = *BY-DEVICE
AUTO-ROUTE-SWITCHING = *ON 
ROUTE-RESWITCHING    = *OFF 
   
   
    
-----------------------------------------------------------------------------
NEXT = +
KEYS : F1=?   F3=*EXIT   F5=*REFRESH   F6=*EXIT-ALL   F8=+   F9=REST-SDF-IN
       F11=*EXECUTE   F12=*CANCEL

You can edit the attributes. As soon as you transfer the screen, a MODIFY-LINE command is generated which modifies the settings as you have specified.