associate captive-portal-profile

Syntax

associate captive-portal-profile <PROFILE-NAME>

no associate captive-portal-profile <PROFILE-NAME>

Description

Associates the captive portal profile with the current role.

The no form of this command dissociates the captive portal profile with the role.

Command context

config-pa-role

The port-access role command takes you into the config-pa-role context.

Parameters

<PROFILE-NAME>

Specifies the captive portal profile name to associate with the current role.

The profile must be present in the switch before associating it with a role. Length: 1 to 64 characters.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Associating a captive portal profile with a role:

switch(config)# port-access role role01
switch(config-pa-role)# associate captive-portal-profile prof01

Dissociating a captive portal profile from the role:

switch(config-pa-role)# no associate captive-portal-profile