62
C
HAPTER
2: L
OGGING
INTO
AN
E
THERNET
S
WITCH
Configuration Example
Network requirements
Only the Telnet users sourced from the IP address of 10.110.100.52 are permitted
to access the switch.
Network diagram
Figure 26
Network diagram for controlling Telnet users using ACLs
Configuration procedure
# Define a basic ACL.
<4210> system-view
[4210] acl number 2000
[4210-acl-basic-2000] rule 1 permit source 10.110.100.52 0
[4210-acl-basic-2000] quit
# Apply the ACL.
[4210] user-interface vty 0 4
[4210-ui-vty0-4] acl 2000 inbound
Controlling Network
Management Users by
Source IP Addresses
You can manage a Switch 4210 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.
■
Defining an ACL
■
Applying the ACL to control users accessing the switch through SNMP
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.
Table 32
Control Telnet users by source MAC addresses
Operation Command
Description
Switch
PC
10.110.100.52
Internet
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...