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
Parameter Name | Description | Type | Size |
---|---|---|---|
mode | Configure traffic sniffer mode. erspan-auto: Mirror traffic using a GRE tunnel. rspan: Mirror traffic on a layer2 VLAN. none: Disable traffic mirroring (sniffer). |
option | - |
erspan-ip | Configure ERSPAN collector IP address. | ipv4-address | Not Specified |
Parameter Name | Description | Type | Size |
---|---|---|---|
description | Description for the sniffer MAC. | string | Maximum length: 63 |
Parameter Name | Description | Type | Size |
---|---|---|---|
description | Description for the sniffer IP. | string | Maximum length: 63 |
Parameter Name | Description | Type | Size |
---|---|---|---|
description | Description for the sniffer port entry. | string | Maximum length: 63 |
in-ports <name> |
Configure source ingress port interfaces. Interface name. |
string | Maximum length: 79 |
out-ports <name> |
Configure source egress port interfaces. Interface name. |
string | Maximum length: 79 |
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
Parameter Name | Description | Type | Size |
---|---|---|---|
mode | Configure traffic sniffer mode. erspan-auto: Mirror traffic using a GRE tunnel. rspan: Mirror traffic on a layer2 VLAN. none: Disable traffic mirroring (sniffer). |
option | - |
erspan-ip | Configure ERSPAN collector IP address. | ipv4-address | Not Specified |
Parameter Name | Description | Type | Size |
---|---|---|---|
description | Description for the sniffer MAC. | string | Maximum length: 63 |
Parameter Name | Description | Type | Size |
---|---|---|---|
description | Description for the sniffer IP. | string | Maximum length: 63 |
Parameter Name | Description | Type | Size |
---|---|---|---|
description | Description for the sniffer port entry. | string | Maximum length: 63 |
in-ports <name> |
Configure source ingress port interfaces. Interface name. |
string | Maximum length: 79 |
out-ports <name> |
Configure source egress port interfaces. Interface name. |
string | Maximum length: 79 |