cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1246
Views
0
Helpful
6
Replies

Different output between show running-config vs. show running-config interface vlanXX

Domz
Level 1
Level 1

Hello,

 

Can anyone shed some light in the difference of show output command? My client thinks it is a Cisco bug. But I told him it is a default configuration when you create a L3 interface.

 

He stated like this as below:

switch shows strange behavior on displaying config when listing only displaying the running config from VLAN94, the line "no ip route-cache" is present:

Switch#sh run int vlan94
Building configuration...

Current configuration : 110 bytes
!
interface Vlan94
description MGMT_VL94
ip address 172.21.94.225 255.255.255.0
no ip route-cache
end
--------------------------------------

but when listing the whole running config the config line is missing:

-------------------------------------------------------
Switch#sh run
Building configuration...

Current configuration : 139889 bytes
!
......<omitted>
!
interface Vlan94
description MGMT_VL94
ip address 172.21.94.225 255.255.255.0
!

Can anyone who knows something about this provide an explanation? Appreciate the response.

6 Replies 6

Leo Laohoo
Hall of Fame
Hall of Fame
What firmware is the switch running on?