⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.quagga

📁 基于linux内核2.6.9的mpls补丁
💻 QUAGGA
字号:
MPLS enable quagga------------------This patch adds a MPLS framework to the quagga routing suite.  The bulk of thechanges are to the 'zebra' daemon, which now allows for statically configuringLSPs and binding routes to them.Run it------After compiling and installing the MPLS modified version of quagga, you willhave a new CLI commands for the 'zebra' daemon.Here is a simple example of how to use these new commands to configure astatic LSP and bind a route to it:    Ingress LER    -----------     iler# conf t    iler(config)# ip route 10.0.0.0/24 gen 16 nexthop eth1 192.168.2.1    iler(config)# end    iler# show mpls forwarding    Insegments:    Total 0    Outsegments:      Interface          Label Next Hop        Owner      eth1                  16 192.168.2.1     STATIC    Total 1    Cross Connects:    Total 0    iler# show ip route 10.0.0.0/24    Routing entry for 10.0.0.0/24      Known via "static", distance 1, metric 0, best      * 192.168.2.1, via eth1 (label 16)    iler#    LSR    ---    lsr# conf t    lsr(config)# mpls static 0    lsr(config-ls)# label-map gen 16 swap gen 17 nexthop eth1 192.168.3.1    lsr(config-ls)# exit    lsr(config)# int eth0    lsr(config-if)# mpls labelspace 0    lsr(config-if)# end    lsr# show mpls forwarding    Insegments:      Lbl Spc  Label Owner        0         16 STATIC    Total 1    Outsegments:      Interface          Label Next Hop        Owner      eth1                  17 192.168.3.1     STATIC    Total 1    Cross Connects:      Lbl Spc  In Label Out Label Interface        Next Hop        Owner        0            16        17 eth1             192.168.3.1     STATIC    Total 1    lsr# show interface eth0    Interface eth0 is up, line protocol detection is disabled      index 8 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>      HWaddr: 00:05:5d:a6:e4:33      MPLS labelspace 0      inet 192.168.2.1/24 broadcast 192.168.2.255      inet6 fe80::205:5dff:fea6:e433/64        input packets 2737, bytes 1650440, dropped 0, multicast packets 0        input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0        output packets 2862, bytes 452923, dropped 0        output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0        collisions 0    lsr#    Egress LER    ----------    eler# conf t    eler(config)# int eth0    eler(config-if)# mpls labelspace 0    eler(config-if)# exit    eler(config)# mpls static 0    eler(config-ls)# label-map gen 17 pop    eler(config-ls)# end    eler# show mpls forwarding    Insegments:      Lbl Spc  Label Owner        0         17 STATIC    Total 1    Outsegments:    Total 0    Cross Connects:    Total 0    eler# show int eth0    Interface eth0 is up, line protocol detection is disabled      index 8 metric 1 mtu 1500 <UP,BROADCAST,MULTICAST>      HWaddr: 00:05:5d:a6:e4:33      MPLS labelspace 0      inet 192.168.3.1/24 broadcast 192.168.3.255      inet6 fe80::205:5dff:fea6:e433/64        input packets 2759, bytes 1657918, dropped 0, multicast packets 0        input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0        output packets 2881, bytes 454579, dropped 0        output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0        collisions 0    eler#------------------------------------------------------------------------------Copyright by James R. Leu <jleu@mindspring.com> 1999-2005

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -