-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
What I did Added a new show command to see the VNET Tunnel routes being advertised by BGP. The output can be filtered based on IPv4/Ipv6 and community string. How I did it Iterate over the BGP_PROFILE_TABLE in Application DB and ADVERTISE_NETWORK_TABLE in state DB. Correlate the information and filter based on community string. How to verify it run **show vnet advertised-routes ** with optional community string. $ show vnet advertised-route Prefix Profile Community Id ------------------------ ------------------- -------------- 160.62.191.1/32 FROM_SDN_SLB_ROUTES 1234:1235 160.63.191.1/32 FROM_SDN_SLB_ROUTES 1234:1235 160.64.191.1/32 FROM_SDN_SLB_ROUTES 1234:1235 fccc:a250:a251::a6:1/128 fddd:a150:a251::a6:1/128 FROM_SDN_SLB_ROUTES 1234:1235 $ show vnet advertised-route 1234:1235 Prefix Profile Community Id ------------------------ ------------------- -------------- 160.62.191.1/32 FROM_SDN_SLB_ROUTES 1234:1235 160.63.191.1/32 FROM_SDN_SLB_ROUTES 1234:1235 160.64.191.1/32 FROM_SDN_SLB_ROUTES 1234:1235 fddd:a150:a251::a6:1/128 FROM_SDN_SLB_ROUTES 1234:1235
- Loading branch information
1 parent
9d921a7
commit fff5f67
Showing
4 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters