CLI configurations applied based on a Network Access Policy are by default port-based not host based.
Network Access Policies use User/Host Profiles to match a host with a Network Access Configuration. Network Access Configurations contain VLAN and/or CLI configuration information. Each User/Host Profile used to apply a CLI configuration should contain the group of devices or ports to which the host must be connected and the rules or filters that determine whether or not the Network Access Configuration should apply to the connecting host. The groups of devices or ports should contain devices that can accept CLI configurations.
To provide more flexible control using Network Access Policies you can apply a CLI configuration instead of just switching VLANs.
Refer to Network access policies to set policies for hosts, network devices and ports.
- Select Policy > Policy Configuration.
- In the menu on the left select Network Access.
- Click the Add button or select an existing Policy and click Modify.
- Click in the Name field and enter a name for this policy.
- Click the Add icon next to User/Host Profile. Only certain devices can accept CLI configurations. At minimum you must configure the Where (Location) field for the User/Host Profile to ensure that CLI configurations are applied only to devices that can accept them. The remainder of the User/Host Profile can be configured any way you wish. Click OK to save the profile. Connecting users/hosts must match this User/Host Profile to be assigned the Network Access Configuration specified in the next step.
- Click the Add icon next to Network Access Configuration.
- Enter a name for the configuration.
- Mark the CLI configuration check box to enable it and select a CLI configuration from the drop-down list. Click OK to save the Network Access Configuration. See Add or modify a configuration for additional information.
- The Note field is optional.
- Click OK to save your Policy.