Enable Software Updates by a Remote Repository Server
Information about enabling software updates by a remote repository server
When applying software updates to devices in the network, Cisco SD-WAN Manager can use images hosted on a remote repository server. The updates may include Cisco IOS XE software updates, or other software, such as Protocol Pack updates.
A step is required to enable devices in the network to receive updates from a remote repository server. See Enable devices to receive software updates from a remote repository server.
Enable devices to receive software updates from a remote repository server
On each WAN edge device in the network, in the tunnel configuration for the VPN 0 interface, enable the device to accept a software image from a remote repository server, using one of two methods.
-
We recommend configuring an explicit ACL.
-
An alternative method is to configure allow-service all on the devices.
Protocol to enable
During setup of a remote repository server, the server is configured to use FTP, HTTP, or SCP. Enabling edge devices in your network to receive software updates from the remote repository server requires enabling the protocol configured for the server.
-
If you are using Cisco Cloud-delivered Catalyst SD-WAN (CDCS), the remote repository server uses the SCP protocol (TCP port 22). In this environment, the remote repository server address is:
cloudopsremoterepo.sdwan.cisco.com
-
If you are a tenant in a multitenancy environment, ask the provider which protocol the remote repository server uses.
-
If you are using a self-hosted SD-WAN environment, check which protocol the remote repository server in your environment uses.
Temporarily enable devices to receive remote repository server updates
You can enable devices to accept software updates from a remote repository, complete the updates, and then remove the configuration to disable further updates. For example, you can use this temporary approach if you do not wish to keep the explicit ACL or allow-service all configurations on your devices.
Procedures
Approach A. Configure an explicit ACL:
Approach B. Use allow-service all:
Enable devices to receive software updates from a remote repository server, ACL method, using a configuration group
When applying software updates to devices in the network, Cisco SD-WAN Manager can use images hosted on a remote repository server. This procedure enables devices to receive such updates. See Information about enabling software updates by a remote repository server for information about which networks require this procedure.
See the alternative procedures in Enable devices to receive software updates from a remote repository server.
Step 1 | From the Cisco SD-WAN Manager menu, choose . |
Step 2 | In a Transport & Management Profile, define or modify an existing Transport VPN feature for VPN 0. |
Step 3 | Attach an Ethernet Interface feature to the Transport VPN feature. |
Step 4 | Define or modify an existing ACL IPV4 reference feature. |
Step 5 | In the Transport & Management Profile, in the Transport VPN area, locate the interface that supports VPN 0 for the device. For example, this may be an Ethernet Interface feature. |
Step 6 | Edit the feature for the interface noted in the previous step, and open the ACL/QoS section. |
Step 7 | In the ACL section, in the ACL IPv4 ingress field, add the ACL reference feature defined in an earlier step. |
Step 8 | Click Save. |
Enable devices to receive software updates from a remote repository server, ACL method, using a feature template
When applying software updates to devices in the network, Cisco SD-WAN Manager can use images hosted on a remote repository server. This procedure enables devices to receive such updates. See Information about enabling software updates by a remote repository server for information about which networks require this procedure.
See the alternative procedures in Enable devices to receive software updates from a remote repository server.
This procedure describes the process as if no localized policy or Cisco VPN Interface Internet feature template have been configured. If you already have either of these defined for the devices requiring software update, adjust the procedure to edit the existing policy or feature template rather than creating new ones.
Step 1 | Create a localized policy. |
Step 2 | Create or modify an existing Cisco VPN Interface Internet feature template for the interface that handles VPN 0. If modifying an existing template, adjust the steps accordingly. First attach the policy in the Additional Template section and push the configuration to the routers. Then add the ACL name to the Ethernet interface feature template.
|
Step 3 | Attach the feature template for the interface, and the localized policy, to a device template. This whole procedure is about enabling devices to get software updates from a remote repository server. So use the device template that you're pushing to those devices. You can attach the feature template to multiple device templates if required, to address all devices for which you're enabling software updates from a remote repository server.
|
Step 4 | Push the configuration to the devices for which you are enabling updates from a remote server. |
Enable devices to receive software updates from a remote repository server, explicit ACL method, using CLI commands
When applying software updates to devices in the network, Cisco SD-WAN Manager can use images hosted on a remote repository server. This procedure enables devices to receive such updates. See Information about enabling software updates by a remote repository server for information about which networks require this procedure.
See the alternative procedures in Enable devices to receive software updates from a remote repository server.
Step 1 | In a policy block, create an access list to allow a WAN edge device to receive remote secure copy protocol (SCP) packets. This procedure does not address all details of configuring a policy. |
Step 2 | In an sdwan block, configure the VPN 0 interface to include the access list configured in the preceding steps. |
Example configuration for an explicit ACL to allow SCP packets
As described in the procedure, for the source-ip parameter, use the Cisco remote repository IP. This example uses a generic IP address, 10.1.1.254.
This example uses the WAN edge device IP for the destination-ip parameter.
policy
access-list allow-remote-scp
sequence 1
match
source-ip 10.1.1.254/32
destination-ip 10.1.1.2/32
source-port 22
protocol 6
!
action accept
!
!
default-action accept
!
!
sdwan
interface GigabitEthernet1
tunnel-interface
encapsulation ipsec
no allow-service bgp
no allow-service dhcp
no allow-service dns
allow-service icmp
no allow-service sshd
no allow-service netconf
no allow-service ntp
no allow-service ospf
no allow-service stun
no allow-service https
no allow-service snmp
no allow-service bfd
exit
access-list allow-remote-scp in
exit
Enable devices to receive software updates from a remote repository server, allow-service all method, using a configuration group
When applying software updates to devices in the network, Cisco SD-WAN Manager can use images hosted on a remote repository server. This procedure enables devices to receive such updates. See Information about enabling software updates by a remote repository server for information about which networks require this procedure.
We recommend the ACL policy method rather than the allow-service all method described here, in most scenarios. See the alternative procedures in Enable devices to receive software updates from a remote repository server.
Before you begin
Use this procedure only on a device protected by a firewall.
Step 1 | From the Cisco SD-WAN Manager menu, choose . |
Step 2 | In a Transport & Management Profile, define or modify an existing Transport VPN feature for VPN 0. |
Step 3 | Attach an Ethernet Interface feature to the Transport VPN feature. |
Step 4 | In the Ethernet Interface feature, select Tunnel. |
Step 5 | In the Allow Service section, enable All. |
What's next
We recommend that if you use this method, enable the updates, complete the updates, and then remove this configuration, which corresponds to the allow-service all CLI command.
Enable devices to receive software updates from a remote repository server, allow-service all method, using a feature template
When applying software updates to devices in the network, Cisco SD-WAN Manager can use images hosted on a remote repository server. This procedure enables devices to receive such updates. See Information about enabling software updates by a remote repository server for information about which networks require this procedure.
We recommend the ACL policy method rather than the allow-service all method described here, in most scenarios. See the alternative procedures in Enable devices to receive software updates from a remote repository server.
Before you begin
Use this procedure only on a device protected by a firewall.
Step 1 | From the Cisco SD-WAN Manager menu, choose , then Feature Templates. |
Step 2 | Create or edit a Cisco VPN Interface Internet feature template. If creating a new one...
|
Step 3 | In the Tunnel section, in the Allow Service section, choose All. |
Step 4 | Attach the feature template to a device template and push the configuration to the devices for which you are enabling updates from a remote server. |
What's next
We recommend that if you use this method, enable the updates, complete the updates, and then remove this configuration, which corresponds to the allow-service all CLI command.
Enable devices to receive software updates from a remote repository server, using the allow-service all CLI command
When applying software updates to devices in the network, Cisco SD-WAN Manager can use images hosted on a remote repository server. This procedure enables devices to receive such updates. See Information about enabling software updates by a remote repository server for information about which networks require this procedure.
We recommend the ACL policy method rather than the allow-service all method described here, in most scenarios. See the alternative procedures in Enable devices to receive software updates from a remote repository server.
Before you begin
Use this procedure only on a device protected by a firewall.
Get the IP address of the Cisco remote repository server. To do this, perform a DNS lookup for this Cisco server: cloudopsremoterepo.sdwan.cisco.com
Step 1 | Use the interface and tunnel-interface commands to enter tunnel-interface configuration mode.
|
Step 2 | Use the encapsulation ipsec command to configure IPsec encapsulation.
|
Step 3 | On a WAN edge device, use the allow-service all command to enable the device to accept a software image from a remote repo server:
|
Example configuration using allow-service all
sdwan
interface GigabitEthernet1
tunnel-interface
encapsulation ipsec
allow-service all
exit
exit