Tag: commands

MP-eBGP Configuration

Some information on how to configure multiprotocol extended Border Gateway Protocol (MP-EBGP). Extended BGP allows for the transport of routing information for multiple network layer protocols IPv6, VPNv4, and others. MP-BGP allows you to have a unicast routing topology different from a multicast routing topology, which helps to control the network and resources.

In this example, the R1 and R3 routers are configured to be in AS 5500 forming iBGP. The R2 router is configured to be in AS 6500. The R1 and R2 routers communicate with each other using MP-EBGP.

MP-BGP Config

More BGP next-hop-self

From the below you can see the next hop for network is which is outsite of 65000 AS, and router jazz doesn’t have a route to it.  BGP will not put into routing table because it doesn’t know how to reach next hop, you can see this below:

BGP-Next Hp Self 2

BGP-Next Hp Self 3

BGP-Next Hp Self 4

By adding the next-hop-self command on the router owen it will change the next-hop attribute for external networks that will be advertised to the router Jazz:

owen(config-router)#neighbour next-hop-self

BGP-Next Hp Self 4.5

This changes the next hop attribute from to be on the router owen

BGP-Next Hp Self 5

from Jazz you can now ping ( on Jules.

BGP-Next Hp Self 6

Job done!

FlashPlayer for Iceweasel

What is Iceweasel?

Iceweasel is a fork [from Firefox] with the following purpose :

  1. backporting of security fixes to declared Debian stable version.

  2. no inclusion of trademarked Mozilla artwork (because of #1 above)

Beyond that, they will be basically identical.

Step # 01
Launch the browser and download the Flash Player in a separate folder.
Download link = http://get.adobe.com/flashplayer/
(Note: Version to download tar.gz for other Linux)

Step # 02
Launch the terminal and open the folder path where downloaded flash file is stored then run the following command.

Code: tar xzvf install_flash_player_11_linux.i386.tar.gz


Code: tar xzvf install_flash_player_11_linux.x86_64.tar.gz

If in case your downloaded file having some another name then put that file name during extracting

Code: tar xzvf yourdownloadedfilename.tar.gz

Step # 3
Now run the following last command (Remember: Do not change the folder path stay in the same folder where you unpacked the files)

Code: cp libflashplayer.so /usr/lib/mozilla/plugins/

Unlocking a 3G SIM while in the Router

A really useful command for unlocking the SIM while in the router.

router#sh cell 0/1/0 security
Card Holder Verification (CHV1) = Enabled
SIM Status = Locked
SIM User Operation Required = Enter CHV1
Number of Retries remaining = 3

router#cellular 0/1/0 gsm sim unlock NNNN
!!!WARNING: SIM will be unlocked with pin=NNNN(4), call will be disconnected!!!
Are you sure you want to proceed?[confirm]

Those Useful Commands

A short listing of handy commands used on a regular basis:

#show ip interface brief

Shows status of the interfaces on the device, including up/down and ip information.

#show ip protocol summary

Will show you all the routing protocols running on the router

#show log

Will display the configured log settings and buffered log messages

#show interfaces status

Shows Port, Status, VLAN, Duplex, Speed and Type for all interfaces.

#show interfaces summary

Live traffic stats on the interfaces.

#show ip arp

Displays the IP to MAC Address resolution for all the IP’s on the device, and from the interfaces it was learned.

#show mac address-table

Shows the MAC  table entry and interface it is being seen on.

#show policy-map [interface]

Displays the QoS Policy information

#show interfaces link

Will display how long the interface has been disconnected

#show version

Displays information about the device. It gives you details such as; IOS version, System Uptime, Image filename, Type of Processor, Amount of RAM, Number of Ports, Flash Memory, MAC Address and Serial Number

#show clock

Displays the clock status

#show version | include uptime

Shows the uptime of the device

#show processes cpu

Displays the CPU utilisation stats

#show processes cpu history

Displays a one minute output, and so on……

#show history

Lists the commands the user has entered in the session

#show inventory

Displays all the inventory information about the device

#show line

Lines connected on the router’s physical ports, such as serial connected.

#show cdp neighbour

Shows the directly connected devices with local and remote interfaces, via Cisco’s Discovery Protocol