OcNOS SP : Segment Routing Guide : Segment Routing Command Reference : EVPN SRv6 Commands
EVPN SRv6 Commands
This chapter describes the EVPN SRv6 commands.
evi-name
Use this command to name the EVPN SRv6 ID. Use the no form of this command to remove the name of the EVPN SRv6 ID.
Command Syntax
evi-name WORD
Parameters
WORD
EVI name of max size 10 character and should not be only numeric
Command Mode
EVPN SRv6 Config mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
PE1(config)#evpn srv6 id 70 xconnect target-srv6-id 80
PE1(config-evpn-srv6)#evi-name ELINE1
PE1(config-evpn-srv6)#
 
evpn srv6 enable
Use this command to enable evpn srv6 functionality.
Use the no version of this command to disable evpn srv6 functionality.
Command Syntax
evpn srv6 enable
no evpn srv6 enable
Parameters
None
Command Mode
Config mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
(config)#evpn srv6 enable
(config)#no evpn srv6 enable
 
evpn srv6 id
Use this command to set the VPN identifier to create an EVPN SRv6 tunnel.
Use evpn srv6 id for creating ELAN and use evpn srv6 xconnect with source and target identifier for ELINE/XConnect.
Command Syntax
evpn srv6 id <1-16777215> (| xconnect target-srv6-id <1-16777215>)
no evpn srv6 id <1-16777215>
Parameters
<1-16777215>
EVID
Command Mode
Config mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
(config)#evpn srv6 id 100 xconnect target-srv6-id 200
(coonfig)#no evpn srv6 id 100
 
evpn srv6 ip-global
Use this command to set the source IP address is used to establish BGP peering with neighbour SRv6 Nodes and to establish the EVPN SRv6 tunnels.
Use the no version of this command to delete the source IP address.
Command Syntax
evpn srv6 ip-global XX::XX
no evpn srv6 ip-global XX::XX
Parameters
X:X::X:X
Ipv6 address type
Command Mode
Config mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
(config)#evpn srv6 ip-global 2001::1
(config)#no evpn srv6 ip-global 2001::1
evpn srv6 multihoming enable
Use this command to enable multihoming capability.
Use no form of this command to disable multihoming capability.
Command Syntax
evpn srv6 multihoming enable
no evpn srv6 multihoming enable
Parameters
None
Command Mode
Config mode
Applicability
This command was introduced in OcNOS version 6.3.0.
Example
(config)#evpn srv6 multihoming enable
(coonfig)#no evpn srv6 multihoming enable
 
 
host-reachability-protocol
Use this command to set the host reachable protocol to Ethernet-VPN over BGP. This defines BGP as the mechanism
for host reachability advertisement to discover EVPN peers and to learn remote host details.
Use no form of this command to remove Ethernet-VPN as the host reachable protocol.
Command Syntax
host-reachability-protocol evpn-bgp WORD
no host-reachability-protocol evpn-bgp
Parameters
WORD
MAC Routing/Forwarding instance name. Maximum limit 32 characters
Command Mode
EVPN SRv6 Config mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
OcNOS(config)#evpn srv6 id 70 xconnect target-srv6-id 80
OcNOS(config-evpn-srv6)# host-reachability-protocol evpn-bgp vrf3
 
locator
Use this command to map the srv6 locator to particular evpn instance.
Use no form of this command to disassociate the locator from evpn instance.
Command Syntax
locator WORD
no locator
Parameters
WORD
Name of the Locator List
Command Mode
EVPN SRv6 Config mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
PE1(config)#evpn srv6 id 70 xconnect target-srv6-id 80
PE1(config-evpn-srv6)#locator VPC13
show evpn srv6 xconnect
Use this command to display the sid details of EVPN tunnels for ELINE.
Command Syntax
show evpn srv6 xconnect (tunnel (sid | summary |) | id <1-16777215> |)
Parameters
tunnel
SRV6 tunnel status discovered by EVPN for VPWS
sid
SRV6 unicast SID's information for VPWS
summary
SRV6 tunnel status summary discovered by EVPN for VPWS
id
VPWS id
<1-16777215>
Range supported for VPWS-ID
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
OcNOS#
OcNOS#show evpn srv6 xconnect
id tunnel
OcNOS#show evpn srv6 xconnect tunnel summary
 
Total number of entries: 1 [Installed: 0, Resolved: 1, Unresolved: 0]
 
OcNOS#show evpn srv6 xconnect tunnel sid
EVPN-SRV6 Network tunnel SID's
Evpn service type: ELINE
EVI-NAME: NA
PE IP: 2001::2
Status: Resolved
Xconnect information
Local Ethernet Tag Id: 70
Local UC-SID: 2981:40:a1:0:2::
Remote Ethernet Tag Id: 80
Remote UC-SID: 2981:40:a2:0:2::
Tunnel policy mapped: --
 
Total number of entries are 1
 
OcNOS#show evpn srv6 xconnect
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
70 ---- 1500 80 xe7.100 --- Single Homed Port --- 2001::2 1500 AC-NW NW-SET
 
Total number of entries are 1
 
 
show running-config evpn srv6
Use this command to display the current running configuration of EVPN SRV6.
Command Syntax
show running-config evpn srv6
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
OcNOS#
OcNOS#show evpn srv6 xconnect
id tunnel
OcNOS#show evpn srv6 xconnect tunnel summary
 
Total number of entries: 1 [Installed: 0, Resolved: 1, Unresolved: 0]
 
OcNOS#show evpn srv6 xconnect tunnel sid
EVPN-SRV6 Network tunnel SID's
Evpn service type: ELINE
EVI-NAME: NA
PE IP: 2001::2
Status: Resolved
Xconnect information
Local Ethernet Tag Id: 70
Local UC-SID: 2981:40:a1:0:2::
Remote Ethernet Tag Id: 80
Remote UC-SID: 2981:40:a2:0:2::
Tunnel policy mapped: --
 
Total number of entries are 1
 
OcNOS#show evpn srv6 xconnect
EVPN Xconnect Info
========================
AC-AC: Local-Cross-connect
AC-NW: Cross-connect to Network
AC-UP: Access-port is up
AC-DN: Access-port is down
NW-UP: Network is up
NW-DN: Network is down
NW-SET: Network and AC both are up
 
Local Remote Connection-Details
================================ ============ ===================================================================================
VPN-ID EVI-Name MTU VPN-ID Source Destination PE-IP MTU Type NW-Status
================================ ============ ===================================================================================
70 ---- 1500 80 xe7.100 --- Single Homed Port --- 2001::2 1500 AC-NW NW-SET
 
Total number of entries are 1
show segment-routing srv6 services evpn
Use this command to display evpn srv6 service information and also mapped transport information.
Command Syntax
show segment-routing srv6 services (l3vpn( (vrf WORD) | ) | evpn ((id ID)|) |)
Parameters
evpn
Ethernet VPN
id
evpn instance identifier
ID
evpn vpws id
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
PE1#show segment-routing srv6 services evpn
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE > vrf1 70 80 2981:40:a2:0:2:: 2001::2 None
PE1#show segment-routing srv6 services evpn ?
id evpn instance identifier
| Output modifiers
> Output redirection
<cr>
 
PE1#show segment-routing srv6 services evpn id ?
ID evpn vpws id
 
PE1#show segment-routing srv6 services evpn id 70
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf local-evpn-id remote-evpn-id SID Nexthop SRv6-Policy-Name
ELINE * vrf1 70 80 2981:40:a2:0:2:: 2001::2 None
PE1#