Please see the below for Fabric RSPAN configuration.
1.Port Based I-SID Mirroring
*ACLIs:
āmirror-by-port in-port monitor-isid-offset mode qos
āno mirror-by-port [enable]
ādefault mirror-by-port [enable], [mode], [qos]
*Description:
āsession-id :- The mirroring session that can be configured with range
āin-port :- Used to configure the 'mirrored' ports. The in-port is the source port from which packets are mirrored
āmonitor-isid-offset :- Offset id value which will be mapped to actual monitor I-SID where packets will be mirrored. Monitor I-SID = base monitor I-SID + offset-id. The range of the monitor-isid-offset will be . Base monitor I-SID = 16776000.
āqos :- Used to define the Quality of Service(QoS) profiles for the system. Monitoring I-SID can support six different QoS levels . Each QoS level can be individually configured. Default value is 1.
ā mode :- Used to configure the 'mode' of the mirror operation.
'tx' means packets being transmitted on the 'mirrored' port will be copied
'rx' means packets received on the 'mirrored' port will be copied.
'both' means all traffic on the 'mirrored' port will be copied.
By default the mode is rx.
āenable :- Enable the mirror-by-port entry. By Default the entry is enabled on creation
2.Flow Based I-SID Mirroring
*ACLIs :
āfilter acl ace action [permit | deny] monitor-isid-offset [qos ]
āno filter acl ace action [permit | deny] monitor-isid-offset
ādefault filter acl ace action [permit | deny] monitor-isid-offset qos
*ACLIs with Remove-tag option (used for bridging RSPAN traffic) :
āfilter acl ace action deny monitor-isid-offset [qos ] [remove-tag]
āno filter acl ace action deny monitor-isid-offset
ādefault filter acl ace action deny monitor-isid-offset [qos] [remove-tag]
ā
*Description:
āAcl-id: - Access control list id
āAce-id: - Access control entry id
āPermit: - Matching packets are permitted
ādeny: - Matching packets are denied and mirrored into I-SID
āremove-tag :- Used to remove outer tag of packets mirrored into I-SID. By default it is set to false and vlan tag will not be removed.
3.Monitoring ACLIs
*ACLIs :
āmonitor-by-isid monitor-isid-offset { egress-ports | egress-mlt }
āmonitor-by-isid monitor-isid-offset { egress-ports | egress-mlt } map-to-vid
āno monitor-by-isid [enable], [map-to-vid ]
ādefault monitor-by-isid [enable]
*Description:
āegress-ports:- monitoring ports to which analyzers shall be connected
āegress-mlt:- monitoring MLT to which analyzers shall be connected
āmap-to-vid :- Optional parameter to map the mirrored packet to VLAN-Id for analysis.
4.Show and Clear I-SID Mirroring Configuration and Statistics
*ACLIs :
āclear isid-mirroring stats [monitor-isid-offset ]
āshow mirror-by-port
āshow filter acl ace action
āshow filter acl ace configs
āshow monitor-by-isid
āshow isid-mirroring stats [monitor-isid-offset ]
