From dee47c8a4737b0139928de17941598db97262bcb Mon Sep 17 00:00:00 2001 From: srividya0208 <68350089+srividya0208@users.noreply.github.com> Date: Mon, 15 Sep 2025 16:11:08 +0530 Subject: Correction of ipv4/ipv6 bgp op-commands syntax (#1677) * Updated the installation page with latest information * op-mode:T3477: Correction of operational command syntax as per available CLI commands --- docs/configuration/protocols/bgp.rst | 41 +++++++++++++++++------------------- 1 file changed, 19 insertions(+), 22 deletions(-) (limited to 'docs') diff --git a/docs/configuration/protocols/bgp.rst b/docs/configuration/protocols/bgp.rst index ab07308d..6d93bcc4 100644 --- a/docs/configuration/protocols/bgp.rst +++ b/docs/configuration/protocols/bgp.rst @@ -980,7 +980,7 @@ Operational Mode Commands Show ==== -.. opcmd:: show bgp +.. opcmd:: show bgp This command displays all entries in BGP routing table. @@ -999,7 +999,7 @@ Show Displayed 2 routes and 2 total paths -.. opcmd:: show bgp +.. opcmd:: show bgp This command displays information about the particular entry in the BGP routing table. @@ -1015,59 +1015,59 @@ Show Origin IGP, metric 0, valid, external, best (First path received) Last update: Wed Jan 6 12:18:53 2021 -.. opcmd:: show ip bgp cidr-only +.. opcmd:: show bgp cidr-only This command displays routes with classless interdomain routing (CIDR). -.. opcmd:: show bgp community +.. opcmd:: show bgp community This command displays routes that belong to specified BGP communities. Valid value is a community number in the range from 1 to 4294967200, or AA:NN (autonomous system-community number/2-byte number), no-export, local-as, or no-advertise. -.. opcmd:: show bgp community-list +.. opcmd:: show bgp community-list This command displays routes that are permitted by the BGP community list. -.. opcmd:: show ip bgp dampened-paths +.. opcmd:: show bgp dampening dampened-paths This command displays BGP dampened routes. -.. opcmd:: show ip bgp flap-statistics +.. opcmd:: show bgp dampening flap-statistics This command displays information about flapping BGP routes. -.. opcmd:: show ip bgp filter-list +.. opcmd:: show bgp filter-list This command displays BGP routes allowed by the specified AS Path access list. -.. opcmd:: show bgp neighbors
advertised-routes +.. opcmd:: show bgp neighbors
advertised-routes This command displays BGP routes advertised to a neighbor. -.. opcmd:: show bgp neighbors
received-routes +.. opcmd:: show bgp neighbors
received-routes This command displays BGP routes originating from the specified BGP neighbor before inbound policy is applied. To use this command inbound soft reconfiguration must be enabled. -.. opcmd:: show bgp neighbors
routes +.. opcmd:: show bgp neighbors
routes This command displays BGP received-routes that are accepted after filtering. -.. opcmd:: show bgp neighbors
dampened-routes +.. opcmd:: show bgp neighbors
dampened-routes This command displays dampened routes received from BGP neighbor. -.. opcmd:: show bgp regexp +.. opcmd:: show bgp regexp This command displays information about BGP routes whose AS path matches the specified regular expression. -.. opcmd:: show bgp summary +.. opcmd:: show bgp summary This command displays the status of all BGP connections. @@ -1090,7 +1090,7 @@ Show Reset ===== -.. opcmd:: reset bgp
[soft [in|out]] +.. opcmd:: reset bgp
[soft [in|out]] This command resets BGP connections to the specified neighbor IP address. With argument :cfgcmd:`soft` this command initiates a soft reset. If @@ -1101,16 +1101,11 @@ Reset This command resets all BGP connections of given router. -.. opcmd:: reset ip bgp dampening - - This command uses to clear BGP route dampening information and to - unsuppress suppressed routes. - -.. opcmd:: reset ip bgp external +.. opcmd:: reset bgp external This command resets all external BGP peers of given router. -.. opcmd:: reset ip bgp peer-group [soft [in|out]] +.. opcmd:: reset bgp peer-group [soft [in|out]] This command resets BGP connections to the specified peer group. With argument :cfgcmd:`soft` this command initiates a soft reset. If @@ -1135,6 +1130,7 @@ A simple eBGP configuration: set protocols bgp neighbor 192.168.0.2 ebgp-multihop '2' set protocols bgp neighbor 192.168.0.2 remote-as '65535' set protocols bgp neighbor 192.168.0.2 update-source '192.168.0.1' + set protocols bgp neighbor 192.168.0.2 address-family ipv4-unicast set protocols bgp address-family ipv4-unicast network '172.16.0.0/16' set protocols bgp parameters router-id '192.168.0.1' @@ -1146,6 +1142,7 @@ A simple eBGP configuration: set protocols bgp neighbor 192.168.0.1 ebgp-multihop '2' set protocols bgp neighbor 192.168.0.1 remote-as '65534' set protocols bgp neighbor 192.168.0.1 update-source '192.168.0.2' + set protocols bgp neighbor 192.168.0.2 address-family ipv4-unicast set protocols bgp address-family ipv4-unicast network '172.17.0.0/16' set protocols bgp parameters router-id '192.168.0.2' -- cgit v1.2.3