
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
/jointfilesconvert/1309226/bgp create peer-group tored type external autonomous-system 65100
/jointfilesconvert/1309226/bgp add peer-host 15.2.1.3 group tored
/jointfilesconvert/1309226/bgp set preference 99
/jointfilesconvert/1309226/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
/jointfilesconvert/1309226/bgp create peer-group tor2 autonomous system 2 type external
/jointfilesconvert/1309226/bgp add peer-host 15.2.1.1 group tor2
/jointfilesconvert/1309226/bgp set preference 9
/jointfilesconvert/1309226/bgp set peer-group tor2 route-map-in 1 in-sequence 1
/jointfilesconvert/1309226/bgp start
ip enable /jointfilesconvert/1309226/bgp-actg-on int1
ip /jointfilesconvert/1309226/bgp-accounting start dscp-accounting
Comentarios a estos manuales