Friday, June 4, 2021

Cisco "show this" command?

Huawei network gear has a useful command "display this". When you are in system-view (Cisco's "config term"),let's assume you enter "interface g0/0/1" then you input "display this". You can see the commands under that interface (and is valid in any submenu, interface is just an example). I have an example below:

Running config:

[-------ommited-----]

set cpu-usage threshold 80 restore 75

#

aaa

local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

local-user admin service-type http

#

firewall zone Local

priority 15

#

interface GigabitEthernet0/0/0

ip address 10.0.0.1 255.255.255.0

#

interface GigabitEthernet0/0/1

[-------ommited-----]

CLI:

<Huawei>system-view

Enter system view, return user view with Ctrl+Z.

[Huawei]interface g0/0/0

[Huawei-GigabitEthernet0/0/0]display this

[V200R003C00]

#

interface GigabitEthernet0/0/0

ip address 10.0.0.1 255.255.255.0

#

return

Does Cisco has something similar?

The point is, when configuring the device, before I do any change, I want to take a look at the config on that submenu.



No comments:

Post a Comment