Riverstone Networks WICT1-12 User Manual

Page 631

Advertising
background image

Riverstone Networks RS Switch Router User Guide Release 8.0 30-27

WAN Configuration

WAN Configuration Examples

Router R1 Configuration File

The following configuration file applies to Router R1.

Router R2 Configuration File

The following configuration file applies to Router R2.

Configuration for ROUTER R1

----------------------------------------------------------------------

port set hs.7.1 wan-encapsulation frame-relay speed 45000000

port set hs.3.1 wan-encapsulation frame-relay speed 45000000

port set hs.3.2 wan-encapsulation ppp speed 45000000

port set et.1.* duplex full

frame-relay create vc port hs.7.1.106

frame-relay create vc port hs.3.1.103

frame-relay define service CIRforR1toR6 cir 45000000 bc 450000

frame-relay apply service CIRforR1toR6 ports hs.7.1.106

vlan create s1 id 200

vlan create s2 id 300

vlan add ports hs.3.1.103,hs.7.1.106 to s1

vlan add ports hs.3.2 to s2

interface create ip s1 address-netmask 100.100.100.1/16 vlan s1

interface create ip s2 address-netmask 120.120.120.1/16 vlan s2

rip add interface all

rip set interface all version 2

rip set interface all xmt-actual enable

rip set auto-summary enable

rip start

system set name R1

Configuration for ROUTER R2

----------------------------------------------------------------------

port set hs.7.1 wan-encapsulation ppp speed 45000000

port set hs.7.2 wan-encapsulation ppp speed 45000000

port set et.1.* duplex full

vlan create s2 id 300

interface create ip PPPforR2toR3 address-netmask 130.130.130.2/16 peer-address

130.130.130.3 port hs.7.2

interface create ip SBitsLAN address-netmask 20.20.20.2/16 port et.1.1

vlan add ports hs.7.1 to s2

interface create ip s2 address-netmask 120.120.120.2/16 vlan s2

interface create ip VideoClient address-netmask 200.200.200.1/16 port et.1.2

qos set ip VideoFromNT high 100.100.100.100 200.200.200.200 any any

qos set ip VideoFrom95 high 200.200.200.200 100.100.100.100 any any

rip add interface all

rip set interface all version 2

rip set auto-summary enable

rip start

system set name R2

arp add 20.20.20.12 exit-port et.1.1 mac-addr 000202:020200

Advertising