3Com Switch 8800 Advanced Software V5 Configuration Guide

824 CHAPTER 59: FLOW TEMPLATE CONFIGURATION
Displaying and
Maintaining Flow
Templates
Flow Template
Configuration
Examples
Network requirements
Create flow templates and apply them to interfaces.
Configuration procedure
# Create basic flow template aaa and extended flow template bbb.
<Sysname> system-view
[Sysname] flow-template aaa basic customer-vlan-id
[Sysname] flow-template bbb extend 14 2 4 15 10 7
# Reference flow template aaa on interface Ethernet 4/2/1 and flow template bbb
on interface Ethernet 3/2/1.
[Sysname] interface ethernet 4/2/1
[Sysname-Ethernet4/2/1] flow-template aaa
[Sysname-Ethernet4/2/1] quit
[Sysname] interface ethernet 3/2/1
[Sysname-Ethernet3/2/1] flow-template bbb
[Sysname-Ethernet3/2/1] quit
# Display information about flow template aaa.
[Sysname] display flow-template user-defined aaa
user-defined flow template: basic
name:aaa, index:1, total reference counts:1
fields: customer-vlan-id
# Display information about all user-defined flow templates.
[Sysname] display flow-template user-defined
user-defined flow template: basic
name:aaa, index:1, total reference counts:1
fields: customer-vlan-id
user-defined flow template: extend
name:bbb, index:2, total reference counts:1
fields: 14 2 4 15 10 7
# Display information about the user-defined flow templates referenced to
interfaces.
[Sysname] display flow-template interface
Interface: Ethernet4/2/1
user-defined flow template: basic
name:aaa, index:1, total reference counts:1
fields: customer-vlan-id
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