Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[show] Added alias interface mode support for 'show interfaces counte…
…rs ...' command (#2468) Fixes #2464 #### What I did This change fixed "show interfaces counters xxx" output nothing when naming mode is alias. #### How I did it Convert the alias name into interface name for "show interfaces counters -u xxx", "show interfaces counters detailed xxx" and "show interfaces counters rif xxx" subcommands. #### How to verify it 1. Set interface naming mode to alias. 2. Logout/Login. 3. Verify "show interfaces counters -i Eth1". 4. Verify "show interfaces counters rif Eth1". 5. Verify "show interfaces counters detailed Eth1". 6. Set interface naming mode to default. 7. Logout/Login 8. Repeat step 3~5.
- Loading branch information