Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Cisco Switching Black Book - Sean Odom, Hanson Nottingham.pdf
Скачиваний:
87
Добавлен:
24.05.2014
Размер:
2.89 Mб
Скачать

The MPC

Configuring an MPC on a router provides router−initiated and router−terminated shortcuts for non−NBMA networks. The MPC functionality involves the following:

Data−plane and control−plane VCC management

Ingress/egress cache management

MPOA frame processing

MPOA protocol and flow detection

An MPC identifies packets sent to an MPOA−capable router over the NBMA network and establishes a shortcut VCC to the egress MPC, if possible.

Configuring the Hostname

You can change the default prompt of Switch> and distinguish a switch from other devices in your network by naming it. The following code lists the command to change the prompt name to CoriolisLS1010> (this setting has only local significance on the switch):

Switch> enable

Switch# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)# hostname CoriolisLS1010

CoriolisLS1010(config)#

Configuring an Enable Password

In order to keep unauthorized people from making configuration changes on your switch, you should use the enable password command followed by the new password. Let’s take a look at an example:

1. Use the enable command to enter Privileged EXEC mode:

CoriolisLS1010> enable

2. Use the config terminal command to enter Global Configuration mode:

CoriolisLS1010# config terminal

3. Use the enable password command followed by a password to configure the enable password:

CoriolisLS1010(config)# enable password book1

Configuring the Processor Card Ethernet Interface

You must configure the Ethernet port on the processor card in order to allow Telnet access to the switch CLI. To configure the Ethernet interface, you must have local administrative access. Connect a PC or workstation to the console port on the processor card and follow these steps:

1. Use the enable command to enter Privileged EXEC mode:

189

CoriolisLS1010> enable

2. Use the config terminal command to enter Global Configuration mode:

CoriolisLS1010# config terminal

3.You must identify the route for traffic to take to the internal network (referred to as a static route) using the ip route command, as shown here:

CoriolisLS1010(config)# ip route 63.78.127.0 255.255.255.0 ethernet 0

4. Enter Interface Configuration mode for the Ethernet interface:

CoriolisLS1010(config)# interface ethernet 0

5.Assign the IP address and subnet mask to the interface just as you would a switch or router Ethernet interface, and then exit:

CoriolisLS1010(config−if)# ip address 63.78.127.2 255.255.255.0

CoriolisLS1010(config−if)# ^C

CoriolisLS1010#

Configuring Virtual Private Tunnels

A virtual private tunnel provides a way to link two private ATM networks across a public network. This type of network only supports PVCs. Connecting this way provides a permanent path through the public network. The public network trunks all the virtual channels in the VP between the two networks. The following example shows how to configure the VP tunnel when the VPI equals 2:

1. Use the enable command to enter Privileged EXEC mode:

CoriolisLS1010> enable

2. Use the config terminal command to enter Global Configuration mode:

CoriolisLS1010# config terminal

3. Enter the interface on the module:

CoriolisLS1010(config)# interface atm 3/0/2

4. Identify the private virtual path (PVP) number:

CoriolisLS1010(config−if)# atm pvp 2

5. Create an ATM subinterface. This example uses the PVP number as the sub−interface number:

CoriolisLS1010(config−if)# interface atm 3/0/2.2

CoriolisLS1010(config−subif)# end

CoriolisLS1010#

Verifying an ATM Interface Connection Status

When the VP tunnel is configured correctly, the connection status displayed in the AutoCfgState shows the word completed. You display this information by using the show atm interface command followed by the ATM interface. Let’s take a look at an example of the command:

CoriolisLS1010# show atm interface atm 3/0/2.2

Interface:

ATM3/0/2.2 Port−type:

vp tunnel

IF Status:

UP

Admin Status: up

 

Auto−config:

enabled

AutoCfgState:

completed

190

IF−Side:

Network

IF−type:

NNI

Uni−type:

not applicable Uni−version: not applicable

CoriolisLS1010#

Viewing the Configured Virtual Connections

To view the configured virtual connections, use the show atm vp command as shown here:

CoriolisLS1010# show atm vp

Interface VPI Type X−Interface X−VPI Status

ATM3/0/2 2 PVP TUNNEL

CoriolisLS1010#

Configuring the LECS ATM Address on a LightStream 1010 Switch

To configure the LAN Emulation Configuration Server (LECS) ATM address on a LightStream 1010 switch, follow these steps:

1.Use the enable command to enter Privileged EXEC mode.

2.Use the config terminal command to enter Global Configuration mode.

3.Enter Interface Configuration mode for the correct ATM interface.

4.Use the atm command followed by the address of the LECS:

atm lecs−address atm−address

Tip To verify the address configuration, use the show atm ilmi−configuration command.

Configuring the Advertised LECS Address

To configure the LECS address advertised by the switch to the end system, use the atm lecs−address−default Global Configuration command. The syntax is as follows:

atm lecs−address−default lecsaddress [sequence #]

Related solutions:

Found on page:

Configuring a LEC for an ELAN

271

Configuring the LECS

273

Viewing the LANE Configuration

To view the LANE configuration on a LightStream series switch, use the show lane command as follows:

CoriolisLS1010# show lane

LE Server ATM2/0.2 ELAN name: elan1 Admin: up State: operational

type: ethernet Max Frame Size: 1516

ATM address: 47.0091810000000060707B8A01.1122334455AA.02

LECS used: 47.0091810000000060707B8A01.0060705A8F05.00 connected, vcd 1450

191

control distribute: vcd 1452, 3 members, 196 packets

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

lecid ST vcd pkts Hardware Addr ATM Address

1 O 1451 6 0060.705a.8f02 47.0091810000000060707B8A01.0060705A8B12.01

2 O 1455 10 00e0.d7b1.ba12 47.0091810000000060707B8A01.112233461176.02

3P O 1466 59 0090.a2fb.b430 47.0091810000000060707B8A01.009086FB1021.01

LE BUS ATM2/0.2 ELAN name: elan1 Admin: up State: operational type: ethernet Max Frame Size: 1516

ATM address: 47.009181000000006007B8A01.1B2133CC51BA.02 data forward: vcd 1454, 3 members, 244 packets, 5 unicasts

lecid vcd

pkts ATM Address

1

1453

32

47.0091810000000060707B8A01.0060705A8B12.01

2

1458

28

47.0091810000000060707B8A01.112233461176.02

3

1467

58

47.0091810000000060707B8A01.0060705A8B12.01

LE Client ATM2/0.2 ELAN name: elan1 Admin: up State: operational

Client ID: 2

LEC up for 22 minutes 53 seconds

Join Attempt:

605

 

 

HW Address: 00e0.f9b1.b410

Type: ethernet Max Frame Size: 1516

ATM Address: 47.0091810000000060707B8A01.112233461176.02

VCD rxFrames

txFrames Type

ATM Address

 

0

0

0 configure

 

 

00.000000000000000000000000.000000000000.00

 

1456

1

10 direct

 

 

47.0091810000000060707B8A01.112233461176.02

 

1457

196

0 distribute

 

 

47.0091810000000060707B8A01.112233461176.02

 

1459

0

28 send

 

 

47.0091810000000060707B8A01.112233461176.02

 

1460

245

0 forward

 

 

47.0091810000000060707B8A01.112233461176.02

 

 

 

 

 

Related solution:

 

 

Found on page:

Verifying a LEC Configuration on an ELAN

272

Viewing the Installed Modules

Just as you can on a Catalyst switch, you can use the show module command to look at the installed modules on the LightStream switch. Remember, the LS1010 can use the same modules as the 5500 series switch. Here’s an example of the command’s results:

CoriolisLS1010> show module

 

 

 

Mod Module−Name

Ports Module−Type

Model

Serial−Num

Status

—— ——————————————

————

————————————————————

———————— ——————————

——————

2

2

100BaseTX Supervisor

WS−X5509

002261212

ok

3

24

3 Segment 100BaseTX E

ws−x5223

000000021

ok

4

1

MM OC−3 ATM

WS−X5155

003125674

ok

5

2

MM MIC FDDI

WS−X5101

002774545

ok

6

 

Route Switch Ext Port

 

 

 

7

1

Route Switch

WS−X5302

002274941

ok

Mod

MAC−Address(es)

Hw

Fw

Sw

———

————————————————————————————————————————

——————

—————— —————————

2

00−e0−a3−a5−00−00 thru 00−e0−a3−a5−03−ff

1.2

2.2(1)

3.1(1)

3

00−60−83−42−e4−4b thru 00−60−83−42−e4−4d

0.1

2.2(4)

3.1(1)

4

00−40−0b−43−02−64

1.0

1.3

2.2

5

00−60−3e−cd−42−95

1.0

1.1

2.1(2)

7

00−40−0b−91−42−16 thru 00−40−0b−91−42−17

1.0

20.2

11.2

Mod

Sub−Type Sub−Model Sub−Serial Sub−Hw

 

 

 

192

Соседние файлы в предмете Программирование