Syntax
class
ipv4
|ipv6
classname
[ no ] [seq-number
] [match
|ignore
ip-protocol
source-address
destination-address
] [precedence
precedence-value
] [tos
tos-value
] [ip-dscp
codepoint
] [vlan
vlan-id
]
Syntax
policy mirror
[no] [policy-name
seq-number
] [class
ipv4
|ipv6
classname
action mirror
session
] [action mirror
session
...] [ no ]default-class action mirror
[ no ] [session
interface
port/trunk
|vlan
vid-#
]service-policy
mirror-policy-name
inIn the
policy mirror
command, themirror
parameter accepts a number (1 to 4) or name, if the specified mirroring session has already been configured with thesession
name
option in thename-str
mirror
command.
no
[interface
|vlan
]service-policy in
command removes the mirroring policy from a port, VLAN, trunk, or mesh interface for a specified session, but leaves the session available for other assignments.