Switch policy commands

Switch policy mode provides the commands to create or modify a switch policy.

To enter the mode, use the global assembly-switch command. To delete a switch policy, use the global no assembly-switch command.

While in this mode, use the commands in the following table to define the switch policy.

  • To view the current configuration, use the show command.
  • To restore default values, use the reset command.
  • To exit this configuration mode without saving changes to the running configuration, use the cancel command.
  • To exit this configuration mode and save changes to the running configuration, use the exit command.
Table 1. Switch policy commands
Command Purpose
admin-state This command sets the administrative state for the configuration.
case This command specifies the condition to evaluate and the API rule to run when the condition matches the API context.
correlation-path This command specifies the part of the API definition that correlates with the policy.
otherwise This command specifies the API rule to run when no condition in the switch policy matches the API context.
summary This command specifies the brief, descriptive summary for the object instance.
title This command specifies the title for the configuration.