config switch-controller traffic-sniffer
Configure FortiSwitch RSPAN/ERSPAN traffic sniffing parameters.
config switch-controller traffic-sniffer
Description: Configure FortiSwitch RSPAN/ERSPAN traffic sniffing parameters.
set mode [erspan-auto|rspan|...]
set erspan-ip {ipv4-address}
config target-mac
Description: Sniffer MACs to filter.
edit <mac>
set description {string}
next
end
config target-ip
Description: Sniffer IPs to filter.
edit <ip>
set description {string}
next
end
config target-port
Description: Sniffer ports to filter.
edit <switch-id>
set description {string}
set in-ports <name1>, <name2>, ...
set out-ports <name1>, <name2>, ...
next
end
end
config switch-controller traffic-sniffer
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
mode |
Configure traffic sniffer mode. |
option |
- |
erspan-auto |
||||||||
|
|
|||||||||||
erspan-ip |
Configure ERSPAN collector IP address. |
ipv4-address |
Not Specified |
0.0.0.0 |
config target-mac
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
description |
Description for the sniffer MAC. |
string |
Not Specified |
|
config target-ip
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
description |
Description for the sniffer IP. |
string |
Not Specified |
|
config target-port
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
description |
Description for the sniffer port entry. |
string |
Not Specified |
|
in-ports |
Configure source ingress port interfaces. Interface name. |
string |
Maximum length: 79 |
|
out-ports |
Configure source egress port interfaces. Interface name. |
string |
Maximum length: 79 |
|