Riverstone Networks WICT1-12 User Manual

Page 154

Advertising
background image

8-20 Riverstone Networks RS Switch Router User Guide Release 8.0

Routing ATM Traffic

ATM Configuration Guide

Following is the configuration for RS1:

Configure an interface on each ethernet port.

rs1(config)# interface create ip subnetA address-netmask 10.1.1.130/24

port et.2.4 up

rs1(config)# interface create ip subnetB address-netmask 20.1.1.130/24

port et.2.3 up

Create the virtual channels.

rs1(config)# atm create vcl port at.4.2.0.100

rs1(config)# atm create vcl port at.4.2.0.101

Configure an interface on each ATM port.

rs1(config)# interface create ip ubrservice address-netmask

40.1.1.127/24 peer-address 40.1.1.128/24 port at.4.2.0.101 up

rs1(config)# interface create ip cbrservice address-netmask

30.1.1.127/24 peer-address 30.1.1.128/24 port at.4.2.0.100 up

Define the ATM service profiles.

rs1(config)# atm define service ubrservice srv-cat ubr pcr-kbits 20000

rs1(config)# atm define service cbrservice srv-cat cbr pcr-kbits 100000

Apply the ATM service profiles.

rs1(config)# atm apply service ubrservice port at.4.2.0.101

rs1(config)# atm apply service cbrservice port at.4.2.0.100

Create IP ACLs.

RS1(config)# acl subnetAtoCacl permit 10.1.1.0/24 any any any

rs1(config)# acl subnetBtoCacl permit 20.1.1.0/24 any any any

Specify a gateway for each IP policy.

rs1(config)# ip-policy subnetAtoCpolicy permit acl subnetAtoCacl

next-hop-list 40.1.1.128/24 action policy-first

rs1(config)# ip-policy subnetBtoCpolicy permit acl subnetBtoCacl

next-hop-list 30.1.1.128/24 action policy-first

Apply the IP policies to the ethernet ports.

rs1(config)# ip-policy subnetAtoCpolicy apply interface subnetA

rs1(config)# ip-policy subnetBtoCpolicy apply interface subnetB

Advertising