Secure Shell 2 (SSH2)
ExtremeWare 7.2e Installation and User Guide
179
The user must have administrator-level access to the switch. The switch can be specified by its switch
name or IP address.
Configuration or image files stored on the system running the SSH2 client may be named as desired by
the user. However, files on the switch have predefined names, as follows:
•
configuration.cfg
—The current configuration
•
incremental.cfg
—The current incremental configuration
•
primary.img
—The primary ExtremeWare image
•
secondary.img
—The secondary ExtremeWare image
•
bootrom.img
—The BootROM image
For example, to copy an image file saved as image1.xtr to switch with IP address 10.10.0.5 as the primary
image using SCP2, you would enter the following command within your SSH2 session:
scp image1.xtr [email protected]:primary.img
To copy the configuration from the switch and save it in file config1.save using SCP, you would enter the
following command within your SSH2 session:
scp [email protected]:configuration.cfg config1.save
SSH2 Client Functions on the Switch
In ExtremeWare version 6.2.1 or later, an Extreme Networks switch can function as an SSH2 client. This
means you can connect from the switch to a remote device running an SSH2 server, and send
commands to that device. You can also use SCP2 to transfer files to and from the remote device.
You do not need to enable SSH2 or generate an authentication key to use the SSH2 and SCP2
commands from the ExtremeWare CLI.
To send commands to a remote system using SSH2, use the following command:
ssh2 {cipher [3des | blowfish]} {port <portnum>} {compression [on | off]} {user
<username>} {debug <debug_level>} {<username>@} [<host> | <ipaddress>] {<remote
command>}
The remote commands can be any commands acceptable by the remote system. You can specify the
login user name as a separate argument, or as part of the user@host specification. If the login user name
for the remote system is the same as your user name on the switch, you can omit the username
parameter entirely.
To initiate a file copy from a remote system to the switch using SCP2, use the following command:
scp2 {cipher [3des | blowfish]} {port <portnum>} {debug <debug_level>} <user>@
[<hostname> | <ipaddress>] :<remote_file> [configuration {incremental} | image
[primary | secondary] | bootrom]
To initiate a file copy to a remote system from the switch using SCP2, use the following command:
scp2 {cipher [3des | blowfish]} {port <portnum>} {debug <debug_level>} configuration
<user>@ [<hostname> | <ipaddress>]:<remote_file>
Содержание ExtremeWare 7.2e
Страница 14: ...14 ExtremeWare 7 2 0 Software User Guide Contents...
Страница 18: ...18 ExtremeWare 7 2e Installation and User Guide Preface...
Страница 46: ...46 ExtremeWare 7 2e Installation and User Guide Summit 400 48t Switch Overview and Installation...
Страница 80: ...80 ExtremeWare 7 2e Installation and User Guide Accessing the Switch...
Страница 102: ...102 ExtremeWare 7 2e Installation and User Guide Virtual LANs VLANs...
Страница 108: ...108 ExtremeWare 7 2e Installation and User Guide Forwarding Database FDB...
Страница 180: ...180 ExtremeWare 7 2e Installation and User Guide Security...
Страница 194: ...194 ExtremeWare 7 2e Installation and User Guide Ethernet Automatic Protection Switching...
Страница 218: ...218 ExtremeWare 7 2e Installation and User Guide Spanning Tree Protocol STP...
Страница 248: ...248 ExtremeWare 7 2e Installation and User Guide Interior Gateway Protocols...
Страница 256: ...256 ExtremeWare 7 2e Installation and User Guide IP Multicast Routing...
Страница 308: ...308 ExtremeWare 7 2e Installation and User Guide Using ExtremeWare Vista on the Summit 400...
Страница 316: ...316 ExtremeWare 7 2e Installation and User Guide Technical Specifications...
Страница 324: ...324 ExtremeWare 7 2e Installation and User Guide Software Upgrade and Boot Options...