EasyManua.ls Logo

Cisco Nexus 5500 Series - Permit Interface

Cisco Nexus 5500 Series
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
212
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter P Commands
permit interface
permit interface
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
Syntax Description
Command Default All interfaces
Command Modes Interface policy configuration mode
Command History
Usage Guidelines For permit interface statements to work, you need to configure a command rule to allow interface access,
as shown in the following example:
switch(config-role)# rule number permit command configure terminal ; interface *
Examples This example shows how to configure a range of interfaces for a user role interface policy:
switch(config)# role name MyRole
switch(config-role)# interface policy deny
switch(config-role-interface)# permit interface ethernet 1/2 - 8
This example shows how to configure a list of interfaces for a user role interface policy:
switch(config)# role name MyRole
switch(config-role)# interface policy deny
switch(config-role-interface)# permit interface ethernet 1/1, ethernet 1/3, ethernet 1/5
This example shows how to remove an interface from a user role interface policy:
switch(config)# role name MyRole
switch(config-role)# interface policy deny
switch(config-role-interface)# no permit interface ethernet 1/2
Related Commands
interface-list List of interfaces that the user role has permission to access.
Release Modification
5.2(1)N1(1) This command was introduced.
Command Description
interface policy deny Enters interface policy configuration mode for a user role.

Table of Contents

Other manuals for Cisco Nexus 5500 Series

Related product manuals