cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
857
Views
5
Helpful
6
Replies

How to show Running Config

Askarali
Level 1
Level 1

When i configure anything like interface or DHCP or whatever i need to show only that config , show please help to this 
Eg:

R1#confi
R1#configure term
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int
R1(config)#interface gi
R1(config)#interface gigabitEthernet 0/0
R1(config-if)# ( need to run show command but show only like below becuase that is the config where iam i )


description Uplink to R2
ip address 172.10.1.1 255.255.255.0
duplex auto
speed auto


6 Replies 6

@Askarali  

To run show command from the prompt you are, use the command "do"

R1(config-if)# do show run interface gigabitEthernet 0/0

 

Thanks for your reply,
I know this command, but the issue is that we need to type the full command, and in many areas, these commands do not work. Similar to Huawei, is there any command that can automatically show the configuration based on the current context I am in? Is it possible? Cisco provides such commands.

in Nexus and in IOS XR Yes for IOS and IOS XE this option is not available

MHM 

Not for IOS. 

Askarali
Level 1
Level 1

Thanks for your help

Later I will send you exactly name of feature. 

Thanks for waiting 

MHM