Showing posts with label cli. Show all posts
Showing posts with label cli. Show all posts

Wednesday, October 5, 2016

Avocent ACS 6016/6008 Renaming Ports From CLI

These console servers are fairly easy to setup, but the CLI is segmented to facilitate differing levels of access.

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.

Thursday, August 22, 2013

Cisco's Archive Command

I find the archive command to be very useful, not just for extracting files, but for creating copies of the IOS on one device (to copy to other devices.) You can copy single files over tftp, of course, but what do you do about a directory, with all the binaries and HTML files?


archive /create myarchive.tar name_of_directory_in_flash

So, I may do a 

dir flash:

and find something like


c1140-k9w7-mx.124-25d.JA

I'd create an archive called c1140-k9w7-mx.124-25d.JA.tar by doing this:

archive /create c1140-k9w7-mx.124-25d.JA.tar c1140-k9w7-mx.124-25d.JA

I can then do a

copy flash:c1140-k9w7-mx.124-25d.JA.tar tftp://my.ip.address.of.tftp.server/c1140-k9w7-mx.124-25d.JA.tar