Posts

Showing posts from March, 2017

Where all my memory went on my Linux box ?

1. Check the Used memory with free command: [admin@BIZ-UPGRADE-NN1 ~]# free -g              total       used       free     shared    buffers     cached Mem:            44         17         26          0          0          8 -/+ buffers/cache:          8         35 Swap:           20          0         19 2.  Check the Top 20 Processes consuming memory:  ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -20  => Sort by Resident  memory & ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 3 -nr | head -20  => Sort by Virtual memory

MP-BGP peering Sample network topology and configurations

Image
Let's consider a simple Toplogy diagram as shown below: Configuration of R1: =============== hostname R1 ! ip cef ! ! interface Loopback0  ip address 10.10.10.10 255.255.255.0 ! interface Serial1/0  ip address 20.16.10.1 255.255.255.0  mpls ip  clock rate 2000000 ! router bgp 5500  no synchronization  bgp router-id 10.10.10.10  bgp log-neighbor-changes  redistribute connected  neighbor 20.16.10.2 remote-as 6500  neighbor 20.16.10.2 soft-reconfiguration inbound  no auto-summary  !  address-family vpnv4   neighbor 20.16.10.2 activate   neighbor 20.16.10.2 send-community both !--- Sends the community attribute to a BGP neighbor.  exit-address-family ! ! end Configuration of R2: =============== ! hostname R2 ! ip cef ! ip vrf WAN  rd 2020:1  route-target export 2020:1  route-target import 2020:1 ! interface Loopback0  ip vrf forwarding WAN  ip address 20.20.20.20 255.255.255.255 ! interface Serial1/0  ip vrf forwarding W