Analyzer is down when configuring input ingress vlan
Port mirror analyzer works fine with physical interfaces, but is down when configuriing input ingress vlan.
set forwarding-options analyzer port-mirror-analyzer input ingress vlan <vlan-id>
set forwarding-options analyzer port-mirror-analyzer interface xe-0/0/8.0
user@switch> show forwarding-options analyzer port-analyser
Analyzer name : port-mirror-analyzer
Mirror rate : 1
Maximum packet length : 0
State : down
The behavior is observed because the vlan belongs to a routing instance and if the routing-instance is not added the analyzer configuration it won't work.
Configure the routing instance on the analyzer to make it work.
{master:0}[edit]
user@switch# show forwarding-options analyzer | display set
set forwarding-options analyzer port-mirror-analyzer input ingress routing-instance <routing-instance name> vlan <vlan-id>
set forwarding-options analyzer port-mirror-analyzer output interface xe-0/0/8.0
user@switch# show forwarding-options analyzer
port-mirror-analyzer {
input {
ingress {
routing-instance {
<routing-instance name> {
vlan <vlan-id>;
}
output {
interface xe-0/0/X.0;
user@switch# run show forwarding-options analyzer
State : up
Ingress monitored VLANs : <routing-instance name>/<vlan name>
Output interface : xe-0/0/X.0