beautypg.com

Examples for upper-layer software referencing acls, Network requirements, Network diagram – H3C Technologies H3C S3600 Series Switches User Manual

Page 721: Configuration procedure

background image

1-16

To do...

Use the command...

Remarks

Display a time range or all
the time ranges

display time-range { all |
time-name
}

Display information about
packet filtering

display packet-filter { interface
interface-type interface-number |
unitid
unit-id }

Display information about
ACL resources

display drv qacl_resource

Examples for Upper-layer Software Referencing ACLs

Example for Controlling Telnet Login Users by Source IP

Network requirements

Apply an ACL to permit users with the source IP address of 10.110.100.52 to telnet to the

switch.

Network diagram

Figure 1-1 Network diagram for controlling Telnet login users by source IP

Switch

PC

10.110.100.52

Internet

Configuration procedure

# Define ACL 2000.

system-view

[Sysname] acl number 2000

[Sysname-acl-basic-2000] rule 1 permit source 10.110.100.52 0

[Sysname-acl-basic-2000] quit

# Reference ACL 2000 on VTY user interface to control Telnet login users.

[Sysname] user-interface vty 0 4

[Sysname-ui-vty0-4] acl 2000 inbound

This manual is related to the following products: