Home > Articles > Networking > Voice/IP Communications

This chapter is from the book

Commands for Setting Up the RPM ATM Switch Interface

This section describes the commands you use to set up the RPM ATM switch interface. The switch interface is the ATM interface between the RPM and the cell bus (PXM1).

  • show interface—Displays the status of a specific interface or all interfaces on the RPM.

  • interface—Creates or accesses the configuration of an interface or subinterface.

  • shutdown—Disables an interface. The no shutdown command activates an interface.

Show Interface Command

The show interface command output lists detailed interface configuration and status information. You can specify a particular interface. Otherwise, all interfaces are listed.

Here is the show interface command syntax:

show interface [switch <slot-number>/<interface-number>.[subinterface-number]]

The keyword and parameter options are as follows:

  • switch—This optional keyword shows the switch interface. If you do not specify a keyword, all interfaces are listed.

  • slot-number—If you specify the switch keyword, you must specify the RPM card slot number.

  • interface-number—If you specify the switch keyword, you must specify the interface number. For the RPM switch interface, the only valid value is 1.

  • subinterface-number—You can also specify a subinterface number.

For example, type show interface 9/1 to list information on the ATM switch interface of the RPM in slot 9. Type show interface to list information on all interfaces on the RPM.

Example 22-19 shows the show interface switch output.

Example 22-19 show interface switch Output

rpm01#sho int switch 9/1

Switch1 is up, line protocol is up
 Hardware is ENHANCED ATM PA
 MTU 4470 bytes, sub MTU 4470, BW 149760 Kbit, DLY 100 usec,
   reliability 255/255, txload 1/255, rxload 1/255
 Encapsulation ATM, loopback not set
 Keepalive not supported
 Encapsulation(s): AAL5
 4096 maximum active VCs, 6 current VCCs
 VC idle disconnect time: 300 seconds
 0 carrier transitions
 Last input never, output 00:00:00, output hang never
 Last clearing of "show interface" counters never
 Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
 Queueing strategy: Per VC Queueing
 5 minute input rate 0 bits/sec, 1 packets/sec
 5 minute output rate 1000 bits/sec, 1 packets/sec
   2090 packets input, 101234 bytes, 0 no buffer
   Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
   0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
   2118 packets output, 179057 bytes, 0 underruns
   0 output errors, 0 collisions, 1 interface resets
   0 output buffer failures, 0 output buffers swapped out

Useful information in the show interface switch output includes the following:

  • Interface status—Up or down

  • Line protocol status—Up or down

  • Maximum Transmission Size (MTU)—The largest packet size, in bytes, permitted on the interface

  • Bandwidth (BW)—The interface bandwidth, in kbps

  • Encapsulation—Always ATM

  • Maximum number of virtual circuits (VCs) allowed

  • Current number of VCs—The current number of VCs being used

  • Queue status—The current queue status

  • Ingress and egress traffic counters

You can clear the traffic counters using the clear counters switch command.

Interface Command

The interface global configuration command accesses interface-specific configuration mode. You also use the interface command to create a new subinterface. When you use the interface command, the CLI prompt changes from hostname(config)# to hostname(config-if)#.

Here is the interface command syntax:

interface [switch <slot-number>/<interface-number>.[subinterface-number]]

The keyword and parameter options are as follows:

  • switch—This optional keyword shows the switch interface.

  • slot-number—If you specify the switch keyword, you must specify the RPM card slot number.

  • interface-number—If you specify the switch keyword, you must specify the interface number. For the RPM switch interface, the only valid value is 1.

  • subinterface-number—You can also specify a subinterface number.

For example, type interface switch 9/1 while in global configuration mode to configure the ATM switch interface on the RPM in card slot 9.

Shutdown Command

The shutdown interface-specific configuration command is used to deactivate an interface. Use the no shutdown command to activate an interface. By default, the ATM switch interface is inactive. You must activate it using the no shutdown command before the RPM can send and receive cells to and from the cell bus.

  • + Share This
  • 🔖 Save To Your Account