PowerBGP
0.8.2
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
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
Dependencies
This module has no dependencies.
Release Notes
0.8.2: -Password on Start-BgpSession and Update-BgpSession accepts a SecureString. 0.8.1: Container image on GHCR (no module changes). 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
- PowerBGP.nuspec
- CHANGELOG.md
- icon.png
- LICENSE
- PowerBGP.psd1
- PowerBGP.psm1
- README.md
- Public\ConvertFrom-BgpMessage.ps1
- Public\Export-BgpConfig.ps1
- Public\Format-Packet.ps1
- Public\Get-BgpEvent.ps1
- Public\Get-BgpRoute.ps1
- Public\Get-BgpSession.ps1
- Public\New-BfdControl.ps1
- Public\New-BgpFilterRule.ps1
- Public\New-BgpKeepalive.ps1
- Public\New-BgpNotification.ps1
- Public\New-BgpOpen.ps1
- Public\New-BgpPrefixRange.ps1
- Public\New-BgpUpdate.ps1
- Public\New-Packet.ps1
- Public\New-PacketField.ps1
- Public\Remove-BgpSession.ps1
- Public\Resume-BgpSession.ps1
- Public\Send-BgpMessage.ps1
- Public\Send-BgpUpdate.ps1
- Public\Set-BgpSession.ps1
- Public\Start-BfdSession.ps1
- Public\Start-BgpSession.ps1
- Public\Stop-BgpSession.ps1
- Public\Update-BgpSession.ps1
- Private\BfdAuth.ps1
- Private\BgpHelpers.ps1
- Private\ConvertFrom-BgpPassword.ps1
- Private\ConvertTo-FieldBytes.ps1
- Private\Invoke-BfdSessionLoop.ps1
- Private\Invoke-BgpPeerLoop.ps1
- Private\New-BgpMessage.ps1
- Private\Runspace.ps1
- Private\Set-BgpTcpMd5.ps1
- Private\Test-BgpInboundFilter.ps1
- examples\terraform\README.md
- examples\terraform\mikrotik\main.tf
- examples\terraform\mikrotik\terraform.tfvars.example
- examples\terraform\mikrotik\variables.tf
- examples\terraform\cisco-iosxe\main.tf
- examples\terraform\cisco-iosxe\terraform.tfvars.example
- examples\terraform\cisco-iosxe\variables.tf
- examples\terraform\nsx\main.tf
- examples\terraform\nsx\terraform.tfvars.example
- examples\terraform\nsx\variables.tf