service nat source rule <rule-number> outbound-interface <interface>
Specifies an interface on which outbound traffic has SNAT rules applied.
- rule-number
- The numeric identifier of a rule. The identifier ranges from 1 through 9999.
- interface
- Not configurable for destination rules. The outbound interface. SNAT or masquerade NAT is performed on traffic transmitted from this interface.
You can specify an individual virtual interface instead of an entire interface. To do this, refer to the virtual interface by using int.vif notation. For example, to refer to the 40 virtual interface on the dp0p160p0 interface, use dp0p160p1.40.
Configuration mode
service {
nat {
source {
rule rule-number {
outbound-interface interface
}
}
}
}
This command can be used only on source NAT rules (that is, NAT rules with a rule type of source). It does not apply to rules with a rule type of destination.
Use the set form of this command to specify the data plane interface on which outbound traffic has SNAT rules applied.
Use the delete form of this command to remove an outbound interface.
Use the show form of this command to view an outbound interface.