snMspsConfigMirrorCtrlExtnTable
SN-MSPS-SCX-MIB ·
.1.3.6.1.4.1.4329.20.1.1.1.1.1.6.6
Object
table
This Table is used to configure advanced mirroring features like
- Port Based Mirroring:
- flow based mirroring
- vlan based mirroring
Following are the configuration details for Port based mirroring:
To configure source ports in a session
- snMspsConfigMirrorCtrlExtnMirrType - is set to portBased
- snMspsConfigMirrorCtrlExtnSrcTable - should be used to configure list
of source ports to be mirrored
in a session
- snMspsConfigMirrorCtrlExtnSrcId - represents the source port.
The port Id to be mirrored
should be given here.
- snMspsConfigMirrorCtrlExtnSrcCfg - this object is used to
add/remove a port in the
source port list
Example
To create a session 1 with source ports 5,6 following
sequence of configuration should be followed
For table snMspsConfigMirrorCtrlExtnTable
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnMirrType = portBased
For table snMspsConfigMirrorCtrlExtnSrcTable
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnSrcId = 5 as index
snMspsConfigMirrorCtrlExtnSrcCfg = add
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnSrcId = 6 as index
snMspsConfigMirrorCtrlExtnSrcCfg = add
To configure destination ports in a session
- snMspsConfigMirrorCtrlExtnDestinationTable - should be used to
configure list of
destination ports to be
mirrored in a session
- snMspsConfigMirrorCtrlExtnDestination - represents the
destination port. The
port Id to which packets
should be mirrored should
be given here.
- snMspsConfigMirrorCtrlExtnDestCfg - this object is used to
add/remove a port in the
source port list.
Example
To create a session 1 with destination port 10,11 following
sequence of configuration should be followed
For table snMspsConfigMirrorCtrlExtnTable
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnMirrType = portBased
For table snMspsConfigMirrorCtrlExtnDestinationTable
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnDestination = 10 as index
snMspsConfigMirrorCtrlExtnDestCfg = add
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnDestination = 11 as index
snMspsConfigMirrorCtrlExtnDestCfg = add
To Activate a session
- snMspsConfigMirrorCtrlExtnStatus - should be used to
activate/deactivate mirroring for a
session
Example
To enable mirroring for a session following sequence of
configuration should be followed
For table snMspsConfigMirrorCtrlExtnTable
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnStatus = active
Above configurations applies to flow based mirroring also, the
snMspsConfigMirrorCtrlExtnSrcId used above for configuratin ports
should be used to configure flow Id
To enable remote monitoring of sources for a session
- snMspsConfigMirrorCtrlExtnRSpanStatus - should be used to
enable/disable remote
monitoring for a session
it can be used to set a
session as source rspan
session which implies source
entities for this session are
monitored remotely or can be
used to set a session
as destination rspan session
which implies that mirrored
data is received for this
session should be forwarded to
destination entities of this
session
- snMspsConfigMirrorCtrlExtnRSpanVlanId - it is the vlan id which is
reserved in the network to
carry Mirrored data,if the
session is configured as
source rspan session then data
mirrored for the source
entities will be forwarded on
this vlan if the session is
configured as destination
rspan session then data
received on this vlan will be
forwarded to the destination
entities of this session
Following are the configuration details for configurating Vlan
based mirroring:
To configure vlans as source for a session
- snMspsConfigMirrorCtrlExtnMirrType - is set to vlanBased
- snMspsConfigMirrorCtrlExtnSrcVlanTable - should be used to configure
list of source vlans to be
mirrored in a session
- snMspsConfigMirrorCtrlExtnSrcVlanId - represents a source vlan. The
vlan to be mirrored should be
given here.
- snMspsConfigMirrorCtrlExtnSrcVlanCfg - this object is used to
add/remove a vlan in the
source vlan list
Example
To create a session 1 with source list as vlan 5,6
belonging to context 1 following sequence of configuration
should be followed
For table snMspsConfigMirrorCtrlExtnTable
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnMirrType = vlanBased
For table snMspsConfigMirrorCtrlExtnSrcVlanTable
snMspsConfigMirrorCtrlExtnSrcVlanContext = 1 as index
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnSrcVlanId = 5 as index
snMspsConfigMirrorCtrlExtnSrcVlanCfg = add
snMspsConfigMirrorCtrlExtnSrcVlanContext = 1 as index
snMspsConfigMirrorCtrlExtnSessionIndex = 1 as index
snMspsConfigMirrorCtrlExtnSrcVlanId = 6 as index
snMspsConfigMirrorCtrlExtnSrcVlanCfg = add
Entries for this table can be configured only when snMspsConfigMirrorStatus
is set to enabled.
Configurations done through 'snMspsConfigMirrorCtrlTable' will change the
following for the first session on this table:
- Mirroring type will be changed to port-based
- Mode and Source entities will be overwritten
with the values configured through 'snMspsConfigMirrorCtrlTable'
- Destination entities will be overwritten
with the value configured through 'snMspsConfigMirrorToPort' object
Context
- MIB
- SN-MSPS-SCX-MIB
- OID
.1.3.6.1.4.1.4329.20.1.1.1.1.1.6.6- Type
- table
- Status
- current
- Parent
- snMspsConfigMirror
- Children
- 1
Net-SNMP examples
How SNMP and these commands workUse a bulk walk to inspect objects and instances beneath this OID.
Walk the subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsConfigMirrorCtrlExtnTable'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SN-MSPS-SCX-MIB::snMspsConfigMirrorCtrlExtnTable'
Syntax
No syntax metadata recorded.
Values & Constraints
No enumerated values or constraints recorded.