Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show services nat source rule

Syntax

Description

Display source NAT rule-set information.

Options

rule-name

Display source NAT rule-set information for the specified rule.

all

Display all source NAT rule-set information.

interface interface-name

Display rule-set information about the adaptive services interface.

service-set service-set

Display rule-set information about the service set.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show services nat source rule command. Output fields are described in the approximate order in which they appear.

Table 1: show services nat source rule Output Fields

Field Name

Description

Interface

Interface name.

Service set

Service set name.

Rule Id

Rule identification number.

Rule position

Position of the source NAT rule.

Match-direction

Specifies the direction in which to match traffic that meets the rule conditions.

Match

  • Source address

  • Destination address

  • Application

Match the following:

  • Name of the source address that matches the rule.

  • Name of the destination address that matches the rule.

  • Indicates whether the application option is configured.

Action

  • Persistent NAT type

  • Persistent NAT mapping type

  • Inactivity timeout

  • Max session number

Translation hits

  • Successful sessions

  • Failed sessions

Use this field to check for traffic that matches the rule. Note the successful or failed sessions.

Number of sessions

Number of active sessions.

Sample Output

show services nat source rule

show services nat source rule (Mapping and EIF Configuration)

Release Information

Command introduced in Junos OS 19.3R2.