mirror vap
Function
The mirror vap command configures the VAP-based mirroring function.
The undo mirror vap command cancels VAP-based mirroring configuration.
By default, the VAP-based mirroring function is not configured.
Format
mirror vap to observe-port { both | inbound | outbound } ap-name ap-name radio-id radio-id ssid ssid
mirror vap to observe-port { both | inbound | outbound } ap-id ap-id radio-id radio-id ssid ssid
undo mirror vap { both | inbound | outbound } [ ap-name ap-name radio-id radio-id ssid ssid ]
undo mirror vap { both | inbound | outbound } [ ap-id ap-id radio-id radio-id ssid ssid ]
Parameters
Parameter |
Description |
Value |
---|---|---|
to observe-port | Specifies the VAP-based local mirroring function. |
- |
both |
Mirrors incoming and outgoing packets on an air interface of a VAP to an observing port. |
- |
inbound |
Mirrors incoming packets on an air interface of a VAP to an observing port. |
- |
outbound |
Mirrors outgoing packets on an air interface of a VAP to an observing port. |
- |
ap-name ap-name | Specifies an AP name. The ap-name, radio-id, and ssid determine a VAP. |
The AP name must exist. |
ap-id ap-id | Specifies an AP ID. The ap-id, radio-id, and ssid determine a VAP. |
The AP ID must exist. |
radio-id radio-id | Specifies a radio ID. The ap-name (or ap-id), radio-id and ssid determine a VAP. |
The value is an integer that ranges from 0 to 2. Three radios are available only on the AP4030TN, AP4051TN, and AP8050TN-HD. |
ssid ssid | Specifies an SSID. The ap-name (or ap-id), radio-id and ssid determine a VAP. |
The SSID must exist. |
Usage Guidelines
Usage Scenario
You can run the mirror vap command to configure the VAP-based mirroring function, which helps to monitor and analyze packets passing through an interface.
You can configure mirroring of either the incoming or outgoing packets, or both incoming and outgoing packets to an observing port.
Prerequisites
An observing port has been configured using the observe-port command.
Precautions
The mirroring function does not affect system security but increases system overhead. Therefore, disable the mirroring function immediately when you do not need this function.
To configure VAP-based mirroring on an interface again, run the undo mirror vap command to cancel the existing mirroring configuration first.