Technical data

For Port Mirroring:
# netConfig --device=<switch_name> addPortMirror session=1
interface=<srcInterface> destInterface=<mirrorPort> direction=both
Note: The interface option allows for more than one source interface. The value can be entered as
a single interface ex: GE1 (1Gb port) or tenGE1 (10Gb port) or it can be entered as a range of interfaces
separated by commas and dashes ex: GE1-5,GE7,tenGE9-10.
Note: The only direction supported by the HP6120XG is 'both.' If the direction option is used on
an HP6120XG, it will be ignored and 'both' is applied.
VLAN Example:
# netConfig --device=C3020_IOBAY1 addPortMirror session=1 vlan=2 destInterface=GE10
direction=both
Port Example:
# netConfig --device=6120XG_IOBAY3 addPortMirror session=1 interface=tenGE1,tenGE3
destInterface=tenGE2
4. Virtual PM&C: Verify the Port Mirroring configuration on the switch
Verify the port monitoring session is configured:
# netConfig listPortMirrors --device=6120XG_IOBAY3
Destination: 2
Source: = (
tenGE1
tenGE3
)
5. Virtual PM&C: Backup the switch configuration
For Cisco:
Perform the 3.1.5 Backup Cisco 4948/4948E/4948E-F Aggregation Switch and/or Cisco 3020 Enclosure
Switch (netConfig) procedure.
For 6120XG:
Perform the 3.2.5 Backup 6120XG Enclosure Switch procedure.
6. Virtual PM&C: Repeat steps 3-5 for each monitor source device.
Repeat steps 3-5 for each monitor source device.
3.2.7 HP 6120XG switchconfig to netConfig Migration
This procedure configures a 6120XG switch to migrate from switchconfig to netConfig.
Needed Materials:
HP Misc. Firmware DVD,
HP Solutions Firmware Upgrade Pack Release Notes [3],
Application specific documentation (documentation that referred to this procedure), and
Template xml files in an application ISO on an application CD.
94
909-2209-001 Revision G, February 2014
3 Procedures