Layer 3 VPNs


Table 13.25. Layer 3 VPNs Monitoring Commands
Information to Monitor Command Example
Entries in the BGP neighbor database show bgp neighbor
 user@host>  show bgp neighbor  Peer: 10.39.1.5+2135  AS 2     Local: 10.39.1.6+179   AS 1         Type: External    State: Established    Flags: <>         Last State: OpenConfirm   Last Event: RecvKeepAlive         Last Error: None         Export: [ ospf-to-bgp stat-to-bgp ]         Options: <Preference LocalAddress HoldTime AddressFamily PeerAS       Rib-group Refresh>         Address families configured: inet-unicast         Local Address: 10.39.1.6 Holdtime: 90 Preference: 170         Number of flaps: 0         Peer ID: 10.255.245.245   Local ID: 10.255.71.14 Active Holdtime: 90         Keepalive Interval: 30         NLRI advertised by peer: inet-unicast         NLRI for this session: inet-unicast         Peer supports Refresh capability (2)         Table VPN-AB.inet.0 Bit: 30000           Send state: in sync           Active prefixes: 1           Received prefixes: 1           Suppressed due to damping: 0         Last traffic (seconds): Received 26   Sent 25   Checked 25         Input messages:  Total 22     Updates 8       Refreshes 0 Octets 714         Output messages: Total 23     Updates 8       Refreshes 0 Octets 737         Output Queue[2]: 0 
BGP summary information show bgp summary
 user@host>  show bgp summary  Groups: 2 Peers: 2 Down peers: 0       Table          Tot Paths  Act Paths Suppressed    History Damp State       Pending       bgp.l3vpn.0            2          2      0        0 0          0       Peer                   AS      InPkt   OutPkt    OutQ   Flaps Last Up/Dwn       State#Active/Received/Damped...       10.39.1.5              2         21     22       0       0 6:26       Establ         VPN-AB.inet.0: 1/1/0       10.255.71.15           1         19     21       0       0 6:17       Establ         bgp.l3vpn.0: 2/2/0         VPN-A.inet.0: 1/1/0         VPN-AB.inet.0: 2/2/0         VPN-B.inet.0: 1/1/0d 
Entries in the kernel's forwarding table show route forwarding-table
 user@host>  show route forwarding-table vpn VPN-A  Routing table:: VPN-A.inet       Internet:       Destination        Type RtRef Nexthop           Type Index NhRef Netif       default           perm     0                   dscd     4 4       10.39.10.20/30    intf     0 ff.3.0.21         ucst    40 1       so-0/0/0.0       10.39.10.21/32    intf     0 10.39.10.21       locl    36 1       10.255.14.172/32  user     0                   ucst    69 2       so-0/0/0.0       10.255.14.175/32  user     0                   indr    81 3                                                         Push 100004, Push       100004(top) so-1/0/0.0      224.0.0.0/4       perm     2                   mdsc     5 3      224.0.0.1/32      perm     0 224.0.0.1         mcst     1 8      224.0.0.5/32      user     1 224.0.0.5         mcst     1 8      255.255.255.255/32 perm    0                   bcst     2 3 
Routes transmitted by a particular routing protocol show route advertising-protocol
 user@host>  show route advertising-protocol bgp 10.255.14.171  VPN-A.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)       Prefix             Nexthop                MED    Lclpref AS path       10.255.14.172/32   Self                     1        100 I       VPN-B.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)       Prefix             Nexthop                MED    Lclpref AS path       10.255.14.181/32   Self                     2        100 I 
Route entries in the kernel's forwarding table show route forwarding-table
 user@host>  show route forwarding-table vpn VPN-A  Routing table:: VPN-A.inet       Internet:       Destination        Type RtRef Nexthop           Type Index NhRef Netif       default           perm     0                   dscd     4 4       10.39.10.20/30    intf     0 ff.3.0.21         ucst    40 1       so-0/0/0.0       10.39.10.21/32    intf     0 10.39.10.21       locl    36 1       10.255.14.172/32  user     0                   ucst    69 2       so-0/0/0.0       10.255.14.175/32  user     0                   indr    81 3                                                         Push 100004, Push       100004(top) so-1/0/0.0      224.0.0.0/4       perm     2                   mdsc     5 3      224.0.0.1/32      perm     0 224.0.0.1         mcst     1 8      224.0.0.5/32      user     1 224.0.0.5         mcst     1 8      255.255.255.255/32 perm    0                   bcst     2 3 
Route instance information show route instance
 user@host>  show route instance detail  yellow-vpn:   Type: vrf               State: Active   Interfaces:     fe-1/0/3.0   Route-distinguisher: 69:40   Vrf-import: [ yellow-vpn-import ]   Vrf-export: [ yellow-vpn-export ]   Tables:     yellow-vp.inet.0       : 5 routes (5 active, 0 holddown, 0 hidden) pink-vpn:   Type: vrf               State: Active   Interfaces:     fe-1/0/1.0   Route-distinguisher: 69:30   Vrf-import: [ pink-vpn-import ]   Vrf-export: [ pink-vpn-export ]   Tables:     pink-vpn.inet.0        : 4 routes (4 active, 0 holddown, 0 hidden) 
Routes learned by the specified protocol show route protocol
 user@host>  show route protocol ospf  inet.0: 40 destinations, 40 routes (39 active, 0 holddown, 1 hidden) + = Active Route, - = Last Active, * = Both 10.39.1.4/30       *[OSPF/10] 00:05:18, metric 4                     > via t3-3/2/0.0 10.39.1.8/30        [OSPF/10] 00:05:18, metric 2                     > via t3-3/2/0.0 10.255.14.171/32   *[OSPF/10] 00:05:18, metric 4                     > via t3-3/2/0.0 10.255.14.179/32   *[OSPF/10] 00:05:18, metric 2                     > via t3-3/2/0.0 224.0.0.5/32       *[OSPF/10] 20:25:55, metric 1 VPN-AB.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.39.1.16/30       [OSPF/10] 00:05:43, metric 1                     > via so-0/2/2.0 10.255.14.173/32   *[OSPF/10] 00:05:43, metric 1                     > via so-0/2/2.0 224.0.0.5/32       *[OSPF/10] 20:26:20, metric 1 
Routes received by a particular routing protocol show route receive-protocol
 user@host>  show route receive-protocol bgp 10.255.14.171  inet.0: 33 destinations, 33 routes (32 active, 0 holddown, 1 hidden)       Prefix             Nexthop                MED    Lclpref AS path       inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)       Prefix             Nexthop                MED    Lclpref AS path       VPN-A.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)       Prefix             Nexthop                MED    Lclpref AS path       10.255.14.175/32   10.255.14.171                     100 2 I       10.255.14.179/32   10.255.14.171            2        100 I       VPN-B.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)       Prefix             Nexthop                MED    Lclpref AS path       10.255.14.175/32   10.255.14.171                     100 2 I       10.255.14.177/32   10.255.14.171                     100 I       iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)       Prefix             Nexthop                MED    Lclpref AS path       mpls.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)       Prefix             Nexthop                MED    Lclpref AS path       bgp.l3vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)       Prefix             Nexthop                MED    Lclpref AS path       10.255.14.171:300:10.255.14.177/32                          10.255.14.171                     100 I       10.255.14.171:100:10.255.14.179/32                          10.255.14.171            2        100 I       10.255.14.171:200:10.255.14.175/32                          10.255.14.171                     100 2 I 
Routes in a particular routing table show route table
 user@host>  show route table bgp.l3vpn.0  bgp.l3vpn.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)       + = Active Route, - = Last Active, * = Both       10.255.71.15:100:10.255.71.17/32                          *[BGP/170] 00:03:59, MED 1, localpref 100, from       10.255.71.15                             AS path: I                           > via so-2/1/0.0, Push 100020, Push 100011(top)       10.255.71.15:200:10.255.71.18/32                          *[BGP/170] 00:03:59, MED 1, localpref 100, from       10.255.71.15                             AS path: I                           > via so-2/1/0.0, Push 100021, Push 100011(top) 


Juniper Networks Field Guide and Reference
Juniper Networks Field Guide and Reference
ISBN: 0321122445
EAN: 2147483647
Year: 2002
Pages: 185

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net