ATM Sample Configuration 154 SmartSwitch Router User Reference ManualApplying an ATM Service ClassAfter defining a service class on SSR1 and SSR2, apply them to the VC connection wecreated earlier.The following command line applies the service class ‘cbr1m’ to the VC (vpi=0, vci=100)on ATM port at.1.1 of SSR1:The following command line applies the service class ‘cbr1m’ to the VC (vpi=0, vci=100)on ATM port at.2.1 of SSR2:Configuring an Interface on an ATM PortThe next step is to configure an interface for each ATM port. Creating an interface on anATM port assigns a network IP address and submask on that port, and assigns it to aspecified VC (VPI/VCI pair). Since a VC is a connection in the ATM Layer only, creatingan interface for an ATM port is necessary to establish a connection in the IP network layer.You can assign a peer-address to an ATM port interface. This peer-address specifies the IPaddress for the other end of the VC connection.Set the IP interface name as ‘atm1’ and IP address as 11.1.100.1/24 on ATM portat.1.1.0.100. The following command line configures the interface on SSR1:Set the IP interface name as ‘atm2’ and IP address as 11.1.100.2/24 on ATM portat.2.1.0.100. The following command line configures the interface on SSR2:Configuring an IP RouteThe next step is to add an IP route which will specify a gateway address to reach a certainsubnet. You already configured IP interfaces for both Ethernet ports. VLAN B (connectedto IP interface 11.1.2.1/24) belongs to the subnet 11.1.2.0. Similarly, VLAN A (connected toIP interface 11.1.1.1/24) belongs to the subnet 11.1.1.0.ssr1(config)# atm apply service cbr1m port at.1.1.0.100ssr2(config)# atm apply service cbr1m port at.2.1.0.1001(config)# interface create ip atm1 address-netmask 11.1.100.1/24 peer-address 11.1.100.2/24 port at.1.1.0.100 upssr2(config)# interface create ip atm2 address-netmask 11.1.100.2/24peer-address 11.1.100.1/24 port at.2.1.0.100 up