IT Tips - Chathura Ariyadasa (He/Him/His)

How to copy an Image file to another network device

In general, we copy/upload IOS image files to either flash or bootflash from a TFTP server. In case of timeouts or network delays with the TFTP server, we could use either USB or Memory Slots in order to copy image files to a network device. Once you are done copying the image to flash/bootflash, we can simply configure the network device itself as a TFTP server and can be used to copy image files across other devices. 

NOTE: Please make sure all the devices are in the same subnet 

In our example, we have used 2 Routers. Router 01 is preloaded with the Image files and will be configured as the TFTP server. Router 02 will be the TFTP client. 

Step 01: Make sure, the image file is already copied to the file location (flash or bootflash)

# show bootflash:

Step 02: Configure the Router as a TFTP server. And then assign the relevant image file

(config)# tftp-server bootflash:/“imagename”

Step 03: Log into Router 02 and copy the Image file from the TFTP server (Router 01)

#copy tftp bootflash:

 

[source: Cisco KB]

 

 

How to get NPS client RADIUS shared secret

In case if you can not find out the RADIUS client secrets on NPS, there are different ways where you can retrieve the shared secret keys.

Method 01: Using the Template Method

Go to the RADIUS clients, select the desired Client and then “Save and Apply as template

Then, create a new RADIUS client from the saved template, which we made. 

To view the password/secret, uncheck “Select an existing template” and then select “Generate

Continue reading “How to get NPS client RADIUS shared secret”

Method 02: Export the NPS configuration (GUI)

Simply, right-click the NPS Server and Export the configuration to an XML file. 

Open the XML file and find the saved shared secret keys.

Method 03: Export the NPS configuration (CLI)

Open the command prompt as an Administrator, and then execute the below command to export the configuration file. On the XML file, you will find all the saved shared secrets. 

netsh nps export filepath exportPSK=YES