|
|
Use the disconnect command to close an active console port or Telnet session.
disconnect {ip_addr | console}
ip_addr | IP address or IP alias. |
console | Keyword to denote an active console port. |
This command has no default setting.
Switch command.
Privileged.
If multiple sessions from the same IP address exist, the disconnect command checks if the current process is also from the same IP address. If it is not, all Telnet sessions from the specified IP address are disconnected. If it is, all sessions, other than the current session, are disconnected. The system prompts whether to disconnect the current Telnet session. You can answer n and remain connected or answer y and be disconnected.
This example shows how to close a Telnet session to host 198.134.214.4:
Console> (enable) disconnect 198.134.214.4 Telnet session from 198.134.214.4 disconnected. (1) Console> (enable)
This example shows how to close the current console session:
Console> (enable) disconnect console Console session disconnected. Console> (enable)
Use the download command to copy a software image from a specified host to the Flash memory of a designated module.
download host file [mod_num]
host | Name or IP address of host. |
file | Name of file to be downloaded. |
mod_num | (Optional) Number of the module to receive downloaded image. |
serial | Keyword to specify download through a serial port. |
If a module number is not specified, the image is downloaded to all modules for which the image is valid.
Switch command.
Privileged.
The Catalyst 6000 family switches download new code to the processors using Kermit serial download through the EIA/TIA-232 console port.
The download command downloads code to the module Flash memory. Catalyst 6000 family switch software rejects an image if it is not a valid image for the module.
The download serial command uses Kermit through the serial EIA/TIA-232 console port. The download serial command is not allowed from a Telnet session.
If the module number is specified, the download goes to the specified module, but the download will fail if the module is of a different type than is indicated by the download header. If the module number is not specified, the download goes to all modules of that type.
| Caution After starting the serial download using Kermit, do not attempt to abort the serial download by pressing Ctrl-C. Pressing Ctrl-C interrupts the download process and could leave the switch in a problematic state. If this occurs, reboot the switch. |
This example shows how to download the c6000_spv11.bin file from the mercury host to the supervisor engine (by default):
Console> (enable) download mercury c6000_spv11.bin Download image c6000_spv11.bin from mercury to module 1FLASH (y/n) [n]? y \ Finished network single module download. (2418396 bytes) FLASH on Catalyst: Type Address Location Intel 28F008 20000000 NMP (P3) 4MB SIM Erasing flash sector...done. Programming flash sector...done. Erasing flash sector...done. Programming flash sector...done. The system needs to be reset to run the new image. Console> (enable)
This example shows how to download the acpflash_1111.bbi file from the mercury host to module 3:
Console> (enable) download mercury acpflash_1111.bbi 3 This command will reset Module 3. Download image acpflash_1111.bbi from mercury to Module 3 FLASH (y/n) [n]? y / Done. Finished network download. (1964012 bytes) Console> (enable)
This sample session shows how to connect to a remote terminal from a Sun workstation and how to use the download serial command to copy a software image to the supervisor engine:
[At local Sun workstation]
host% kermit
C-Kermit 5A(172) ALPHA, 30 Jun 95, SUNOS 4.0 (BSD)
Type ? or 'help' for help
C-Kermit> set line /dev/ttyb
C-Kermit> c
Connecting to /dev/ttyb, speed 9600.
The escape character is ^ (ASCII 28).
Type the escape character followed by C to get back,
or followed by ? to see other options.
Console> enable
Enter Password:
Console> (enable) set system baud 19200
^\C
[Back at local Sun workstation]
C-Kermit> set speed 19200
/dev/ttyb, 19200 bps
C-Kermit> c
Connecting to /dev/ttyb, speed 19200.
The escape character is ^ (ASCII 28).
Type the escape character followed by C to get back,
or followed by ? to see other options.
Console> (enable) download serial
Download Supervisor image via console port (y/n) [n]? y
Concentrator Boot ROM (Ver 1.00)
Waiting for DOWNLOAD!!
Return to your local Machine by typing its escape sequence
Issue Kermit send command from there[ Send `Filename`]
^\C
[Back at Local System]
C-Kermit> send c6000_xx.bin
SF
c6000_xx.bin => C6000_XX.BIN, Size: 1233266
X to cancel file, CR to resend current packet
Z to cancel group, A for status report
E to send Error packet, Ctrl-C to quit immediately: ..........................
...............................................................................
...... [OK]
ZB
C-Kermit> quit
host%
Use the download vmps command to download VMPS database information from a TFTP server.
download vmpsThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Privileged.
Before you can execute the download vmps command successfully, you must use the set vmps server command to configure the IP address of the TFTP server and the name of the VMPS configuration file on that server. If the IP address of the TFTP server is not configured, the download vmps command reports an error. If the configuration filename is not configured, the download vmps command uses the default filename vmps-config-database.1.
After a successful download, the new VMPS information replaces any existing information. If there are not enough resources to build the new configuration database, the VMPS is made inactive.
This example shows how to download VMPS database information from a TFTP server:
Console> (enable) download vmps Re-initialization of Vlan Membership Policy Server with the downloaded configuration file is in progress. 6/14/1998,17:37:29:VMPS-2:PARSER: 82 lines parsed, Errors 0
Use the enable command to activate privileged mode. In privileged mode, additional commands are available, and certain commands display additional information.
enableThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
The (enable) in the prompt indicates that the system is in privileged mode and that commands can be entered.
This example shows how to enter privileged mode:
Console> enable Enter password: Console> (enable)
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Fri Mar 3 07:07:31 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.