Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
Configuring Port Mapping
Creating/Deleting a Port Mapping Session
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 7-3
You can also verify the status of a port mapping session by using th
command.
Creating/Deleting a Port Mapping Session
Before port mapping can be used, it is necessary to create a port mapping session. The following subsec-
tions describe how to create and delete a port mapping session with the 
 command, respectively.
Creating a Port Mapping Session
To create a port mapping session either with or without the user ports, network ports, or both, use the
 command. For example, to create a port mapping session 8 with a 
user port on slot 1 port 2 and a network port on slot 1 port 3, you would enter:
-> port mapping 8 user-port 1/2 network-port 1/3
You can create a port mapping session with link aggregate network ports. For example, to create a port 
mapping session 3 with network ports of link aggregation group 7, you would enter:
-> port mapping 3 network-port linkagg 7
You can specify all the ports of a slot to be assigned to a mapping session. For example, to create a port 
mapping session 3 with all the ports of slot 1 as network ports, you would enter:
-> port mapping 3 network-port slot 1
You can specify a range of ports to be assigned to a mapping session. For example, to create a port 
mapping session 4 with ports 5 through 8 on slot 2 as user ports, you would enter:
-> port mapping 4 user-port 2/5-8
Deleting a User/Network Port of a Session
To delete a user/network port of a port mapping session, use the no form of the 
 command. For example, to delete a user port on slot 1 port 3 of a mapping session 8, you 
would enter:
-> port mapping 8 no user-port 1/3
Similarly, to delete the network ports of link aggregation group 7 of a mapping session 4, you would enter:
-> port mapping 4 no network-port linkagg 7
Deleting a Port Mapping Session
To delete a previously created mapping session, use the no form of the 
 command. For 
example, to delete the port mapping session 6, you would enter:
-> no port mapping 6