O'Reilly logo

Packet Tracer Network Simulator by Jesin A

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring BGP in Packet Tracer

First, let's look at the commands used in BGP:

router bgp <asn>

For example:

R1(config)#router bgp 120

This command enables BGP on a router and moves to the router configuration mode. The ASN can be any value between 1 and 65535. Once enabled, the BGP process must choose a router ID. By default, BGP uses the following methods priority-wise, to pick a router ID.

  • Configured: This is the router ID configured by using the bgp router-id router subcommand
  • Highest loopback: This is the highest numeric IP address configured on any up loopback interface at the time the BGP process is initialized
  • Highest other interfaces: This is the highest numeric IP address configured on any up non-loopback interface at the time the BGP ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required