发新话题
打印

[技术分享] JUNOS software Routing Tables

JUNOS software Routing Tables

junos中有 几个routing tables 存放着不同的路由表。
show route 的时候可以现实所有的路由表。

一共有:
=========================================================================
inet.0

存放IPV4的单播路由表的。
如:
inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

1.1.1.0/24         *[Direct/0] 04:23:43
                   > via fxp0.0
1.1.1.1/32         *[Local/0] 04:23:43
                     Local via fxp0.0
3.3.3.0/24         *[Direct/0] 04:26:30
                   > via fxp1.0
3.3.3.2/32         *[Local/0] 04:26:30
                     Local via fxp1.0
128.0.0.1/32       *[Direct/0] 00:14:08
                   > via lo0.0
带*的是活动的路由表。
只有带*的才会被加到 Packet Forwarding Engine (PFE)中。
==================================================================
inet.1


用来保存 IPv4的多播路由表的。
如:
inet.1: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

224.2.2.2,10.10.200.200/32*[PIM/105] 00:01:58
                    Multicast
==============================================================================
inet.2


也是用来存放 IPv4的单播路由表的。但是和inet.0不一样。
如:
inet.2: 49 destinations, 49 routes (49 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

10.0.8.0/24        *[Direct/0] 00:15:43
                   > via so-0/0/2.900
这个表中的单播表是  用来在Multicast 中为了避免路由循环用的。也就是
来处理Reverse Path Forwarding (RPF)的。
=========================================================================

inet.3

是 MPLS label switched path (LSP).

===========================================================================
inet.4
存放的是通过MSDP学到的信息。
========================================================================
inet6.0

存放 IPv6的 单播路由表。
如:
mpls.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

0                  *[MPLS/0] 00:06:40, metric 1
                    Receive
1                  *[MPLS/0] 00:06:40, metric 1
                    Receive
100000             *[RSVP/7] 00:06:18, metric 1
                   > via so-0/0/1.0, label-switched-path to-the-egress

=========================================================================
mpls.0

并不是真正的路由表。
其实是一些 switch 表。这个是给MPLS做转发用的表。
==========================================================================
bgp.l3vpn.0

存放 L3 VPN的表。

如:
bgp.l3vpn.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.16.1:1:172.20.0.0/24
                  *[BGP/170] 14:28:30, localpref 100, from 192.168.5.1
                     AS path: 65000 I
                   > to 10.0.0.2 via fe-0/0/0.0, label-switched-path LSP

========================================================================
bgp.l2vpn.0

是L2 VPN表。
如:bgp.l2vpn.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.24.1:1:4:1/96
                  *[BGP/170] 01:08:58, localpref 100, from 192.168.24.1
                     AS path: I
                   > to 10.0.16.2 via fe-0/0/1.0, label-switched-path LSP

===================================================
__juniper_private1__.inet6.0

TOP

:handshake :handshake :Q

TOP

顶一下````````````

TOP

好~~~~~~~~~~~~~~

TOP

好~~~~~~~~~~~~~~

TOP

发新话题