To add interfaces for a user role interface policy, use the permit interface command. To remove interfaces, use the no form of this command.
permit interface interface-list
no permit interface
|
interface-list
|
List of interfaces that the user role has permission to access.
|
All interfaces
Interface policy configuration mode
|
Release
|
Modification
|
|
4.0(0)N1(1a)
|
This command was introduced.
|
For permit interface statements to work, you need to configure a command rule to allow interface access, as shown in the following example:
This example shows how to configure a range of interfaces for a user role interface policy:
This example shows how to configure a list of interfaces for a user role interface policy:
This example shows how to remove an interface from a user role interface policy:
|
Command
|
Description
|
|---|---|
|
interface policy deny
|
Enters interface policy configuration mode for a user role.
|
|
role name
|
Creates or specifies a user role and enters user role configuration mode.
|
|
show role
|
Displays user role information.
|