User Control 61Controlling Telnet Users by Source and Destination IP AddressesControlling Telnet users by source and destination IP addresses is achieved byapplying advanced ACLs, which are numbered from 3000 to 3999.Controlling Telnet Users by Source MAC AddressesControlling Telnet users by source MAC addresses is achieved by applying Layer 2ACLs, which are numbered from 4000 to 4999.Apply the ACL tocontrol Telnet users bysource IP addressesacl acl-number { inbound |outbound }RequiredThe inbound keyword specifies tofilter the users trying to Telnet tothe current switch.The outbound keyword specifiesto filter users trying to Telnet toother switches from the currentswitch.Table 31 Control Telnet users by source and destination IP addressesOperation Command DescriptionEnter system view system-view -Create an advancedACL or enter advancedACL viewacl number acl-number [match-order { config | auto } ]As for the acl number command,the config keyword is specified bydefault.Define rules for theACLrule [ rule-id ] { deny | permit }protocol [ rule-string ]RequiredYou can define rules as needed tofilter by specific source anddestination IP addresses.Quit to system view quit -Enter user interfaceviewuser-interface [ type ]first-number [ last-number ]-Apply the ACL tocontrol Telnet users byspecified source anddestination IPaddressesacl acl-number { inbound |outbound }RequiredThe inbound keyword specifies tofilter the users trying to Telnet tothe current switch.The outbound keyword specifiesto filter users trying to Telnet toother switches from the currentswitch.Table 32 Control Telnet users by source MAC addressesOperation Command DescriptionEnter system view system-view -Create or enter Layer 2ACL viewacl number acl-number -Define rules for theACLrule [ rule-id ] { deny | permit } [rule-string ]RequiredYou can define rules as needed tofilter by specific source MACaddresses.Quit to system view quit -Table 30 Control Telnet users by source IP addressesOperation Command Description