再一个mpls的配置

http://www.gossamer-threads.com/lists/quagga/users/4007

ILER-》LSR-》ELER

(1)

ILER(config)# ip route 10.0.0.0/16 gen 10000 nexthop eth1 11.0.1.2 

到10.0.0.0/16的下一跳是通过eth1,标签是10000

(2)

LSR(config)# mpls static 0
LSR(config-ls)# label-map gen 10000 swap gen 20000 nexthop eth2 11.0.2.3
LSR(config-ls)# exit

以上标签交换并转下一跳到eth2

LSR(config)# int eth1
LSR(config-if)# mpls labelspace 0 

交换策略绑定到eth1

(3)

ELER(config)# mpls static 0
ELER(config-ls)# label-map gen 20000 pop

ELER(config-ls)# exit 

以上负责弹出标签

ELER(config)# int eth2
ELER(config-if)# mpls labelspace 0 

策略绑定到eth2


不错的静态的MPLS


你可能感兴趣的:(再一个mpls的配置)