首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Juniper到底用什么来为L2电路(Martini)邻居找到正确的传输LSP?

Juniper到底用什么来为L2电路(Martini)邻居找到正确的传输LSP?
EN

Network Engineering用户
提问于 2021-02-05 17:45:52
回答 1查看 348关注 0票数 2

假设我有以下简单的L2电路(Martini)配置:

代码语言:javascript
复制
root@PE4> show configuration protocols l2circuit
neighbor 192.168.2.2 {
    interface ge-0/0/5.777 {
        virtual-circuit-id 777;
    }
}

root@PE4>

这样做的结果是l2circuit.0表中的以下条目:

代码语言:javascript
复制
root@PE4> show route table l2circuit.0

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

192.168.2.2:CtrlWord:4:777:Local/96
                   *[L2CKT/7] 00:09:46, metric2 2
                    > to 172.22.213.2 via ge-0/0/3.0, label-switched-path PE4->PE2

root@PE4>

does使用什么表/数据库将192.168.2.2:CtrlWord:4:777:Local/96 FEC与RSVP信号的PE4->PE2传输LSP相关联?

EN

回答 1

Network Engineering用户

回答已采纳

发布于 2021-02-05 18:41:00

neighbor语句意味着远程PE (应该可以通过MPLS访问),简而言之,就是inet.3

我不需要配置,但是您可以看到Remote PEshow l2circuit connections的输出中作为192.168.2.2在您的例子中。

代码语言:javascript
复制
jhead@PE1> show l2circuit connections
Layer-2 Circuit Connections:

<...snip...>

Legend for interface status
Up -- operational
Dn -- down
Neighbor: 1.1.1.1
    Interface                 Type  St     Time last up          # Up trans
    ge-3/0/2.0(vc 1)          rmt   Up     Feb  5 18:30:57 2021           1
      Remote PE: 1.1.1.1, Negotiated control-word: Yes (Null)
      Incoming label: 300432, Outgoing label: 299824
      Negotiated PW status TLV: No
      Local interface: ge-3/0/2.0, Status: Up, Encapsulation: ETHERNET
        Description: to-PE2
      Flow Label Transmit: No, Flow Label Receive: No

最后,inet.3向远程PE的RSVP路由。

代码语言:javascript
复制
jhead@PE1> show route table inet.3 1.1.1.1

inet.3: 1253 destinations, 1560 routes (192 active, 0 holddown, 1239 hidden)
+ = Active Route, - = Last Active, * = Both

1.1.1.1/32      *[RSVP/7/1] 1w1d 17:11:35, metric 5
                 > to 192.168.1.2 via ae1.0, label-switched-path PE1-to-PE2
                 [LDP/9] 14:28:32, metric 1
                 > to 192.168.1.2 via ae1.0, label-switched-path PE1-to-PE2
票数 4
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/72430

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档