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

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

Ключ

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

...

Блок кода
mpls 
  forwarding 
    interface loopback 1 
    interface tengigabitethernet 0/0/2 
    interface tengigabitethernet 0/0/3 
  exit
  router-id 1.1.1.1
  rsvp 
    interface tengigabitethernet 0/0/2 
      bfd fast-detect 
    exit
    interface tengigabitethernet 0/0/3 
      bfd fast-detect 
    exit
    l3vpn 
    tunnel R1-to-R2 
      destination 2.2.2.2
      end-to-end 
# В данном разделе настраивается работа end-to-end protection.
        backup-lsp-diversity maximal <=== Дает возможность строить основной и резервный LSP через один и тот же узел, линк. 
        protection-type 1-to-1 <=== Создает резервный LSP путь.
      exit
      forwarding-adjacency <=== Команда включает функционал форвардинга MPLS пакетов через TE туннель.
      record-route 
      routing-adjacency <=== Дает возможность передавать через ТЕ туннель трафик с помощью протоколов маршрутизации.
      source 1.1.1.1
      tunnel-lsp backup 
# В данном разделе задаются дополнительные параметры для резервного LSP.
        end-to-end 
          backup 
            wait-for-main <=== Не строит резервный LSP пока не доступен основной LSP.
          exit
        exit
        retry-timer 150 <=== Данный интервал задает время между падением LSP и первой попыткой построить новый LSP. 
      exit
      tunnel-lsp main 
        retry-timer 150
      exit
    exit
  exit
exit

...

Блок кода
mpls 
  forwarding 
    interface loopback 1 
    interface tengigabitethernet 0/0/2 
    interface tengigabitethernet 0/0/11 
  exit
  router-id 2.2.2.2
  rsvp 
    interface tengigabitethernet 0/0/2 
      bfd fast-detect 
    exit
    interface tengigabitethernet 0/0/11 
      bfd fast-detect 
    exit
    l3vpn 
    tunnel R2-to-R1 
      destination 1.1.1.1
      end-to-end 
        protection-type 1-to-1
      exit
      forwarding-adjacency 
      record-route 
      routing-adjacency 
      source 2.2.2.2
      tunnel-lsp back 
        end-to-end 
          backup 
            wait-for-main 
          exit
        exit
        retry-timer 150
      exit
      tunnel-lsp main 
        retry-timer 150
      exit
    exit
  exit
exit

...

Блок кода
0/ME5100:R1# show  mpls  rsvp lsps detailed 
Wed Jan 25 06:47:19 2023
  Tunnel: none, id: 2
    LSP name: none, signaled-name: R2-to-R1@main, id: 3, Source: 2.2.2.2, Destination: 1.1.1.1
      State: up, Protection role: working
      Direction: egress, Node protect: disabled, Bandwidth protection requirement: disabled
      Carrying the normal traffic after protection switching: no
      Protected by a fast reroute: none 
      Downstream repaired: yes
      Path recording is desired
      SE Style is desired
      LSP rerouting is end-to-end-rerouting
      OAM MEP entities are not desired
      OAM MIP entities are not desired
        Upstream information:
            Signaling interface: Tengigabitethernet0/0/2
          Neighbor: 10.0.0.2
          Label: 3, type: mpls-label
 
                 Incoming ERO                 Outgoing ERO
                 ---------------------------- ----------------------------
        hop0     10.0.0.1/32                                               
 
                 Incoming RRO      Outgoing RRO
                 ----------------- -----------------
        hop0                       10.0.0.1          
        hop1                       Label 3           
  
  Tunnel: main, id: 2
    LSP name: main, signaled-name: R1-to-R2@main, id: 3, Source: 1.1.1.1, Destination: 2.2.2.2
      State: up, Status: standby, Protection role: working
      Direction: ingress, Node protect: disabled, Bandwidth protection requirement: disabled
      Carrying the normal traffic after protection switching: no
      Protected by a fast reroute: none 
      Downstream repaired: yes
      Path recording is desired
      SE Style is desired
      LSP rerouting is end-to-end-rerouting
      OAM MEP entities are not desired
      OAM MIP entities are not desired
        Downstream information:
          Next hop: 10.0.0.2
          Signaling interface: Tengigabitethernet0/0/2
          Neighbor: 10.0.0.2
          Label: 19, type: mpls-label
 
                 Incoming ERO                 Outgoing ERO
                 ---------------------------- ----------------------------
        hop0     10.0.0.1/32                  10.0.0.2/32                  
        hop1     10.0.0.2/32                  10.0.3.1/32                  
        hop2     10.0.3.1/32                  10.0.3.2/32                  
        hop3     10.0.3.2/32                                               
 
                 Incoming RRO      Outgoing RRO
                 ----------------- -----------------
        hop0     10.0.0.2          10.0.0.2          
        hop1     Label 19          Label 19          
        hop2     10.0.3.2          10.0.3.2          
        hop3     Label 3           Label 3           
  
  Tunnel: main, id: 2
    LSP name: backup, signaled-name: R1-to-R2@backup, id: 5, Source: 1.1.1.1, Destination: 2.2.2.2
      State: up, Status: active, Protection role: protecting
      Direction: ingress, Node protect: disabled, Bandwidth protection requirement: disabled
      Carrying the normal traffic after protection switching: no
      Protected by a fast reroute: none (protecting)
      Downstream repaired: yes
      Path recording is desired
      SE Style is desired
      LSP rerouting is end-to-end-rerouting
      OAM MEP entities are not desired
      OAM MIP entities are not desired
        Downstream information:
          Next hop: 172.1.1.1
          Signaling interface: Tengigabitethernet0/0/3
          Neighbor: 172.1.1.1
          Label: 19, type: mpls-label
 
                 Incoming ERO                 Outgoing ERO
                 ---------------------------- ----------------------------
        hop0     172.1.1.2/32                 172.1.1.1/32                 
        hop1     172.1.1.1/32                 172.1.2.1/32                 
        hop2     172.1.2.1/32                 172.1.2.2/32                 
        hop3     172.1.2.2/32                                              
 
                 Incoming RRO      Outgoing RRO
                 ----------------- -----------------
        hop0     172.1.1.1         172.1.1.1         
        hop1     Label 19          Label 19          
        hop2     172.1.2.2         172.1.2.2         
        hop3     Label 3           Label 3           
  
  Tunnel: none, id: 2
    LSP name: none, signaled-name: R2-to-R1@backup, id: 5, Source: 2.2.2.2, Destination: 1.1.1.1
      State: up, Protection role: protecting
      Direction: egress, Node protect: disabled, Bandwidth protection requirement: disabled
      Carrying the normal traffic after protection switching: no
      Protected by a fast reroute: none (protecting)
      Downstream repaired: yes
      Path recording is desired
      SE Style is desired
      LSP rerouting is end-to-end-rerouting
      OAM MEP entities are not desired
      OAM MIP entities are not desired
        Upstream information:
            Signaling interface: Tengigabitethernet0/0/3
          Neighbor: 172.1.1.1
          Label: 3, type: mpls-label
 
                 Incoming ERO                 Outgoing ERO
                 ---------------------------- ----------------------------
        hop0     172.1.1.2/32                                              
 
                 Incoming RRO      Outgoing RRO
                 ----------------- -----------------
        hop0                       172.1.1.2         
        hop1                       Label 3    

...