Vous êtes sur la page 1sur 18

C H A PT E R 4

Configuring LANE
This chapter describes how to configure LAN Emulation (LANE) on the ATM switch
router, and includes the following sections:
• Understanding LANE on ATM
• Understanding LANE Components
• Implementing LANE
• Configuring a LEC
• Configuring the LECS
• Configuring the LES/BUS
• LANE Configuration Examples

Note For more software configuration information about LANE, refer to the ATM Switch
Router Software Configuration Guide. Refer to the ATM Switch Router Command
Reference publication for command syntax.

Configuring LANE 4-1


Understanding LANE on ATM

Understanding LANE on ATM


LANE is a protocol that allows devices attached to traditional LANs (such as Ethernet and
Token Ring) to connect to ATM networks. That is, LANE allows legacy LAN users to take
advantage of the benefits of ATM without modifying end station hardware or software.
LANE services provide connectivity between ATM-attached devices and LAN-attached
devices. Two primary applications of LANE follow:
• Connectivity between LAN-attached stations across a high-speed ATM transport
backbone.
• Connectivity between ATM-attached hosts and LAN-attached hosts. Centralized hosts
with high-speed ATM port adapters provide services (such as Domain Name Service
[DNS]) to traditional LAN-attached devices.

Understanding LANE Components


A single emulated LAN (ELAN) includes the following components:
• LANE client (LEC)—A software client that resides in an end station (such as a
workstation, LAN switch, or router). The LEC performs data forwarding and receiving,
address resolution, and other control functions for a single endpoint in a single ELAN.
A router or switch can have multiple LANE clients, each connecting with different
ELANs. The LANE client registers its MAC and ATM address with the LES.
• LANE configuration server (LECS)—A server that assigns individual LECs to
particular ELANs by providing to the LECs the ATM address of the LES. The LECS
maintains a database of ELAN names and the corresponding addresses of the LESs. A
LECS can serve multiple ELANs. One LECS must be configured for each LANE cloud.

Note The LECS is also used for security by restricting ELAN membership to certain
LECs, based on their MAC addresses.

4-2 ATM Switch Router Quick Software Configuration Guide


Implementing LANE

• LANE server (LES)—A server that registers LECs to join the ELAN. In LANE 1.0,
without Simple Server Redundancy Protocol (SSRP), each ELAN has only one Cisco
LES, which handles LAN Emulation Address Resolution Protocol (LE_ARP) requests.
• Broadcast-and-unknown server (BUS)—A server that floods unknown destination
addresses and forwards multicast and broadcast traffic to clients within an ELAN. In
LANE 1.0 without SSRP, one Cisco BUS exists per ELAN.

Implementing LANE
The following sections describe specific information and considerations you might need to
consider prior to LANE implementation:
• Supporting LAN Protocols
• Addressing
• Assigning Components to Interfaces and Subinterfaces

Supporting LAN Protocols


The ATM switch router supports both Ethernet and Token Ring LANE. This chapter
describes only Ethernet configuration information. For Token Ring configuration
information, refer to the ATM Switch Router Software Configuration Guide.

Addressing
On a LAN, packets are addressed by the MAC-layer address of the destination and source
stations. To provide similar functionality for LANE, every LANE client must have a MAC
address. In addition, every LANE component (LES, LEC, BUS, and LECS) must have a
unique ATM address.
All LANE clients on the same interface have the same automatically assigned MAC
address, which is also used as the end-system identifier (ESI) part of the ATM address.
Although client MAC addresses are not unique, all ATM addresses are unique.

Configuring LANE 4-3


Implementing LANE

Assigning Components to Interfaces and Subinterfaces


The following rules apply to assigning LANE components to the major ATM interface and
its subinterfaces:
• The LECS always runs on the major ATM interface.
If you assign any other component to the major interface, it is identical to assigning that
component to the 0 subinterface.
• Configure the LES/BUS and the LEC of the same ELAN on the same subinterface.
— You cannot configure LECs of two different ELANs on the same subinterface.
— You cannot configure LESs/BUSs of two different ELANs on the same
subinterface.

Note On the ATM switch router, you can configure LAN components only on the
processor card (CPU) interface or on one of its subinterfaces.

Configuring LANE Router and LAN Switch Requirements


You must manually configure QSAAL and ILMI signaling PVCs on routers and edge LAN
switches to run LANE.

Note These PVCs are configured automatically on the ATM switch router.

At least one ATM switch router is required to run LANE. For example, you cannot run
LANE on routers connected back-to-back.

4-4 ATM Switch Router Quick Software Configuration Guide


Configuring a LEC

Configuring a LEC
This section describes how to configure a LANE client connection from a remote ATM
switch router to the processor card (CPU) of a local switch. This connection allows you to
configure the ATM switch router remotely.

Note This connection is for switch management only.

Take these steps:

Step Command Purpose


1 Switch> enable Enter privileged EXEC mode.
Switch#
2 Switch# configure terminal Enter global configuration mode.
Switch(config)#
3 Switch(config)# interface Select the processor card (CPU)
atm 0[.subinterface] subinterface.
Switch(config-if)# Note We recommend that you configure
LECs on subinterfaces (atm 0.1), not main
interfaces (atm 0).
4 Switch(config-if)# lane Specify an ATM address (and override the
client-atm-address automatic ATM address assigned to the
atm-address-template LANE client).
5 Switch(config-if)# lane client Configure a LANE client on the specified
ethernet elan-name subinterface.
6 Switch(config-if)# end Return to privileged EXEC mode.
Switch#

For examples of these commands, see the section “LANE Configuration Examples” at the
end of this chapter.

Configuring LANE 4-5


Configuring the LECS

Configuring the LECS


This section describes how to configure the LECS, and includes the following procedures:
• Configuring the ATM Address of the LECS
• Configuring the LECS Database
You must configure the ATM address of the LECS on the ATM switch router.

Configuring the ATM Address of the LECS


The ATM switch router comes with a default unique prefix. To see the default prefix, enter
the show lane default atm address command. You can use the default prefix or assign a
new one. If you want to use the default prefix, skip this section and proceed to the next
section.
This section describes how to change the default prefix and configure a new one. All
attached LANE entities use the prefix to create their own ATM network service access point
(NSAP) addresses.
Take these steps:

Step Command Purpose


1 Switch> enable Enter privileged EXEC mode.
Switch#
2 Switch# configure terminal Enter global configuration mode.
Switch(config)#
3 Switch(config)# interface atm 0 Select the ATM interface on the processor
card (CPU).
4 Switch(config)# atm lecs-address Configure the LECS address on the ATM
lecsaddress switch router.
5 Switch(config)# atm Configure a redundant LECS address and
lecs-address-default address sequence number for the entire switch. The
[sequence#] sequence number specifies the order of the
address in the LECS address table. If you
do not specify a sequence number, the
addresses are used in the order entered.

4-6 ATM Switch Router Quick Software Configuration Guide


Configuring the LECS Database

Step Command Purpose


6 Switch(config)# atm address Configure a new ATM address.
address
7 Switch(config)# no atm address Disable the old default ATM address.
address
Note Enter the show atm addresses
command to display the default ATM
addresses.

For examples of these commands, see the section “LANE Configuration Examples” at the
end of this chapter.

Configuring the LECS Database


Take these steps:

Step Command Purpose


1 Switch> enable Enter privileged EXEC mode.
Switch#
2 Switch# configure terminal Enter global configuration mode.
Switch(config)#
3 Switch(config)# lane database Create a named database for the LECS.
database-name
4 Switch(lane-config-database)# In the configuration database, bind the
name elan-name name of the ELAN to the ATM address of
server-atm-address atm-address the LES.
Note Enter the show lane
default-atm-address for the ATM address
of the server for the ELAN.
5 Switch(config)# name elan-name Specify redundant LES/BUSs, or simple
server-atm-address address server replication. Enter the command for
index n each LES address for the same ELAN. The
index determines the priority. Zero (0) is
the highest priority.

Configuring LANE 4-7


Configuring the LES/BUS

Step Command Purpose


6 Switch(lane-config-database)# In the configuration database, assign an
default-name elan-name ELAN to the LECs to join without
specifying an ELAN name.
7 Switch(lane-config-database)# Return to privileged EXEC mode.
end
Switch#

For examples of these commands, see the section “LANE Configuration Examples” at the
end of this chapter.

Configuring the LES/BUS


In Cisco’s implementation of LANE, the LES and BUS are treated as one LANE
component. You configure the LES and BUS together as one component (the LES/BUS),
instead of two separate LANE components.
Take these steps:

Step Command Purpose


1 Switch> enable Enter privileged EXEC mode.
Switch#
2 Switch# configure terminal Enter global configuration mode.
Switch(config)#
3 Switch(config)# interface Specify the subinterface for the first ELAN.
ethernet 0[.subinterface]
Switch(config-if)#
4 Switch(config-if)# lane Enable a LES/BUS for the first ELAN.
server-bus ethernet elan-name1
5 Switch(config-if)# ip address Assign an IP address to the subinterface.
address mask
6 Switch(config-if)# end Return to privileged EXEC mode.
Switch#

4-8 ATM Switch Router Quick Software Configuration Guide


LANE Configuration Examples

LANE Configuration Examples


The following examples show how to configure one Cisco 7505 router, one ATM switch
router, and one Catalyst 5500 switch for a single ELAN.
The ATM switch router contains the LECS, LES, BUS, and a LEC. The remaining router
and Catalyst 5500 switch each contain an LEC for the ELAN. This example uses all LANE
default settings. For example, it does not explicitly set ATM addresses for the different
LANE components that are collocated on the ATM switch router. Membership in this LAN
is not restricted (see Figure 4-1).

Figure 4-1 Single ELAN Example Network

Router 1
LEC

atm 3/0.1
72.16.0.1

172.16.0.0

atm 0.1 atm 13/0/0.1


172.16.0.3 172.16.0.4

5000

Switch 1
12987

ATM switch router


LEC LECS, LES/BUS, LEC

Configuring LANE 4-9


LANE Configuration Examples

ATM Switch Router


ATM_Switch# show lane default-atm-addresses
interface ATM0:
LANE Client: 47.00918100000000E04FACB401.00E04FACB402.**
LANE Server: 47.00918100000000E04FACB401.00E04FACB403.**
LANE Bus: 47.00918100000000E04FACB401.00E04FACB404.**
LANE Config Server: 47.00918100000000E04FACB401.00E04FACB405.00
note: ** is the subinterface number byte in hex

ATM_Switch# configure terminal


Enter configuration commands, one per line. End with CNTL/Z.
ATM_Switch(config)# atm lecs-address-default
47.00918100000000E04FACB401.00E04FACB405.00
ATM_Switch(config)# end
ATM_Switch#
ATM_Switch# copy system:running-config nvram:startup-config
Building configuration...
[OK]
ATM_Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM_Switch(config)# lane database eng_dbase
ATM_Switch(lane-config-database)# name eng_elan server-atm-address
47.00918100000000E04FACB401.00E04FACB403.01
ATM_Switch(lane-config-database)# default-name eng_elan
ATM_Switch(lane-config-database)# end
ATM_Switch# show lane database

LANE Config Server database table 'eng_dbase'


default elan: eng_elan
elan 'eng_elan': un-restricted
server 47.00918100000000E04FACB401.00E04FACB403.01 (prio 0)

ATM_Switch# configure terminal


Enter configuration commands, one per line. End with CNTL/Z.
ATM_Switch(config)# interface atm 0
ATM_Switch(config-if)# lane config database eng_dbase
ATM_Switch(config-if)# lane config auto-config-atm-address
ATM_Switch(config-if)# exit
ATM_Switch(config)# end

4-10 ATM Switch Router Quick Software Configuration Guide


LANE Configuration Examples

ATM_Switch# show lane config


LE Config Server ATM0 config table: eng_dbase
Admin: up State: operational
LECS Mastership State: active master
list of global LECS addresses (42 seconds to update):
47.00918100000000E04FACB401.00E04FACB405.00
ATM Address of this LECS: 47.00918100000000E04FACB401.00E04FACB405.00
(auto)
cumulative total number of unrecognized packets received so far: 0
cumulative total number of config requests received so far: 0
cumulative total number of config failures so far: 0

ATM_Switch# configure terminal


Enter configuration commands, one per line. End with CNTL/Z.
ATM_Switch(config)# interface atm 0.1
ATM_Switch(config-subif)# lane server-bus ethernet eng_elan
ATM_Switch(config-subif)# ip address 172.16.0.4 255.255.0.0
ATM_Switch(config-subif)# end
ATM_Switch# show lane
LE Config Server ATM0 config table: eng_dbase
Admin: up State: operational
LECS Mastership State: active master
list of global LECS addresses (46 seconds to update):
47.00918100000000E04FACB401.00E04FACB405.00
ATM Address of this LECS: 47.00918100000000E04FACB401.00E04FACB405.00
(auto)
vcd rxCnt txCnt callingParty
82 0 0 47.00918100000000E04FACB401.00E04FACB403.01 LES
eng_elan 0 active
cumulative total number of unrecognized packets received so far: 0
cumulative total number of config requests received so far: 0
cumulative total number of config failures so far: 0

LE Server ATM0.1 ELAN name: eng_elan Admin: up State: operational


type: ethernet Max Frame Size: 1516
ATM address: 47.00918100000000E04FACB401.00E04FACB403.01
LECS used: 47.00918100000000E04FACB401.00E04FACB405.00 connected, vcd 81

LE BUS ATM0.1 ELAN name: eng_elan Admin: up State: operational


type: ethernet Max Frame Size: 1516
ATM address: 47.00918100000000E04FACB401.00E04FACB404.01

Configuring LANE 4-11


LANE Configuration Examples

ATM_Switch# configure terminal


Enter configuration commands, one per line. End with CNTL/Z.
ATM_Switch(config)# interface atm 0.1
ATM_Switch(config-subif)# lane client ethernet eng_elan
ATM_Switch(config-subif)# end
ATM_Switch# show lane client
LE Client ATM0.1 ELAN name: eng_elan Admin: up State: operational
Client ID: 1 LEC up for 30 seconds
ELAN ID: 0
Join Attempt: 1
HW Address: 00e0.4fac.b402 Type: ethernetMax Frame Size: 1516
ATM Address: 47.00918100000000E04FACB401.00E04FACB402.01

VCD rxFrames txFrames Type ATM Address


0 0 0 configure
47.00918100000000E04FACB401.00E04FACB405.00
87 1 2 direct
47.00918100000000E04FACB401.00E04FACB403.01
90 1 0 distribute
47.00918100000000E04FACB401.00E04FACB403.01
91 0 1 send
47.00918100000000E04FACB401.00E04FACB404.01
94 0 0 forward
47.00918100000000E04FACB401.00E04FACB404.01

ATM_Switch# copy system:running-config nvram:startup-config


Building configuration...
[OK]
ATM_Switch#

Router 1
router1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router1(config)# interface atm 3/0
router1(config-if)# atm pvc 1 0 5 qsaal
router1(config-if)# atm pvc 2 0 16 ilmi
router1(config-if)# interface atm 3/0.1
router1(config-subif)# ip address 172.16.0.1 255.255.0.0
router1(config-subif)# lane client ethernet eng_elan
router1(config-subif)# end
router1# more system:running-config
Building configuration...

4-12 ATM Switch Router Quick Software Configuration Guide


LANE Configuration Examples

Current configuration:
!
version 12.0

<Information deleted>

!
interface ATM3/0
no ip address
atm pvc 1 0 5 qsaal
atm pvc 2 0 16 ilmi
!
interface ATM3/0.1 multipoint
lane client ethernet eng_elan
!

<Information deleted>

!
end

router1# show inter atm 3/0.1


ATM3/0.1 is up, line protocol is up
Hardware is cxBus ATM
MTU 1500 bytes, BW 156250 Kbit, DLY 80 usec, rely 255/255, load 1/255
Encapsulation ATM-LANE
ARP type: ARPA, ARP Timeout 04:00:00
router1#

Catalyst 5500 Switch 1


Switch1> session 4
Trying ATM-4...
Connected to ATM-4.
Escape character is '^]'.
ATM> enable
ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm 0
ATM(config-if)# lane server-bus ethernet eng_elan
ATM(config-if)# end
ATM# copy system:running-config nvram:startup-config
Building configuration...
[OK]

Configuring LANE 4-13


LANE Configuration Examples

ATM# configure terminal


Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm 0
ATM(config-if)# atm pvc 1 0 5 qsaal
ATM(config-if)# atm pvc 2 0 16 ilmi
ATM(config-if)# end
ATM#
ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm 0.1
ATM(config-subif)# lane client ethernet 1 eng_elan
ATM(config-subif)# end
ATM# show lane client
LE Client ATM0.1 ELAN name: eng_elan Admin: up State: operational
Client ID: 3 LEC up for 24 seconds
Join Attempt: 11
HW Address: 00e0.4fac.b030 Type: ethernetMax Frame Size: 1516
VLANID: 1
ATM Address: 47.00918100000000E04FACB401.00E04FACB030.01

VCD rxFrames txFrames Type ATM Address


0 0 0 configure
47.00918100000000E04FACB401.00E04FACB405.00
27 1 14 direct
47.00918100000000E04FACB401.00E04FACB403.01
29 13 0 distribute
47.00918100000000E04FACB401.00E04FACB403.01
30 0 15 send
47.00918100000000E04FACB401.00E04FACB404.01
31 0 0 forward
47.00918100000000E04FACB401.00E04FACB404.01

ATM# copy system:running-config nvram:startup-config


Building configuration...
[OK]
ATM#

4-14 ATM Switch Router Quick Software Configuration Guide


Verifying Connectivity

Verifying Connectivity
The following example shows how to use the show lane and ping commands to confirm
the connection between the ATM switch router, routers, and LAN switches:

ATM Switch Router


Switch# show lane
LE Config Server ATM0 config table: eng_dbase
Admin: up State: operational
LECS Mastership State: active master
list of global LECS addresses (31 seconds to update):
47.00918100000000E04FACB401.00E04FACB405.00 <-------- me
ATM Address of this LECS: 47.00918100000000E04FACB401.00E04FACB405.00
(auto)
vcd rxCnt txCnt callingParty
82 2 2 47.00918100000000E04FACB401.00E04FACB403.01 LES
eng_elan 0 active
cumulative total number of unrecognized packets received so far: 0
cumulative total number of config requests received so far: 4
cumulative total number of config failures so far: 0

LE Server ATM0.1 ELAN name: eng_elan Admin: up State: operational


type: ethernet Max Frame Size: 1516
ATM address: 47.00918100000000E04FACB401.00E04FACB403.01
LECS used: 47.00918100000000E04FACB401.00E04FACB405.00 connected, vcd 81
control distribute: vcd 89, 2 members, 2 packets

proxy/ (ST: Init, Conn, Waiting, Adding, Joined, Operational, Reject,


Term)
lecid ST vcd pkts Hardware Addr ATM Address
1 O 88 2 00e0.4fac.b402
47.00918100000000E04FACB401.00E04FACB402.01
2 O 96 2 0080.1c93.8060
47.00918100000000E04FACB401.00801C938060.01

LE BUS ATM0.1 ELAN name: eng_elan Admin: up State: operational


type: ethernet Max Frame Size: 1516
ATM address: 47.00918100000000E04FACB401.00E04FACB404.01
data forward: vcd 93, 2 members, 95 packets, 0 unicasts

lecid vcd pkts ATM Address


1 92 95 47.00918100000000E04FACB401.00E04FACB402.01
2 97 42 47.00918100000000E04FACB401.00801C938060.01

Configuring LANE 4-15


LANE Configuration Examples

LE Client ATM0.1 ELAN name: eng_elan Admin: up State: operational


Client ID: 1 LEC up for 1 hour 34 minutes 46 seconds
ELAN ID: 0
Join Attempt: 1
HW Address: 00e0.4fac.b402 Type: ethernetMax Frame Size: 1516
ATM Address: 47.00918100000000E04FACB401.00E04FACB402.01

VCD rxFrames txFrames Type ATM Address


0 0 0 configure
47.00918100000000E04FACB401.00E04FACB405.00
87 1 2 direct
47.00918100000000E04FACB401.00E04FACB403.01
90 2 0 distribute
47.00918100000000E04FACB401.00E04FACB403.01
91 0 95 send
47.00918100000000E04FACB401.00E04FACB404.01
94 42 0 forward
47.00918100000000E04FACB401.00E04FACB404.01

ATM_Switch# ping 172.16.0.1


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/202/1000
ms
ATM_Switch# ping 172.16.0.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/202/1000
ms
ATM_Switch#

Confirming Connectivity between the ATM Switch Router and the Routers
The following example shows how to use the ping command to confirm the connection
between the ATM switch router and routers:
ATM_Switch# ping 172.16.0.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 172.16.0.1, timeout is 2 seconds:
!!!!!

4-16 ATM Switch Router Quick Software Configuration Guide


Verifying Connectivity

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/202/1000


ms
ATM_Switch# ping 172.16.0.3

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 172.16.0.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/202/1000
ms

Displaying the LANE Client Configuration on the ATM Switch Router


The following example shows the show lane client command display for the Ethernet
LANE client in the ATM switch router:
ATM_Switch# show lane client
LE Client ATM0.1 ELAN name: eng Admin: up State: operational
Client ID: 3 LEC up for 4 minutes 58 seconds
Join Attempt: 1
HW Address: 0060.3e7b.2002 Type: ethernet Max Frame Size:
1516
ATM Address: 47.00918100000000603E7B2001.00603E7B2002.01

VCD rxFrames txFrames Type ATM Address


0 0 0 configure
47.00918100000000603E7B2001.00000C407575.00
52 1 4 direct
47.00918100000000603E7B2001.00000C407573.01
53 9 0 distribute
47.00918100000000603E7B2001.00000C407573.01
54 0 13 send
47.00918100000000603E7B2001.00000C407574.01
55 19 0 forward
47.00918100000000603E7B2001.00000C407574.01
56 11 10 data
47.00918100000000603E7B2001.00000C407572.01
57 6 5 data
47.00918100000000603E7B2001.00000C407C02.02

Switch#

Configuring LANE 4-17


LANE Configuration Examples

4-18 ATM Switch Router Quick Software Configuration Guide

Vous aimerez peut-être aussi