If you wish to rename a serial port (i.e., with hostname) from the CLI, you need to do the following
1. Figure out which port is being renamed (i.e., port 11)
2. log in with appropriate credentials via SSH (or direct serial)
3.
cd ports
4.
cd serial_ports
4b. You can check out the parameters here:
--:#- [serial_ports/physical] cli-> show
port: 11
enable_cisco_rj45_pin-out = yes
status = enabled
speed = 9600
parity = none
data_bits = 8
stop_bits = 1
flow_control = none
5. set port name
set port_name=my_new_name
i.e.,
--:#- [serial_ports/cas] cli-> set port_name=unused
8. save the config
save
That's it, basically.
No comments:
Post a Comment