The Cisco IOS XRv Router supports these plain-text configuration file(s) on a single CD-ROM drive:
- iosxr_config.txt—provides standard configuration
- iosxr_config_admin.txt—provides admin configuration
These text files provide a simple list of configuration CLIs for CVAC to apply automatically. This operation is functionally equivalent to manually issuing a copy iosxr_config.txt running-config command.
Given a configuration file(s), you can create an ISO image suitable for insertion into Cisco IOS XRv Router with any of the following commands:
Note |
The mkisofs commands should be executed from a Linux shell.
|
mkisofs -o xrconfig.iso -l --iso-level 2 iosxr_config.txt
mkisofs -o xrconfig.iso -l --iso-level 2 iosxr_config_admin.txt
mkisofs -o xrconfig.iso -l --iso-level 2 iosxr_config.txt iosxr_config_admin.txt
If the correct configuration files are provided and CVAC runs successfully, these syslog messages are displayed:
RP/0/0/CPU0:Dec 14 09:10:14.560 : config[65699]: %MGBL-CONFIG-6-DB_COMMIT_ADMIN : Configuration committed by user 'CVAC'. Use 'show configuration commit changes 2000000001' to view the changes.
RP/0/0/CPU0:Dec 14 09:10:15.330 : cvac[163]: %MGBL-CVAC-5-CONFIG_DONE : Configuration was applied from file /cd0/iosxr_config_admin.txt.
RP/0/0/CPU0:Dec 14 09:10:22.719 : config[65699]: %MGBL-CONFIG-6-DB_COMMIT : Configuration committed by user 'CVAC'. Use 'show configuration commit changes 1000000001' to view the changes.
RP/0/0/CPU0:Dec 14 09:10:23.619 : cvac[163]: %MGBL-CVAC-5-CONFIG_DONE : Configuration was applied from file /cd0/iosxr_config.txt.
If any configuration from the config file(s) is rejected, this additional syslog message is displayed:
RP/0/0/CPU0:Dec 14 09:10:23.619 : cvac[163]: %MGBL-CVAC-3-CONFIG_ERROR : Errors were encountered while applying configs from file /cd0/iosxr_config.txt. Please inspect 'show configuration failed' for details