EasyManua.ls Logo

Quanta Cloud Technology QuantaMesh QNOS5 - Configuration on the Destination Switch (SW3); Flow-Based Mirroring; VLAN-Based Mirroring

Quanta Cloud Technology QuantaMesh QNOS5
256 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
87
(QCT) (Interface 0/48)#switchport allowed vlan add tagged 100
(QCT) (Interface 0/48)#exit
3.7.2.3. Configuration on the Destination Switch (SW3)
3.7.3. VLAN-based Mirroring
In this example, traffic from all ports that are members of VLAN 10 is mirrored to port 0/18. To configure
VLAN based mirroring:
1. Access VLAN Config mode and create VLAN 10
.
(QCT) (Config)#vlan database
(QCT) (Vlan)#vlan 10
(QCT) (Vlan)#exit
2. Configure the destination interface port as port 0/18.
(QCT) #configure
(QCT) (Config)#port-monitor session 1 destination interface 0/18
3. Configure VLAN 10 as the source interface for the port mirroring session.
(QCT) (Config)#port-monitor session 1 source vlan 10
4. Enable the port mirroring session on the switch.
(QCT) (Config)#port-monitor session 1 mode
(QCT) (Config)#exit
3.7.4. Flow-based Mirroring
In this example, traffic from port 1 is mirrored to port 18 if it matches the criteria defined in the IP ACL or
MAC ACL that are associated with the port mirroring session.
To configure flow based mirroring:
1. Create the extended IP access list IPACL.
(QCT) #configure
(QCT) (Config)#ip access-list IPACL
(QCT) (Config-ipv4-acl)#permit ip 1.1.1.1 0.0.0.0 any
(QCT) (Config-ipv4-acl)#exit
2. Create the mac access list MACL.
(QCT) #configure
(QCT) (Config)#mac access-list extended MACL
(QCT) (Config-mac-access-list)#permit 00:00:00:00:00:11 00:00:00:00:00:00 any

Table of Contents