OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Command Reference : EVPN MPLS Commands : evpn irb
evpn irb
Use this command to map an IRB interface to an L2 VNID. This IRB interface can have multiple IP address as explained in IRB IP address CLI and can serve all subnets attached to the L2 VNID. Currently its 1:1 mapping between IRB interface & L2VNI.
This configuration enables default gateway behavior on that VTEP for that VNID and subnet and triggers default gateway MAC-IP route generation for the corresponding IRB IP with the local or global IRB MAC (router MAC) in distributed gateway in distributed gateway
This makes the default behavior as enable for gateway functionality.
No command disables default gateway behavior of the VTEP for that VNID subnet and triggers withdrawal of the default gateway MAC/IP advertisement done for that VNID subnet.
Use the no form this command to disable default gateway behavior of the VTEP for that VNID subnet and triggers withdrawal of the default gateway MAC/IP advertisement done for that VNID subnet.
Command Syntax
evpn irb [<NAME>|irb-advertise-host-route]
no evpn irb [<NAME>|irb-advertise-host-route]
Parameters
NAME
IRB interface name
irb-advertise-host-route
To advertise host IP prefixes
Command Mode
EVPN_MPLS_CONFIG Mode
Applicability
This command was introduced before OcNOS version 6.0.0.
irb-advertise-host-route introduced in OcNOS version 6.2.0.
Example
#config mode
(config)#evpn mpls id 10
(config-evpn-mpls)#evpn irb irb100
 
(config)#evpn mpls id 102
(config-evpn-mpls)#evpn irb-advertise-host-route
 
Last modified date: 10/17/2023