Wired Intelligent Edge

 View Only

HP 5900 Mirroring from multi vlan

This thread has been viewed 0 times
  • 1.  HP 5900 Mirroring from multi vlan

    Posted Oct 10, 2017 05:14 AM

    Hi everyone
    I have two HP switch 5900 stack together. I want two mirror traffic from multiple vlan to one dest port. Please tell me the command to do that. I have read the document :
    http://h20628.www2.hp.com/km-ext/kmcsdirect/emr_na-c04149503-1.pdf

    But i dont really understand. To mirror multi vlan to one dest port. Do i have to create accesslist, classifier_research.

    For example : I have a switch A (HP-5900). And i have 3 vlan on it.

    Vlan 10 : 10.0.10.0/24
    Vlan 20 : 10.0.20.0/24

    Vlan 30 : 10.0.30.0/24

    <SwitchA> system-view

    [SwitchA] acl number 3000

    [SwitchA-acl-adv-3000] rule permit tcp destination-port any source 10.0.10.0 0.0.0.255

    [SwitchA-acl-adv-3000] rule permit tcp destination-port any source 10.0.20.0 0.0.0.255

    [SwitchA-acl-adv-3000] rule permit tcp destination-port any source 10.0.30.0 0.0.0.255

    [SwitchA-acl-adv-3000] quit

    [SwitchA] traffic classifier classifier_research

    [SwitchA-classifier-classifier_research] if-match acl 3000

    [SwitchA-classifier-classifier_research] quit

    [SwitchA] traffic behavior behavior_research

    [SwitchA-behavior-behavior_research] mirror-to interface Ten-GigabitEthernet 1/0/2

    [SwitchA-behavior-behavior_research] quit

    Please kindly notice i want to monitor all kind of traffic on vlan 10,20,30
    Fix me if i wrong please!
    Many Thanks!