Operation Manual – Login
H3C S3100 Series Ethernet Switches
Chapter 7 User Control
7-3
Operation
Command
Description
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 and
destination IP
addresses
acl
acl-number
{
inbound
|
outbound
}
Required
The
inbound
keyword specifies to
filter the users trying to Telnet to
the current switch.
The
outbound
keyword specifies
to filter users trying to Telnet to
other switches from the current
switch.
7.2.4 Controlling Telnet Users by Source MAC Addresses
Controlling Telnet users by source MAC addresses is achieved by applying Layer 2
ACLs, which are numbered from 4000 to 4999.
Table 7-4
Control Telnet users by source MAC addresses
Operation
Command
Description
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
} [
rule-string
]
Required
You can define rules as
needed to filter by specific
source MAC addresses.
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
Required
By default, no ACL is applied
for Telnet users.