cc/td/doc/product/wanbu/9_3_10
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring MPLS with the BPX Switch and the 6400/7200/7500 Routers

Configuring MPLS with the BPX Switch and the 6400/7200/7500 Routers

This chapter provides information for configuring BPX switches and associated label switching controllers along with edge routers for Multiprotocol Label Switching (MPLS) operation.

Procedures are provided for initial configuration of a router and its various interfaces, including ATM and Ethernet interfaces:

For further information regarding the Cisco 6400, 7200, or 7500 series, detailed software configuration information is provided in the Cisco IOS configuration guide and Cisco IOS command reference publications, which are available on the Cisco Documentation CD-ROM.

Introduction

Configuring the MPLS network consists of setting up ATM router/switches for MPLS. This requires configuring the MPLS controller function on the router entity and the controlled (slave) function on the switch entity of each node.

In the example given here for BPX MPLS nodes (BPX 8650 ATM-LSRs):

When MPLS is running in the network, the routing protocol (such as OSPF) determines the paths through the MLPS switch network from every Edge Label Switch Router (LSR) to every IP destination. Based on this routing information, MPLS automatically sets up a Label VC (LVC) along each path by using the Label Distribution Protocol (LDP).

Consider packets arriving at the edge of the MPLS network with a particular destination IP address:

    1. Labels are applied to these packets at the Edge LSR.

    2. The resulting ATM cells are forwarded along the appropriate LVC path through the network using label swapping at each label switch until the far-end Edge LSR is reached.

    3. The far-end Edge LSR removes the label, rebuilds the frame, and forwards the IP packet to its LAN destination.

Equipment and Software Requirements

Configuration Preview

Setting up label switching on a node involves is essentially a three-step process:

    1. Configuring BPX switch

    2. Setting up edge routers (can include setting up policies, and so on)

    3. IP routing (typically OSPF or IS-IS) automatically discovers the network topology

    4. MPLS automatically sets up LVCs across the network

Figure 5-1 shows a high-level view of an MPLS network. The packets destined for 204.129.33.127 could be real time video, while the packets destined for 204.133.44.129 could be from data files.

Once IP routing and MPLS have been set up on the nodes as shown in Figure 5-1, (ATM-LSR 1 through ATM-LSR 5, Edge LSR_A, Edge LSR_B, and Edge LSR_C), automatic network discovery is thereby enabled. Then MPLS will automatically set up LVCs across the network. At each ATM LSR (label switch), label swapping is used to transport the cells across the previously set up LVC paths.

("Label swapping" is a name for VCI switching, the underlying capability of an ATM switch.)

At the Edge LSRs, labels are added to incoming IP packets and labels are removed from outgoing packets. Figure 5-1 shows IP packets with host destination 204.129.33.127 transported as labeled ATM cells across LVC 1, and IP packets with host destination 204.133.44.129 transported as labeled ATM cells across LVC 2.

IP addresses shown are for illustrative purposes only and are assumed to be isolated from external networks. Check with your Network Administrator for appropriate IP addresses for your network.


Figure 5-1: High-Level View of Configuration of An MPLS Network


Figure 5-2 is a detailed diagram showing the MPLS label swapping that might take place in the transportation of the IP packets in the form of ATM cells across the network on the LVC1 and LVC2 virtual circuits:

    1. An unlabeled IP packet with destination 204.133.44.129 arrives at Edge Label Switching Router (LSR-A).

    2. Edge LSR-A checks its label forwarding information base (LFIB) and matches the destination with prefix 204.133.44.0/8.

    3. LSR-A converts the AAL5 frame to cells and sends the frame out as a sequence of cells on 1/VCI 50.

    4. ATM-LSR-1 (which is a BPX 8650 Label Switch Router) is controlled by a Label Switch Controller (6400, 7200, or 7500 router). The controller has an LFIB that was established by IP routing and MPLS signaling. At the time the LFIB entries were established, the controller used the VC switching information in the LFIB to establish VC connections in the switch. In this case, the incoming cells on interface 2/VCI 50 are switched to outgoing interface 0/VCI 42. The cell-by-cell switching is invisible to the controller, because the traffic is carried only by the switch and does not pass through the controller.

    5. Similarly, at ATM-LSR-2, the incoming cells on interface 2/VCI 42 are switched to outgoing interface 0/VCI 90, according to the LFIB.

    6. Edge LSR-C receives the incoming cells on incoming interface 1/VCI 90, checks its LFIB, converts the ATM cells back to an AAL5 frame, then to an IP packet, and then sends the outgoing packet onto its LAN destination 204.133.44.129.


Figure 5-2: Label Swapping Detail


Initial Setup of MPLS Switching

This section provides an example of configuring BPX 8650 MPLS label switches (ATM-LSRs) for MPLS switching of IP packets through an ATM network, along with configuration for 6400/7200/7500 routers for use as Label Edge Switch Routers (Edge LSRs) at the edges of the network.

The example in this section describes the configuration of:

The configuration of ATM LSR-3, ATM LSR-4, and ATM LSR-5 is not detailed, but would be performed in a similar manner to that for ATM LSR-1 and ATM LSR-2. Also, the configuration of Edge LSR-B (7500 router) would be similar to that for Edge LSR-A and LSR-C.

The configuration of a BPX 8650 ATM-LSR consists of two parts:


Figure 5-3: Simplified Example of Configuring An MPLS Network


Configuration for BPX Switch Portions of the BPX 8650 ATM-LSRs

The BPX nodes must be set up and configured in the ATM network, including links to other nodes, and so on. Following this, they may be configured for MPLS operation.

To configure the BPX nodes for operation, you set up a virtual switch interface and associated partition by using the cnfrsrc command.

You link the 6400, 7200, or 7500 router to the BPX by using the addshelf command to allow the router's label switch controller function to control the MPLS operation of a node.

You may distribute the resources of the partition between the associated ports. Resources include bandwidth, VPI range, and number of logical connection spaces (LCNs). The VPIs are of local significance, so they do not have to be the same for each port in a node, but it is generally convenient from a tracking standpoint to keep them the same for a given BPX node.

In this example, it is assumed that a single external controller per node is supported, so that the partition chosen is always 1.

Command Syntax Summary for BPX Portion of MPLS Configuration

Syntax for associated commands, cnfrsrc, cnfqbin, addshelf are:

cnfrsrc  slot.port.{virtual trk}  maxpvclcns  maxpvcbw  [Edit parms ? y/n] partitionID 
e/d  minvsilcns  maxvsilcns  vsistartvpi vsiendvpi  vsiminbw  vsimaxbw 

{if you enter "y", to Edit parms?

cnfrsrc  slot.port.{virtual trk}  maxpvclcns  maxpvcbw [Edit parms ? y/n] 

{accepts defaults if you enter "n" to Edit parms

cnfqbin <slot.port> <Qbin_#> <e/d>  y/n  <Qbin discard_thr> <Low EPD threshold> <CLPhi> 
<EFCI_thr> 

{If you enter "n" to not accept template values

cnfqbin <slot.port.[virtual trk}> <Qbin_#> <e/d> y/n

{If you enter "y" to accept template values.

addshelf <slot.port [virtual trk]> <device-type> <control ID> <control partition ID>

Configuration for BPX 1 Portion of ATM-LSR-1

To configure the BPX 8650 label switch routers, ATM-LSR-1 and ATM-LSR-2:

Command Description

Step 1 

Check card status:

dspcds

Display status of all cards, BXM cards that you are configuring should be "Standby" or "Active". If not perform a hard reset, "resetcd 1 h", resets card 1, for example.

Step 2 

Check card connection capabilities:

dspcd 1

  Chnls:16320, PG[1} :7048, PG[2] : 7048
  PG [1} : 1, 2
  PG [2] : 3, 4

dspcd 2

  Chnls:16320, PG[1} :7048, PG[2] : 7048
  PG [1} : 1, 2
  PG [2] : 3, 4

This example shows that ports 1 and 2 together have a total of 7048 connections or "channels" available for use. Ports 1 and 2 form a port group (PG). Similarly, ports 3 and 4 are a port group with a limit of 7048 connections. Unless there is a good reason to do otherwise, it is best to leave many of the LCNs as spares. In this example, we will allocate 1500 LCNs to MPLS on each port using the cnfrsrc command.

Step 3 

Enable BXM interfaces:

  uptrk 1.1
  uptrk 1.3
  uptrk 2.2

In this example, trunk 1.1 is the link to the LSC controller, and trunks 1.3 and 2.2 are set up for use by LVCs.


Note   A BXM interface is a "trunk" if it connects to another switch or MGX 8220 feeder. The VSI connection to an LSC is also a "trunk." Other interfaces are ports, typically to service interfaces. Although interfaces1.3 and 2.2 are configured as trunks, in this example, MPLS would also work if they were configured as ports. However, if links between BPX nodes carry PVC connections as well as MPLS, they must be trunks.


Note   The uptrk and related commands are of form uptrk <slot.port. [<virtual trk}>, so if you are configuring a virtual trunk the uptrk command for example, would be of the form, uptrk 1.1.1, uptrk 1.1.2, and so on. Either ports or trunks can be active simultaneously on the same BXM.

Step 4 

Configure VSI partitions on the BXM interfaces:

  cnfrsrc 1.1 256 26000 y 1 e 512 1500 240 255 105000 105000

or if entered individually:

  cnfrsrc 1.1
  256 {PVC LCNs, accept default value
  26000
  y {to edit VSI parameters
  1 {partition
  e {enable partition
  512 {VSI min LCNs
  1500 {VSI max LCNs
  240 {VSI starting VPI
  255 {VSI ending VPI
  105000 {VSI min bandwidth
  105000 {VSI max bandwidth

Repeat for BXM interfaces 1.3 and 2.2

  cnfrsrc 1.3 256 26000 y 1 e 512 1500 240 255 105000 105000
  cnfrsrc 2.2 256 26000 y 1 e 512 1500 240 255 105000 105000

PVC LCNs: [256] default value. Reserves space on this link for 256 AutoRoute PVCs (LCNs = Logical Connection Numbers).

Three VSI partitions are supported, numbered 1 through 3. If in doubt, use partition 1 for MPLS.

VSI min LCNs: 512 and VSI max LCNs: 1500. Guarantees that MPLS can set up 512 LVCs on this link, but is allowed to use up to 1500, subject to availability of LCNs.

VSI starting VPI: 240 and VSI ending VPI: 255. Reserves VPIs in the range of 240-255 for MPLS. Only one VP is really required, but a few more can be reserved for future use. AutoRoute uses a VPI range starting at 0, so MPLS should use higher values. It is best to always avoid using VPIs "0" and "1" for MPLS on the BPX 8650.

VPIs are locally significant. In this example, 240 is shown as the starting VPI for each port. A different value could be used for each of the three ports, 1.1, 1.3, and 2.2. But at each end of a trunk, such as, between port 1.3 on ATM LSR-1 and port 1.3 on ATM LSR-2, the same VPI must be assigned.

VSI minimum bandwidth: 105000 and VSI maximum 105000. Guarantees that MPLS can use 105000 cps (about 40 Mbps) on this link. More can be allocated if required.

MPLS will never use an assigned bandwidth greater than its minimum bandwidth. The maximum bandwidth sets the maximum that can be pre-allocated to connections of the specified partition. The maximum bandwidth is a maximum for connection admission purposes only. It can be exceeded on a cell-by-cell basis if: a) there are bursts of traffic on connections in this partition, and b) bandwidth is left unallocated, or unused or in connections in other partitions.

All MPLS connections on a link share the guaranteed minimum bandwidth for MPLS. There is no point in setting the maximum bandwidth greater than the minimum for MPLS. Irrespective of the maximum setting, MPLS connections can burst into spare bandwidth in other partitions, as just noted.

PVC maximum bandwidth: 26000. Guarantees that PVCs can always use up to 26000 cells per second (about 10 Mbps) on this link.

Step 5 

Enable MPLS queues on BXM:

dsqbin 1.1 10

and verify that it matches the following:

  Qbin Database 1.1 on BXM qbin 10
  Qbin State: Enable
  Qbin discard threshold: 65536
  EPD threshold: 95%
  High CLP threshold: 100%
  EFCI threshold: 40%

If configuration is not correct, enter

cnfqbin 1.1 10 e n 65536 95 100 40

Repeat as necessary for BXM interfaces 1.3 and 2.2:

cnfqbin 1.3 10 e n 65536 95 100 40

cnfqbin 2.2 10 e n 65536 95 100 40

MPLS CoS uses Qbins 10-14.

Step 6 

Enable the VSI control interface:

addshelf 1.1 vsi 1 1 {link to controller, ID = 1, partition = 1

The first "1" after "vsi" is the VSI controller ID, which must be set the same on both the BPX 8650 and the LSC. The default controller ID on the LSC is "1".

The second "1" after "vsi" indicates that this is a controller for partition 1.

Configuration for BPX 2 Portion of ATM-LSR-2

Proceed with configuration as follows:

Command Description

Step 1 

Check card status:

dspcds

Display status of all cards, BXM cards that you are configuring should be "Standby" or "Active". If not perform a hard reset, "resetcd 1 h", resets card 1, for example.

Step 2 

Check card connection capabilities:

dspcd 1

  Chnls:16320, PG[1} :7048, PG[2] : 7048
  PG [1} : 1, 2
  PG [2] : 3, 4

dspcd 2

  Chnls:16320, PG[1} :7048, PG[2] : 7048
  PG [1} : 1, 2
  PG [2] : 3, 4

This example shows that ports 1 and 2 together have a total of 7048 connections or "channels" available for use. Ports 1 and 2 form a port group (PG). Similarly, ports 3 and 4 are a port group with a limit of 7048 connections. Unless there is a good reason to do otherwise, it is best to leave many of the LCNs as spares. In this example, we will allocate 1500 LCNs to MPLS on each port using the cnfrsrc command.

Step 3 

Enable BXM interfaces:

  uptrk 1.1
  uptrk 1.3
  uptrk 2.2

In this example, trunk 1.1 is the link to the LSC controller, and trunks 1.3 and 2.2 are being set up as cross-connects for use by LVCs.

Step 4 

Configure VSI partitions on the BXM interfaces:

  cnfrsrc 1.1 256 26000 y 1 e 512 1500 240 255 105000 105000

or if entered individually:

  cnfrsrc 1.1
  256 {PVC LCNs, accept default value
  26000
  y {to edit VSI parameters
  1 {partition
  e {enable partition
  512 {VSI min LCNs
  1500 {VSI max LCNs
  240 {VSI starting VPI
  255 {VSI ending VPI
  105000 {VSI min bandwidth
  105000 {VSI max bandwidth

Repeat for BXM interfaces 1.3 and 2.2

  cnfrsrc 1.3 256 26000 y 1 e 512 1500 240 255 105000 105000
  cnfrsrc 2.2 256 26000 y 1 e 512 1500 240 255 105000 105000

Step 5 

Enable MPLS queues on BXM:

dspqbin 1.1 10

and verify that it matches the following:

  Qbin Database 1.1 on BXM qbin 10
  Qbin State: Enable
  Qbin discard threshold: 65536
  EPD threshold: 95%
  High CLP threshold: 100%
  EFCI threshold: 40%

If configuration is not correct, enter

cnfqbin 1.1 10 e n 65536 95 100 40

Repeat as necessary for BXM interfaces 1.3 and 2.2:

cnfqbin 1.3 10 e n 65536 95 100 40

cnfqbin 2.2 10 e n 65536 95 100 40

MPLS CoS uses Qbins 10-14.

Step 6 

Enable the VSI control interface:

addshelf 1.1 vsi 1 1 {link to controller, ID = 1, partition = 1

The first "1" after "vsi" is the VSI controller ID, which must be set the same on both the BPX 8650 and the LSC. The default controller ID on the LSC is "1".

The second "1" after "vsi" is the partition ID that indicates this is a controller for partition 1.

Configuration for LSC 1 and LSC 2 Portions of the BPX 8650

Before configuring the routers for the label switch (MPLS) controlling function, it is necessary to perform the initial router configuration.

As part of this configuration, it is necessary to enable and configure the ATM Adapter interface as described in "Configuring ATM Interfaces" section.

Then the extended ATM interface can be set up for Label Switching, and the BPX ports configured by the router as extended ATM ports of the router physical ATM interface according to the following procedures for LSC1 and LSC2.

Configuration for LSC1 Portion of ATM-LSR-1

Command Description

Preliminary

Step 1 

Router LSC1(config)# ip routing

Enable IP routing protocol.

Step 2 

Router LSC1(config)# ip cef switch

Enable Cisco express forwarding protocol.

Step 3 

interface Loopback0

Define a loopback address. This is an IP address for the LSC itself, and not for a link on the LSC or BPX.

Step 4 

ip address 142.1.1.2 255.255.255.255

Assigning IP address to Loopback0. It is important that all loopback addresses in an MPLS network are host addresses, that is, with a mask of 255.255.255.255. Using a shorter mask can prevent MPLS-based VPN services from working correctly.

Step 5 

Router LSC1(config)# interface ATM3/0

Enable physical interface link to BPX.

Step 6 

Router LSC1(config-if)# no ip address

Step 7 

Router LSC1(config-if)# tag-control-protocol vsi [controller ID}

Enable router ATM port ATM3/0 as tag switching controller. Controller ID default is 1, optional values up to 32 for BPX.

Setting up interslave control link

Step 8 

Router LSC1(config-if)# interface XtagATM13

Interslave link on 1.3 port of BPX (port 3 of BXM in slot 1). This is an extended port of the router ATM3/0 port.

Step 9 

Router LSC1(config-if)# extended-port ATM3/0 bpx 1.3

Binding extended port xtagATM13 to BPX slave port 1.3.

Step 10 

Router LSC1(config-if)# ip unnumbered Loopback0

Make xtagATM[13/22] an unnumbered IP link, using Loopback0's IP address as a substitute for the link IP address. The interfaces in an ATM MPLS network should usually be unnumbered. This reduces the number of IP destination-prefixes in the routing table, and hence reduces the number of labels and LVCs used in the network.

Step 11 

Router LSC1(config-if)# tag-switching ip

Enable MPLS for xtag interface xtagATM13.

Setting up interslave port

Step 12 

Router LSC1(config-if)# interface XtagATM22

Interslave link on 2.2 port of BPX (port 2 of BXM in slot 2). This is an extended port of the router ATM3/0 port.

Step 13 

Router LSC1(config-if)# extended-port ATM3/0 bpx 2.2

Binding extended port xtagATM22 to BPX slave port 2.2

Step 14 

Router LSC1(config-if)# ip unnumbered Loopback0

Make xtagATM[13/22] an unnumbered IP link, using Loopback0's IP address as a substitute for the link IP address. The interfaces in an ATM MPLS network should usually be unnumbered. This reduces the number of IP destination-prefixes in the routing table, and hence reduces the number of labels and LVCs used in the network.

Step 15 

Router LSC1(config-if)# tag-switching ip

Enable MPLS for xtag interface xtagATM22.

Step 16 

Router LSC1 (config-if)# exit

Configuring routing protocol

Step 17 

Router LSC1 (config-if)# Router OSPF 5

Configuring Open Shortest Path First (OSPF) routing protocol or Enhanced Interior Gateway Routing Protocol (EIGRP).

Step 18 

Router LSC1 (config-if)# network 142.1.0.0 0.0.255.255 area 0

Setting up OSPF routing and assigning a process ID of 5 which is locally significant. The ID may be chosen from a wide range of available process ID up to approximately 32,000.

Configuration for LSC2 Portion of ATM-LSR-2

Command Description

Preliminary

Step 1 

Router LSC2(config)# ip routing

Enable IP routing protocol.

Step 2 

Router LSC2(config)# ip cef switch

Enable Cisco express forwarding protocol.

Step 3 

interface Loopback0

Define a loopback address. This is an IP address for the LSC itself, and not for a link on the LSC or BPX.

Step 4 

ip address 142.1.1.3 255.255.255.255

Assigning IP address to Loopback0. It is important that all loopback addresses in an MPLS network are host addresses, that is, with a mask of 255.255.255.255. Using a shorter mask can prevent MPLS-based VPN services from working correctly.

Step 5 

Router LSC2(config)# interface ATM3/0

Enable physical interface link to BPX.

Step 6 

Router LSC2(config-if)# no ip address

Step 7 

Router LSC2(config-if)# tag-control-protocol vsi [controller ID]

Enable router ATM port ATM3/0 as tag switching controller. Controller ID default is 1, optional values up to 32 for BPX.

Setting up interslave control link

Step 8 

Router LSC2(config-if)# interface XtagATM13

Interslave link on 1.3 port of BPX (port 3 of BXM in slot 1). This is an extended port of the router ATM3/0 port.

Step 9 

Router LSC2(config-if)# extended-port ATM3/0 bpx 1.3

Binding extended port xtagATM13 to BPX slave port 1.3.

Step 10 

Router LSC2(config-if)# ip unnumbered Loopback0

Make xtagATM[13/22] an unnumbered IP link, using Loopback0's IP address as a substitute for the link IP address. The interfaces in an ATM MPLS network should usually be unnumbered. This reduces the number of IP destination-prefixes in the routing table, and hence reduces the number of labels and LVCs used in the network.

Step 11 

Router LSC2(config-if)# tag-switching ip

Enable MPLS for xtag interface xtagATM1.

Setting up interslave port

Step 12 

Router LSC2(config-if)# interface XtagATM22

Interslave link on 2.2 port of BPX (port 2 os BXM in slot 2). This is an extended port of the router ATM3/0 port.

Step 13 

Router LSC2(config-if)# extended-port ATM3/0 bpx 2.2

Binding extended port xtagATM22 to bpx slave port 2.

Step 14 

Router LSC2(config-if)# ip unnumbered Loopback0

Make xtagATM[13/22] an unnumbered IP link, using Loopback0's IP address as a substitute for the link IP address. The interfaces in an ATM MPLS network should usually be unnumbered. This reduces the number of IP destination-prefixes in the routing table, and hence reduces the number of labels and LVCs used in the network.

Step 15 

Router LSC2(config-if)# tag-switching ip

Enable MPLS for xtag interface xtagATM22.

Step 16 

Router LSC2 (config-if)# exit

Configuring routing protocol

Step 17 

Router LSC2 (config-if)# Router OSPF 5

Configuring Open Shortest Path First (OSPF) routing protocol or Enhanced Interior Gateway Routing Protocol (EIGRP).

Step 18 

Router LSC2 (config-router)# network 142.1.1.3 0.0.255.255 area 0

Setting up OSPF routing and assigning a process ID of 5 which is locally significant. You may choose the ID from a wide range of available process IDs up to approximately 32,000.

Configuration for Edge Label Switch Routers, LSR-A and LSR-B

Before configuring the routers for the MPLS controlling function, it is necessary to perform the initial router configuration.

As part of this configuration, you must enable and configure the ATM Adapter interface as described in "Configuring ATM Interfaces" section.

Then you can set up the extended ATM interface for MPLS, and the BPX ports configured by the router as extended ATM ports of the router physical ATM interface according to the following procedures for LSR-A and LSR-C.

To configure the 7500 routers performing as label edge routers, use the procedures in the following tables.

Configuration of Cisco 7500 as An Edge Router, Edge LSR-A

Command Description

Step 1 

Router LSR-A (config)# ip routing

Enable IP routing protocol.

Step 2 

Router LSR-A(config)# ip cef distributed switch

Enable label switching for ATM subinterface.

Step 3 

Router LSR-A(config)# interface Loopback0

Define a loopback address.

Step 4 

Router LSR-A(config)# ip address 142.1.1.1 255.255.255.255

Assigning IP address to Loopback0.

Step 5 

Router LSR-A(config)# interface ATM4/0/0

Step 6 

Router LSR-A(config-if)# no ip address

Step 7 

Router LSR-A(config-if)# interface ATM4/0/0.9 label switching

Interface can be basically any number within range limits ATM4/0/0.1, ATM 4/0/0.2, and so on.

Step 8 

Router LSR-A(config-if)# ip unnumbered Loopback0

Network 142.1.0.0 0.0.255.255 area 0.

Step 9 

Router LSR-A(config-if)# tag-switching ip

Configuring routing protocol

Step 10 

Router LSR-A (config-if)# Router OSPF 5

Configuring Open Shortest Path First (OSPF) routing protocol or Enhanced Interior Gateway Routing Protocol (EIGRP).

Step 11 

Router LSR-A (config-router)# network 142.1.0.0 0.0.255.255 area 0

Setting up OSPF routing and assigning a process ID of 5 which is locally significant. The ID may be chosen from a wide range of available process IDs up to approximately 32,000.

Configuration of Cisco 7500 as An Edge Router, Edge LSR-C

Command Description

Step 1 

Router LSR-C (config)# ip routing

Enable IP routing protocol.

Step 2 

Router LSR-C(config)# ip cef distributed switch

Enable label switching for ATM subinterface.

Step 3 

Router LSR-C(config)# interface Loopback0

Define a loopback address.

Step 4 

Router LSR-C(config)# ip address 142.1.1.4. 255.255.255.255

Assigning IP address to Loopback0.

Step 5 

Router LSR-C(config)# interface ATM2/0/0

Step 6 

Router LSR-C(config-if)# no ip address

Step 7 

Router LSR-C(config-if)# interface ATM2/0/0.3 tag-switching

Step 8 

Router LSR-C(config-if)# ip unnumbered Loopback0

Network 142.1.1.4. 0.0.255.255 area 0.

Step 9 

Router LSR-C(config-if)# tag-switching ip

Configuring routing protocol

Step 10 

Router LSR-C (config-if)# Router OSPF 5

Configuring Open Shortest Path First (OSPF) routing protocol or Enhanced Interior Gateway Routing Protocol (EIGRP).

Step 11 

Router LSR-C (config-router)# network 142.1.1.4. 0.0.255.255 area 0

Setting up OSPF routing and assigning a process ID of 5 which is locally significant. You may choose the ID from a wide range of available process IDs up to approximately 32,000.

MPLS Configures LVCs According to the Routing Protocol

After you have completed the initial configuration procedures for the BPX 8650 and Edge LSRs as described in the previous paragraphs, the routing protocol (such as OSPF) runs and builds routing protocols in each LSC and Edge LSR. The MPLS software in these devices then uses the Tag Distribution Protocol to set up LVCs, including those shown in Figure 5-4.


Figure 5-4: Example of LVCs in An MPLS Switched Network


Testing the MPLS Network Configuration

Preliminary testing of the MPLS network consists of:

Useful LSC Commands

The following are some of the useful LSC (also referred to as TSC) commands for monitoring and troubleshooting an MPLS network:

show controllers VSI descriptor [descriptor]
 
show tag int
 
show tag tdp disc

For a complete description of these LSC commands refer to the related IOS MPLS documentation:

Checking the BPX Extended ATM Interfaces

Use the following procedure as a quick checkout of the tag switching configuration and operation with respect to the BPX switch, for example ATM LSR-1:


Step 1   Wait a while. Then check whether the controller sees the interfaces correctly; on LSC1, for example, enter the following command:

Command
Description

Router LSC1# show controllers VSI ATM3/0

Shows VSI information for extended ATM interfaces.

The sample output for ATM-LSC-1 (BPX 8650 shelf) is:


Note   Check the LSC online documentation for the most current information.

Phys desc:   1.1
Log intf:    0x00040100 (0.4.1.0)
Interface:   slave control port
IF status:   n/a                    IFC state: ACTIVE
Min VPI:     0                      Maximum cell rate:  10000
Max VPI:     10                     Available channels: xxx
Min VCI:     0                      Available cell rate (forward):  xxxxxx
Max VCI:     65535                  Available cell rate (backward): xxxxxx
 
Phys desc:   1.3
Log intf:    0x00040200 (0.4.2.0)
Interface:   ExtTagATM13
IF status:   up                     IFC state: ACTIVE
Min VPI:     0                      Maximum cell rate:  10000
Max VPI:     10                     Available channels: xxx
Min VCI:     0                      Available cell rate (forward):  xxxxxx
Max VCI:     65535                  Available cell rate (backward): xxxxxx
 
Phys desc:   2.2
Log intf:    0x00040300 (0.4.3.0)
Interface:   ExtTagATM22
IF status:   up                     IFC state: ACTIVE
Min VPI:     0                      Maximum cell rate:  10000
Max VPI:     10                     Available channels: xxx
Min VCI:     0                      Available cell rate (forward):  xxxxxx
Max VCI:     65535                  Available cell rate (backward): xxxxxx
-------

Step 2   If there are no interfaces present, first check that card 1 is up,
by using this command on the BPX switch:

     dspcds

 

and, if the card is not up, in this example BXM in slot 1 of the BPX shelf:

     resetcd 1 h

and/or remove the card to get it to reset if necessary.


Note   This example assumes that the controller is connected to card 1 on the switch. Substitute a different card number, as applicable.

Step 3   Check the trunk status with the following command:

     dsptrks

The dsptrks screen for ATM-LSR-1 should show the 1.1, 1.3, and 2.2 MPLS interfaces, with the "Other End" of 1.1 reading "VSI (VSI)". Here's a typical dsptrks screen:

n4             TN    SuperUser       BPX 15    9.3.10    August 4 2000  16:45 PST 
 
TRK     Type     Current Line Alarm Status               Other End
 2.1    OC3      Clear - OK                              j4a/2.1
 3.1    E3       Clear - OK                              j6c(AXIS)
 5.1    E3       Clear - OK                              j6a/5.2
 5.2    E3       Clear - OK                              j3b/3
 5.3    E3       Clear - OK                              j5c(IPX/AF)
 6.1    T3       Clear - OK                              j4a/4.1
 6.2    T3       Clear - OK                              j3b/4
 1.1    OC3      Clear - OK                              VSI(VSI)
 1.3    OC3      Clear - OK                              
 2.2    OC3      Clear - OK                              
 
 
                                                                                
Last Command: dsptrks
 
Next Command:
 

Step 4   Enter the dspnode command.

     dspnode

 

The resulting screens should show trunk 1.1 (link to LSC on ATM-LSR-1) as type VSI. Here's typical dspnode screen:

n4             TN    SuperUser       BPX 15    9.3.10    August 4 2000  16:46 PST 
 
                        BPX Interface Shelf Information
 
Trunk    Name      Type      Alarm
 3.1     j6c       AXIS      MIN
 5.3     j5c       IPX/AF    MIN
 1.1     VSI       VSI       OK
 
 
 
 
 
 
 
                                                                                
Last Command: dspnode
 
Next Command:
 

Step 5   Enter the dsprsrc command:

    dsprsrc 1.1 1

The resulting screen should show these settings:

n4             TN    SuperUser       BPX 15        9.3.10    August 4 2000    16:47 PST 
 
Port/Trunk : 1.1
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:105000
 
Min Lcn(1) : 0 Min Lcn(2) : 0
Partition 1
 
Partition State :             Enabled
Minimum VSI LCNS:             512
Maximum VSI LCNS:             1500
Start VSI VPI:                240
End VSI VPI :                 255
Minimum VSI Bandwidth :       26000       Maximum VSI Bandwidth :        105000
 
 
                                                                                                                                                                
Last Command: dsprsrc 1.1 1
 
 
Next Command: 
 

Step 6   Enter the dspqbin command:

     dspqbin 1.1 10

The resulting screen should show these settings:

n4             TN    SuperUser       BPX 15     9.3.10    August 4 2000    16:48 PST 
 
Qbin Database 1.1 on BXM qbin 10
 
Qbin State:                   Enabled
 
Minimum Bandwidth:             0
Qbin Discard threshold:       65536
Low CLP threshold:            95%
High CLP threshold:           100%
EFCI threshold:               40%
 
 
 
 
 
                                                                                
Last Command: dspqbin 1.1 10
 
 
Next Command: 
 

Step 7   If interfaces 1.3 and 2.2 are present, but not enabled, perform the previous debugging steps for interfaces 1.3 and 2.2 instead of 1.1, except for the dspnode command, which does not show anything useful pertaining to ports 1.3 and 2.2.

Step 8   Try a ping on the label switch connections. If the ping doesn't work, but all the label switching and routing configuration looks correct, check that the LSC has found the VSI interfaces correctly by entering the following command at the LSC:

Command
Description

Router LSC1# show tag int

Shows the label interfaces.

If the interfaces are not shown, recheck the configuration of port 1.1 on the BPX switch as described in the previous steps.

Step 9   If the VSI interfaces are shown, but are down, check whether the LSRs connected to the BPX switch show that the lines are up. If not, check such items as cabling and connections.

Step 10   If the LSCs and BPX switches show the interfaces are up, but the LSC doesn't show this, enter the following command on the LSC:

    Router LSC1# reload

If the "show tag int" command shows that the interfaces are up, but the ping doesn't work, enter the follow command at the LSC:

Router LSC1# tag tdp disc

The resulting display should show something similar to this:

Local TDP Identifier:
    30.30.30.30:0
TDP Discovery Sources:
    Interfaces:
        ExtTagATM1.3:   xmit/recv
        ExtTagATM2.2:   xmit/recv
-----------------
 

Step 11   If the interfaces on the display show "xmit" and not "xmit/recv", then the LSC is sending LDP messages, but not getting responses. Enter this command on the neighboring LSRs.

Router LSC1# tag tdp disc

If resulting displays also show "xmit" and not "xmit/recv", then one of two things is likely:

Step 12   Check the VSI configuration on the switch again, for interfaces 1.1, 1.3, and 2.2, paying particular attention to:


Note   VSI partitioning and resources must be set up correctly on the interface connected to the LSC, interface 1.1 in this example, as well as interfaces connected to other label switching devices.


Basic Router Configuration

This section provides basic configuration information for the Cisco 6400, 7200, or 7500 routers used as the Label Switch Controller for the BPX 8650:

Accessing the Router Command-Line Interface

To configure a router, you must access its command line interface (CLI).

If you will be configuring the router on-site, connect a console terminal (an ASCII terminal or a PC running terminal emulation software) to the console port on the router.

For remote access, connect a modem to the auxiliary port on the router.

Booting the Router for the First Time

Each time you turn on power to the router, it goes through the following boot sequence:

    1. The router goes through power-on self-test diagnostics to verify basic operation of the CPU, memory, and interfaces.

    2. The system bootstrap software (boot image) executes and searches for a valid Cisco IOS image. The factory-default setting for the configuration register is 0x2102, which indicates that the router should attempt to load a Cisco IOS image from Flash memory.

    3. If after five attempts a valid Cisco IOS image is not found in Flash memory, the Cisco router reverts to boot ROM mode (which is used to install or upgrade a Cisco IOS image).

    4. If a valid Cisco IOS image is found, then the Cisco router searches for a valid configuration file.

    5. If a valid configuration file is not found in NVRAM, the Cisco  router runs the System Configuration Dialog so you can configure it manually. For normal router operation, there must be a valid Cisco IOS image in Flash memory and a configuration file in NVRAM.

The first time you boot the router, you need to configure the router interfaces and then save the configuration to a file in NVRAM. Proceed to the next section, "Configuring the Router for the First Time," for configuration instructions.

Configuring the Router for the First Time

You can configure the Cisco router by using one of the procedures described in this section:


TimeSaver Obtain the correct network addresses from your system administrator or consult your network plan to determine correct addresses before you begin to configure the router.

Use the procedure that best meets the needs of your network configuration and level of experience using Cisco IOS software.

If you use configuration mode or AutoInstall to configure the router and you would like a quick review of the Cisco IOS software, refer to the section "Cisco IOS Software Basics" later in this chapter. Otherwise, proceed to the next section, "Using the System Configuration Dialog."

Using the System Configuration Dialog

If your router does not have a configuration (setup) file and you are not using AutoInstall, the router will automatically start the setup command facility. An interactive dialog called the System Configuration Dialog appears on the console screen. This dialog helps you navigate through the configuration process by prompting you for the configuration information necessary for the Cisco router to operate.


Note   Many prompts in the System Configuration Dialog include default answers, which are included in square brackets following the question. To accept a default answer, press Return; otherwise, enter your response.

This section gives a sample configuration using the System Configuration Dialog. When you are configuring your router, respond as appropriate for your network.

At any time during the System Configuration Dialog, you can request help by entering a question mark (?) at a prompt.

Before proceeding with the System Configuration Dialog, obtain from your system administrator:

To configure the router by using the System Configuration Dialog:


Step 1   Connect a console terminal or modem to the router and power ON the router.

Step 2   Wait about 30 seconds for messages to be displayed, corresponding to the Cisco IOS release and feature set you selected. The screen displays in this section are for reference only and might not exactly reflect the screen displays on your console:

System Bootstrap, Version 11.1(13)CA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
BOOTFLASH: 7200 Software (C7200-BOOT-M), Version 11.1(24)CC, EARLY DEPLOYMENT RELEASE 
SOFTWARE (fc1)
 
cisco 7206 (NPE200) processor with 122880K/8192K bytes of memory.
R5000 CPU at 200Mhz, Implementation 35, Rev 2.1, 512KB L2 Cache
6 slot midplane, Version 1.3
 
              Restricted Rights Legend
 
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
 
           Cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706
 
Cisco Internetwork Operating System Software 
IOS (tm) 7200 Software (C7200-P-M), Version 12.0(5.0.2)T2,  MAINTENANCE INTERIM SOFTWARE
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Sun 11-Jul-99 08:26 by kpma
Image text-base: 0x60008900, data-base: 0x60D64000
 
 
4 Ethernet/IEEE 802.3 interface(s)
1 FastEthernet/IEEE 802.3 interface(s)
1 ATM network interface(s)
125K bytes of non-volatile configuration memory.
4096K bytes of packet SRAM memory.
 
20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
107520K bytes of ATA PCMCIA card at slot 1 (Sector size 512 bytes).
4096K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x102
 
 --- System Configuration Dialog ---
 
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Would you like to enter the initial configuration dialog? [yes]:
 

Step 3   Press Return or enter yes to begin the configuration process.

Step 4   When the System Configuration Dialog asks whether you want to view the current interface summary, press Return or enter yes:

First, would you like to see the current interface summary? yes

 
Any interface listed with OK? value "NO" does not have a valid configuration
 
Interface              IP-Address      OK? Method Status                Protocol
Ethernet0              unassigned      NO  unset  up                    down
Serial0                unassigned      NO  unset  down                  down
TokenRing0             unassigned      NO  unset  reset                 down
ATM 0                  unassigned      NO  unset  reset                 down
 
 

Step 5   Configure the global parameters. Here's a typical configuration:

Enter host name [7200router]: aries

Step 6   Next, you are prompted to enter an enable secret password. There are two types of privileged-level passwords:

The enable password is used when the enable secret password does not exist. For maximum security, be sure the passwords are different. If you enter the same password for both, the Cisco router will accept your entry, but will display a warning message indicating that you should enter a different password.

Step 7   Enter an enable secret password:

The enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
 
Enter enable secret: orca

 
The enable password is used when there is no enable secret and when using older software 
and some boot images.
 

Step 8   Enter the enable and virtual terminal passwords:

Enter enable password: xxxx

Enter virtual terminal password: yyyy

 

Step 9   Press Return to accept Simple Network Management Protocol management, or enter no to refuse it:

Configure SNMP Network Management? [yes]: no

 

Step 10   In this example, the Cisco router is configured for AppleTalk, IP, MPLS, and Internetwork Packet Exchange. Configure the appropriate protocols for your router:

Configure Vines? [no]:
Configure LAT? [no]:
Configure AppleTalk? [no]:
Multizone networks? [no]: yes

Configure DECnet? [no]:
Configure IP? [yes]:
Configure MPLS? [no]: yes

Configure IGRP routing? [yes]: no

Your IGRP autonomous system number [1]: 15

Configure CLNS? [no]:
Configure bridging? [no]:
Configure IPX? [no]:
Configure XNS? [no]:
Configure Apollo? [no]:

Note   It is recommended that an MPLS network use either OSPF or IS-IS routing as its routing protocol. EIGRP will also work, but it does not support the useful MPLS feature Traffic Engineering. IGRP and RIP protocols are not recommended.


Configuring Port Adapter Interfaces

Here is an overview of the procedure:

    1. Make port adapter cable connections and complete basic configuration on the router.

    2. Configure the applicable port adapter interfaces on the router, Ethernet, Fast Ethernet, ATM, FDDI, and so on.

    3. Configure the router for MPLS operation.

    4. Add permanent virtual circuits (PVCs) as applicable.

Preparing to Configure Port Adapter Interfaces

If you want to configure interfaces in a new Cisco 6400, 7200, or 7500 series router, or if you want to change the configuration of an existing interface, be prepared with the information you will need:

The configure command requires privileged-level access to the EXEC command interpreter, which usually requires a password. Contact your system administrator if necessary to obtain EXEC-level access.

Identifying Chassis Slot, Port Adapter Slot, and Interface Port Numbers

You will need to identify chassis slot, port adapter slot, and interface port numbers on the 6400, 7200, or 7500 Series routers for all port adapter interface types.

Physical port addresses specify the actual physical location of each interface port, regardless of the type.

You can identify port adapter interface ports by physically checking the slot/interface port location on the 7200 or 7500 Series routers, or by using the show commands to display information about a specific interface or all interfaces.

Configuring ATM Interfaces

This section provides the procedure for a basic interface configuration.

Press the Return key after each step unless otherwise noted. At any time you can exit the privileged level and return to the user level by entering disable at the prompt as follows:

Cisco 7200 Router# disable

 
Cisco 7200 Router> 

To perform a basic configuration:


Step 1   At the privileged-level prompt, enter configuration mode and specify that the console terminal will be the source of the configuration subcommands:

Cisco 7200 Router# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.
Cisco 7200 Router (config)#
 

Step 2   At the prompt, enter:

This example is the 1/0 interface of the ATM port adapter in a 7200 series router:

Cisco 7200 Router (config)# interface switch atm 1/0

 

Step 3   If IP routing is enabled on the system, you can assign an IP address and subnet mask to the interface with the ip address configuration subcommand:

Cisco 7200 Router (config-if)# ip address 224.135.128.44 255.255.255.0

 

Step 4   Add any additional configuration subcommands required to enable routing protocols and set the interface characteristics.

Step 5   Change the shutdown state to UP and enable the interface:

Cisco 7200 Router (config-if)# no shutdown

 

Step 6   Repeat Step 2 through Step 5 to configure additional interfaces as required.

Step 7   When you have completed the configuration, press Ctrl-Z to exit configuration mode.

Step 8   Write the new configuration to nonvolatile memory:

Cisco Router 7200# copy running-config startup-config

[OK]
Cisco Router 7200#

Note   If you are going to unattach/reconfigure the ATM interface cable, use the shutdown command prior to this action. After re-attaching the ATM interface cable, use the no shutdown command to bring the ATM interface into an up state.


Other Router Interfaces

The router has other interfaces for carrying IP traffic. Refer to the Cisco 7200 or 7500 series router documentation, as applicable.

Checking the Configuration

After configuring the new interface, use:

Using Show Commands to Verify the New Interface Status

This procedure uses show commands to verify that the new interfaces are configured and operating correctly:


Step 1   Use the show version command to display the system hardware configuration. Ensure that the list includes the new interfaces.

Step 2   Display all the current port adapters and their interfaces by using the show controllers command. Verify that the new port adapter appears in the correct slot.

Step 3   Specify one of the new interfaces by using the show interfaces port adapter type slot/interface command.

Step 4   Display the protocols configured for the entire system and specific interfaces with the show protocols command. If necessary, return to configuration mode to add or remove protocol routing on the system or specific interfaces.

Step 5   Display the running configuration file with the show running-config command.

Step 6   Display the configuration stored in NVRAM using the show startup-config command.

Step 7   Verify that the configuration is accurate for the system and each interface.

If the interface is down and you configured it as up, or if the displays indicate that the hardware is not functioning properly, ensure that the network interface is properly connected and terminated. If you still have problems bringing the interface up, contact a service representative for assistance.


Using Show Commands to Display Interface Information

To display information about a specific interface, use the show interfaces command with the interface type and port address in the format show interfaces [type slot/port] for the Cisco router.

Cisco Show Interfaces Command

Here is an example of how the show interfaces [type slot/port] command displays status information (including the physical slot and port address) for the interfaces you specify. (Interfaces are administratively shut down until you enable them.)

Cisco 7200 Router 3# sh int e 2/0

Ethernet2/0 is administratively down, line protocol is down
  Hardware is AmdP2 Ethernet, address is x.x.x.x (bia 0000.0ca5.2389)
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
  Encapsulation ARPA, loopback not set, keepalive set (10 sec)
(display text omitted]
 

When running the show interfaces type slot/port command, use arguments such as the interface type (Ethernet, and so on), slot, and the port number (slot/port) to display information about a specific Ethernet 10BASE-T interface only.

The show version (or show hardware) command displays the configuration of the system hardware (the number of each port adapter type installed), the software version, the names and sources of configuration files, and the boot images. Here's an example of the show version command:

7200 router 1>show version

Cisco Internetwork Operating System Software 
IOS (tm) 7200 Software (C7200-P-M), Version 12.0(5.0.2)T2,  MAINTENANCE INTERIM SOFTWARE
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Sun 11-Jul-99 08:26 by kpma
Image text-base: 0x60008900, data-base: 0x60D64000
 
ROM: System Bootstrap, Version 11.1(13)CA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
BOOTFLASH: 7200 Software (C7200-BOOT-M), Version 11.1(24)CC, EARLY DEPLOYMENT RELEASE 
SOFTWARE (fc1) 
 
7200 router 1 uptime is 2 weeks, 2 hours, 38 minutes
 
 
System returned to ROM by reload
System image file is "tftp://173.xx.xx.xx/c7200-p-mz.120-5.0.2.T2"
 
cisco 7206 (NPE200) processor with 122880K/8192K bytes of memory.
R5000 CPU at 200Mhz, Implementation 35, Rev 2.1, 512KB L2 Cache
6 slot midplane, Version 1.3
 
Last reset from power-on
X.25 software, Version 3.0.0.
4 Ethernet/IEEE 802.3 interface(s)
1 FastEthernet/IEEE 802.3 interface(s)
1 ATM network interface(s)
125K bytes of non-volatile configuration memory.
4096K bytes of packet SRAM memory.
 
20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
107520K bytes of ATA PCMCIA card at slot 1 (Sector size 512 bytes).
4096K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x102
 
7200 router 1>

To determine which type of port adapter is installed in your system, use the show diag command. Specific port adapter information is displayed:

7200 router 1>show diag

Slot 0:
        Fast-ethernet on C7200 I/O card with MII or RJ45 port adapter, 1 port
        Port adapter is analyzed 
        Port adapter insertion time 2w0d ago
        EEPROM contents at hardware discovery:
        Hardware revision 1.3           Board revision C0
        Serial number     12635836      Part number    73-2956-02
        Test history      0x0           RMA number     00-00-00
        EEPROM format version 1
        EEPROM contents (hex):
          0x20: 01 83 01 03 00 C0 CE BC 49 0B 8C 02 00 00 00 00
          0x30: 60 00 00 00 99 05 10 00 00 FF FF FF FF FF FF FF
 
Slot 3:
        Ethernet port adapter, 4 ports
        Port adapter is analyzed 
        Port adapter insertion time 2w0d ago
        EEPROM contents at hardware discovery:
        Hardware revision 1.14          Board revision A0
        Serial number     12275103      Part number    73-1556-08
        Test history      0x0           RMA number     00-00-00
        EEPROM format version 1
        EEPROM contents (hex):
          0x20: 01 02 01 0E 00 BB 4D 9F 49 06 14 08 00 00 00 00
          0x30: 50 00 00 00 99 03 30 00 FF FF FF FF FF FF FF FF
 
Slot 6:
        ATM WAN DS3 port adapter, 1 port
        Port adapter is analyzed 
        Port adapter insertion time 2w0d ago
        EEPROM contents at hardware discovery:
        Hardware revision 2.0           Board revision A0
        Serial number     14077539      Part number    73-2432-04
        Test history      0x0           RMA number     00-00-00
        EEPROM format version 1
        EEPROM contents (hex):
          0x20: 01 5B 02 00 00 D6 CE 63 49 09 80 04 00 00 00 00
          0x30: 50 00 00 00 99 04 26 00 FF FF FF FF FF FF FF FF
 
7200 router 1>
 

Proceed to the "Using the ping Command" section to verify that each interface port is functioning properly.

Using the ping Command

The packet internet groper (ping) command allows you to verify that an interface port is functioning properly and to check the path between a specific port and connected devices at various locations on the network. After you verify that the system has booted successfully and is operational, you can use ping to verify the status of interface ports.

The ping command sends an echo request out to a remote device at an IP address that you specify. After sending a series of signals, the command waits a specified time for the remote device to echo the signals. Each returned signal is displayed as an exclamation point (!) on the console terminal; each signal that is not returned before the specified time-out is displayed as a period (.). A series of exclamation points (!!!!!) indicates a good connection; a series of periods (.....) or the messages [timed out] or [failed] indicate that the connection failed.

Here is a successful ping command to a remote server with the address 1.1.1.10:

Cisco 7200 Router # ping 1.1.1.10 <Return>

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echoes to 1.1.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/15/64 ms
Cisco 7200 Router #
 

If the connection fails, verify that you have the correct IP address for the server and that the server is active (powered on), then repeat the ping command.

Using Configuration Mode

You can configure the 7200 router manually if you prefer not to use AutoInstall or the prompt-driven System Configuration Dialog.

Refer to the section "Cisco IOS Software Basics" later in this chapter for basic information about Cisco IOS software, getting context-sensitive help, and saving configuration changes.

To configure the Cisco 7200 router manually:


Step 1   Connect a console terminal.

Step 2   Power ON the Cisco 7200 router.

Step 3   When you are prompted to enter the initial dialog, enter no to go into the normal operating mode of the Cisco 7200 router:

Would you like to enter the initial dialog? [yes]: no

 

Step 4   After a few seconds you will see the user EXEC prompt (Router>). By default, the host name is Router, but the prompt will match the current host name. In the following examples, the host name is aries.

Step 5   Enter the enable command to enter enable mode. You can make only configuration changes in enable mode:

Router > enable

 

The prompt will change to the privileged EXEC (enable) prompt:

7200 Router aries#
 

Step 6   Enter the configure terminal command at the enable prompt to enter configuration mode:

Router# config terminal

 

You can now enter any changes you want to the configuration. You will probably want to perform these tasks:

Refer to the Cisco IOS configuration guide and command reference publications for more information about the commands you can use to configure the 7200 or 7500 series routers.

Step 7   When you finish configuring the router, enter the exit command until you return to the privileged EXEC prompt (7200 router aries#).

Step 8   To save the configuration changes to NVRAM, enter the copy running-config startup-config command at the privileged EXEC prompt:

7200 router aries# copy running-config startup-config

********
 

The Cisco router is now configured and will boot with the configuration you entered.


Cisco IOS Software Basics

The section provides basic information about the Cisco IOS software:

Cisco IOS Modes of Operation

Cisco IOS software provides access to several different command modes. Each command mode provides a different group of related commands.

For security purposes, Cisco IOS software provides two levels of access to commands:

The commands available in user EXEC mode are a subset of the commands available in privileged EXEC mode.

Table 5-1 describes some of the most commonly used modes, how to enter the modes, and the resulting prompts. The prompt helps you identify which mode you are in and, therefore, which commands are available to you.


Table 5-1: Cisco IOS Operating Modes
Mode of Operation Usage How to Enter the Mode Prompt

User EXEC

User EXEC commands allow you to connect to remote devices, change terminal settings on a temporary basis, perform basic tests, and list system information. The EXEC commands available at the user level are a subset of those available at the privileged level.

Log in.

7200 Router

Privileged EXEC

Privileged EXEC commands set operating parameters. The privileged command set includes those commands contained in user EXEC mode, and also the configure command through which you can access the remaining command modes. Privileged EXEC mode also includes high-level testing commands, such as debug.

From user EXEC mode, enter the enable EXEC command.

7200 Router#

Global configuration

Global configuration commands apply to features that affect the system as a whole.

From global configuration mode, enter the configure privileged EXEC command.

7200 Router#config)#

Interface configuration

Interface configuration commands modify the operation of an interface such as an ATM, Ethernet, or serial port. Many features are enabled on a per-interface basis. Interface configuration commands always follow an interface global configuration command, which defines the interface type.

From global configuration mode, enter the interface type number command. For example, enter the interface serial 0 command to configure the serial 0 interface.

7200 Router#(config-if)#

ROM monitor

ROM monitor commands are used to perform low-level diagnostics. You can also use the ROM monitor commands to recover from a system failure and stop the boot process in a specific operating environment.

From privileged EXEC mode, enter the reload EXEC command. Press Break during the first 60 seconds while the system is booting.

>

Almost every configuration command also has a no form. In general, use the no form to disable a feature or function. Use the command without the keyword no to reenable a disabled feature or to enable a feature that is disabled by default.

For example, IP routing is enabled by default. To disable IP routing, enter the no ip routing command and enter ip routing to reenable it. The Cisco IOS software command reference publication provides the complete syntax for the configuration commands and describes what the no form of a command does.

Getting Context-Sensitive Help

In any command mode, you can get a list of available commands by entering a question mark (?).

7200 Router> ?

 

To obtain a list of commands that begin with a particular character sequence, type in those characters followed immediately by the question mark (?). Do not include a space. This form of help is called word help, because it completes a word for you.

7200 Router# co?

configure  connect  copy
 

To list keywords or arguments, enter a question mark in place of a keyword or argument. Include a space before the question mark. This form of help is called command syntax help, because it reminds you which keywords or arguments are applicable based on the command, keywords, and arguments you have already entered.

7200 Router# configure ?

  memory    Configure from NV memory
  network   Configure from a TFTP network host
  terminal  Configure from the terminal
  <cr>
 

You can also abbreviate commands and keywords by entering just enough characters to make the command unique from other commands. For example, you can abbreviate the show command to sh.

Saving Configuration Changes

Whenever you make changes to the Cisco 7200 router configuration, you must save the changes to memory so they will not be lost if there is a system reload or power outage.

There are two types of configuration files:

To display the current running configuration, enter the show running-config command.

To save the current running configuration to the startup configuration file in NVRAM, enter the copy running-config startup-config command:

7200 Router> enable

7200 Router# copy running-config startup-config

 

To display the startup configuration, enter the show startup-config command.

To write the startup configuration to the running configuration, enter the copy startup-config running-config command.

7200 Router> enable

7200 Router# copy startup-config running-config

 


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Sep 25 11:57:57 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.