Loading IOS on Metro switches (e.g. ME-3400G-12CS-A)

From NesevoWiki
Jump to: navigation, search

in order to load an IOS via TFTP on a cisco metro switch (in our case a ME-3400G-12CS-A) you have to define the port to which you connect the network cable as NNI.
as the number of NNI ports is limited, you will probably have to define another port as an ENI port type in order to have a free NNI port available.
in our example we defined the first SFP port (interface GigabitEthernet0/13) as ENI in order to switch the port 12 (interface GigabitEthernet0/12), on which we connected to NNI.
below you find the procedure step by step:

Step 1:

Switch(config): interface GigabitEthernet0/13

Switch(config-if): port-type eni

Switch(config-if): exit

Switch(config): interface GigabitEthernet0/12

Switch(config-if): port-type nni

Switch(config-if): exit

Switch(config): interface Vlan1

Switch(config-if): ip address 10.0.01

Switch(config-if): no ip route-cache

Switch(config-if): end

Switch(config): interface gigabitEthernet 0/12

Switch(config-if): no shut

Step 2:

Switch#ping 10.0.01

Sending 5, 100-byte ICMP Echos to 10.0.02, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1007 ms

Step 3:

Switch#format flash:

Format operation may take a while. Continue? [confirm]

Format operation will destroy all data in "flash:". Continue? [confirm]

flashfs[1]: 0 files, 1 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 32514048

flashfs[1]: Bytes used: 1024

flashfs[1]: Bytes available: 32513024

flashfs[1]: flashfs fsck took 8 seconds.

Format of flash complete

Step 4:

copy from tftp to flash

switch#copy tftp: flash: Address or name of remote host []? 10.0.01

Source filename []? me340x-metroipaccessk9-mz.122-55.SE.bin

Destination filename [me340x-metroipaccessk9-mz.122-55.SE.bin]?

Accessing tftp://10.0.01/me340x-metroipaccessk9-mz.122-55.SE.bin...

Loading me340x-metroipaccessk9-mz.122-55.SE.bin from 10.0.01 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!! [OK - 12619566 bytes]

12619566 bytes copied in 171.447 secs (73606 bytes/sec)


Step 5:

delete the config

Switch#wr erase

Erasing the nvram filesystem will remove all files! Continue? [confirm] hit enter [OK]

Erase of nvram: complete


Step 6:



System configuration has been modified. Save? [yes/no]: no

Proceed with reload? [confirm] hit enter