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

Ключ

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

...

Блок кода
titleESR1
ESR1# sh ip route-map AS
Order:                                      1
Description:                                --
Matching pattern:
    Access group                                --
    AS path                                     regex "(64500)"
    Community                                   --
    Extcommunity                                --
    BGP local-preference:                       --
    BGP metric (MED):                           --
    BGP weight:                                 --
    Address (object-group):                     --
    Next hop (object-group):                    --
    Route source (object-group):                --
    RIP metric                                  --
    RIP tag                                     --
    OSPF metric type                            --
    OSPF metric                                 --
    OSPF tag                                    --
Actions:
    Decision:                                   Deny
    Route next hop:                             --
    Route IPv6 next hop:                        --
    IP address:                                 --
    IPv6 address:                               --
    AS path (prepand):                          --
    Community:                                  --
    Extcommunity:                               --
    Local preference:                           --
    BGP next hop address:                       --
    BGP IPv6 next hop address:                  --
    BGP metric (MED):                           --
    BGP weight:                                 --
    Origin:                                     --
    RIP metric                                  --
    RIP tag                                     --
    OSPF metric type                            --
    OSPF metric                                 --
    OSPF tag                                    --
--------------------------------------------------------------------------------
Order:                                      2
Description:                                --
Matching pattern:
    Access group                                --
    AS path                                     --
    Community                                   --
    Extcommunity                                --
    BGP local-preference:                       --
    BGP metric (MED):                           --
    BGP weight:                                 --
    Address (object-group):                     --
    Next hop (object-group):                    --
    Route source (object-group):                --
    RIP metric                                  --
    RIP tag                                     --
    OSPF metric type                            --
    OSPF metric                                 --
    OSPF tag                                    --
Actions:
    Decision:                                   Permit
    Route next hop:                             --
    Route IPv6 next hop:                        --
    IP address:                                 --
    IPv6 address:                               --
    AS path (prepand):                          --
    Community:                                  --
    Extcommunity:                               --
    Local preference:                           --
    BGP next hop address:                       --
    BGP IPv6 next hop address:                  --
    BGP metric (MED):                           --
    BGP weight:                                 --
    Origin:                                     --
    RIP metric                                  --
    RIP tag                                     --
    OSPF metric type                            --
    OSPF metric                                 --
    OSPF tag                                    --
--------------------------------------------------------------------------------
ESR1#   

В контексте настройки пира применим созданный Route-map для фильтрации входящих маршрутов:

...