configure the hostname for lldpd
Signed-off-by: Guohan Lu <gulv@microsoft.com>
This commit is contained in:
parent
a7e013bca3
commit
41bb13b834
@ -9,3 +9,4 @@ configure ports eth0 lldp portidsubtype local {{ mgmt_port_name }}
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
configure system ip management pattern {{ ipv4 }}
|
configure system ip management pattern {{ ipv4 }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
configure system hostname {{ DEVICE_METADATA['localhost']['hostname'] }}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
configure ports eth0 lldp portidsubtype local eth0
|
configure ports eth0 lldp portidsubtype local eth0
|
||||||
configure system ip management pattern 10.0.0.100
|
configure system ip management pattern 10.0.0.100
|
||||||
|
configure system hostname switch-t0
|
||||||
|
Loading…
Reference in New Issue
Block a user