
173
•
When you configure a TRILL hybrid port as a source port, both TRILL-encapsulated and
non-TRILL-encapsulated packets can be mirrored.
Configuring source ports for a remote source group in system view
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure source ports for
the specified remote source
group.
mirroring-group group-id
mirroring-port interface-list
{
both
|
inbound
|
outbound
}
By default, no source port is
configured for a remote source
group.
Configuring a source port for a remote source group in interface view
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the port as a
source port for the specified
remote source group.
mirroring-group group-id
mirroring-port
{
both
|
inbound
|
outbound
}
By default, a port does not act as
a source port for any remote
source group.
Configuring the egress port for a remote source group
To configure the egress port for a remote source group, use one of the following methods:
•
Configure the egress port for the remote source group in system view.
•
Assign a port to the remote source group as the egress port in interface view.
When you configure the egress port for a remote source group, follow these guidelines:
•
Disable the following features on the egress port:
{
Spanning tree.
{
802.1X.
{
IGMP snooping.
{
Static ARP.
{
MAC address learning.
•
A mirroring group contains only one egress port.
•
A port of an existing mirroring group cannot be configured as an egress port.
Configuring the egress port for a remote source group in system view
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the egress port for
the specified remote source
group.
mirroring-group group-id
monitor-egress interface-type
interface-number
By default, no egress port is
configured for a remote source
group.
Configuring the egress port for a remote source group in interface view