BGP peer templates

Материал из Xgu.ru

Перейти к: навигация, поиск

< BGP

Содержание

[править] Session Templates

В Session Templates можно указывать:

  • allowas-in
  • description
  • disable-connected-check
  • ebgp-multihop
  • fall-over
  • local-as
  • password
  • remote-as
  • shutdown
  • timers
  • translate-update
  • transport
  • ttl-security
  • update-source
  • version

[править] Policy Templates

В Policy Templates можно указывать:

  • advertisement-interval
  • allowas-in
  • as-override
  • capability
  • default-originate
  • distribute-list
  • dmzlink-bw
  • filter-list
  • maximum-prefix
  • next-hop-self
  • next-hop-unchanged
  • prefix-list
  • remove-private-as
  • route-map
  • route-reflector-client
  • send-community
  • send-label
  • soft-reconfiguration
  • soo
  • unsuppress-map
  • weight

[править] Пример настройки

router bgp 2334
 template peer-policy HQ
  route-reflector-client
  send-community extended
 exit-peer-policy
 !
 template peer-session HQ
  remote-as 2334
  update-source Loopback20
 exit-peer-session
 !
 bgp router-id 21.34.0.1
 no bgp default ipv4-unicast
 neighbor 21.34.0.2 inherit peer-session HQ
 neighbor 21.34.0.2 description HQ-r2
 neighbor 21.34.1.1 inherit peer-session HQ
 neighbor 21.34.1.1 description HQ1-r1
 !
 address-family vpnv4
  neighbor 21.34.0.2 activate
  neighbor 21.34.0.2 send-community extended
  neighbor 21.34.0.2 inherit peer-policy HQ
  neighbor 21.34.0.2 route-map LP_100 in
  neighbor 21.34.1.1 activate
  neighbor 21.34.1.1 send-community extended
  neighbor 21.34.1.1 inherit peer-policy HQ
  neighbor 21.34.1.1 route-map LP_200 out
 exit-address-family

[править] Дополнительная информация