Comment 3 for bug 1464456

Revision history for this message
Suresh Balineni (sbalineni) wrote :

Amit,
I see following error when router-id config is not present and tried to configure evpn:

Jun 14 17:52:13 [29010] Outgoing: <error-info>
Jun 14 17:52:13 [29010] Outgoing: <bad-element>
Jun 14 17:52:13 [29010] Outgoing: evpn-vxlan1
Jun 14 17:52:13 [29010] Outgoing: </bad-element>
Jun 14 17:52:13 [29010] Outgoing: </error-info>
Jun 14 17:52:13 [29010] Outgoing: <error-message>
Jun 14 17:52:13 [29010] Outgoing: Router id mismatch with source vtep: router-id:0.0.0.0 lo0.0:10.87.140.107
Jun 14 17:52:13 [29010] Outgoing: </error-message>

candidate config on MX:

root@cmbu-tasman# show groups __contrail__ routing-instances __contrail__l2_18da8998-3bbf-47b3-b71b-2e4490e531bc_vn-private
vtep-source-interface lo0.0;
instance-type virtual-switch;
vrf-target target:64513:8000007;
protocols {
    evpn {
        encapsulation vxlan;
        extended-vni-list all;
    }
}
bridge-domains {
    bd-16 {
        vlan-id 16;
        routing-interface irb.16;
        vxlan {
            vni 16;
            ingress-node-replication;
        }
    }
}

[edit]
root@cmbu-tasman# show groups __contrail__ interfaces lo0
unit 0 {
    family inet {
        address 10.87.140.107/32 {
            primary;
            preferred;
        }
    }
}

[edit]
root@cmbu-tasman# show routing-options router-id
inactive: router-id 172.16.184.200;

The issue is applicable only for vtep interface configuration for evpn.