A SERVICE OF

logo

164
USER INTERFACE CONFIGURATION
COMMANDS
acl
Syntax For basic and advanced ACL, use the following commands:
acl [ ipv6 ] acl-number { inbound | outbound }
undo acl [ ipv6 ] acl-number { inbound | outbound }
For layer 2 ACL, use the following commands:
acl acl-number inbound
undo acl acl-number inbound
View VTY user interface view
Parameter ipv6: When this keyword is present, the command supports IPv6; otherwise, it
supports IPv4.
acl-number: Number of access control list, in the range 2000 to 4999, where
2000 to 2999 are the basic ACL number
3000 to 3999 are the advanced ACL number
4000 to 4999 are the layer 2 ACL number
inbound: Controls dial-in for a user interface.
outbound: Controls dial-out for a user interface.
Description Use the
acl command to reference an ACL to control dial-in or dial-out of the
current users.
Use the
undo acl command to remove the ACL.
For details regarding ACL, refer to “IPv4 ACL Configuration Commands” on page
2087 and “IPv6 ACL Configuration Commands” on page 2103.
By default, dial-in and dial-out of VTY users are not restricted.
Example # Remove the restriction on outgoing calls for VTY 0.