?? readme.iproute2
字號:
MPLS enable iproute2--------------------The 'ip' utility that is a part of iproute2 is used to add/delete/modifythe IPv4/IPv6 routing table and interface table. With this patch itcan add LSPs as the nexthop for an IPv4 route. This patch also addsthe 'mpls' utility which is the command line utility used toadd/delete/modify NLFE/ILM/XC/Tunnels.Run it------After compiling and installing the MPLS enabled version of iproute, you willhave a new command 'mpls' and a new nexthop option for the 'ip route' command.Here is a simple example of how to use 'mpls' and the new nexthopoption abailble for 'ip route': # mpls nhlfe add key 0 instructions push gen 16 nexthop eth0 ipv4 1.1.1.1 Key: 0x00000002 # ip route add 10.0.0.0/8 via 1.1.1.1 mpls 0x2 # mpls nhlfe show NHLFE entry key 0x00000002 mtu 1496 propagate_ttl push gen 16 set wlan0 ipv4 1.1.1.1 (0 bytes, 0 pkts, 0 dropped) # ip route show 10.0.0.0/24 10.0.0.0/24 via 1.1.1.1 dev wlan0 mpls 0x00000002------------------------------------------------------------------------------Copyright by James R. Leu <jleu@mindspring.com> 1999-2005
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -