
15-5
z
The source IPv6 ACL and the destination IPv6 ACL must be of the same type.
z
The destination ACL does not take the name of the source IPv6 ACL.
Displaying and Maintaining IPv6 ACLs
To do…
Use the command…
Remarks
Display information about one or all
IPv6 ACLs
display
acl
ipv6
{
acl6-number
|
all
|
name
acl6-name
}
Available in any
view
Display information about ACL uses of
a switch
display acl resource
Available in any
view
Display the configuration and status on
time range
display
time-range
{
time-range-name
|
all
}
Available in any
view
Clear statistics about a specified or all
IPv6 ACLs that are referenced by upper
layer software
reset
acl
ipv6
counter
{
acl6-number
|
all
|
name
acl6-name
}
Available in user
view
IPv6 ACL Configuration Example
Network Requirements
As shown in
Figure 15-1
, a company interconnects its departments through the switch.
Configure an ACL to deny access of the R&D department to external networks.
Figure 15-1
Network diagram for IPv6 ACL configuration
Configuration Procedure
# Create an IPv6 ACL 2000.
<Switch> system-view
[Switch] acl ipv6 number 2000
[Switch-acl6-basic-2000] rule deny source 4050::9000/120
[Switch-acl6-basic-2000] quit
# Configure class c_rd for packets matching IPv6 ACL 2000.
Содержание 4510G
Страница 502: ...4 8 ...
Страница 1010: ...18 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found ...