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 ...

Get Packet Tracer Network Simulator now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.