interface policy deny

To enter interface policy configuration mode for a user role, use the interface policy deny command. To revert to the default interface policy for a user role, use the no form of this command.

interface policy deny

no interface policy deny

Syntax Description

This command has no arguments or keywords.

Command Default

All interfaces

Command Modes

User role configuration mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Examples

This example shows how to enter interface policy configuration mode for a user role:

switch(config)# role name MyRole
switch(config-role)# interface policy deny
switch(config-role-interface)#
 

This example shows how to revert to the default interface policy for a user role:

switch(config)# role name MyRole
switch(config-role)# no interface policy deny
 

Related Commands

Command
Description
role name
Creates or specifies a user role and enters user role configuration mode.
show role
Displays user role information.