hit counter script

Cisco Nexus 3600 NX-OS Security Configuration Manual page 112

Table of Contents

Advertisement

Configuring ACLs on Virtual Terminal Lines
Before You Begin
Be sure that the ACL that you want to apply exists and is configured to filter traffic for this application.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
The following example shows how to apply the access-class ozi2 command to the in-direction of the vty line.
switch# configure terminal
Enter configuration commands, one per line.
switch(config)# line vty
switch(config-line)# access-class ozi2 in
switch(config-line)# exit
switch#
Cisco Nexus 3600 NX-OS Security Configuration Guide, Release 7.x
98
Command or Action
switch# configure terminal
switch(config)# line vty
Example:
switch(config)# line vty
switch(config-line)#
switch(config-line)# access-class access-list-number
{in | out}
Example:
switch(config-line)# access-class ozi2 in
switch(config-line)#access-class ozi3 out
switch(config)#
switch(config-line)# no access-class
access-list-number {in | out}
Example:
switch(config-line)# no access-class ozi2 in
switch(config-line)# no access-class ozi3 out
switch(config)#
switch(config-line)# exit
Example:
switch(config-line)# exit
switch#
switch# show running-config aclmgr
Example:
switch# show running-config aclmgr
switch# copy running-config startup-config
Example:
switch# copy running-config startup-config
Purpose
Enters global configuration mode.
Enters line configuration mode.
Specifies inbound or outbound access
restrictions.
(Optional)
Removes inbound or outbound access
restrictions.
Exits line configuration mode.
(Optional)
Displays the running configuration of
the ACLs on the switch.
(Optional)
Copies the running configuration to the
startup configuration.
End with CNTL/Z.
Configuring IP ACLs

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents