Edit

The edit command is used when making changes to configuration options without navigating through the hierarchy.

Parameters
entity

The entity to be edited.

item-label

Unique value that identifies the item.

record field

The field to set for the item.

value

The value corresponding to the field.

Syntax

edit <entity> <optional-entity> <item-label> <field>

<value>

Example

Consider the following change to a port label:

config
port
port_01
label "Office-switch"

Alternatively, consider making the change from the root of configuration mode.

config
edit port port_01 label "Office-switch"