Scenario B

ProfileX is defined at the folder level but modified at the device level (override a named profile) or (inherit profile but edit variables) as follows:

  1. Information is inherited from ProfileX.
    1. HOSTNAME=Test-Hostname
    2. GATEWAY=172.17.1.1
  2. Make some changes.
    1. HOSTNAME=TestDevice
    2. GATEWAY is cleared to null
    Click to expand in new window
After the modification, the variables that are not null (empty string) are saved and applied at the device level. In this case, the CLI Profile (ProfileX) is merged with the CLIVars which yields the following results:
  1. HOSTNAME=TestDevice
  2. GATEWAY=172.17.1.1
Click to expand in new window

The result of this combination will result in the HOSTNAME coming from the CLIVars and the GATEWAY coming from the CLI Profile (ProfileX)