Ssh-Server Source-Interface - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

View
System view
Parameters
ip-address: Source IP address.
Description
Use the ssh2 source-ip command to specify a source IP address for the SSH client. If the specified IP
address is not an address of the device, the command fails.
Use the undo ssh2 source-ip command to cancel the source IP address setting. Then, a local device
address determined by the system is used to access an SSH server.
Examples
# Specify source IP address 192.168.1.1 for the SSH client.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ssh2 source-ip 192.168.1.1

ssh-server source-interface

Syntax
ssh-server source-interface interface-type interface-number
undo ssh-server source-interface
View
System view
Parameters
interface-type: Source interface type.
interface-number: Source interface number.
Description
Use the ssh-server source-interface command to specify a source interface for the SSH server. If the
specified interface does not exist, the command fails.
Use the undo ssh-server source-interface command to cancel the source interface setting. Then, a
local device address determined by the system can be used by SSH users to access the server.
Examples
# Specify Vlan-interface 1 as the source interface of the SSH server.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ssh-server source-interface Vlan-interface 1
1-36

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents