OcNOS-DC 6.4.2 : Virtual Extensible Local Area Network Guide : Virtual eXtensible Local Area Network Command Reference : VXLAN - IRB Commands
VXLAN - IRB Commands
This chapter describes the VXLAN - IRB commands: These commands are applicable for TR3 and Maverick platform only.
l3vni
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-SP 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-SP 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-SP 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-SP 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-SP 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-SP version 5.1.
Example
#configure terminal
(config)#nvo vxlan irb
(config)#no nvo vxlan irb
 
 
 
show bgp l2vpn evpn
Use this command to display details about Layer 2 Virtual Private Network (L2VPN) Ethernet Virtual Private Network (EVPN) routes.
Note: A BGP EVPN route update received for an unreachable IP address is also listed by this command and as a best route. This is because the next hop tracking feature is not supported for the EVPN address family. However, the tunnel to this IP address is shown in unresolved state by the show nvo vxlan tunnel output.
Command Syntax
show bgp l2vpn evpn (((vrf WORD)|(rd WORD)|)((prefix WORD)|)(detail| time|))
show bgp l2vpn evpn mac-ip ((vrf WORD)|(rd WORD)|)
show bgp l2vpn evpn mcast
show bgp l2vpn evpn multihoming es-route <(rd WORD)|(vrf WORD)>
show bgp l2vpn evpn multihoming ethernet-ad-per-evi <(rd WORD)|(vrf WORD)>
show bgp l2vpn evpn multihoming ethernet-ad-per-es <(rd WORD)|(vrf WORD)>
Parameters
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS-SP version 5.1.
Example
show bgp l2vpn evpn detail
BGP route entry for prefix : [1]:[00:00:00:00:11:12:12:22:11:11]:[100]:[100]
Route-Distinguisher: 1.1.1.1:1
Flags : Valid, Selected, IBGP, Labelled
Nexthop : 1.1.1.1 MED value : 0
Community:
Extended Community: RT:100:1 Encapsulation:VxLAN ESI-Label:0
Weight :0, Local Preference :100
AS Path : Local
Origin : IGP
Last Update : Thu Apr 13 12:05:23 2023
Peer : 1.1.1.1
 
BGP route entry for prefix : [2]:[0]:[100]:[48,0000:1111:0000]:[32,10.12.11.12]:[100]
Route-Distinguisher: 1.1.1.1:1
Flags : Valid, Selected, IBGP, Labelled
Nexthop : 1.1.1.1 MED value : 0
Community:
Extended Community: RT:100:1 Encapsulation:VxLAN MAC_mob_seq:Static
Weight :0, Local Preference :100
AS Path : Local
Origin : IGP
Last Update : Thu Apr 13 12:05:23 2023
Peer : 1.1.1.1
Total number of prefixes 2
 
show bgp l2vpn evpn prefix-route
Use this command to display the Type-5 prefix remote routes.
Command Syntax
show bgp l2vpn evpn prefix-route <vrf WORD | rd Word>
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS-SP version 4.1.
Example
rtr1#show bgp l2vpn evpn prefix-route
 
RD[300:1]
ESI Eth-Tag Prefix-Length IP-Address GW-IP Address L3VNID Nexthop Encap
0 45001 24 80.80.80.0 0.0.0.0 45001 2.2.2.2 VXLAN
0 45001 24 90.90.90.0 0.0.0.0 45001 2.2.2.2 VXLAN
0 45001 64 8001:: :: 45001 2.2.2.2 VXLAN
0 45001 64 9001:: :: 45001 2.2.2.2 VXLAN
rtr1#
 
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-SP 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 nvo vxlan l3vni
Use this command to display the L3 VNI, L2 VNI and IRB interface mapping.
Command Syntax
show nvo vxlan l3vni-map
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS-SP version 5.1.
Example
rtr3#show nvo vxlan l3vni-map
L3VNI L2VNI IRB-interface
===================================
45001 10 irb1
45001 20 irb2
 
rtr3#
show nvo vxlan irb-status
Use this command to display the status of the IRB on a VTEP.
Command Syntax
show nvo vxlan irb-status
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 5.1.
Example
#show nvo vxlan 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-SP 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
!