VXLAN - IRB Commands
This chapter describes the VXLAN - IRB commands: These commands are applicable for TR3 and Maverick platform only.
evpn irb
Use this command to configure default gateway behavior on a VTEP for particular VNID.
Use the no form this command to disable default gateway behavior on a VTEP for the particular VNID.
Note: Map an IRB interface to an L2 VNID. This IRB interface can have multiple IP address as configured in IRB IP address CLI and can serve all subnets attached to the L2 VNID.
Command Syntax
evpn <NAME>
no evpn <NAME>
Parameters
NAME
IRB interface name
Command Mode
NVO Mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
#config mode
(config)# nvo vxlan id 2000 ingress-replication inner-vid-disabled
(config-nvo)# evpn irb1
(config-nvo)# no evpn irb1
evpn irb-forwarding anycast-gateway-mac
Use this command to configure common anycast mac-address for all the IRB interfaces
Use the no form of this command to remove the global MAC address on all the the IRB interfaces.
Command Syntax
evpn irb-forwarding anycast-gateway-mac XXXX.XXXX.XXXX
no evpn irb-forwarding anycast-gateway-mac
Parameters
XX-XX-XX-XX-XX-XX
Source MAC address (Option 1)
XX:XX:XX:XX:XX:XX
Source MAC address (Option 2)
XXXX.XXXX.XXXX
Source MAC address (Option 3)
Command Mode
Configuration Mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
#configure terminal
(config)#evpn irb-forwarding anycast-gateway-mac 0000.0000.1313
Or
(config)#evpn irb-forwarding anycast-gateway-mac 00:00:00:00:13:13
Or
(config)#evpn irb-forwarding anycast-gateway-mac 00-00-00-00-13-13
(config)# no evpn irb-forwarding anycast-gateway-mac
evpn irb-if-forwarding anycast-gateway-mac
Use this command to enable an IRB interface to use the global anycast IRB mac-address.
Use the no form of this command to un-configure anycast MAC at IRB interface.
Command Syntax
evpn irb-if-forwarding anycast-gateway-mac
no evpn irb-if-forwarding anycast-gateway-mac
Parameters
None
Command Mode
IRB_IF_Mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
#configure teminal
(config)# interface irb 1
(config-irb-if)# ip vrf forwarding vrfip
(config-irb-if)#evpn irb-if-forwarding anycast-gateway-mac
(config-irb-if)#no evpn irb-if-forwarding anycast-gateway-mac
interface irb
Use this command to configure logical IRB interface.
Use the no form of this command to un-configure logical IRB interface.
Command Syntax
interface irb<1-4094>
no interface irb<1-4094>
Parameters
<1-4094>
IRB interface number
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
#configure teminal
(config)#interface irb1
(config)#no interface irb1
l3vni
Use this command to configure L3 Virtual Network Identifier for an ip vrf
Use the no form of this command to remove L3 Virtual Network Identifier
This identifies a tenant, with this one tenant can have L3VNI as its identifier and he can have multiple L2 networks identified with L2VNI's.
Note: L3 VNID cannot be same as L2 VNID.
Command Syntax
l3vni <L3 VNID>
no l3vni <L3 VNID>
Parameters
<1-16777215>
L3 VNID. Cannot be same as L2 VNID
Command Mode
Configure VRF mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
#configure teminal
(config)#ip vrf vrfip
(config-vrf)#l3vni 10002
(config-vrf)#no l3vni 10002
nvo vxlan irb
Use this command to enable IRB functionality.
Use the no form of this command to disable IRB functionality.
Note: Remove the existing L2 VNID configuration to enable IRB.
Command Syntax
nvo vxlan irb
no nvo vxlan irb
Parameters
None
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
#configure terminal
(config)#nvo vxlan irb
(config)#no nvo vxlan irb
show interface irb
Use this command to display the current running configuration of IRB interface.
Command Syntax
show interface irb<1-4094>
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
rtr1#show interface irb1
Interface irb1
Hardware is IRB Current HW addr: 0000.0000.ff10
Physical:(Not Applicable) Logical:0000.0000.ff10
Port Mode is Router
Interface index: 700001
Metric 0 mtu 1500
Debounce timer: disable
ARP ageing timeout 1500
<UP,BROADCAST,RUNNING,MULTICAST>
VRF Binding: Associated with vrf1
Label switching is disabled
Administrative Group(s): None
DHCP client is disabled.
Last Flapped: Never
Statistics last cleared: 2019 Mar 14 17:57:06 (00:21:31 ago)
inet 80.80.80.1/24 broadcast 80.80.80.255
inet6 8001::1/64
inet6 fe80::200:ff:fe00:ff10/64
RX
unicast packets 0 multicast packets 0 broadcast packets 0
input packets 0 bytes 0
jumbo packets 0
undersize 0 oversize 0 CRC 0 fragments 0 jabbers 0
input error 0
input with dribble 0 input discard 0
Rx pause 0
TX
unicast packets 0 multicast packets 0 broadcast packets 0
output packets 0 bytes 0
jumbo packets 0
output errors 0 collision 0 deferred 0 late collision 0
output discard 0
Tx pause 0
rtr1#
show evpn l3vni-map
Use this command to display the L3 VNI, L2 VNI and IRB interface mapping.
Command Syntax
show evpn l3vni-map
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
rtr3#show evpn l3vni-map
L3VNI L2VNI IRB-interface
===================================
45001 10 irb1
45001 20 irb2
rtr3#
show evpn irb-status
Use this command to display the status of the IRB on a VTEP.
Command Syntax
show evpn irb-status
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 5.1.
Example
#show evpn irb-status
IRB is ACTIVE in Hardware
show running-config interface irb
Use this command to display the current running configuration of IRB interface.
Command Syntax
show running-config interface irb<1-4094>
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
#show running-config interface irb1
!
interface irb1
ip vrf forwarding vrfip
ip address 144.144.144.1/24
ipv6 address 1201::1/48
evpn irb-if-forwarding anycast-gateway-mac
mac-address 0000.0000.1234
qos map-profile dscp-to-queue DSCP_QUE
qos map-profile queue-color-to-dscp QUE_DSCP
shutdown
!