Riverstone-networks WICT1-12 Uživatelský manuál Strana 300

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 718
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 299
16-42 Riverstone Networks RS Switch Router User Guide Release 8.0
BGP Configuration Examples BGP Configuration Guide
16.3.10 Route Map Example
Figure 16-12 shows a simple BGP configuration in which routes received on R2 for the networks 15.4.0.0/16 and
15.5.0.0/16 are set with community IDs 1:1 and 1:2, respectively. The routes are exported to R8 with these community
IDs. On R8, BGP routes with the specified community IDs are to be monitored via BGP accounting (see
Section 16.3.11, "BGP Accounting Examples," for more information).
Figure 16-12Sample BGP configuration (route map)
Router R2 has the following CLI configuration:
ip-router global set autonomous-system 2
route-map 1 permit 1 match-prefix network 15.4.0.0/16 set-community
"1:1"
route-map 1 permit 2 match-prefix network 15.5.0.0/16 set-community
"1: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 set peer-group tored route-map-out 1
/jointfilesconvert/1309226/bgp start
R
2
15.4.0.0/16
AS-2
15.5.0.0/16
15.6.0.0/16
R
8
12.10.0.0/16
AS-65100
12.11.0.0/16
12.12.0.0/16
15.2.1.1
15.2.1.3
12.13.0.0/16
Zobrazit stránku 299
1 2 ... 295 296 297 298 299 300 301 302 303 304 305 ... 717 718

Komentáře k této Příručce

Žádné komentáře