![Riverstone Networks WICT1-12 User Manual Download Page 306](http://html1.mh-extra.com/html/riverstone-networks/wict1-12/wict1-12_user-manual_1466194306.webp)
16-48 Riverstone Networks RS Switch Router User Guide Release 8.0
BGP Configuration Examples
BGP Configuration Guide
Router R2 has the following CLI configuration:
Router R8 has the following CLI configuration:
To enable BGP accounting on the interface ‘int1’ on R8:
ip-router global set autonomous-system 2
bgp create peer-group tored type external autonomous-system 65100
bgp add peer-host 15.2.1.3 group tored
bgp set preference 99
bgp start
ip-router global set autonomous-system 65100
route-map 1 permit 1 match-prefix network 15.4.0.0/16 set-traffic-index
10
route-map 1 permit 2 match-prefix network 15.5.0.0/16 set-traffic-index
11
route-map 1 permit 3 match-prefix network 15.6.0.0/16 set-traffic-index
12
bgp create peer-group tor2 autonomous system 2 type external
bgp add peer-host 15.2.1.1 group tor2
bgp set preference 9
bgp set peer-group tor2 route-map-in 1 in-sequence 1
bgp start
ip enable bgp-actg-on int1
ip bgp-accounting start dscp-accounting