Run the Layer 2 Video Surveillance install script
Use the following procedure to run the Layer 2 Video Surveillance install script.
Before you begin
The switch must be in the factory default state. When you start the install script, the switch displays a prompt to remind you to do this.
Procedure
Examples
The following example shows the complete output of the install script without the syntax parameter. As you can see, there is no indication that the script encountered any errors.
Switch:1>enable Switch:1#config terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)# run vms layer-2 switch 6 Do you want to execute the run vms layer-2 script? Device needs to be in factory default state. (y/n) ? y **Previous configurations stored in pre_vms_layer2_install.cfg** **New VMS configurations stored in new primary config file vms-layer2-switch-6.cfg** *** VMS Layer-2 script execution complete *** Switch:1(config)#boot config choice primary config-file /intflash/vms-layer2-switch-6.cfg
The following example displays the output of the script using the syntax parameter. This example is only a small sample of the output, but it shows how the script reports warnings and errors it encounters.
Switch:1>enable Switch:1#config terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)# run vms layer-2 switch 6 syntax Do you want to execute the run vms layer-2 script? Device needs to be in factory default state. (y/n) ? y Switch:1(config)# save config file pre_vms_layer2_install.cfg File [/intflash/pre_vms_layer2_install.cfg] already existing,CP-1: Save config to file /intflash/pre_vms_layer2_install.cfg successful. WARNING: Choice Primary Node Config file is "/intflash/vms-layer2-switch-6.cfg". Switch:1(config)# spbm Switch:1(config)# spbm ethertype 0x8100 Switch:1(config)# router isis Switch:1(config-isis)# spbm 1 Error: ISIS - IS-IS is enabled, runtime change not allowed. Switch:1(config)# exit Switch:1(config)# save config file vms-layer2-switch-6.cfg File [/intflash/vms-layer2-switch-6.cfg] already existing,CP-1: Save config to file /intflash/vms-layer2-switch-6.cfg successful. Switch:1(config)# boot config choice primary config-file /intflash/vms-layer2-switch-6.cfg Switch:1(config)# **Previous configurations stored in pre_vms_layer2_install.cfg** **New VMS configurations stored in new primary config file vms-layer2-switch-6.cfg** *** VMS Layer-2 script execution complete *** Switch:1(config)#boot config choice primary config-file /intflash/vms-layer2-switch-6.cfg
Variable Definitions
The following table defines parameters for the run vms layer-2 switch command.
Variable |
Value |
---|---|
<5-99> |
Specifies a switch value, which is then used as a common element to configure switch parameters such as nickname, VLAN ID, SPB and IP parameters. This switch value is also used in the name of the saved configuration file. For example, 6 is the switch value in vms-layer2-switch-6.cfg |
syntax |
Species that the switch displays all the commands run by the script on the console. Use this parameter to see errors that the script encounters. Note:
The script does not stop if it encounters errors. To verify that the script runs without errors, use the syntax parameter to display errors or conflicting configurations on the switch. |