Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Nexus 5696 NX-OS uprade

Hi,

I am trying to upgrade Nexus 5596 out of box, have assigned IP address to management interface & default route under management VRF, not able to ping management interface from within nexus, what is needed to make it work ?

Will TFTP work for downloading software ?

thanks

hasrat

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Nexus 5696 NX-OS uprade

Hi Hasrat,

1. I understood that you configured in right way, let me share the detail again for reconfirmation.

Configuring the Management Interface

To configure the management (mgmt0) Ethernet interface to connect over IP, perform this task:


Command
Purpose

Step 1 

switch# configure terminal

Enters configuration mode.

Step 2 

switch(config)# interface mgmt 0

Selects the management Ethernet interface on the switch and enters interface configuration submode.

Step 3 

switch(config-if)# ip address ipv4-address[/length]

Configures the IPv4 address and its subnet mask.

switch(config-if)# ip address ipv4-address [subnet-mask]

An alternative method that configures the IPv4 address and its subnet mask.

switch(config-if)# ipv6 address ipv6-address[/length]

Configures the IPv6 address and its subnet mask.

Step 4 

switch(config-if)# no shutdown

Enables the interface.

Step 5 

switch(config-if)# exit

Returns to configuration mode.

Step 6 

switch(config)# vrf context  management

Enters VRF context management configuration mode.

Step 7 

switch(config-vrf)# ip route ipv4-prefix[/length]  ipv4-nexthop-address

Configures the IPv4 address of the next hop.

switch(config-vrf)# ipv6 route ipv6-prefix[/length]  ipv6-nexthop-address

Configures the IPv6 address of the next hop.

Step 8 

switch(config-vrf)# exit

Returns to EXEC mode.

Step 9 

switch# copy running-config  startup-config

(Optional) Saves your configuration changes to the file system.

Please try to ping the management like below command,

#ping vrf management

Example:

Nexus# ping 10.104.149.1 vrf management

PING 10.104.149.1 (10.104.149.1): 56 data bytes

64 bytes from 10.104.149.1: icmp_seq=0 ttl=254 time=1.441 ms

64 bytes from 10.104.149.1: icmp_seq=1 ttl=254 time=1.082 ms

64 bytes from 10.104.149.1: icmp_seq=2 ttl=254 time=0.964 ms

64 bytes from 10.104.149.1: icmp_seq=3 ttl=254 time=0.945 ms

64 bytes from 10.104.149.1: icmp_seq=4 ttl=254 time=0.955 ms

--- 10.104.149.1 ping statistics ---

5 packets transmitted, 5 packets received, 0.00% packet loss

round-trip min/avg/max = 0.945/1.077/1.441 ms

Refer:

http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/initconfig.html#wp1110654

You can use ftp:, tftp:, scp:, or sftp: to download the Nexus OS on the switch.

1. Select and download the kickstart and system software files to a             server.

2. Ensure that the required space is available in the bootflash:             directory for the image file(s) to be copied.

3. If you need more space on the active supervisor module bootflash,             delete unnecessary files to make space available.

4. Copy the kickstart and system images to the supervisor module             bootflash with a transfer protocol.

switch# copy

        scp://user@scpserver.cisco.com//downloads/n5000-uk9-kickstart.4.0.0.N1.2.bin

        bootflash:n5000-uk9-kickstart.4.0.0.N1.2.bin

switch# copy

        scp://user@scpserver.cisco.com//downloads/n5000-uk9.4.0.0.N1.2.bin

        bootflash:n5000-uk9.4.0.0.N1.2.bin

5. Install the new images, specifying the new image names that you downloaded in Step 9.

    switch(config)# install all kickstart

            bootflash:n5000-uk9-kickstart.4.0.0.N1.2.bin system

            bootflash:n5000-uk9.4.0.0.N1.2.bin

Refer:

http://www.cisco.com/en/US/products/ps9670/products_configuration_example09186a0080b4b9dd.shtml

Regards,

Aru

*** Pleaes rate if the post is useful ***

Regards, Aru *** Please rate if the post useful ***
3 REPLIES
Cisco Employee

Nexus 5696 NX-OS uprade

Hi Hasrat,

1. I understood that you configured in right way, let me share the detail again for reconfirmation.

Configuring the Management Interface

To configure the management (mgmt0) Ethernet interface to connect over IP, perform this task:


Command
Purpose

Step 1 

switch# configure terminal

Enters configuration mode.

Step 2 

switch(config)# interface mgmt 0

Selects the management Ethernet interface on the switch and enters interface configuration submode.

Step 3 

switch(config-if)# ip address ipv4-address[/length]

Configures the IPv4 address and its subnet mask.

switch(config-if)# ip address ipv4-address [subnet-mask]

An alternative method that configures the IPv4 address and its subnet mask.

switch(config-if)# ipv6 address ipv6-address[/length]

Configures the IPv6 address and its subnet mask.

Step 4 

switch(config-if)# no shutdown

Enables the interface.

Step 5 

switch(config-if)# exit

Returns to configuration mode.

Step 6 

switch(config)# vrf context  management

Enters VRF context management configuration mode.

Step 7 

switch(config-vrf)# ip route ipv4-prefix[/length]  ipv4-nexthop-address

Configures the IPv4 address of the next hop.

switch(config-vrf)# ipv6 route ipv6-prefix[/length]  ipv6-nexthop-address

Configures the IPv6 address of the next hop.

Step 8 

switch(config-vrf)# exit

Returns to EXEC mode.

Step 9 

switch# copy running-config  startup-config

(Optional) Saves your configuration changes to the file system.

Please try to ping the management like below command,

#ping vrf management

Example:

Nexus# ping 10.104.149.1 vrf management

PING 10.104.149.1 (10.104.149.1): 56 data bytes

64 bytes from 10.104.149.1: icmp_seq=0 ttl=254 time=1.441 ms

64 bytes from 10.104.149.1: icmp_seq=1 ttl=254 time=1.082 ms

64 bytes from 10.104.149.1: icmp_seq=2 ttl=254 time=0.964 ms

64 bytes from 10.104.149.1: icmp_seq=3 ttl=254 time=0.945 ms

64 bytes from 10.104.149.1: icmp_seq=4 ttl=254 time=0.955 ms

--- 10.104.149.1 ping statistics ---

5 packets transmitted, 5 packets received, 0.00% packet loss

round-trip min/avg/max = 0.945/1.077/1.441 ms

Refer:

http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/initconfig.html#wp1110654

You can use ftp:, tftp:, scp:, or sftp: to download the Nexus OS on the switch.

1. Select and download the kickstart and system software files to a             server.

2. Ensure that the required space is available in the bootflash:             directory for the image file(s) to be copied.

3. If you need more space on the active supervisor module bootflash,             delete unnecessary files to make space available.

4. Copy the kickstart and system images to the supervisor module             bootflash with a transfer protocol.

switch# copy

        scp://user@scpserver.cisco.com//downloads/n5000-uk9-kickstart.4.0.0.N1.2.bin

        bootflash:n5000-uk9-kickstart.4.0.0.N1.2.bin

switch# copy

        scp://user@scpserver.cisco.com//downloads/n5000-uk9.4.0.0.N1.2.bin

        bootflash:n5000-uk9.4.0.0.N1.2.bin

5. Install the new images, specifying the new image names that you downloaded in Step 9.

    switch(config)# install all kickstart

            bootflash:n5000-uk9-kickstart.4.0.0.N1.2.bin system

            bootflash:n5000-uk9.4.0.0.N1.2.bin

Refer:

http://www.cisco.com/en/US/products/ps9670/products_configuration_example09186a0080b4b9dd.shtml

Regards,

Aru

*** Pleaes rate if the post is useful ***

Regards, Aru *** Please rate if the post useful ***
New Member

Nexus 5696 NX-OS uprade

Hi Aru,

Thank you for the response, I'll check & inform.

Thanks Again

New Member

Nexus 5696 NX-OS uprade

Thank you Aru, it worked.

hasrat

312
Views
0
Helpful
3
Replies