File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 46474647 "long" : " allowed-imports" ,
46484648 "help" : " Prefixes that may be imported form the peer. Empty list means all prefixes allowed"
46494649 },
4650+ {
4651+ "long" : " authstring" ,
4652+ "help" : " Use the given authorization string for TCP-MD5 authentication with the peer"
4653+ },
46504654 {
46514655 "long" : " bgp-config" ,
46524656 "help" : " BGP configuration this peer is associated with"
46834687 "long" : " local-pref" ,
46844688 "help" : " Apply a local preference to routes received from this peer"
46854689 },
4686- {
4687- "long" : " md5-auth-key" ,
4688- "help" : " Use the given key for TCP-MD5 authentication with the peer"
4689- },
46904690 {
46914691 "long" : " min-ttl" ,
46924692 "help" : " Require messages from a peer have a minimum IP time to live field"
Original file line number Diff line number Diff line change @@ -981,9 +981,9 @@ pub struct CmdBgpPeerSet {
981981 #[ arg( long) ]
982982 pub local_pref : Option < u32 > ,
983983
984- /// Use the given key for TCP-MD5 authentication with the peer.
984+ /// Use the given authorization string for TCP-MD5 authentication with the peer.
985985 #[ arg( long) ]
986- pub md5_auth_key : Option < String > ,
986+ pub authstring : Option < String > ,
987987
988988 /// Require messages from a peer have a minimum IP time to live field.
989989 #[ arg( long) ]
@@ -1042,7 +1042,7 @@ impl AuthenticatedCmd for CmdBgpPeerSet {
10421042 interface_name : PHY0 . to_owned ( ) ,
10431043 keepalive : self . keepalive ,
10441044 local_pref : self . local_pref ,
1045- md5_auth_key : self . md5_auth_key . clone ( ) ,
1045+ md5_auth_key : self . authstring . clone ( ) ,
10461046 min_ttl : self . min_ttl ,
10471047 multi_exit_discriminator : self . multi_exit_discriminator ,
10481048 remote_asn : self . remote_asn ,
You can’t perform that action at this time.
0 commit comments