Home > Articles > Networking > Voice/IP Communications

This chapter is from the book

Commands for Creating and Displaying PVCs on the RPM

This section describes the commands you use to create, configure, and display PVCs and connections on the RPM:

  • atm pvc—Creates an ATM PVC on an interface

  • show atm vc—Displays the status of one or all ATM VCs on the RPM

  • map-group—Assigns a map group to an interface

  • map list—Creates or accesses the configuration of a map list

  • ip—Assigns IP addresses to PVCs in a map list

  • show atm map—Lists ATM mapping information

  • addcon—Creates a connection between an RPM PVC and the PXM card

  • show switch connections—Lists summary or detailed information for the connections on the RPM

ATM PVC Command

The atm pvc interface-specific configuration command adds a new PVC to a subinterface on the RPM. Remember that point-to-point subinterfaces support only one PVC; multipoint subinterfaces support multiple PVCs. You must create a PVC on the subinterface before you can add the ATM connection.

Here is the atm pvc command syntax:

atm pvc <VCD> <VPI> <VCI> <AAL-encapsulation> [inarp]

The keyword and parameter options are as follows:

  • VCD—The virtual circuit descriptor is a unique number that identifies the PVC. Do not use VCD 1 or 2 because these are hard-coded for RPM management.

  • VPI—The VPI value on the ATM cells created from the IP packets on this PVC. A VPI of 0 indicates that this PVC is a virtual channel connection (VCC). A nonzero value indicates that this is a virtual path connection (VPC). VPCs are used for MPLS edge routing. Remember to restrict VPI values to the range defined by the resource partitions.

  • VCI—The VCI value on the ATM cells created from the IP packets on this PVC. Remember to restrict VCI values to the range defined by the resource partitions. Use VCI 0 for VPCs.

  • AAL-encapsulation—The encapsulation method used by the RPM. The encapsulation options are aal5snap, used for ATM or translated ATM-Frame Relay services; aal5nlpid, used for transparent ATM-Frame Relay services; and aal5ciscoppp, used for PPP applications—usually frame forwarding connections from the FRSM.

  • inarp—Enables inverse Address Resolution Protocol (ARP) updates on aal5snap PVCs.

NOTE

Additional options apply to the atm pvc command. For details, refer to the Cisco IOS documentation.

Show ATM Virtual Circuit Command

The show atm vc command lists summary or detailed information about the virtual circuits (VCs) on the RPM. Use this command to learn which VCs are configured on the RPM and their status.

Here is the show atm vc command syntax:

show atm vc [VCD]

If you type show atm vc, a summary of all VCs is output. If you specify a VCD, detailed information on the specified VC is output. Example 22-21 shows the show atm vc output.

Example 22-21 show atm vc Output

rpm01#sho atm vc

      VCD /                Peak Avg/Min Burst
Interface  Name VPI  VCI Type  Encaps   SC  Kbps  Kbps  Cells Sts
1.1        11    0    11  PVC  SNAP     UBR 155000            UP
1.2        12    0    12  PVC  SNAP     UBR 149760            UP
1.66       66    0    66  PVC  SNAP     UBR 149760            UP
1.100      99    0    99  PVC  SNAP     UBR 149760            UP
1          1     0 65526  PVC  IPC      UBR 149760            UP
1          2     0 65528  PVC  IPC      UBR 149760            UP
1.101      101   6   400  PVC  SNAP     ABR   1200   500      UP
1.101      102   6   401  PVC  SNAP     ABR   1200   500      UP
1.101      400  10     0  PVC  CISCOPPP UBR 149760            UP

The show atm vc output provides the following information:

  • The interface or subinterface the VC is on
  • The VCD, VPI, and VCI assigned to the VC
  • The type of VC—PVC or tag
  • The encapsulation method
  • The service class
  • The configured Peak Cell Rate (PCR)
  • The average and minimum traffic rate
  • The burst size in cells
  • The VC status (UP or DOWN)

Example 22-22 shows the show atm vc output when a VCD is specified.

Example 22-22 show atm vc Output

rpm01#sho atm vc 102

Switch1.101: VCD: 102, VPI: 6, VCI: 401
ABR, PeakRate: 1200, Minimum Rate: 500, Initial Rate: 1200, Current Rate: 0
RIF: 16, RDF: 16
FRM cells received: 0, BRM cells received: 0
RM cells sent: 0
AAL5-LLC/SNAP, etype:0x0, Flags: 0x10820, VCmode: 0x0
OAM frequency: 0 second(s)
InARP frequency: 15 minute(s)
Transmit priority 3
InPkts: 0, OutPkts: 6, InBytes: 0, OutBytes: 168
InPRoc: 0, OutPRoc: 0, Broadcasts: 0
InFast: 0, OutFast: 0, InAS: 0, OutAS: 0
InPktDrops: 0, OutPktDrops: 0
CrcErrors: 0, SarTimeOuts: 0, OverSizedSDUs: 0, LengthViolation: 0,
CPIErrors: 0
Out CLP=1 Pkts: 0
OAM cells received: 0
OAM cells sent: 0
Status: UP

Map Group Command

The map-group interface-specific configuration command identifies a map group for a subinterface. Each multipoint subinterface must refer to a map group name. The associated map list identifies the destination IP addresses for each PVC that terminates on the subinterface. Use the map-list global configuration command to define the map list. Remember that PVCs on a subinterface terminate on interfaces that share the same IP network or subnetwork address.

Here is the map-group command syntax:

map-group <group-name>

group-name is a character string naming the map group. For example, type map-group FRport5 to associate the subinterface with a map group named FRport5.

Map List Command

The map-list global configuration command is used to create a map list and to start map-list-specific configuration mode. When you use the map-list command, the CLI prompt changes from hostname(config)# to hostname(config-map-list)#.

Here is the map-list command syntax:

map-list <list-name>

list-name is the same as the group name specified for the subinterface using the map-group command. For example, type map-list FRport5 to create or access the map list named FRport5.

IP Command

The ip map-list-specific configuration command associates an IP address with a VCD.

Here is the ip command syntax:

ip <IP-address> atm-vc <VCD> [broadcast]

The parameter options are as follows:

  • IP-address—The IP address assigned to the VC. Remember when choosing an IP address that subinterfaces with PVCs between them must be on the same IP network. The IP address is entered in dotted-decimal format, such as 172.100.100.54.

  • VCD—The VCD of the PVC.

Show ATM Map Command

The show atm map command lists the ATM mapping on the RPM. If you have map lists configured or are using ARP, you will have VCD-to-IP address mapping. Example 22-23 shows the show atm map output.

Example 22-23 show atm map Output

rpm01#show atm map

Map list port101 : PERMANENT
ip 10.10.15.2 maps to VC 101
    , broadcast
ip 10.10.15.3 maps to VC 102
    , broadcast

Add Connection Command

The addcon command adds an ATM connection on the RPM. This connection is similar to a connection on any other service module, such as the FRSM or AUSM. A number of optional parameters are supported for the addcon command. These optional parameters control ATM network routing and are not supported on PXM1 platforms.

Here is the addcon command syntax:

addcon vcc switch <slot-number>/<interface-number>.[subinterface-number]
  <VCI> [rname remote-name] rslot <remote-slot> <remote-interface>
  <remote-VPI> <remote-VCI> [master local]
addcon vpc switch <slot-number>/<interface-number>.[subinterface-number]
  <VPI> [rname remote-name] rslot <remote-slot> <remote-interface>
  <remote-VPI> [master local]

The keyword and parameter options are as follows:

  • VCI—The VCI value defined for the ATM PVC. This parameter applies only to VCCs and should match the VCI of the ATM PVC that is already added to the RPM.

  • VPI—The VPI value defined for the ATM PVC. This parameter applies only to VPCs and should match the VPI of the ATM PVC that is already added to the RPM.

  • remote-name—The node name of the destination MGX switch. For PXM1 MGX switches, all connections terminate on the local switch, so this parameter is not used.

  • remote-slot—The destination card slot number. 0 for the PXM1.

  • remote-interface—The remote interface (port) number.

  • remote-VPI—The remote VPI value on the destination card slot. If the destination service type is ATM, the VPI value can be any number that falls within the configured resource partitions on the destination card. If the destination card is an FRSM, the value is 0.

  • remote-VCI—The remote VCI value on the destination card slot. This parameter applies only to VCCs. If the destination card is an FRSM, this parameter is the DLCI at the remote end.

  • master local—These optional keywords identify the connection as a master connection. If you do not type master, the connection is a slave. Remember that all feeder connections to the PXM1 must be master connections. If this is a local connection, one end must be the master and the other end the slave. The slave end of the connection (whether on the RPM or a service module) must be added first. Only the master local keyword combination is used. Do not use the master remote keyword combination.

Show Switch Connections Command

The show switch connections command lists summary or detailed information about the connections on the ATM switch interface. Use this command to learn which connections are on the RPM and to learn how they are configured.

Here is the show switch connections command syntax:

show switch connections {vpc | vcc} [VPI] [VCI]

The keyword and parameter options are as follows:

  • vpc—Use this keyword to show a specific VPC.

  • vcc—Use this keyword to show a specific VCC.

  • VPI—The VPI of the VPC you want to show. Use this optional parameter with the vpc keyword.

  • VCI—The VCI of the VCC you want to show. Use this optional parameter with the vcc keyword.

Example 22-24 shows the show switch connections output.

Example 22-24 show switch connections Output

rpm01#show switch connections
                                  Synch
lVpi  lVci remoteNodeName  remoteSlot remoteIf rVpi  rVci   Status
  0    11           0             1      10     243        inSynch
 10     0           0             1     200       0        inSynch

Example 22-25 shows the show switch connections output for a specified VCC.

Example 22-25 show switch connections Output

rpm01#show switch connections vcc 11

----------------------------------------------------------
Local Sub-Interface   : 1
Local VPI             : 0
Local VCI             : 11
Remote Node Name      :
Remote Slot           : 0
Remote Interface      : 1
Remote VPI            : 10
Remote VCI            : 243
Routing Priority      : 0
Max Cost              : 255
Restricted Trunk Type : none
Percent Util          : 100
Remote PCR            : 353208
Remote MCR            : 353208
Remote Percent Util   : 100
Connection Master     : Local
Synch Status          : inSynch
Auto Synch            : OFF

  • + Share This
  • 🔖 Save To Your Account