Conceitos básicos de LANE
Comandos para os switches IBM ATM modelo 8265
Todos os comandos virão sempre em pares. Um fazendo a configuração e outro confirmando-a.
Designação do endereço ATM do switch:
CBPF>
CBPF> set pnni node:0 atm_address:47.2.3.4.5.6.7.8.9.10.11.12.01.14.15.16.17.18.19.0
Set request executed.
Issue COMMIT PNNI to activate if this is your final 'SET PNNI' entry.
Issue UNCOMMIT PNNI to cancel, removes all 'set pnni' since last COMMIT PNNI.
CBPF>
CBPF> commit pnni * para salvar o que foi feito.*
COMMIT execution will first SAVE pnni configuration updates then RESET Hub..
Are you sure ? (Y/N) Y
CBPF>
Obs.: para cada switch teremos um endereço ATM diferente.
Confirmação:
CBPF>
CBPF> show device
8265 ATM Control Point and Switch Module
Name : 8265
Location :
CAT/CBPF
For assistance contact :
Manufacture id: 930
Part Number: 25L4454 EC Level: F12599
Boot EEPROM version: v.4.1.3
Flash EEPROM version: v.4.1.3 (PNNI)
Flash EEPROM backup version: v.3.3.3 (PNNI)
Last Restart : 15:34:20 Mon 18 Jun 2001 (Restart Count: 29)
A-CPSW
-------------------------------------------------------------------------------
> Subnet ethernet: Up
IP address: 152.84.250.254. Subnet mask: FF.FF.FF.00
MAC Address: 0006291F929E (BIA)
> Subnet atm: Connection establishment to ARP cleared
(Cause code : 0x03. See ATM Forum.)
IP address: 8.2.6.5. Subnet mask: FF.FF.FF.00
> Subnet lan emulation ethernet/DIX
Abnormal termination:LES connection cleared. ATM Forum cause 0x3
Config ELAN Name :""
Actual ELAN Name :""
MAC Address: 987612345000
IP address : 1.2.3.6. Subnet mask: FF.FF.FF.00
ATM address :47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.00
Config LES addr:47.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.01.00
Actual LES addr:47.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.01.00
BUS ATM address:00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
Config LECS add:none
Actual LECS add:00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
LEC Identifier: 0. Maximum Transmission Unit: 0
> Subnet lan emulation token ring
Not Started
Config ELAN Name :""
Actual ELAN Name :""
MAC Address: 00062977129E
IP address : 0.0.0.0. Subnet mask: 00.00.00.00
ATM address :47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.01
Config LES addr:none
Actual LES addr:00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
BUS ATM address:00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
Config LECS add:none
Actual LECS add:00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
LEC Identifier: 0. Maximum Transmission Unit: 0
Default Gateway : Change route failed. The destination network cannot be reached
-------------------------------------------------------------------------------
IP address: 1.2.3.5
ARP Server:
-------------------------------------------------------------------------------
ATM address: 47.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
Device configured for PNNI port capability.
Device configured for Lan Emulation Servers.
Dynamic RAM size is 32 MB. Migration: off. Diagnostics: enabled.
Device defined as primary.
Memory profile: Mixed (32_P_M)
Duplicate ATM addresses are not allowed.
Accounting is enabled.
CBPF>
Obs.: com este comando podemos verificar a configuração dos clientes ATM (LEC) presentes
no switch.
Configuração de um LES:
CBPF>
CBPF> set lan_emul server 1 start eth 20 1516
Enter emulated LAN name:
grupo_1
Starting server.
CBPF>
Confirmação:
CBPF> show lan_emul servers 1
-------------------------------------------------------------------------------
--------------------------- LAN Emulation Server 1 ---------------------------
Status : Running.
LAN type : Ethernet.
Actual ELAN name : "grupo_1".
Desired ELAN name : "grupo_1".
Actual max frame size : 1516.
Desired max frame size: 1516.
ATM address : 47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.02
LEC Id Range : 1 to 20.
Current number of operational clients : 0.
CBPF>
Configuração do LEC do switch:
CBPF>
CBPF> set device lan_emulation_client eth eth_type:diX ip_address:10.0.0.1 subnet_mask:ff.ff.ff.0
no_lecs_with_les:47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.02 emulated_lan_name
Enter Emulated LAN Name:
grupo_1
Client starting.
CBPF>
Confirmação:
CBPF> show device
8265 ATM Control Point and Switch Module
Name : 8265
Location :
CAT/CBPF
For assistance contact :
Manufacture id: 930
Part Number: 25L4454 EC Level: F12599
Boot EEPROM version: v.4.1.3
Flash EEPROM version: v.4.1.3 (PNNI)
Flash EEPROM backup version: v.3.3.3 (PNNI)
Last Restart : 15:34:20 Mon 18 Jun 2001 (Restart Count: 29)
A-CPSW
-------------------------------------------------------------------------------
> Subnet ethernet: Up
IP address: 152.84.250.254. Subnet mask: FF.FF.FF.00
MAC Address: 0006291F929E (BIA)
> Subnet atm: Connection establishment to ARP cleared
(Cause code : 0x03. See ATM Forum.)
IP address: 8.2.6.5. Subnet mask: FF.FF.FF.00
> Subnet lan emulation ethernet/DIX
Up
Config ELAN Name :"grupo_1"
Actual ELAN Name :"grupo_1"
MAC Address: 987612345000
IP address : 10.0.0.1. Subnet mask: FF.FF.FF.00
ATM address :47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.00
Config LES addr:47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.02
Actual LES addr:47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.02
BUS ATM address:47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.02
Config LECS add:none
Actual LECS add:00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
LEC Identifier: 1. Maximum Transmission Unit: 1492
> Subnet lan emulation token ring
Not Started
Config ELAN Name :""
Actual ELAN Name :""
MAC Address: 00062977129E
IP address : 0.0.0.0. Subnet mask: 00.00.00.00
ATM address :47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.01
Config LES addr:none
Actual LES addr:00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
BUS ATM address:00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
Config LECS add:none
Actual LECS add:00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
LEC Identifier: 0. Maximum Transmission Unit: 0
Default Gateway : Change route failed. The destination network cannot be reached
-------------------------------------------------------------------------------
IP address: 1.2.3.5
ARP Server:
-------------------------------------------------------------------------------
ATM address: 47.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
Device configured for PNNI port capability.
Device configured for Lan Emulation Servers.
Dynamic RAM size is 32 MB. Migration: off. Diagnostics: enabled.
Device defined as primary.
Memory profile: Mixed (32_P_M)
Duplicate ATM addresses are not allowed.
Accounting is enabled.
CBPF>
Conectando os módulos:
CBPF> set module 15 connected enable
Slot 15:Module set
CBPF>
Confirmação:
CBPF> show module 15
Slot Install Connect Operation General Information
-------------------------------------------------------------------------------
15 Y Y Y 8265 ATM 4 ports 155 Mbps Module
CBPF>
Configuração de uma porta PNNI:
CBPF> set port 15.1 enable pnni frame_format:sonet ilmi_vpi_vci:0.16
15.01:Port set
CBPF>
Confirmação:
CBPF>
CBPF> show port 15.1 verbose
Type Mode Status
-------------------------------------------------------------------------------
15.01:PNNI enabled UP
ILMI status : UP
ILMI vci : 0.16
RB Bandwidth : unlimited
Police admin. : off
Police oper. : off
Signalling vci : 0.5
Routing vci : 0.18
Aggregation token : 0
RB Admin weight : 5040
NRB Admin weight : 5040
VPI range admin. : 0-15 (4 bits)
VCI range admin. : 0-1023 (10 bits)
VPI range oper. : 0-15 (4 bits)
VCI range oper. : 0-1024 (10 bits)
Connector : SC DUPLEX
Media : monomode fiber
Port speed : 155000 kbps
Connection shaping : Off.
Remote device is active
Frame format : SONET STS-3c
Scrambling mode : frame and cell
Clock mode : internal
CBPF>
Configuração de uma porta UNI:
CBPF> set port 5.1 enable uni uni_type:private signalling_version:sign_3_1
frame_format:sonet ilmi_vpi_vci:0.16
5.01:Port set
CBPF>
Confirmação:
CBPF>
CBPF> show port 5.1 verbose
Type Mode Status
------------------------------------------------------------------------------
5.01:UNI enabled UP
UNI Type : Private
Signalling Version : 3.1
> Oper Sig. Version : 3.1
ILMI status : UP
ILMI vci : 0.16
RB Bandwidth : unlimited
Signalling vci : 0.5
RB Admin weight : 5040
NRB Admin weight : 5040
VPI range admin. : 0-15 (4 bits)
VCI range admin. : 0-1023 (10 bits)
VPI range oper. : 0-0 (0 bits)
VCI range oper. : 0-1024 (10 bits)
Connector : SC DUPLEX
Media : multimode fiber
Port speed : 155000 kbps
Connection shaping : Off.
Remote device is active
Frame format : SONET STS-3c
Scrambling mode : frame and cell
Clock mode : internal
CBPF>
Comandos para o switch IBM ATM modelo 8271
Em virtude de o equipamento não ser operado via linha de comando, apresentaremos
o passo a passo do menu de opções.
1. Non-Ethernet Ports Menu...
2. Configure ATM Port Parameters...
3. User-Network Interface (UNI) Level
4. Save and Return
5. Configure LAN Emulation Client (LEC)...
6. Quick Config
7. Enable
8. Reset
**** falta colocar alguma coisa ensinando a mexer nos contextos
(designar portas, IP do LEC, nome do contexto)
Neste ítem será mostrada a tabela do LES do 8265, contendo os seus clientes (LECs).
Também será mostrada a lista de LECs presentes no switch 8271.
Para o 8265:
CBPF>
CBPF> show lan_emul servers 1
-------------------------------------------------------------------------------
--------------------------- LAN Emulation Server 1 ---------------------------
Status : Running.
LAN type : Ethernet.
Actual ELAN name : "grupo_1".
Desired ELAN name : "grupo_1".
Actual max frame size : 1516.
Desired max frame size: 1516.
ATM address : 47.02.03.04.05.06.07.08.09.10.11.12.01.14.15.16.17.18.19.02
LEC Id Range : 1 to 20.
Current number of operational clients : 2.
Local : 47.02.03.04.05.06.07.08.09.10.11.12.01
14.15.16.17.18.19.00 (port 0.0) OPERATIONAL NonProxy
Remote : 47.02.03.04.05.06.07.08.09.10.11.12.02
14.15.16.17.18.19.00 (port 15.1) OPERATIONAL NonProxy
CBPF>
Para o 8271:
Configure LAN Emulation Client (LEC) Slot 1
Port is UP
LEC
Index Domain Name Domain Ports Emulated LAN Name Status
101 Domain01 2 3 4 grupo_1 up
102 default Adm. Disabled
103 default Adm. Disabled
104 default Adm. Disabled
105 default Adm. Disabled
106 default Adm. Disabled
107 default Adm. Disabled
108 default Adm. Disabled
109 default Adm. Disabled
110 default Adm. Disabled
111 default Adm. Disabled
112 default Adm. Disabled
113 default Adm. Disabled
114 default Adm. Disabled
Return More Quick Config Advanced Config Reset Enable Disable
View additional LECs not displayed on this panel.
Use cursor keys to choose item. Press to confirm choice.
Press to return to Main Menu.