Operation Manual – ACL
H3C S3610&S5510 Series Ethernet Switches
Chapter 4 Flow Template Configuration
4-5
4.3 Displaying Flow Templates
To do…
Use the command…
Remarks
Display the configuration
information of a specified or
all user-defined flow
templates
display flow-template
user-defined
[
flow-template-name
]
Available in any
view
Display information about
the flow templates
referenced to interfaces.
display flow-template
interface
[
interface-type
interface-number
]
Available in any
view
4.4 Flow Template Configuration Example
I. Network requirements
Create flow templates and apply them to interfaces.
II. Configuration procedure
# Create basic flow template aaa.
<Sysname> system-view
[Sysname] flow-template aaa basic customer-cos smac customer-vlan-id
# Reference flow template aaa on interface Ethernet 1/0/1.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] flow-template aaa
[Sysname-Ethernet1/0/1] quit
# Create user-defined ACL 5000, and configure the extended flow template bbb to
match ARP packets.
[Sysname] acl number 5000
[Sysname-acl-user-5000] rule deny l2 0806 ffff 12
[Sysname] flow-template bbb extend l2 12 2
# Reference flow template bbb on interface Ethernet 1/0/2.
[Sysname] interface Ethernet 1/0/2
[Sysname-Ethernet1/0/2] flow-template bbb
[Sysname-Ethernet1/0/2] quit
# Display information about all user-defined flow templates.
[Sysname] display flow-template user-defined
user-defined flow template: extend
name:bbb, index:1, total reference counts:0
fields: l2 12 2