SmartSwitch ATM User Guide 2-13
IP Over ATM and LANE Creating an Emulated LAN
Use the add lecselanpolicy command to create ELAN join policies. The following is an example of creating an
ELAN join policy based on the By Packet Size policy.
SmartSwitch # add lecselanpolicy
PolicyIndex() : 2 — Can be any value other than one (1)
Type() : ? — Use ? to see possible types
ELAN Policy Type (Values from 1 to 7 representing, in order, the policies BestEffort, byATMAddress,
byMacAddress, byRouteDescriptor, byLANType, byPacketSize and byELANName).
Type() : 6 — Specify type 6, assign ELAN by packet size requested by client
Priority() : 1000 — Weight the policy at 1000
SmartSwitch #
Note The lower the numerical value of a priority, the higher the priority. In the example
above, a priority value of 1000 was specified. Subsequently, This policy will be
tried before Best Effort (policy value = 65001).
Use the show lecselanpolicy command to show the newly created ELAN join policy.
SmartSwitch # show lecselanpolicy
Index Assignment Policy Priority Value
==============================================================================
1 Best Effort (Proprietary) 65001
2 By Packet Size 1000 — The created policy, its index number, and its priority
SmartSwitch #
Note In the example above, index 2 (or greater) was used because the Best Effort
policy reserves index one.

The LECSELANLEC Table

Many of the ELAN join policies use the information supplied by the add lecselanlec command. Use the add
lecselanlec command to create a list of clients and to assign the ELAN each client should join.
Note You can also assign a TLV set to be used by the client on the specified ELAN.
Clients are identified within the lecselanlecs list by one (or a combination of) the following attributes:
ATM address
MAC address
Token Ring route descriptor (segment ID and bridge number)
IP address