Life is a Roller Coaster

October 31, 2007

M7i

Filed under: Technical section — adisubrata @ 8:33 PM

I have M7i router for simulation.

What M7i is ?

M7i is the smallest router in the M-series family of Juniper.

M7i has 7G capacity and usually used for medium enterprises networks.
But many customers used it for bigger application such as internet gateway routers.
M7i memory can be upgrade until 2G.
But here, it only have 256Mb…. Uh… very small.

enugadi@M7i# run show version
Hostname: M7i
Model: m7i
JUNOS Base OS boot [7.6R3.6]
JUNOS Base OS Software Suite [7.6R3.6]
JUNOS Kernel Software Suite [7.6R3.6]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [7.6R3.6]
JUNOS Routing Software Suite [7.6R3.6]
JUNOS Online Documentation [7.6R3.6]
JUNOS Crypto Software Suite [7.6R3.6]
[edit]
enugadi@M7i# run show chassis routing-engine
Routing Engine status:
Temperature 21 degrees C / 69 degrees F
CPU temperature 19 degrees C / 66 degrees F
DRAM 256 MB
Memory utilization 87 percent
CPU utilization:
User 0 percent
Background 0 percent
Kernel 2 percent
Interrupt 0 percent
Idle 97 percent
Model RE-5.0
Serial ID xxxxxxx
Start time 2007-10-31 03:10:55 UTC
Uptime 5 hours, 2 minutes, 29 seconds
Load averages: 1 minute 5 minute 15 minute
0.01 0.02 0.00
Here, it only have 256Mb…. Uh… very small. Usually it reach until 95-98%. In the first boot, it has something about 80% CPU processing.

enugadi@M7i# run show route summary
Autonomous system number: xxxx
Router ID: x.x.x.x
inet.0: 239007 destinations, 239007 routes (239007 active, 0 holddown, 0 hidden)
Direct: 3 routes, 3 active
Local: 3 routes, 3 active
BGP: 239000 routes, 239000 active
Aggregate: 1 routes, 1 active
__juniper_private1__.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
Direct: 1 routes, 1 active
Local: 1 routes, 1 active
__juniper_private1__.inet6.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
Direct: 3 routes, 3 active
Local: 2 routes, 2 active
239000 is active routes installed in my M7i.

Full internet prefix )

Even M7i is the smallest one, it can handle full internet prefix with high stability.

M7i have builtin ethernet 2 port and tunnel service PIC.
Tunnel service PIC will generate interface for tunneling.
Each tunnel PIC can simultaneously support a number of different
tunnel types facilitating a wide range of applications:
IP-IP Encapsulation: IP-IP enables the transport of IPv4 and IPv6
over disparate IP infrastructures that may be owned by a third
party or have disjointed capabilities or policies.
Generic Routing Encapsulation: GRE is an alternative to IP-IP that
supports IPSec and non-IP protocols such as MPLS in addition
to IPv4 and IPv6 over any IP infrastructure. Juniper Networks
implementation of GRE complies with RFC 1701 and RFC 1702.
PIM Sparse Mode Encapsulation: Supports PIM-SM encapsulation
and de-encapsulation on source designated routers (DR) and
rendezvous points (RPs).
Logical Tunnels: Logical Tunnels create a virtual interface within
the router that supports the interconnection of VPNs and
communication between logical routers.
Virtual Tunnels: Virtual Tunnels support Virtual Private LAN
Service (VPLS)
Multicast Tunnels: Multicast Tunnels are used to create Multicast
Distribution Trees (MDT), which transport VPN multicast packets
across a RFC 2547bis Layer 3 VPN network.

October 5, 2007

Traffing Engineering MPLS ::: BGP, BGP-IGP, BGP-IGP-Both-ribs

Filed under: Technical section — adisubrata @ 2:30 AM

MPLS-TE are not only applicable for VPNv4 prefix. Juniper has supported some features which are utilize LSP tunnel into Global routing domain instead of VRF.

This can be achieved by configuring LSP to include in the Global routing domain route processing. There are two approaches, using TE BGP IGP and TE shortcuts.

Here is the configuration of TE shortcut:

enugadi@aragorn# set protocols ospf traffic-engineering ?
Possible completions:
<[Enter]> Execute this command
— truncate—–
> shortcuts Use label-switched paths as next hops, if possible

Another approaches is under TE BGP IGP solution and I will give you simple explanation about that.

There are at least 3 application of MPLS-TE in Juniper router.

Number 1. TE BGP

Number 2. TE BGP-IGP

Number 3. TE BGP-IGP-BOTH-RIBS

enugadi@aragorn# set protocols mpls traffic-engineering ?
Possible completions:
bgp BGP destinations only
bgp-igp BGP and IGP destinations
bgp-igp-both-ribs BGP and IGP destinations with routes in both routing tables
mpls-forwarding Use MPLS routes for forwarding, not routing

Number one is Traffic engineering BGP which is turned by default. It means, BGP able to reach the destination using LSP tunnel in it available. In the MPLS architecture, only PE router has BGP session one another. VRF traffic between one PE router to another will use LSP as a next-hop. It will automatically exist without manual configuration.

Let’s move to the number 2. bgp-igp

The idea of TE BGP-IGP is moving all inet.3 tables to inet.0.

Table inet.3 will remain empty. Since table inet.0 have inet.3, BGP ipv4 native able to include inet.3 into their next-hop address. Yes, it’s LSP.

It’s usefully if you have only IPv4 protocols. Why only IPv4 ?

The answer is, since all routes in inet.3 moving to inet.0 this router will not capable to handle vpnv4. so, it applied only to IPv4.

Let’s move to number 3. bgp-igp-both-ribs

The idea of TE BGP-IGP-Both-ribs is moving all inet.3 table to inet.0. BUT, it will let table inet.3 still having RSVP/LDP prefix. With this method, VPNv4 service still supported.

Which one better? The answer is depends on your requirement. If you have only VPNv4, you don’t need to have neither BGP-IGP or Both-RIB. Just simply using BGP (number 1).

Personally, I used number 2 or 3 to handle traffic IBGP IPv4 native in Gateway, which is having full internet prefix.

Blog at WordPress.com.