Juniper PE 究竟使用什么来为 L2 电路(Martini)邻居找到正确的传输 LSP?

网络工程 杜松 l2vpn
2021-08-04 04:28:05

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

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

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>

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

1个回答

neighbor语句暗示了远程 PE(应该可以通过 MPLS 访问),因此简而言之,inet.3.

我不考虑配置,但在您的情况下,您会Remote PEshow l2circuit connections192.168.2.2的输出中看到

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.3RSVP 路由到远程 PE。

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