Extreme Networks Px Series manual SSH2 Client Functions on the Switch

Page 44

For example, to copy an image file saved as image1.xtr to switch with IP address

10.10.0.5as the primary image using SCP2, you would enter the following command within your SSH2 session:

scp image1.xtr admin@10.20.0.5: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 admin@10.10.0.5: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 command-line interface.

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 commands>

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>ave it

4-14

Px Series Application Switch Installation and Configuration Guide

Image 44
Contents Published April Part number 100101-00 Rev Page Contents Installing the PxM Application Switch Module Configuring Servers and Services Index Index of Commands Preface IntroductionConventions Text ConventionsIcon Alerts you to Convention DescriptionRelated Publications Preface Server Load Balancing Concepts Purpose of Server Load BalancingTerms 1Conceptual view of server load balancingLoad Balancing Modes Layer 4 Load BalancingLayer 7 Load Balancing and Content Analysis 2Single client-server transaction using layer3Establishing a layer 7 request Getting Started on Load Balancing Configuration Port RewriteGetting Started on Load Balancing Configuration Page SummitPx1 Front View Installing the SummitPx1 Application SwitchOverview of the SummitPx1 Application Switch 1Px series application switch LEDs Color IndicatesSummitPx1 Application Switch Rear View Signal Description2DB-9 Adapter Pinouts To DB-9Rack Mounting Installing the SummitPx1 Application SwitchDetermining the Location Powering On the SummitPx1 Free-StandingSetting Up Console Communication Configuring Switch IP Parameters Configuring the 10/100 Ethernet Management Port Installing the PxM Application Switch Module Installing I/O ModulesRemoving I/O Modules Removing I/O Modules Page Managing the Switch Using the Command-Line Interface Abbreviated Syntax and Command CompletionSyntax Symbols 1Command Syntax SymbolsSymbol Description Line-Editing KeysSpecifying Text Values 2Line-Editing KeysPrompt Text Configuring Management AccessCommand History Changing the Default Passwords Creating Accounts Modifying AccountsCommand Description Managing the PxMConfiguring VLANs Configuring Snmp 4SNMP Configuration SettingsSetting Description System ContactConfiguring DNS Client Services SettingDescriptionUsing Secure Shell 2 SSH2 5DNS Client Configuration CommandsEnabling SSH2 for Inbound Switch Access Config ssh2 keyUsing SCP2 from an External SSH2 Client SSH2 Client Functions on the Switch Checking Basic Connectivity UtilitiesShowing CPU Load Logging Configuring a Startup Banner Message Starting the GlobalPx Content Director AgentExample Configuration Internet DNS serverFollowing commands configure all system-related facilities Page Configuring Servers and Services Configuring Real ServersConfiguring Server Groups Configuring Virtual Services Layer 7 Virtual Services Layer 4 Port-based Load BalancingConfiguring Traffic Tagging Tag Specification Description Tag Range Configuration Example1Tag Specifications Configuration Example Page Choosing Policies, Persistence Modes, and NAT Scheduling PoliciesSpecifier Policy Description Persistence Modes1Scheduling Policies Client IP Persistence Mode UDP Flow Persistence1Client IP persistence mode Configuring Client IP Stickiness Cookie Persistence Modes2Self-identifying cookie persistence mode Persistence Modes Hashed Cookie Persistence Session Learned Cookie Persistence Mode 4Learned cookie persistence mode Configuring Cookie Stickiness SSL Session Identifier Persistence Full-NAT Mode NAT ModesServer-only Half-NAT Mode Configuring Full-NAT Mode and Proxy IP AddressesConfiguring Half-NAT Mode Config source-flow name next-hop gateway-mode ip Real Syslog server SummitPx1 Configuration Example Page URL Switching Domain and URL SwitchingDomain Switching 1Typical switching scenario2Domain switching example Configuring URL Switching URL Switching3Simple URL switching example 4More Complicated URL switching example 5Hierarchical approach to pattern rules Wildcard Example Definition Creating Domain and URL Switching Rules1Wildcard Combinations Modifying Existing URL Rules and Domains Application Servers Management net Configuration Example Page Configuring Redundancy Using Vrrp with the SummitPx1Adding and Configuring VRRPs Give backup systems lower prioritiesUsing Vrrp in Existing Redundant Networks 1Application switch using multiple VLANs Vrrp Automatic SynchronizationFollowing commands can be passed from master to backup Configuring Redundancy for the PxM Using Esrp with the PxMConfiguring the PxM for Multiple VLANs For SW2Configuring a Default Gateway Health Checks OverviewServer Startup Pacing Health Checking Procedure Types of Health Checks Configuring Health ChecksTimers and Counters You can disable health checks for a server group Page Showing Traffic Statistics Monitoring the Switch1Statistics Display Commands Displays packet-level counters for Showing Configuration Details 2Configuration Display CommandsConfiguration Displays Status Displays SummitPx128 # show server detailsShow health Information Column DescriptionManaging and Troubleshooting Operation 5Management and Troubleshooting CommandsCommandDescription Index EsrpHttp GET AUX Page Index of Commands