Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default route isn't removed from ASIC DB #170

Closed
pavel-shirshov opened this issue Mar 2, 2017 · 0 comments
Closed

default route isn't removed from ASIC DB #170

pavel-shirshov opened this issue Mar 2, 2017 · 0 comments
Assignees
Labels

Comments

@pavel-shirshov
Copy link
Contributor

root@str-s-acs-1:/# ip route show
default via 10.3.146.1 dev eth0  proto zebra 

127.0.0.1:6379> keys ROUTE_TABLE*
1) "ROUTE_TABLE:0.0.0.0/0"
2) "ROUTE_TABLE:10.0.0.8/31"
3) "ROUTE_TABLE:fc00::18/126"
4) "ROUTE_TABLE:fc00::8/126"
5) "ROUTE_TABLE:10.0.0.12/31"
6) "ROUTE_TABLE:10.0.0.4/31"
7) "ROUTE_TABLE:fc00::10/126"
8) "ROUTE_TABLE:fc00::/126"
9) "ROUTE_TABLE:10.0.0.0/31"

127.0.0.1:6379> hgetall ROUTE_TABLE:0.0.0.0/0
1) "nexthop"
2) "10.3.146.1"
3) "ifname"
4) "eth0"

127.0.0.1:6379[1]> hgetall "ASIC_STATE:SAI_OBJECT_TYPE_ROUTE_ENTRY:{\"dest\":\"0.0.0.0/0\",\"vr\":\"oid:0x3000000000002\"}"
1) "SAI_ROUTE_ATTR_PACKET_ACTION"
2) "SAI_PACKET_ACTION_FORWARD"
3) "SAI_ROUTE_ATTR_NEXT_HOP_ID"
4) "oid:0x5000000000ade"
@stcheng stcheng self-assigned this Mar 6, 2017
@stcheng stcheng closed this as completed Mar 7, 2017
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this issue Feb 28, 2022
Group columns in OK/DROP pairs
Add option to show empty lines now hidden by default

Signed-off-by: marian-pritsak <marianp@mellanox.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants