[c-nsp] 6500 Series ifindex

Phil Mayers p.mayers at imperial.ac.uk
Tue Sep 12 15:10:09 EDT 2006


Michael Balasko wrote:
> Does anyone know of a way to access the "file" that the switch uses to
> track ifindex's in NVRAM? 
> The jist of the issue is we are doing a Sup2 to 720 upgrade and we would
> like to preserve the ifindex numbers. Cisco says it can't be done, and
> I'm thinking that's not entirely true. Can anyone help? 

Well, on my existing sup720 with sxf2:

ac-core#dir nvram:
Directory of nvram:/

  1918  -rw-      114854                    <no date>  startup-config
  1919  ----        1930                    <no date>  private-config
  1920  -rw-      114854                    <no date>  underlying-config
     1  ----           4                    <no date>  rf_cold_starts
     2  ----          47                    <no date>  persistent-data
     3  -rw-       14705                    <no date>  ifIndex-table

1964024 bytes total (1829780 bytes free)
ac-core#more nvram:ifIndex-table
^@^@^@^S^@^@^@j^@^@^@^CEOBC0/0^@^@^@^@^<snip more binary>

You can get the old one as data rather than a file with:

sh snmp mib ifmib ifindex

...however, just because it is a file doesn't mean it's possible to 
write one to the nvram and have it work. Good luck though.


More information about the cisco-nsp mailing list