Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Блок кода
ESR(config)# router bgp 64516 
ESR(config-bgp)# neighbor 192.0.2.6
ESR(config-bgp-neighbor)# address-family ipv4 unicast 
ESR(config-bgp-neighbor-af)# advertise-map ADVERTISE not exist-map CONDITION 
ESR(config-bgp-neighbor-af)# do commit
ESR(config-bgp-neighbor-af)# do confirm

Проверим работоспособность функционалакорректность настройки:

Блок кода
//Проверяем наличие маршрута 10.1.1.1/32 в BGP RIB

ESR# sh bgp ipv4 unicast 10.1.1.1/32
10.1.1.1/32        via 192.0.2.1 on gi1/0/1          [bgp64516 07:07:59] (64515?)
    Administrative Distance: 170
    Type:                    unicast
    Origin:                  Incomplete
    AS path:                 64515
    Next Hop:                192.0.2.1
    Output Label:            --
    Input Label:             --
    Local Preference:        100
    MED:                     --
    Cluster List:            --
    Community:               --
    EXT Community:           --
    Weight:                  0
    Valid, Best
// Проверяем статус сonditional advertisement и  отсутствие анонса 198.51.100.0/24 провайдеру ISP "One"
ESR# sh bgp ipv4 unicast neighbor 192.0.2.6 advertise-routes 

ESR# sh bgp neighbors 192.0.2.6
BGP neighbor is 192.0.2.6
    BGP state:                          Established
    Type:                               Static neighbor
    Neighbor address:                   192.0.2.6
    Neighbor AS:                        64517
    Neighbor ID:                        192.0.2.6
    Neighbor caps:                      refresh enhanced-refresh restart-aware AS4
    Session:                            external AS4
    Source address:                     192.0.2.5
    Weight:                             0
    Hold timer:                         99/180
    Keepalive timer:                    4/60
    RR client:                          No
    Address family ipv4 unicast:       
      Send-label:                       No
      Default originate:                No
      Default information originate:    No
      Outgoing route-map:               OUT
      Advertise-map:                    ADVERTISE
      Condition-map:                    CONDITION
      Conditional advertisement status: Withdrawal
      Preference:                       170
      Remove private AS:                No
      Next-hop self:                    No
      Next-hop unchanged:               No
    Uptime:                             1300 s

...