Configuration Tasks
This section covers the following topics:
- Creating a Basic Configuration
- Setting Optional Parameters
- Configuring SVCs
- Configuring OAM
- Configuring Local ATM Passthrough
- Configuring an NBMA Interface
- Creating an NBMA Static Map
Creating a Basic Configuration
To configure ATM, perform the following tasks. (Figure 1-7 shows the relationship of steps 1 through 3.)
host1(config)#interface atm 0/1host1(config-if)#interface atm 0/1.20host1(config-subif)#atm pvc 10 100 22 aal5snaphost1(config-subif)#ip address 192.32.10.20 255.255.255.0host1#show atm interface atm 0/1host1#show atm vc atm 0/1 10host1#show atm subinterface atm 0/1.20![]()
atm pvc
- aal5snap - specifies an LLC encapsulated circuit; LLC/SNAP precedes the protocol datagram.
- aal5mux ip - specifies a VC-based multiplexed circuit. This option is used for IP only.
- aal5autoconfig - enables autodetection of the 1483 encapsulation (LLC/SNAP or VC multiplexed) for dynamic interfaces. See Chapter 13, Configuring Dynamic Interfaces for more explanation.
- ilmi - defines the PVC for ILMI keepalive messages. You can set this option only on major interfaces. Once the PVC is set up for ILMI, use the atm ilmi-keepalive command to cause the system to generate ILMI keepalive messages on the interface.
- You can optionally set the peak, average, and burst sizes. To use VBR-RT or VBR-NRT as the service type, you must specify each of these options.
- The default service type is UBR. To set a different service type, specify one of the following keywords:
- rt - selects VBR-RT as the service type. You can select rt only if you set the peak, average, and burst parameters.
- cbr - selects CBR as the service type. You must set the CBR rate in Kbps.
host1(config-if)#atm pvc 6 0 11 aal5snap cbr 10000interface atm
- slot - system chassis slot
- port - I/O module port
- subinterface - number of the subinterface in the range 1-4294967293
- Specify the type of interface or subinterface: point-to-point or multipoint. Point-to-point is the default.
- Use the no version to remove the subinterface or the logical interface.
Setting Optional Parameters
You can also set the following parameters:
host1(config-if)#atm aal5 shutdownhost1(config-if)#atm cac 3000000 ubr 3000host1(config-if)#atm clock internalhost1(config-if)#atm framing g751admhost1(config-if)#atm ilmi-keepalive 5host1(config-if)#atm lbo longhost1(config-if)#atm shutdownhost1(config-if)#atm snmp trap link-statushost1(config-if)#atm aal5 snmp trap link-statushost1(config-if)#atm sonet stm-1host1(config-if)#atm auto-configuration
- Set UNI version that the router should use when ILMI link autodetermination is unsuccessful or ILMI is disabled.
host1(config-if)#atm uni-version 4.0host1(config-if)#atm vc-per-vp 128host1(config-if)#atm vp-tunnel 2 128host1(config-if)#ds3-scramblehost1(config-if)#load-interval 90host1(config-if)#loopback diagnostichost1(config-if)#shutdownOptional Tasks on ATM 1483 Subinterfaces
The following are optional tasks that you can perform on ATM 1483 subinterfaces:
host1(config-subif)#atm atm1483 mtu 7800host1(config-subif)#atm atm1483 snmp trap link-statushost1(config-subif)#atm atm1483 shutdownatm aal5 shutdown
host1(config-if)#atm aal5 shutdownatm aal5 snmp trap link-status
host1(config-if)#atm aal5 snmp trap link-statusatm atm1483 mtu
- Use to set the MTU size for an ATM 1483 subinterface.
- The range is 256-9180.
- Use the no version to restore the default size of 9180.
atm atm1483 snmp trap link-status
- Use to enable SNMP link status traps on an ATM 1483 layer subinterface.
- Use the no version to disable the traps.
atm atm1483 shutdown
- Use to set an ATM 1483 subinterface administrative state to disabled.
- Use the no version to enable a disabled subinterface.
atm auto-configuration
- Use to enable auto configuration of ILMI. Entering the atm auto-configuration command overrides any previous configuration of the atm uni-version command.
- Auto configuration is enabled by default.
- Example
host1(config-if)#atm auto-configuration
- Use the no version to disable auto configuration and set the ILMI parameters to the UNI version configured using the atm uni-version command, which has a default value of UNI 4.0.
atm cac
- Use to enable CAC on the interface. You can set a subscription limit, which lets you oversubscribe the port, and the UBR weight, which lets you limit the number of UBR connections.
- Example
host1(config-if)#atm cac 3000000 ubr 3000atm clock internal
- Use to cause the ATM interface to generate the transmit clock internally.
- You must specify one of the following:
- module - internal clock is from the line module (the default)
- chassis - internal clock is from the configured system clock
host1(config-if)#atm clock internalatm framing
- Use to configure T3 or E3 framing on an ATM interface.
- Specify one of the following framing types for a T3 (DS3) interface:
- cbitadm - c-bit with ATM direct mapping
- cbitplcp - c-bit with PLCP framing (default)
- m23adm - M23 ATM direct mapping
- m23plcp - M23 with PLCP framing
- g832adm - G.832 ATM direct mapping
- g751adm - G.751 ATM direct mapping
- g751plcp - G.751 PLCP mapping (default)
host1(config-if)#atm framing g751admatm ilmi-keepalive
- Use to generate ILMI keepalive messages. This value sets the allowable time between poll PDU transmissions if there are no pending sequence data PDUs.
- Example
host1(config-if)#atm ilmi-keepalive 5atm lbo
- Use to specify the cable length (line build-out) for the ATM T3 or E3 interface. The length of cable determines power requirements.
- Specify one of the following keywords:
host1(config-if)#atm lbo longatm shutdown
host1(config-if)#atm shutdownatm snmp trap link-status
host1(config-if)#atm snmp trap link-statusatm sonet stm-1
- Use to set the mode of operation on the physical interface to Synchronous Digital Hierarchy (SDH) Synchronous Transport Mode (STM).
host1(config-if)#atm sonet stm-1atm uni-version
host1(config-if)#atm uni-version 4.0atm vc-per-vp
- Use to configure the number of VCs for each VP. The system will not execute this command if any VCs are open on the interface.
- The specified value must be a power of 2, or an error message is returned.
- The minimum number of VCs per VP is 4096 for OCx/STMx ATM line modules and 1024 for T3 ATM line modules. If you enter a value that is below the minimum, the system uses the minimum value.
- Example
host1(config-if)#atm vc-per-vp 128atm vp-tunnel
- Use to define a VP tunnel and configure the rate of traffic flow within the tunnel.
- You specify a tunnel rate in Kbps. All circuits in the VP are restricted to the rate that you set.
- If any virtual circuits are open within the VPI before the tunnel is created, the system will not execute this command.
- Example
host1(config-if)#atm vp-tunnel 2 128
- Use the no version to remove the VP tunnel. If circuits are open within the tunnel, the system will not remove the tunnel.
ds3-scramble
e3-scramble
- Use to scramble the ATM cell payload on a T3 or an E3 interface. DS3 (T3) and E3 scrambling assists clock recovery on the receiving end of the interface.
- Example
host1(config-if)#ds3-scrambleload-interval
- Use to set the time interval at which the system calculates bit and packet rate counters for the ATM interface.
- You can choose a multiple of 30 seconds, in the range 30-300 seconds.
- Example
host1(config-if)#load-interval 90loopback
- diagnostic - places the interface into internal loopback.
- line - places the interface into external loopback.
host1(config-if)#loopback diagnosticConfiguring SVCs
host1(config)#interface atm 4/0host1(config-if)#atm ilmi-enable
- Create a PVC with a QSAAL signalling channel on the ATM interface. This PVC performs call setup for the SVC.
host1(config-if)#atm pvc 5 0 5 qsaalhost1(config-if)#interface atm 4/0.1host1(config-subif)#atm esi-address 004ff8234002.00
- Create the SVC and define the SVC parameters, including the destination ATM address, encapsulation method, and traffic parameters.
host1(config-subif)#atm svc nsap 70.000458ff000b923011f22100.234f89bb0000.00 aal5snap cbr 23961Once you define an SVC, the system attempts to set up an SVC to this destination with the requested traffic parameters and encapsulation method.
atm esi-address
- Use to specify an ESI address. The ESI address identifies the ATM device attached to the switch. The subinterface uses this address when it responds to ATM SVC signalling setup requests.
- Example
host1(config-subif)#atm esi-address 004ff8234002.00atm ilmi-enable
host1(config-if)#atm ilmi-enableatm pvc
- Use with the qsaal keyword to create a QSAAL signalling channel for the SVC.
- Recommended values are VPI=0 and VCI=5.
- Example
host1(config-if)#atm pvc 5 0 5 qsaalatm svc
- Use to configure an SVC on an ATM subinterface.
- You must include the nsap keyword to define the destination ATM NSAP address.
- Specify one of the following encapsulation types:
- aal5snap - specifies an LLC encapsulated circuit; LLC/SNAP precedes the protocol datagram.
- aal5mux ip - specifies a VC-based multiplexed circuit. This option is used for IP only.
- You can optionally set the peak, average, and burst sizes. To use the VBR-RT service type, you must specify each of these options.
- Use the cbr keyword to specify the CBR service type.
- Example
host1(config-subif)#atm svc nsap 70.000458ff000b923011f22100.234f89bb0000.00Configuring OAM
- Configuring F4 OAM
- Configuring F5 OAM
- Setting a Loopback Location ID
- Setting Up the System to Ignore Received OAM Cells
- Running ATM Ping
Configuring F4 OAM
The ATM interface does not support sending F4 segment loopback cells, but it does respond to F4 segment loopback cells that it receives.
F4 OAM flows need their own channel, and they are identified by the VCI on which they are sent or received. The following VCIs are reserved for F4 OAM flows for each virtual path, and you cannot open PVCs on them:
Note: You cannot enable both loopback cells and CC cells at the same time.![]()
- Enable F4 OAM on an interface or VP. The system enables F4 OAM at the interface level unless you specify a VPI. This example opens both segment and end-to-end F4 OAM circuits on VPI 10.
host1(config-if)#atm oam 10host1(config-if)#atm oam 10 seg-loopbackhost1(config-if)#atm oam 10 end-loopback
- (Optional) To cause the interface to generate end-to-end loopback cells in addition to receiving and responding to them, set the loopback timer.
host1(config-if)#atm oam 10 end-loopback loopback-timer 20host1(config-if)#atm oam 10 seg-loopback cc sourceatm oam
- Use to configure F4 OAM on an interface or circuit. F4 OAM is configured at the interface level unless you specify a VPI.
- To open F4 OAM on either a segment or end-to-end basis, use the following keywords:
Note: If you do not specify either segment or end-to-end loopback, the command applies to both end-to-end and segment F4 OAM circuits.![]()
- both - enables the PVC as both the source and the sink endpoints
- sink - enables the PVC as the sink endpoint
- source - enables the PVC as the source endpoint
- loopback-timer - when F4 OAM is enabled, the interface or circuit accepts and responds to F4 OAM cells. However, to generate F4 loopback cells, you must configure the loopback timer. This timer represents the frequency with which F4 loopback cells are transmitted. You can set the loopback timer only for end-to-end loopback.
host1(config-if)#atm oam 8
- Example 2 - opens the F4 end-to-end OAM circuit for VPI 10 and enables sending F4 end-to-end loopback cells on the circuit at a frequency of 20 seconds
host1(config-if)#atm oam 10 end-loopback loopback-timer 20host1(config-if)#atm oamhost1(config-if)#atm oam seg-loopbackhost1(config-if)#atm oam 12 end-loopbackhost1(config-if)#atm oam 8 seg-loopback cc source
- Use the no version to delete F4 OAM circuits. Using the options, you can delete all F4 OAM circuits on the interface, segment or end-to-end F4 OAM circuits, or F4 OAM circuits on a specific VPI.
host1(config-if)#no atm oamhost1(config-if)#no atm oam segmenthost1(config-if)#no atm oam 8 end-loopbackConfiguring F5 OAM
F5 OAM flows run over existing PVCs. The ATM interface does not support sending F5 segment loopback cells, but it does respond to F5 segment loopback cells that it receives.
Note: You cannot enable both loopback cells and CC cells at the same time.![]()
- To enable VC integrity, which causes the ATM interface to periodically send F5 end-to-end loopback cells over a VC, use the oam keyword with the atm pvc command. You can include the frequency (in seconds) with which the system sends F5 end-to-end loopback cells.
host1(config-if)#atm pvc 98 38 22 aal5snap oam 300
- (Optional) To enable CC cell flows on a circuit, use the cc keyword with the atm pvc command. You can enable cell flows on a segment or end-to-end basis, and you can enable the PVC as a sink, source, or both a sink and a source.
host1(config-if)#atm pvc 50 0 50 aal5snap oam cc end-to-end sinkatm pvc
- Use the atm pvc command with the oam keyword to set up the PVC to periodically transmit F5 end-to-end loopback cells over a VC.
- Use the following keywords to enable and configure CC cell flows:
- end-to-end - opens an end-to-end CC cell flow
- segment - opens a segment CC cell flow
- sink - enables this VC as a sink point (cell receiver)
- source - enables this VC as the source point (cell generator)
- both - enables this VC as both a sink point and a source point
host1(config-if)#atm pvc 20 20 20 aal5snap oamhost1(config-if)#atm pvc 5 0 5 aal5auto oam cc end-to-end sink
- Use the no version of the atm pvc command without the oam keyword to disable F5 OAM on the PVC and without the cc keyword to disable CC cell flows on the PVC.
host1(config-if)#no atm pvc 5 0 5 aal5autoSetting a Loopback Location ID
To allow other nodes to specifically send OAM loopback cells to the ATM interface, set the location ID of the ATM interface or circuit.
host1(config-if)#atm oam loopback-location 01090708
Note: Because the system is a connection endpoint, the default loopback location ID is all 1s (ones). This command allows you to specify a nondefault value.![]()
atm oam loopback-location
- Use to set the location ID of the ATM interface. The location ID is a 4-octet field, and the default value is all 1s (ones).
- You can set a specific value to identify this ATM interface as the intended recipient of OAM loopback cells.
- You can also set the location ID to all 0s (zeros).
- For information on how the system handles loopback cells based on location ID, see Table 1-7.
host1(config-if)#atm oam loopback-location 01090708Setting Up the System to Ignore Received OAM Cells
You can also configure the system to ignore all received OAM cells or to ignore only AIS and RDI cells, which is useful in diagnostic situations when it may be preferable to ignore alarm conditions. The atm oam flush command controls this feature.
atm oam flush
- Use to enable the OAM flush feature. When OAM flush is enabled, the system ignores all OAM cells received on the interface.
- To cause the system to ignore only AIS and RDI cells and to accept all other OAM cells, use the alarm-cells keyword.
- Example
host1(config-if)#atm oam flushRunning ATM Ping
Keep in mind the following when you use ATM ping:
- Before you can run ATM ping, you need to add a PVC for the VPI and VCI over which you run the ping.
- Because ATM ping requires the receipt of OAM cells, make sure that the receipt of OAM cells is not disabled (using the atm oam flush command). To reenable the receipt of OAM cells, enter no atm oam flush.
- Disabling receipt of OAM cells during a ping operation stops all outstanding ping operations. You need to manually restart the ping operation once receipt of OAM cells for the interface is enabled.
- Since ATM ping is a dynamic (on-demand) operation, none of the configuration related to ATM ping is saved. To avoid acquiring excessive bandwidth for OAM, the number of outstanding ping operations on each interface is limited to 12.
ping atm interface atm
- Use to send loopback cells from an ATM interface or circuit.
- The VPI and VCI fields determine the type of loopback cells used for the ping operation. By default F5 end-to-end loopback OAM cells are used.
- To send F4 segment loopback cells, set the VCI to 3.
- To send F4 end-to-end loopback cells, set the VCI to 4.
- Use the end-loopback keyword to send the ping to the connection endpoint.
- Use the seg-loopback keyword to send the ping to the first segment point (for example, the next neighbor switch).
- Use the destination option to specify the value of the location ID included in the loopback cell. The location ID is a 16-octet field, and the destination portion is 4 octets. You can set the location ID to a specific destination or to 0s (zeros) or 1s (ones).
- If you set the destination to 0, the loopback location ID in the loopback cell is initialized to all 0s, and each segment point in the network responds to the ping.
- If you set the destination to 1s, the loopback location ID in the loopback cell is initialized to all 1s, and only the connection endpoint responds to the ping.
- If you use the default value of 0xFFFFFFFF, the loopback location ID in the loopback cell is initialized to all 1s.
For information on how the system handles loopback cells based on location ID, see Table 1-7.
- The count keyword sets the number of OAM loopback cells to send to the destination. The default value is 5. The maximum is 32.
- The timeout keyword sets the amount of time to wait for a response to the sent OAM loopback cell. The default value is 5 seconds.
- The following characters can appear in the display after the ping command has been issued:
- ! - each exclamation point indicates that a reply was received
- . - each period indicates that the ping timed out while waiting for a reply
- Example 1 - This example generates end-to-end loopback cells for VPI=0 and VCI=105 on ATM interface 2/0. The count value is 5 OAM loopback cells, and the timeout value is 2 seconds.
host1#ping atm interface atm 2/0 0 105 end-loopback count 5 timeout 2Sending 5 53-byte OAM end-to-end loopback Echoes timeout is 2 secsPress Ctrl-c to stop!!!!!Success rate = 100% (5/5), round-trip min/avg/max = 0/4/10 ms
- Example 2 - This example generates segment loopback cells for VPI=0 and VCI=105 on ATM interface 2/0. The destination is set to 0xFFFFFFFF, the count value is 3 OAM loopback cells, and the timeout value is 1 second.
host1#ping atm interface atm 2/0 0 105 seg-loopback 0xFFFFFFFF count 3 timeout 1Sending 3 53-byte OAM segment loopback Echoes timeout is 1 secsPress Ctrl-c to stop!!!Success rate = 100% (3/3), round-trip min/avg/max = 0/3/10 msConfiguring Local ATM Passthrough
To create a local passthrough connection between two ATM subinterfaces on the same ERX system, you create a loopback interface, configure your ATM PVCs, and then create an MPLS relay connection from the PVCs to the loopback interface. You do not need to configure any other MPLS commands.
The following commands create an ATM passthrough connection between two ATM subinterfaces on the same ERX system. Both ATM subinterfaces must belong to the same virtual router.
host1(config)#interface loopback 0host1(config-if)#ip address 10.1.1.1 255.255.255.255host1(config)#exithost1(config)#interface atm 2/0.1host1(config-subif)#atm pvc 1 0 100 aal5all
- Create an MPLS relay connection to the loopback interface. Include the address of the loopback interface and a VC ID.
host1(config-subif)#mpls-relay 10.1.1.1 2host1(config-subif)#exithost1(config)#interface atm 2/0.2host1(config-subif)#atm pvc 2 0 101 aal5all
- Create an MPLS relay connection to the loopback interface. The VC ID must be the same on both sides of the connection.
host1(config-subif)#mpls-relay 10.1.1.1 2host1(config-subif)#exithost1#show mpls cross-connect atmCate PeakInterface VPI VCI Interface VPI VCI VC-ID gory Rate Status--------- --- --- --------- --- --- ----- ---- ---- ----------ATM3/0.1 0 100 ATM3/0.2 0 101 2 UBR 0 State DOWN1 local connection(s) foundmpls-relay
- Use to route layer 2 traffic to the specified interface.
- When you specify the local destination address, a tunnel to that address is automatically found, if it exists.
- The VC ID can be any 32-bit value; however, the VC ID on both ends of a connection must match. Each connection must have its own VC ID.
- You must issue this command in the virtual router where the destination address can be reached; that is, in the virtual router providing core connections. You cannot enter the command in a VRF.
- Use the sequencing keyword to specify that the ingress side of the connection puts packet-sequencing numbers into the ATM control word. Sequencing is disabled by default.
- Example
host1(config-subif)#mpls-relay 10.1.1.1 2 sequencing
Note: The VLAN ID or DLCI may be different on each end of the connection.![]()
Configuring an NBMA Interface
You configure an ATM NBMA 1483 subinterface in a manner similar to configuring a standard ATM 1483 subinterface. When you specify a subinterface, however, you must select the multipoint option if you plan to add multiple circuits to form an NBMA interface. If you do not select multipoint, the subinterface defaults to point-to-point, and only a single circuit can be affiliated with that subinterface.
You can configure one or more PVCs and associate them with the subinterface you create. Also, you can enable InARP and identify a refresh rate on each specific circuit. For each NMBA interface, either InARP must be enabled, or a static map entry must be provided for each circuit owned by the interface; otherwise, transmitting over that circuit is impossible.
Note: NBMA interfaces support only the aal5snap encapsulation.![]()
To configure an NBMA interface:
host1(config)#interface atm 2/0host1(config-if)#interface atm 2/0.2 multipointhost1(config-subif)#atm pvc 1 1 1 aal5snap inarp 10host1(config-subif)#atm pvc 2 2 2 aal5snaphost1(config-subif)#atm pvc 3 3 3 aal5snap inarp 5host1(config-subif)#atm pvc 4 4 4 aal5snap inarphost1(config-subif)#ip address 192.32.10.20 255.255.255.0host1#show atm interface atm 2/0host1#show atm maphost1#show nbma arp atm 2/0host1#show atm vc atm 2/0 2host1#show atm subinterface atm 2/0.2Creating an NBMA Static Map
Static mapping creates an association between IP address-ATM PVC pairs for one or more member circuits of an ATM 1483 NBMA interface. Not every circuit necessarily gets the required association from a static map.
In the following procedure, you can repeat step 2 for each circuit you want to map. A map group name that you have not already established can be associated with an interface. When you define the map list, the name will then be associated with that interface. You can perform steps 3 and 4 before steps 1 and 2 without affecting the results.
host1(config)#map-list charliehost1(config-map-list)#ip 192.168.13.13 atm-vc 1 broadcasthost1(config-if)#interface atm 2/0host1(config-if)#map-group charlieatm pvc
- Use to configure a PVC on an ATM interface.
- InARP and refresh rate are optional parameters.
- InARP determines if InARP requests are used and is specified on a per-circuit basis. If you disable InARP, you must use a static map table entry. Transmission over the circuit is not possible unless you use either InARP or static map table entries.
- The default refresh rate is 15 minutes.
- Example
host1(config-if)#atm pvc 6 0 11 aal5snap inarp 10interface atm
- slot - number of the system chassis slot
- port - port number on the I/O module
- subinterface - number of the subinterface in the range 1-4294967293
- Specify multipoint to identify the subinterface as NBMA.
- Use the no version to remove the subinterface or the logical interface.
ip atm-vc
- Use to associate a protocol and address with a specific virtual circuit.
- Use this command repeatedly for each circuit to be mapped.
- This command is available in Map List Configuration mode only.
- Example
host1(config-map-list)#ip 192.168.13.13 atm-vc 1 broadcastmap-group
- Use to associate the map list with an NBMA interface when configuring static mapping.
- You can issue this command before or after the map-list command without changing anything.
- This command is available in Interface Configuration mode only.
- See the map-list command.
- Example
host1(config-if)#map-group charliemap-list
- Use to create a map list when configuring static mapped NBMA interfaces.
- You can create multiple map lists; however, you can associate only one map list with each physical interface. Each map list can be associated with a single interface.
- If a map list contains an entry for a VCD that was previously configured to run InARP, the map-group command fails. If this is the case, either reconfigure the circuit with InARP disabled, or remove the entry for that circuit from the map list.
- Example
host1(config)#map-list charlie