Jump to content

Recommended Posts

Posted

Конфиг:

# show logical-systems R4 protocols mpls                                   
static-label-switched-path my-lsp {
   transit 1000515 {
       next-hop 172.40.0.2;
       pop;
   }
}
static-label-switched-path my-lsp2 {
   transit 1000030 {
       next-hop 172.30.0.1;
       swap 1000130;
   }
}
interface lt-1/2/0.42;
interface lt-1/2/0.45;

 

Таблица mpls.0:

# run show route logical-system R4 table mpls.0                            

mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

0                  *[MPLS/0] 00:26:10, metric 1
                     Receive
1                  *[MPLS/0] 00:26:10, metric 1
                     Receive
2                  *[MPLS/0] 00:26:10, metric 1
                     Receive
1000030            *[MPLS/6] 00:09:23, metric 1
                   > to 172.30.0.1 via lt-1/2/0.42, Swap 1000130
1000515            *[MPLS/6] 00:22:33, metric 1
                   > to 172.40.0.2 via lt-1/2/0.45, Pop      
1000515(S=0)       *[MPLS/6] 00:22:33, metric 1
                   > to 172.40.0.2 via lt-1/2/0.45, Pop      

 

В чём смысл записи 1000515(S=0) и чем она отличается от 1000515?

 

# run show route logical-system R4 table mpls.0 label 1000515 extensive    

mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
1000515 (1 entry, 1 announced)
TSI:
KRT in-kernel 1000515/52 -> {Pop      }
       *MPLS   Preference: 6
               Next hop type: Router, Next hop index: 1841
               Address: 0x9240250
               Next-hop reference count: 2
               Next hop: 172.40.0.2 via lt-1/2/0.45 weight 0x1, selected
               Label operation: Pop      
               State: <Active Int>
               Age: 23:31 	Metric: 1 
               Task: MPLS
               Announcement bits (1): 1-KRT 
               AS path: I

1000515(S=0) (1 entry, 1 announced)
TSI:
KRT in-kernel 1000515/56 -> {Pop      }
       *MPLS   Preference: 6
               Next hop type: Router, Next hop index: 1842
               Address: 0x9240298
               Next-hop reference count: 2
               Next hop: 172.40.0.2 via lt-1/2/0.45 weight 0x1, selected
               Label operation: Pop      
               State: <Active Int>
               Age: 23:31 	Metric: 1 
               Task: MPLS
               Announcement bits (1): 1-KRT 
               AS path: I

 

Заранее всем спасибо.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.