SmartSwitch ATM User Guide 2-13IP Over ATM and LANE Creating an Emulated LANUse the add lecselanpolicy command to create ELAN join policies. The following is an example of creating anELAN join policy based on the By Packet Size policy.SmartSwitch # add lecselanpolicyPolicyIndex() : 2 — Can be any value other than one (1)Type() : ? — Use ? to see possible typesELAN 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 clientPriority() : 1000 — Weight the policy at 1000SmartSwitch #Note The lower the numerical value of a priority, the higher the priority. In the exampleabove, a priority value of 1000 was specified. Subsequently, This policy will betried before Best Effort (policy value = 65001).Use the show lecselanpolicy command to show the newly created ELAN join policy.SmartSwitch # show lecselanpolicyIndex Assignment Policy Priority Value==============================================================================1 Best Effort (Proprietary) 650012 By Packet Size 1000 — The created policy, its index number, and its prioritySmartSwitch #Note In the example above, index 2 (or greater) was used because the Best Effortpolicy reserves index one.The LECSELANLEC TableMany of the ELAN join policies use the information supplied by the add lecselanlec command. Use the addlecselanlec 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