Cisco CATALYST switch port monitoring configuration
CISCO CATALYST switches are divided into two types. In the CATALYST family, the listening port is called the analysis port (analysis port).
1. Catalyst 2900XL/3500XL/2950 series switch port monitoring configuration (based on CLI)
The following command configures port listening:
port monitor
For example, F0/1, F0/2, F0/3 belongs to VLAN1, and F0/1 listens to F0/2 and F0/3 ports:
interface FastEthernet0/1
port monitor FastEthernet0/2
port monitor FastEthernet0/3
port monitor VLAN1
2. Catalyst 4000, 5000 and 6000 series switch port monitoring configuration (based on IOS)
The following command configures port listening:
set span
For example, in module 1, port 1 and port 2 belong to VLAN1, port 3 is in VLAN2, port 4 and 5 are in VLAN2, and port 2 listens to port 1 and 3, 4, 5,
set span 1/1,1/3-5 1/2
3COM switch port monitoring configuration
In 3COM switches, port monitoring is called "Roving Analysis". The port where network traffic is monitored is called the "Monitor Port" (Monitor Port), and the port connecting to the monitoring device is called the "Analyzer Port".
The following command configures port listening:
● Specify analysis port
feature rovingAnalysis add, or abbreviation f r a,
For example:
Select menu option: feature rovingAnalysis add
Select analysis slot: 1
Select analysis port: 2
● Specify the listening port and start the port monitoring
feature rovingAnalysis start, or abbreviation f r sta,
For example:
Select menu option: feature rovingAnalysis start
Select slot to monitor (1-12): 1
Select port to monitor (1-8): 3
● Stop port monitoring
feature rovingAnalysis stop, or abbreviation f r sto,
Intel switch port monitoring configuration
Intel calls port monitoring "Mirror Ports". The port where network traffic is monitored is called the "source port" (Source Port), and the port connecting to the listening device is called the "Mirror Port".
The steps to configure port monitoring are as follows:
● In the navigation menu, click Mirror Ports under Statistics to pop up the Mirror Ports information.
● Click the port in the Configure Source column to select the source port, and Mirror Ports Configuration pops up.
● Configure source port:
The source port is the source port for mirrored traffic, and the mirror port is the port for receiving traffic from the source port.
● Click Apply to confirm
There are three ways to monitor:
1. Continuous (Always): Mirror all traffic.
2. Periodic: Mirror all traffic within a certain period. The mirror cycle is set in Sampling Interval configuration.
3. Disabled: Turn off traffic mirroring.
Avaya switch port monitoring configuration
In the Avaya switch user manual, port monitoring is called "Port Mirror".
The following command configures port monitoring:
{ set|clear } Port Mirror
Set port listening: set port mirror <mod-port-range> source-port <mod-port-range> mirror-port <mod-port-spec> sampling { always | disable | periodic } [ max-packets-sec < max-packets-sec-value> ] [ piggyback-port <mod-port-spec> ]
Disable port listening: clear port mirror <mod-port-range>
In the command, mod-port-range specifies the range of the port; mod-port-spec specifies a specific port; piggyback-port specifies the port of bidirectional mirror; sampling specifies the mirroring period; max-packets-sec is only used when sampling is set to periodic, and specifies the maximum number of datagrams per second for the listening port.
Huawei switch port monitoring configuration
In the Huawei Switch User Manual, port monitoring is called "Port Mirroring".
Use Huawei Lanswitch View management system to add a mirror port:
● Select Device Setup or Stack Setup.
● Click Port Mirroring.
● Click the Add button.
● For Stacking, click on the Switch and select a switch from the list.
● Click Reflect from and select the port where the traffic will be mirrored.
● Click Reflect to and select the port selected above
CISCO CATALYST switches are divided into two types. In the CATALYST family, the listening port is called the analysis port (analysis port).
1. Catalyst 2900XL/3500XL/2950 series switch port monitoring configuration (based on CLI)
The following command configures port listening:
port monitor
For example, F0/1, F0/2, F0/3 belongs to VLAN1, and F0/1 listens to F0/2 and F0/3 ports:
interface FastEthernet0/1
port monitor FastEthernet0/2
port monitor FastEthernet0/3
port monitor VLAN1
2. Catalyst 4000, 5000 and 6000 series switch port monitoring configuration (based on IOS)
The following command configures port listening:
set span
For example, in module 1, port 1 and port 2 belong to VLAN1, port 3 is in VLAN2, port 4 and 5 are in VLAN2, and port 2 listens to port 1 and 3, 4, 5,
set span 1/1,1/3-5 1/2
3COM switch port monitoring configuration
In 3COM switches, port monitoring is called "Roving Analysis". The port where network traffic is monitored is called the "Monitor Port" (Monitor Port), and the port connecting to the monitoring device is called the "Analyzer Port".
The following command configures port listening:
● Specify analysis port
feature rovingAnalysis add, or abbreviation f r a,
For example:
Select menu option: feature rovingAnalysis add
Select analysis slot: 1
Select analysis port: 2
● Specify the listening port and start the port monitoring
feature rovingAnalysis start, or abbreviation f r sta,
For example:
Select menu option: feature rovingAnalysis start
Select slot to monitor (1-12): 1
Select port to monitor (1-8): 3
● Stop port monitoring
feature rovingAnalysis stop, or abbreviation f r sto,
Intel switch port monitoring configuration
Intel calls port monitoring "Mirror Ports". The port where network traffic is monitored is called the "source port" (Source Port), and the port connecting to the listening device is called the "Mirror Port".
The steps to configure port monitoring are as follows:
● In the navigation menu, click Mirror Ports under Statistics to pop up the Mirror Ports information.
● Click the port in the Configure Source column to select the source port, and Mirror Ports Configuration pops up.
● Configure source port:
The source port is the source port for mirrored traffic, and the mirror port is the port for receiving traffic from the source port.
● Click Apply to confirm
There are three ways to monitor:
1. Continuous (Always): Mirror all traffic.
2. Periodic: Mirror all traffic within a certain period. The mirror cycle is set in Sampling Interval configuration.
3. Disabled: Turn off traffic mirroring.
Avaya switch port monitoring configuration
In the Avaya switch user manual, port monitoring is called "Port Mirror".
The following command configures port monitoring:
{ set|clear } Port Mirror
Set port listening: set port mirror <mod-port-range> source-port <mod-port-range> mirror-port <mod-port-spec> sampling { always | disable | periodic } [ max-packets-sec < max-packets-sec-value> ] [ piggyback-port <mod-port-spec> ]
Disable port listening: clear port mirror <mod-port-range>
In the command, mod-port-range specifies the range of the port; mod-port-spec specifies a specific port; piggyback-port specifies the port of bidirectional mirror; sampling specifies the mirroring period; max-packets-sec is only used when sampling is set to periodic, and specifies the maximum number of datagrams per second for the listening port.
Huawei switch port monitoring configuration
In the Huawei Switch User Manual, port monitoring is called "Port Mirroring".
Use Huawei Lanswitch View management system to add a mirror port:
● Select Device Setup or Stack Setup.
● Click Port Mirroring.
● Click the Add button.
● For Stacking, click on the Switch and select a switch from the list.
● Click Reflect from and select the port where the traffic will be mirrored.
● Click Reflect to and select the port selected above