Hostname
Change the hostname on an IOS-XR device.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”configuration (iosxr.devices)
Section titled “configuration (iosxr.devices)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| hostname | String | Regex: ^[^\s]*$ | No |
Example YAML Code:
Section titled “Example YAML Code:”Example-1: Change the hostname on a device.
iosxr: devices: - name: router-1 host: 10.10.10.1:57400 configuration: hostname: router-1