IOS commands available in Packet Tracer 8.2.2

enable mode

  • show ip bgp
  • show ip bgp neighbors
  • show ip bgp summary
  • clear ip bgp *

router bgp mode

  • bgp log-neighbor-changes
  • bgp redistribute-internal
  • bgp router-id A.B.C.D
  • neighbor A.B.C.D next-hop-self
  • neighbor A.B.C.D remote-as <1-65535>
  • network A.B.C.D
  • network A.B.C.D mask A.B.C.D
  • redistribute connected / eigrp <1-65535> / ospf <1-65535> / static
  • synchronization
  • timers bgp <0-65535> <0-65535>

 

Sample BGP network

Cisco Packet Tracer - BGP sample network

WAN1 router configuration  :

A simple eBGP peering with ISP1 router is configured in the WAN1 router.

interface Serial0/0/0
ip address 156.12.1.6 255.255.255.252
!
router bgp 65000
bgp log-neighbor-changes
no synchronization
neighbor 156.12.1.5 remote-as 10000

 

ISP1 router configuration :

Several loopback interfaces are configured in ISP1 router to simulate connected networks whose are advertised to WAN1 router through the BGP peering.

interface Loopback0
ip address 156.100.1.1 255.255.255.0
!
interface Loopback1
ip address 156.100.2.1 255.255.255.0
!
interface Loopback2
ip address 156.100.4.1 255.255.254.0
!
interface Serial0/0/0
ip address 156.12.1.5 255.255.255.252
clock rate 500000
!
router bgp 10000
bgp log-neighbor-changes
no synchronization
neighbor 156.12.1.6 remote-as 65000
network 156.100.4.0 mask 255.255.254.0
network 156.100.2.0 mask 255.255.255.0
network 156.100.1.0 mask 255.255.255.0

!

Cisco Packet Tracer - IP networks received from ISP1 using BGP