Enabling/Disabling a Port Mapping Session Configuring Port Mapping
page 9-4 OmniSwitch 6600 Family Network Configuration Guide April 2006
Enabling/Disabling a Port Mapping Session
By default, the port mapping session will be disabled. The following subsections describe how to enable
and disable the port mapping session with the port mapping command.
Enabling a Port Mapping Session
To enable a port mapping session, enter port mapping followed by the session ID and enable.
For example, to enable the port mapping session 5, you would enter:
-> port mapping 5 enable
Disabling a Port Mapping Session
To disable a port mapping session, enter port mapping followed by the session ID and disable.
For example, to disable the port mapping session 5, you would enter:
-> port mapping 5 disable
Configuring a Port Mapping Direction
By default, port mapping sessions are bidirectional. The following subsections describe how to configure
and restore the directional mode of a port mapping session with the port mapping command.
Configuring Unidirectional Port Mapping
To configure a unidirectional port mapping session, enter port mapping followed by the session ID and
unidirectional. For example, to configure the direction of a port mapping session 6 as unidirectional, you
would enter:
-> port mapping 6 unidirectional
Restoring Bidirectional Port Mapping
To restore the direction of a port mapping session to its default (i.e., bidirectional), enter port mapping
followed by the session ID and bidirectional. For example, to restore the direction (i.e., bidirectional) of
the port mapping session 5, you would enter:
-> port mapping 5 bidirectional
Note. To change the direction of an active session with network ports, delete the network ports of the
session, change the direction, and recreate the network ports.