Truman Boyes零与一

存档

在单台 PE 上用 Junos CCC 做二层交换

作者:Truman Boyes · · 1 分钟阅读

[原文中的图片未被存档。]

类似 L2VPN,电路交叉连接是快速在单个 MPLS PE 上构建以太网交换的好办法。构建 CCC 连接非常容易。下面是一个例子:

fe-0/3/1 {
vlan-tagging;
encapsulation vlan-ccc;
unit 0 {
encapsulation vlan-ccc;
vlan-id 800;
}
}
fe-0/3/2 {
vlan-tagging;
encapsulation vlan-ccc;
unit 0 {
encapsulation vlan-ccc;
vlan-id 800;
}
}

connections {
interface-switch router1-to-router2 {
interface fe-0/3/1.0;
interface fe-0/3/2.0;
}
}

ps@presidio-r10# run show connections
CCC and TCC connections [Link Monitoring On]
Legend for status (St)              Legend for connection types
UN -- uninitialized                 if-sw:  interface switching
NP -- not present                   rmt-if: remote interface switching
WE -- wrong encapsulation           lsp-sw: LSP switching
DS -- disabled                      tx-p2mp-sw: transmit P2MP switching
Dn -- down                          rx-p2mp-sw: receive P2MP switching
-> -- only outbound conn is up
<- -- only inbound  conn is up      Legend for circuit types
Up -- operational                   intf -- interface
RmtDn -- remote CCC down            tlsp -- transmit LSP
Restart -- restarting               rlsp -- receive LSP

Connection/Circuit                Type        St      Time last up     # Up trans
router1-to-router2                if-sw       Up      Aug 12 09:29:55           1
fe-0/3/1.0                        intf  Up
fe-0/3/2.0                        intf  Up

最初发表于 truman.net。 查看存档副本。