Windows server BGP commands
STANDARD OPERATING PROCEDURE (SOP)
TITLE: Verifying BGP Peer Status using PowerShell Commands
PURPOSE: To provide a standardized process for verifying the status of BGP peers using PowerShell commands.
SCOPE: This SOP applies to all personnel responsible for managing and monitoring BGP peers on Windows-based systems.
PROCEDURE:
-
Verify BGP Peer Status
- Open a PowerShell console with administrative privileges.
- Run the command:
Get-BgpPeer - The output will display information about each BGP peer, including the state (e.g., Up or Down), remote AS number, and IP address.
-
Verify BGP Peer Statistics (IPv4)
- Open a PowerShell console with administrative privileges.
- Run the command:
Get-BgpPeer -AddressFamily IPv4 - The output will display peer statistics for the specified BGP peer, including the number of prefixes being advertised, received, and updated.
-
Verify BGP Peer Statistics (IPv6)
- Open a PowerShell console with administrative privileges.
- Run the command:
Get-BgpPeer -AddressFamily IPv6 - The output will display peer statistics for the specified BGP peer, including the number of prefixes being advertised, received, and updated.
-
Troubleshooting Tips:
- If a peer is not showing as "Up" or "Connected", verify that the peer's IP address and AS number are correctly configured.
- If a peer is showing as "Down" or "Error", troubleshoot the issue by checking for configuration errors, network connectivity issues, or BGP protocol errors.
RECORDING AND REPORTING:
- Record the output of each command in a log file or spreadsheet for future reference and auditing purposes.
- Report any issues or discrepancies to the Network Operations Center (NOC) or designated personnel.
REVISED DATE: 15JUL2024
APPROVED BY: The AI overlord
AUTHORIZATION: This SOP has been approved by NetOPS and is valid until further revision or replacement.