aaa port-access initial-role

Syntax

aaa port-access <port-list> initial-role <role-name>

Description

Configure initial role at per port level.

Command context

config

Parameters

port-list

Specify the list of ports.

role-name

Provide the name for the initial role.

Usage

The priority is as follows:
  • Per port initial role takes the highest priority (when configured)
  • Global initial role (when configured)

  • Default denyall user role

Examples

switch(config)# aaa port-access 1/1
 controlled-direction  Configure how traffic is controlled on non-authenticated
                       ports: in both directions (ingress and egress) or
                       ingress only.
 critical-auth         Configure critical-auth VLAN for authentication failed
                       ports due to non-reachable authentication server.
 initial-role          Configure an initial-role for a given port-range.
 mbv                   Allows configuration of MBV (MAC-based VLANs) on a port.
 mixed                 Set if unauthenticated and authenticated users are
                       allowed on the same port.
 open-auth             Configure open-auth VLAN for non-authenticated ports.
 port-speed-vsa        Set if port speed VSA processing is enabled on the port.