File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,31 @@ function Get-AbrFgtRoute {
199199 # There is always BGP config, only display if router-id is configured
200200 if ($BGP .' router-id' -and $InfoLevel.Route -ge 1 ) {
201201 Section - Style Heading3 ' BGP' {
202+
203+ Section - Style Heading3 ' Summary' {
204+ Paragraph " The following section provides a summary of BGP settings."
205+ BlankLine
206+ $OutObj = [pscustomobject ]@ {
207+ " BGP Neighbor" = @ ($BGP.neighbor ).count
208+ " BGP Neighbor Group" = @ ($BGP .' neighbor-group' ).count
209+ " BGP Neighbor Range" = @ ($BGP .' neighbor-range' ).count
210+ " BGP Network" = @ ($BGP.network ).count
211+ " BGP Neighbors Status" = @ ($BGPNeighbors ).count
212+ }
213+
214+ $TableParams = @ {
215+ Name = " Summary"
216+ List = $true
217+ ColumnWidths = 50 , 50
218+ }
219+
220+ if ($Report.ShowTableCaptions ) {
221+ $TableParams [' Caption' ] = " - $ ( $TableParams.Name ) "
222+ }
223+
224+ $OutObj | Table @TableParams
225+ }
226+
202227 Section - Style Heading3 ' Configuration' {
203228 $OutObj = @ ()
204229
You can’t perform that action at this time.
0 commit comments