09-05-2024 08:31 AM
Had problem today of having to update a C9300X-24Y, so a switch with 24 sfp ports. used a USB drive to get the new IOS on.
Once I was done I had time so I tried to copy the IOS on via the Gigabit on the rear with the port configured as below and my pc with 10.10.10.10
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
ip address 10.10.10.1 255.255.255.0
negotiation auto
How should the copy command be changed to allow the gigabit port to copy from TFTP? As copy tftp flash with the IP and file name doesn't work.
Thanks
Solved! Go to Solution.
09-05-2024 08:42 AM - edited 09-05-2024 08:43 AM
Hello,
It looks like your interface is in a VRF. You could do a couple things:
1. Make your TFTP command VRF aware - copy tftp:// flash: vrf <vrf name>
2. You could remove the VRF.
In either case you'd need to make sure routing was present either for the VRF or the Global Routing table so your network can access that interface IP.
-David
09-05-2024 08:42 AM - edited 09-05-2024 08:43 AM
Hello,
It looks like your interface is in a VRF. You could do a couple things:
1. Make your TFTP command VRF aware - copy tftp:// flash: vrf <vrf name>
2. You could remove the VRF.
In either case you'd need to make sure routing was present either for the VRF or the Global Routing table so your network can access that interface IP.
-David
09-12-2024 08:00 AM
Hi David
the command copy tftp:// flash: vrf <vrf name> works. Or I think it does, I kept getting the same error.
%Error opening tftp://10.10.10.10/cat9k_iosxe.17.12.04.SPA.bin (No such file or directory)
So instead of TFTP I used SFTP copy sftp:// flash: vrf <vrf name> this worked so I think my TFTP client may be corrupt.
09-05-2024 04:09 PM
If I am not mistaken, copying a file, from the switch, out using the Mgmt port is not allowed.
09-05-2024 05:02 PM - edited 09-05-2024 05:04 PM
try this
conf t
ip tftp source interface {management interface}
Then run your copy per normal
copy tftp:{file} flash:
Also make sure you have a route/default route for your management vrf.
Here is an example:
ip route vrf Mgmt-vrf 0.0.0.0 0.0.0.0 10.10.10.1 name OOB_MGMT_DEFAULT
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