Skip to content

Commit 1b08087

Browse files
committed
op-mode:T3477: Correction of reset command syntax as per latest
1 parent 4081daf commit 1b08087

File tree

1 file changed

+6
-9
lines changed
  • docs/configuration/protocols

1 file changed

+6
-9
lines changed

docs/configuration/protocols/bgp.rst

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,27 +1091,22 @@ Show
10911091
Reset
10921092
=====
10931093

1094-
.. opcmd:: reset <ip|ipv6> bgp <address> [soft [in|out]]
1094+
.. opcmd:: reset bgp <ipv4|ipv6> <address> [soft [in|out]]
10951095

10961096
This command resets BGP connections to the specified neighbor IP address.
10971097
With argument :cfgcmd:`soft` this command initiates a soft reset. If
10981098
you do not specify the :cfgcmd:`in` or :cfgcmd:`out` options, both
10991099
inbound and outbound soft reconfiguration are triggered.
11001100

1101-
.. opcmd:: reset ip bgp all
1101+
.. opcmd:: reset bgp all
11021102

11031103
This command resets all BGP connections of given router.
11041104

1105-
.. opcmd:: reset ip bgp dampening
1106-
1107-
This command uses to clear BGP route dampening information and to
1108-
unsuppress suppressed routes.
1109-
1110-
.. opcmd:: reset ip bgp external
1105+
.. opcmd:: reset bgp <ipv4|ipv6> external
11111106

11121107
This command resets all external BGP peers of given router.
11131108

1114-
.. opcmd:: reset ip bgp peer-group <name> [soft [in|out]]
1109+
.. opcmd:: reset bgp <ipv4|ipv6> peer-group <name> [soft [in|out]]
11151110

11161111
This command resets BGP connections to the specified peer group.
11171112
With argument :cfgcmd:`soft` this command initiates a soft reset. If
@@ -1136,6 +1131,7 @@ A simple eBGP configuration:
11361131
set protocols bgp neighbor 192.168.0.2 ebgp-multihop '2'
11371132
set protocols bgp neighbor 192.168.0.2 remote-as '65535'
11381133
set protocols bgp neighbor 192.168.0.2 update-source '192.168.0.1'
1134+
set protocols bgp neighbor 192.168.0.2 address-family ipv4-unicast
11391135
set protocols bgp address-family ipv4-unicast network '172.16.0.0/16'
11401136
set protocols bgp parameters router-id '192.168.0.1'
11411137
@@ -1147,6 +1143,7 @@ A simple eBGP configuration:
11471143
set protocols bgp neighbor 192.168.0.1 ebgp-multihop '2'
11481144
set protocols bgp neighbor 192.168.0.1 remote-as '65534'
11491145
set protocols bgp neighbor 192.168.0.1 update-source '192.168.0.2'
1146+
set protocols bgp neighbor 192.168.0.1 address-family ipv4-unicast
11501147
set protocols bgp address-family ipv4-unicast network '172.17.0.0/16'
11511148
set protocols bgp parameters router-id '192.168.0.2'
11521149

0 commit comments

Comments
 (0)