PowerBGP

0.8.0

Lab-use-only tool to stand up BGP and BFD test peers from PowerShell against routers such as VMware Cloud Foundation (NSX) edge clusters, Windows Server BGP, MikroTik, Cisco or any RFC-compliant BGP engine. Advertise and withdraw routes, inject faults, and build or parse BGP and BFD packets with a generic packet builder.

Minimum PowerShell version

7.4

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PowerBGP -RequiredVersion 0.8.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PowerBGP -Version 0.8.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) erikgraa. All rights reserved.

Package Details

Author(s)

  • erikgraa

Tags

BGP BFD Networking Packet NSX Testing Router Linux Windows

Functions

New-PacketField New-Packet Format-Packet New-BgpOpen New-BgpKeepalive New-BgpUpdate New-BgpNotification ConvertFrom-BgpMessage Start-BgpSession Get-BgpSession Stop-BgpSession Resume-BgpSession Remove-BgpSession Set-BgpSession Update-BgpSession New-BgpPrefixRange New-BgpFilterRule Export-BgpConfig Import-BgpConfig Send-BgpMessage Send-BgpUpdate Get-BgpEvent Get-BgpRoute New-BfdControl ConvertFrom-BfdControl Start-BfdSession Get-BfdSession Stop-BfdSession Resume-BfdSession Update-BfdSession Remove-BfdSession Set-BfdSession

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

0.8.0: BFD authentication (Simple Password, Keyed SHA1), Gallery publish workflow. 0.7.1: iBGP (no AS prepend, default LOCAL_PREF 100). 0.7.0: Graceful Restart (RFC 4724) with End-of-RIB and stale routes. 0.6.0: Sessions reconnect by default (-AutoReconnect:$false to disable). 0.5.2: BFD -MultiHop and -LocalAddress, Final reply to Poll. 0.5.1: Fixes the Gallery package layout (Public and Private folders were flattened in 0.5.0, so no commands were exported). 0.5.0: BGP and BFD peers, route advertisement, bulk prefixes, peer and BFD editing, inbound route filters, IPv6 (MP-BGP) unicast, -LocalAddress, TCP-MD5 (Linux), config export/import, fault injection.

FileList

Version History

Version Downloads Last updated
0.8.2 8 11/1/2026
0.8.1 9 11/1/2026
0.8.0 (current version) 7 10/31/2026
0.7.0 7 10/31/2026
0.6.0 7 10/31/2026
0.5.2 9 10/31/2026
0.5.1 8 10/31/2026
Show more