HP MSR4080 Configuration Manual page 103

Acl and qos
Hide thumbs Also See for MSR4080:
Table of Contents

Advertisement

Figure 28 Network diagram
Host A
192.168.1.2/24
Host B
192.168.1.3/24
Configuration proce
#
Create a per
the year.
<RouterA> system-view
[RouterA] time-range work
# Create an IPv4 basi
192.168.1.2/32 during the time range work.
[RouterA] acl number
[RouterA-acl-basic-2001] rule permit source 192.168.1.2 0 time-range work
[RouterA-acl-basic-2001]
[RouterA-acl-basic-2001]
# Apply IPv4 basic ACL 2001 to filter outgoing packets on interface GigabitEthernet 2/1/1.
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1]
[RouterA-GigabitEthernet2/1/1] quit
Verifying
the configuration
# Display time range configuration
[RouterA] display time-range a
Current time is 13:58:35 6/19/2013 Monday
Time-range : work ( Active )
08:00 to 18:00 working-day
from 00:00 6/1/2013 to 00:00 1/1/2014
The output shows that the time range wo
GE2/1/0
Router A
dure
i
odic time range during 8:
8:0 to 18:0 working-day from 0:0 6/1/2013 to 24:0 12/31/2013
c ACL numbered 2001, and configure a rule in the ACL to permit only packets from
2001
rule deny source any time-range work
quit
Server
GE2/1/1
192.168.0.100/24
00 and 18:00 on w
packet-filter 2001 outbound
and status on Router A.
ll
rk is active.
101
orking days from June 2013 to the end of

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents