This command sets and displays the network address table (NAT) settings for the specified I/O module.
Function | What it does | Command | Valid targets |
---|---|---|---|
Display I/O-module network protocol settings | Displays the network port settings for the specified I/O module. Returned values include those in Table 2. | nat |
where x is the I/O-module bay number. |
Reset I/O-module network protocol settings | Resets all network address table settings for the
specified I/O module to the default values. Default values are in Table 2. You must activate any changes to the network protocol settings before they take effect. |
nat
-reset
This command can only be run by users
who have one or more of the following command authorities:
|
where x is the I/O-module bay number. |
Activate I/O-module network protocol settings | Activates all network port settings for the specified I/O module, putting them into effect. |
nat
-activate
This command can only be run by
users who have one or more of the following command authorities:
|
where x is the I/O-module bay number. |
Set protocol name for row in I/O-module NAT table | Sets a protocol name for the specified row in the NAT table for the specified I/O module. |
nat
-
index
-pn
protocol_name
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the I/O-module bay number. |
Set protocol ID for row in NAT table | Sets a protocol ID for the specified row in the NAT table for the specified I/O module. |
nat
-
index
-pi
protocol_id
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the I/O-module bay number. |
Set internal port number for row in NAT table | Sets the internal port number for the specified row in the NAT table for the specified I/O module. |
nat
-
index
-ip
port_number
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the I/O-module bay number. |
Set external port number for row in NAT table | Sets the external port number for the specified row in the NAT table for the specified I/O module. |
nat
-
index
-ep
port_number
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the I/O-module bay number. |
Set state for row in NAT table | Enables or disables the specified row in the NAT table for the specified I/O module. |
nat
-
index
-en
state
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the I/O-module bay number. |
Index | Protocol Name | Protocol ID | Internal Port | External Port | State |
---|---|---|---|---|---|
1 | HTTP | TCP | 80 | 1080 | Enabled |
2 | TELNET | TCP | 23 | 1023 | Enabled |
3 | HTTPS | TCP | 43 | 1043 | Enabled |
4 | SSH | TCP | 22 | 1022 | Enabled |
5 | SNMP | UDP | 161 | 1161 | Enabled |
6 through 10 | Unset |
Example:
nat
The following example shows the information that is returned from this command:
system:switch[3]> nat
Index Protocol Name Protocol ID Internal Port External Port Enabled
1 HTTP TCP 80 1080 enabled
2 TELNET TCP 23 1023 enabled
3 HTTPS TCP 43 1043 enabled
4 SSH TCP 22 1022 enabled
5 SNMP UDP 161 1161 enabled
system:switch[3]>