方式一:
#
observe-port 1 interface-range XGigabitEthernet1/1/0/8 XGigabitEthernet1/2/0/8
#
observe-port 1 forwarding disable
#
acl number 3009
 description #mirror#
 rule 5 permit ip
#
traffic classifier mirror operator or precedence 5
 if-match acl 3009
#
traffic behavior mirror
 permit                                   
 mirroring to observe-port 1
#
traffic policy mirror match-order config
 classifier mirror behavior mirror
#
traffic-policy mirror global inbound
方式二:
#
interface Eth-Trunk99 
 description #mirror#
#
interface 10GE1/0/43
 eth-trunk 99
#
interface 10GE2/0/43
 eth-trunk 99
#
observe-port 1 interface Eth-Trunk99 
#
acl number 3009
 description #mirror#
 rule 5 permit ip
#
traffic classifier mirror type or
 if-match acl 3009
#
traffic behavior mirror
 mirroring observe-port 1
#
traffic policy mirror
 classifier mirror behavior mirror precedence 5
#
traffic-policy mirror global inbound