Skip to content

Unknown command: no on-match goto 10 #19102

@JobPassGo

Description

@JobPassGo

Description

I use "continue 10" to set route-map, but show run displays "on-match goto 10". And "% Unknown command: no on-match goto 10" is strange.

3500X(config-route-map)# do show run
Building configuration...

Current configuration:
!
frr version 10.2.3
frr defaults traditional
hostname 3500X
log file /tmp/bgp.log
service integrated-vtysh-config
!
route-map gg permit 9
exit
!
route-map gg permit 10
exit
!
end
3500X(config-route-map)# continue 10
3500X(config-route-map)# do show run
Building configuration...

Current configuration:
!
frr version 10.2.3
frr defaults traditional
hostname 3500X
log file /tmp/bgp.log
service integrated-vtysh-config
!
route-map gg permit 9
 on-match goto 10
exit
!
route-map gg permit 10
exit
!
end
3500X(config-route-map)# no on-match goto 10
% Unknown command: no on-match goto 10
3500X(config-route-map)# no continue 10
3500X(config-route-map)#

Version

3500X(config-route-map)# do show version
FRRouting 10.2.3 (3500X) on Linux(6.10.6).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
    '--prefix=/opt/frr' '--disable-doc' '--disable-ripd' '--disable-ripngd' '--disable-ospfd' '--disable-ospf6d' '--disable-ldpd' '--disable-nhrpd' '--disable-eigrpd' '--disable-babeld' '--disable-isisd' '--disable-pimd' '--disable-pim6d' '--disable-pbrd' '--enable-sharpd' '--disable-fabricd' '--disable-vrrpd' '--disable-pathd' '--enable-user=root' '--enable-group=root' '--enable-address-sanitizer' '--enable-dev-build'

How to reproduce

see above

Expected behavior

"no on-match goto 10" should work if it is equal to "no continue 10"

Actual behavior

not working

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions