[Contents] [Prev] [Next] [Index] [Report an Error]


Configuration Tasks

This section covers the following topics:

Creating a Basic Configuration

To configure ATM, perform the following tasks. (Figure 1-7 shows the relationship of steps 1 through 3.)

  1. Configure an ATM physical interface.
host1(config)#interface atm 0/1 
  1. Configure an ATM 1483 subinterface.
host1(config-if)#interface atm 0/1.20
  1. Configure a PVC by specifying the VCD, the VPI, the VCI, and the encapsulation type.
host1(config-subif)#atm pvc 10 100 22 aal5snap
  1. Assign an IP address and subnet mask to the PVC.
host1(config-subif)#ip address 192.32.10.20 255.255.255.0
  1. (Optional) Verify your configuration using the appropriate show commands.
host1#show atm interface atm 0/1
host1#show atm vc atm 0/1 10
host1#show atm subinterface atm 0/1.20


Figure 1-7 Configuring an ATM interface, subinterface, and PVC

    atm pvc

host1(config-if)#atm pvc 6 0 11 aal5snap cbr 10000

    interface atm

Setting Optional Parameters

You can also set the following parameters:

host1(config-if)#atm aal5 shutdown
host1(config-if)#atm cac 3000000 ubr 3000
host1(config-if)#atm clock internal
host1(config-if)#atm framing g751adm
host1(config-if)#atm ilmi-keepalive 5
host1(config-if)#atm lbo long
host1(config-if)#atm shutdown
host1(config-if)#atm snmp trap link-status
host1(config-if)#atm aal5 snmp trap link-status
host1(config-if)#atm sonet stm-1
host1(config-if)#atm auto-configuration
host1(config-if)#atm uni-version 4.0
host1(config-if)#atm vc-per-vp 128
host1(config-if)#atm vp-tunnel 2 128
host1(config-if)#ds3-scramble
host1(config-if)#load-interval 90
host1(config-if)#loopback diagnostic
host1(config-if)#shutdown

Optional Tasks on ATM 1483 Subinterfaces

The following are optional tasks that you can perform on ATM 1483 subinterfaces:

host1(config-subif)#atm atm1483 mtu 7800
host1(config-subif)#atm atm1483 snmp trap link-status
host1(config-subif)#atm atm1483 shutdown

    atm aal5 shutdown

host1(config-if)#atm aal5 shutdown

    atm aal5 snmp trap link-status

host1(config-if)#atm aal5 snmp trap link-status

    atm atm1483 mtu

    atm atm1483 snmp trap link-status

    atm atm1483 shutdown

    atm auto-configuration

host1(config-if)#atm auto-configuration

    atm cac

host1(config-if)#atm cac 3000000 ubr 3000

    atm clock internal

host1(config-if)#atm clock internal

    atm framing

host1(config-if)#atm framing g751adm

    atm ilmi-keepalive

host1(config-if)#atm ilmi-keepalive 5

    atm lbo

host1(config-if)#atm lbo long

    atm shutdown

host1(config-if)#atm shutdown

    atm snmp trap link-status

host1(config-if)#atm snmp trap link-status

    atm sonet stm-1

host1(config-if)#atm sonet stm-1

    atm uni-version

host1(config-if)#atm uni-version 4.0

    atm vc-per-vp

host1(config-if)#atm vc-per-vp 128

    atm vp-tunnel

host1(config-if)#atm vp-tunnel 2 128

    ds3-scramble
    e3-scramble

host1(config-if)#ds3-scramble

    load-interval

host1(config-if)#load-interval 90

    loopback

host1(config-if)#loopback diagnostic

Configuring SVCs

To configure SVCs:

  1. Enable ILMI on the ATM interface.
host1(config)#interface atm 4/0
host1(config-if)#atm ilmi-enable
  1. 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 qsaal
  1. Go to the subinterface configuration and specify an ATM ESI address.
host1(config-if)#interface atm 4/0.1
host1(config-subif)#atm esi-address 004ff8234002.00
  1. 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 
23961

Once 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

host1(config-subif)#atm esi-address 004ff8234002.00

    atm ilmi-enable

host1(config-if)#atm ilmi-enable

    atm pvc

host1(config-if)#atm pvc 5 0 5 qsaal

    atm svc

host1(config-subif)#atm svc nsap 
70.000458ff000b923011f22100.234f89bb0000.00

Configuring OAM

This section covers:

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.

To set up F4 OAM:

  1. 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 10
  1. (Optional) Enable only segment or end-to-end loopback.
host1(config-if)#atm oam 10 seg-loopback
host1(config-if)#atm oam 10 end-loopback
  1. (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 20
  1. (Optional) Enable CC cell flows.
host1(config-if)#atm oam 10 seg-loopback cc source

    atm oam



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.

host1(config-if)#atm oam 8 
host1(config-if)#atm oam 10 end-loopback loopback-timer 20
host1(config-if)#atm oam
host1(config-if)#atm oam seg-loopback
host1(config-if)#atm oam 12 end-loopback
host1(config-if)#atm oam 8 seg-loopback cc source
host1(config-if)#no atm oam
host1(config-if)#no atm oam segment
host1(config-if)#no atm oam 8 end-loopback

Configuring 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 set up F5 OAM:

  1. 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
  1. (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 
sink 

    atm pvc

host1(config-if)#atm pvc 20 20 20 aal5snap oam 
host1(config-if)#atm pvc 5 0 5 aal5auto oam cc end-to-end 
sink
host1(config-if)#no atm pvc 5 0 5 aal5auto 

Setting 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

host1(config-if)#atm oam loopback-location 01090708

Setting 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

host1(config-if)#atm oam flush

Running ATM Ping

Keep in mind the following when you use ATM ping:

    ping atm interface atm

For information on how the system handles loopback cells based on location ID, see Table 1-7.

host1#ping atm interface atm 2/0 0 105 end-loopback count 5 
timeout 2
Sending 5 53-byte OAM end-to-end loopback Echoes 

timeout is 2 secs
Press Ctrl-c to stop
!!!!!
Success rate = 100% (5/5), round-trip min/avg/max = 

0/4/10 ms
host1#ping atm interface atm 2/0 0 105 seg-loopback 
0xFFFFFFFF count 3 timeout 1
Sending 3 53-byte OAM segment loopback Echoes 

timeout is 1 secs
Press Ctrl-c to stop
!!!
Success rate = 100% (3/3), round-trip min/avg/max = 

0/3/10 ms

Configuring 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.

  1. Create a loopback interface. All passthrough connections can share the same loopback interface.
host1(config)#interface loopback 0
host1(config-if)#ip address 10.1.1.1 255.255.255.255
host1(config)#exit
  1. Create an ATM subinterface and ATM PVC with aal5all encapsulation on the ingress interface.
host1(config)#interface atm 2/0.1 
host1(config-subif)#atm pvc 1 0 100 aal5all
  1. 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 2
host1(config-subif)#exit
  1. Create an ATM subinterface and ATM PVC with aal5all encapsulation on the egress interface.
host1(config)#interface atm 2/0.2
host1(config-subif)#atm pvc 2 0 101 aal5all 
  1. 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 2 
host1(config-subif)#exit 
  1. (Optional) Display your configuration.
host1#show mpls cross-connect atm
                                          Cate Peak
Interface VPI VCI Interface VPI VCI VC-ID gory Rate   Status
--------- --- --- --------- --- --- ----- ---- ---- ----------
ATM3/0.1    0 100 ATM3/0.2    0 101     2 UBR     0 State DOWN
1 local connection(s) found 

    mpls-relay

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:

  1. Configure a physical interface.
host1(config)#interface atm 2/0 
  1. Configure a 1483 subinterface.
host1(config-if)#interface atm 2/0.2 multipoint
  1. Configure PVCs by specifying the VCD, VPI, VCI, and encapsulation type.
host1(config-subif)#atm pvc 1 1 1 aal5snap inarp 10
host1(config-subif)#atm pvc 2 2 2 aal5snap
  1. (Optional) Specify InARP and a refresh rate (also optional).
host1(config-subif)#atm pvc 3 3 3 aal5snap inarp 5
host1(config-subif)#atm pvc 4 4 4 aal5snap inarp
  1. Assign an IP address and subnet mask to the PVC.
host1(config-subif)#ip address 192.32.10.20 255.255.255.0
  1. (Optional) Use the appropriate show commands to verify your configuration.
host1#show atm interface atm 2/0
host1#show atm map
host1#show nbma arp atm 2/0
host1#show atm vc atm 2/0 2
host1#show atm subinterface atm 2/0.2

Creating 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.

To set up a static map:

  1. Create a map list by naming it.
host1(config)#map-list charlie
  1. Associate a protocol and an address with a specific virtual circuit.
host1(config-map-list)#ip 192.168.13.13 atm-vc 1 broadcast
  1. Specify an ATM port adapter interface.
host1(config-if)#interface atm 2/0
  1. Associate the map list with the interface.
host1(config-if)#map-group charlie

    atm pvc

host1(config-if)#atm pvc 6 0 11 aal5snap inarp 10

    interface atm

    ip atm-vc

host1(config-map-list)#ip 192.168.13.13 atm-vc 1 broadcast

    map-group

host1(config-if)#map-group charlie

    map-list

host1(config)#map-list charlie

[Contents] [Prev] [Next] [Index] [Report an Error]