cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
272
Views
1
Helpful
4
Replies

Update 9300 switch via Mgmt-vrf port

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

 

 

 

1 Accepted Solution

Accepted Solutions

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

View solution in original post

4 Replies 4

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

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.  

 

 

Leo Laohoo
Hall of Fame
Hall of Fame

If I am not mistaken, copying a file, from the switch, out using the Mgmt port is not allowed.

Larry Sullivan
Level 3
Level 3

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

 

Review Cisco Networking for a $25 gift card