3-3
To do…
Use the command…
Remarks
Enter user interface view
user-interface
[
type
]
first-number
[
last-number
]
—
Apply the ACL to control
Telnet users by specified
source and destination IP
addresses
acl
acl-number
{
inbound
|
outbound
}
s
ers trying to Telnet to
other switches from the current
switch.
Required
The
inbound
keyword specifies to
filter the users trying to Telnet to
the current switch.
The
outbound
keyword specifie
to filter us
Cont
lying Layer 2 ACLs, which are
numbered from 4000 to 4999.
Follow these steps to control Telnet users by source MAC addresses:
rolling Telnet Users by Source MAC Addresses
Controlling Telnet users by source MAC addresses is achieved by app
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create or enter Layer 2
ACL view
acl number
acl-number
—
Define rules for the ACL
rule
[
rule-id
]
{
deny
|
permit
}
string
]
ded to filter by specific
source MAC addresses.
[
rule-
Required
You can define rules as
nee
Quit to system view
quit
—
Enter user interface view
user-interface
[
type
]
first-number
[
last-number
]
—
Apply the ACL to control
Telnet users by specified
source MAC addresses
acl
acl-number inbound
By default, no ACL is applied
for Telnet users.
Required
Con
Net
Only the Telnet users sourced from the IP address of 10.110.100.52 are permitted to access the switch.
figuration Example
work requirements