Loader

Edit

The Edit command is used to edit a Port rule profile.
Information Note: * = required parameter, + = select one parameter from list
  • Command Path - template>port>edit>rule>name=TellabscliTest>rule=ont120>number=1 
  • Object - port
  • Actions -
    •  edit - Edit a Port template profile
      • * name= - Name of Port profile to edit
      • * Rule=  -  Add or remove a rule (remove a rule by using ‘no rule’)
        •  admin - The initial admin state of the port when creatednabled|disabled
        • + append - add rule to the end of the list
          • * Name   Name of Rule
        • count  - range of onts; specified with first-AID to set a range of the lowest digit
          • 1-4096 | all
        • Ethernet-Port (ep)  - The initial 802.3 Ethernet Port configuration profile of the port when created
          • Select from list
        • first-AID  -
          • MDS1, MDS1-IO1, MDS1-1-1, MDS1-1-1-1, or ETH1-1-1-1-1. Wildcard symbol '*' maybe substituted for any internal digit, e.g. ETH1-*-1-*-1.
        • + insert-BEFORE  - add a new rule at X is the index
          • 1-256
        • Link-Layer-Discovery-Protocol (lldp)  - The initial 802.1ab Link Layer Discovery Protocol configuration profile of the port when created
          • Select from list
        • Network-Access-Control (nac)  - The initial Network Access Control configuration profile of the port when created
          • Select from list
        • + number  - change an existing rule where X is the index
          • 1-256
        • ont-type  - type of ONT desired
          • ont120 | ont702 | ont703 | ont704 | ont705 | ont709 | ont714 | ont728gp | ont729 | ont729gp|any
        • Port-Authentication-Entity (pae)  - The initial 802.1x Port Authentication Entity configuration profile of the port when created
          • Select from list
        • Power-Over-Ethernet (PoE)  - The initial 802.3at Power over Ethernet configuration profile of the port when created
          • Select from list
        • Rapid-Spanning-Tree-Protocol (rstp)  - The initial 802.1w Rapid Spanning Tree Protocol configuration profile of the port when created
          • Select from list

Example

Add an ont120 to the port template with a number of 1.

  1. From the ESUx> command line, input template and press Enter. Output similar to the following is displayed:
    ESUx> template <enter>  
    ESUx template> _
  2. From the ESUx template> command line, input port edit rule name=TellabscliTest rule=ont120 number=1, and press Enter. Output similar to the following is displayed:
    ESUx template> ont edit name=TellabsCliTest rule ont-type=ont120 number=1 <enter>
    success
    ESUx template> _ 
    To view the entry, from the ESUx template> command line, input port show name=TellabscliTest , and press Enter. Output similar to the following is displayed:
    ESUx template> port show name=portclitest <enter>
    
    | Ethernet Port Template                                   |
    |==========================================================|
    | Template Name         : portclitest                      |
    |                                                          |
    | Rule 1                                                   |
    |   Criteria                                               |
    |     AID First         : MDS1                             |
    |     Count             : 1                                |
    |     ONT Type          : ont120                           |
    |                                                          |
    |   Action                                                 |
    |     Admin State       : disabled                         |
    |     LLDP Profile      : default                          |
    |     NAC Profile       : default                          |
    |     PAE Profile       : default                          |
    |     PoE Profile       : default                          |
    |     Port Profile      : default                          |
    |     RSTP Profile      : default                          |
    |                                                          |
    |==========================================================|
    
    ESUx template>
    Information Note: From the basic entry show above the rule actions will be all defaults.  Use the edit command with the rules listed above to change the rule state/profile.

Previous  |  Next

FEEDBACK: Are you happy with this material?

On this page