Verifying the Port Mapping Configuration Configuring Port Mapping
page 24-6 OmniSwitch AOS Release 7 Network Configuration Guide March 2011
• Ports 2/1 and 2/2 on Switch D do not interact with each other but they interact with all the user ports on
Switch A except 3/1, 3/2, and 3/3. They also interact with all the ports on Switch B and Switch C.
• Ports 3/1, 3/2, and 2/1 on Switch C can interact with all the user ports on the network except 3/1, 3/2,
and 3/3 on Switch A.
Example Port Mapping Configuration Steps
The following steps provide a quick tutorial to configure the port mapping session shown in the diagram
on page 24-5.
1 Configure session 1 on Switch A in the unidirectional mode using the following command:
-> port-mapping 1 unidirectional
2 Create two port mapping sessions on Switch A using the following commands:
-> port-mapping 1 user-port 2/1-2 network-port 1/1-2
-> port-mapping 2 user-port 3/1-3 network-port 1/3
3 Enable both the sessions on Switch A using the following commands:
-> port-mapping 1 enable
-> port-mapping 2 enable
4 Similarly, create and enable a port mapping session 1 on Switch D using the following commands:
-> port-mapping 1 user-port 2/1-2 network-port 1/1
-> port-mapping 1 enable
Verifying the Port Mapping Configuration
To display information about the port mapping configuration on the switch, use the show commands listed
below:
For more information about the displays that result from these commands, see the
OmniSwitch CLI Reference Guide.
show port-mapping status Displays the status of one or more port mapping sessions.
show port-mapping Displays the configuration of one or more port mapping sessions.