
Operation Manual – Login
H3C S5500-EI Series Ethernet Switches
Chapter 8 Controlling Login Users
8-4
8.2.5 Configuration Example
I. Network requirements
Only the Telnet users sourced from the IP address of 10.110.100.52 and 10.110.100.46
are permitted to log in to the switch.
II. Network diagram
Switch
10.110.100.46
Host A
IP network
Host B
10.110.100.52
Figure 8-1
Network diagram for controlling Telnet users using ACLs
III. Configuration procedure
# Define a basic ACL.
<H3C> system-view
[H3C] acl number 2000 match-order config
[H3C-acl-basic-2000] rule 1 permit source 10.110.100.52 0
[H3C-acl-basic-2000] rule 2 permit source 10.110.100.46 0
[H3C-acl-basic-2000] rule 3 deny source any
[H3C-acl-basic-2000] quit
# Apply the ACL.
[H3C] user-interface vty 0 4
[H3C-ui-vty0-4] acl 2000 inbound
8.3 Controlling Network Management Users by Source IP
Addresses
You can manage a S5500-EI series Ethernet switch through network management
software. Network management users can access switches through SNMP.
You need to perform the following two operations to control network management users
by source IP addresses.
z
Defining an ACL
z
Applying the ACL to control users accessing the switch through SNMP