does somebody know how to include the function "replace_text" in a css script? The script "commit_vip_redundancy" for example makes extensive use of this function. But when I try to run a little script that uses this function, the CSS says "function REPLACE_TEXT undefined".
Any information on this function is welcome. Thanks!
CSS1# sho script scrtest.txt
sho run | grep "ip address" > tmp.cfg
set localIP "10.255.64.189"
set backupIp "10.255.240.73"
set SUB_STRING_IP "ip address"
function REPLACE_TEXT call "tmp.cfg localIp backupIp 0 SUB_STRING_IP"
CSS1# script play scrtest.txt
CSS1# set localIP "10.255.64.189"
CSS1# set backupIp "10.255.240.73"
CSS1# set SUB_STRING_IP "ip address"
CSS1# function REPLACE_TEXT call "tmp.cfg localIp backupIp 0 SUB_STRING_IP"
One is to copy the script into an ftp server and modify it and then copy it back to the CSS box. The existing script would be replaced and the new script would play. Use the copy script ftp images command to do this.
If you used a text editor, save the script with any filename and extension you wish with a maximum of 32 characters. Then, use the copy command to move the script file to the CSS.
Another is to use the script record command to record command entries in a script file. When you finished creating the file, Ctrl-C out of the script record command mode. To run the script use the script play command.
The unmanaged mode is also known as Network only switching, which is introduced in Brazos release. It adds the flexibility for customer to use only network automation for service appliance.
If a device is configured a...
Usually, we can access ESXi Shell by pressing Alt+F1 from ESXi DCUI (Direct Console User Interface).
But on HyperFlex system, it just shows black window.
This is expected behavior because HyperFlex redirects ESXi Shell output to SoL...
Configuring an Export Policy Using the GUI
This procedure explains how to configure an Export policy using the APIC GUI. Follow these steps to trigger a backup of your data:
On the menu bar, choose Admi...