Port Mapping
Page 19-71
Removing Ports from a Port Mapping Set
You can remove ports to a port map set once it has been created using the pmapmod
command. Follow these steps:
1. Enter the
modpmap command at a system prompt, as shown:
pmapmod <pmap id>
where <pmap id> is the map set number shown when the map set was created. (To view a
list of all existing map sets, see Viewing a Port Mapping Set on page 19-72.) For example,
to modify map set 5, you would enter the following:
pmapmod 5
2. The Port Mapping Configuration screen displays (as shown above in Adding Ports to a
Port Mapping Set on page 19-70).
Enter the line number for the operation you want to perform (a
3 for the ingress list or a 4
for the egress list), an equal sign (=), and the ports to be added. For example, remove
port 3/2 to the ingress list and the egress list, enter the following (in two separate opera-
tions):
3=3/2
4=3/2
You can remove more than one port to a list by using a comma (,) between slot/port
designations, or a dash (-) between port numbers. For example, if you wanted to remove
ports 4/1, 4/6, 4/7, 4/8, and 4/9 from the egress list of this map set, you would enter the
following:
4=4/1, 4/6-9
3. To view the changes, enter a 5 (view port may configuration), an equal sign (=), and a y,
as shown:
5=y
This will refresh the Port Mapping Configuration screen and display any changes you
have made.
4. Quit the session by entering a
q at the prompt.