display sftp client source

Syntax

display sftp client source [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display sftp client source to display the source IP address or source interface set for the SFTP client.

If neither source IP address nor source interface is specified for the SFTP client, the system displays the message "Neither source IP address nor source interface was specified for the SFTP client."

Related commands: sftp client source.

Examples

# Display the source IP address of the SFTP client.

<Sysname> display sftp client source
The source IP address you specified is 192.168.0.1