Riverstone Networks RS Switch Router User Guide Release 8.0 8-21
ATM Configuration Guide Routing ATM Traffic
Following is the configuration for RS2:
8.6.1 Peer Address Mapping
You can map a peer address to a specific virtual channel. This allows you to set the destination address for a virtual
channel using the atm set peer-addr command. This way, a virtual channel can be dedicated to handle traffic
between two specific devices.
Mapped addresses are useful when you do not want to specify the peer address for the ATM port using the interface
create command. This would be the case if the interface is created for a VLAN and there are many peer addresses
on the VLAN. If any of the peers on the VLAN do not support InArp or IPCP/IPXCP, then a mapped address must be
configured to determine the destination address.
Configure an interface on the ethernet port that leads to Subnet C.
rs2(config)# interface create ip subnetC address-netmask 50.1.1.130/24
port et.5.1 up
Create the virtual channels on port at.4.2.
rs2(config)# atm create vcl port at.3.1.0.100
rs2(config)# atm create vcl port at.3.1.0.101
Configure an interface for each VC.
rs2(config)# interface create ip ubrservice address-netmask
40.1.1.128/24 peer-address 40.1.1.127/24 port at.3.1.0.101 up
rs2(config)# interface create ip cbrservice address-netmask
30.1.1.128/24 peer-address 30.1.1.127/24 port at.3.1.0.100 up
Define the ATM service profiles.
rs2(config)# atm define service ubrservice srv-cat ubr pcr-kbits 20000
rs2(config)# atm define service cbrservice srv-cat cbr pcr-kbits 100000
Apply the ATM service profiles.
rs2(config)# atm apply service ubrservice port at.3.1.0.101
rs2(config)# atm apply service cbrservice port at.3.1.0.100
For traffic from subnet C to subnets A and B, create IP ACLs.
rs2(config)# acl subnetCtoAacl permit 50.1.1.0/24 10.1.1.0/24 any any
rs2(config)# acl subnetCtoBacl permit 50.1.1.0/24 20.1.1.0/24 any any
Specify a gateway for each IP policy.
rs2(config)# ip-policy subnetCtoApolicy permit acl subnetCtoAacl
next-hop-list 40.1.1.127/24 action policy-first
rs2(config)# ip-policy subnetCtoBpolicy permit acl subnetCtoBacl
next-hop-list 30.1.1.127/24 action policy-first
Apply IP policies to the Ethernet ports.
rs2(config)# ip-policy subnetCtoApolicy apply interface subnetC
rs2(config)# ip-policy subnetCtoBpolicy apply interface subnetC