06-28-2011 03:02 AM - edited 03-07-2019 01:00 AM
Hi All,
I have a really silly issue that I'm hoping can be clarified simply and quickly. I have a script that checks the interface configurations for descrepancies and from the results creates a mini configuration file containing the required changes. It then uploads these changes by setting the correct Cisco CopyConfig MIB variables and loading the file via TFTP. The problem is that after the file upload the show interface command shows strange results. For example, if this is the mini configuration file:
!
interface Ethernet1/1
description rbelabz02:Et1/9
!
interface Ethernet3/1
description rbelabz02:Et3/13
!
interface Ethernet3/2
description rbelabz02:Et3/14
!
interface Ethernet3/3
description rbelaba01:Et3/27
!
interface Ethernet3/4
description rbelabb01:Et3/39
!
end
the show interface command, after this is uploaded, shows this:
rbelabz01# sh int status
--------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
--------------------------------------------------------------------------------
mgmt0 -- connected routed full 100 --
connected trunk full 10G 10g
Eth1/2 rbelabz02:e1/10 sfpAbsent trunk full auto 10g
Eth1/3 rbelaba01:e1/19 disabled trunk full auto 10g
Eth1/4 rbelabb01:e1/27 sfpAbsent trunk full auto 10g
Eth1/5 -- sfpAbsent routed full auto 10g
Eth1/6 -- sfpAbsent 1 full auto 10g
Eth1/7 -- sfpAbsent routed full auto 10g
Eth1/8 -- sfpAbsent routed full auto 10g
Eth2/1 Pagent:Fa1/0 notconnec 110 full 100 10/100/1000
Eth2/2 -- disabled routed full auto 10/100/1000
Eth2/3 -- disabled routed full auto 10/100/1000
Eth2/4 -- disabled routed full auto 10/100/1000
Eth2/5 -- disabled routed full auto 10/100/1000
Eth2/6 -- disabled routed full auto 10/100/1000
Eth2/7 -- disabled routed full auto 10/100/1000
Eth2/8 -- disabled routed full auto 10/100/1000
Eth2/9 -- disabled routed full auto 10/100/1000
Eth2/10 -- disabled routed full auto 10/100/1000
Eth2/11 -- disabled routed full auto 10/100/1000
Eth2/12 -- disabled routed full auto 10/100/1000
connected routed full 1000 1000BaseX
connected routed full 1000 1000BaseX
connected trunk full 1000 1000BaseX
connected trunk full 1000 1000BaseX
Eth3/5 -- sfpAbsent routed auto auto 1000BaseX
Eth3/6 rsn1b01:gi5/1 sfpAbsent routed auto auto 1000BaseX
Eth3/6.11 LINK-NW-MANAGEMENT parentDow routed auto auto 1000BaseX
Eth3/6.12 LINK-STOR-MANAGEME parentDow routed auto auto 1000BaseX
Eth3/7 -- sfpAbsent routed auto auto 1000BaseX
Eth3/8 -- sfpAbsent routed auto auto 1000BaseX
Eth3/9 -- sfpAbsent routed auto auto 1000BaseX
Eth3/10 -- sfpAbsent routed auto auto 1000BaseX
Eth3/11 -- sfpAbsent routed auto auto 1000BaseX
As you can see the interfaces that have been modified (Eth1/1, Eth3/1 – Eth3/4) do not display properly. Anyone ever seen anything like this before..? Or is it not allowed to upload partial configuation files as you can on IOS based routers and switches..?
Cheers,
SRGi
07-06-2011 09:34 AM
Hello Sean,
What code are you running on the N7K?
Fabienne
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide