Skip to content

[Techsupport]Add show route-map command to frr dumps in techsupport#3797

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
dgsudharsan:route_map_ts
Mar 13, 2025
Merged

[Techsupport]Add show route-map command to frr dumps in techsupport#3797
qiluo-msft merged 1 commit intosonic-net:masterfrom
dgsudharsan:route_map_ts

Conversation

@dgsudharsan
Copy link
Collaborator

What I did

Adding show route-map commamnd to frr dump in techsupport. This will provide detailed information about route-map across different daemons which is useful for debugging.

Example

ZEBRA:
route-map: TO_BGP_PEER_V4 Invoked: 0 Optimization: enabled Processed Change: false
 permit, sequence 100 Invoked 0
  Match clauses:
  Set clauses:
  Call clause:
    Call CHECK_IDF_ISOLATION
  Action:
    Exit routemap
BGP:
route-map: TO_BGP_PEER_V4 Invoked: 0 Optimization: enabled Processed Change: false
 permit, sequence 100 Invoked 0
  Match clauses:
  Set clauses:
  Call clause:
    Call CHECK_IDF_ISOLATION
  Action:
    Exit routemap

How I did it

Adding the command to list of commands dumped from frr in techsupport.

How to verify it

Running techsupport and verifying

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@FengPan-Frank FengPan-Frank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qiluo-msft qiluo-msft merged commit 706f97e into sonic-net:master Mar 13, 2025
7 checks passed
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #3803

nmoray pushed a commit to nmoray/sonic-utilities that referenced this pull request Jun 25, 2025
…onic-net#3797)

What I did
Adding show route-map commamnd to frr dump in techsupport. This will provide detailed information about route-map across different daemons which is useful for debugging.

Example

ZEBRA:
route-map: TO_BGP_PEER_V4 Invoked: 0 Optimization: enabled Processed Change: false
 permit, sequence 100 Invoked 0
  Match clauses:
  Set clauses:
  Call clause:
    Call CHECK_IDF_ISOLATION
  Action:
    Exit routemap
BGP:
route-map: TO_BGP_PEER_V4 Invoked: 0 Optimization: enabled Processed Change: false
 permit, sequence 100 Invoked 0
  Match clauses:
  Set clauses:
  Call clause:
    Call CHECK_IDF_ISOLATION
  Action:
    Exit routemap
How I did it
Adding the command to list of commands dumped from frr in techsupport.

How to verify it
Running techsupport and verifying
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants