HPE JH395A Reference guide

Type
Reference guide

This manual is also suitable for

HPE FlexFabric 5940 Switch Series
EVPN Command Reference
Software version: Release 671x and later
Document version: 6W100-20230822
© Copyright 2023 Hewlett Packard Enterprise Development LP
The information contained herein is subject to change without notice. The only warranties for Hewlett Packard
Enterprise products and services are set forth in the express warranty statements accompanying such
products and services. Nothing herein should be construed as constituting an additional warranty. Hewlett
Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
Confidential computer software. Valid license from Hewlett Packard Enterprise required for possession, use, or
copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software
Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s
standard commercial license.
Links to third-party websites take you outside the Hewlett Packard Enterprise website. Hewlett Packard
Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise
website.
Acknowledgments
Intel®, Itanium®, Pentium®, Intel Inside®, and the Intel Inside logo are trademarks of Intel Corporation in the
United States and other countries.
Microsoft® and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated.
Java and Oracle are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
i
Contents
EVPN commands ·························································································· 1
address-family evpn (public instance view) ································································································ 1
address-family evpn (VPN instance view) ·································································································· 1
address-family l2vpn evpn ························································································································· 2
advertise evpn route ··································································································································· 2
advertise l2vpn evpn ·································································································································· 3
advertise l3vpn route ·································································································································· 4
arp mac-learning disable ···························································································································· 5
arp proxy-send enable ······························································································································· 5
arp-advertising disable ······························································································································· 6
dci enable ··················································································································································· 7
display arp filter source service-instance ··································································································· 8
display bgp l2vpn evpn ······························································································································· 9
display evpn auto-discovery ····················································································································· 31
display evpn drni synchronized-mac ········································································································ 33
display evpn es ········································································································································ 34
display evpn instance vxlan ····················································································································· 38
display evpn ipv6 auto-discovery ············································································································ 40
display evpn ipv6 route mac ····················································································································· 42
display evpn route arp ······························································································································ 43
display evpn route arp suppression ········································································································· 45
display evpn route arp-mobility ················································································································ 46
display evpn route { igmp-js | igmp-ls | smet } ·························································································· 47
display evpn route mac ···························································································································· 50
display evpn route mac-mobility ··············································································································· 52
display evpn route nd ······························································································································· 54
display evpn route nd suppression··········································································································· 55
display evpn route nd-mobility·················································································································· 56
display evpn routing-table ························································································································ 58
display l2vpn forwarding evpn split-horizon ····························································································· 59
esi ····························································································································································· 60
evpn drni group ········································································································································ 61
evpn drni local ·········································································································································· 61
evpn edge group ······································································································································ 62
evpn encapsulation ·································································································································· 63
evpn encapsulation vxlan binding instance ······························································································ 64
evpn global-mac ······································································································································· 65
evpn instance ··········································································································································· 65
evpn irb asymmetric ································································································································· 66
evpn mac-ip advertise distributed-gateway ······························································································ 67
evpn multihoming advertise disable ········································································································· 67
evpn multihoming timer df-delay ·············································································································· 68
evpn multihoming vxlan-frr local ··············································································································· 69
evpn route arp-mobility suppression ········································································································ 69
evpn route gateway-mac unmovable ······································································································· 71
evpn route mac-mobility suppression ······································································································· 71
evpn route nd-mobility suppression ········································································································· 72
evpn span-segment disable ····················································································································· 74
export route-policy ···································································································································· 74
igp-metric inherit ······································································································································· 75
import evpn mac-ip ··································································································································· 76
import route-policy ···································································································································· 77
ip forwarding-conversational-learning ······································································································ 78
ip-prefix-route generate disable ··············································································································· 78
ipv6 nd proxy-send enable ······················································································································· 79
ipv6 nd ra tunnel-broadcast enable ·········································································································· 80
ipv6 nd ra tunnel-broadcast global enable ······························································································· 81
ii
l2vpn drni peer-link ac-match-rule vxlan-mapping ··················································································· 82
l2vpn statistics vsi l3-vni ··························································································································· 82
l3-vni ························································································································································· 83
mac-address forwarding-conversational-learning ···················································································· 84
mac-advertising disable ··························································································································· 85
mapping vni ·············································································································································· 85
mapping-vni remove vpn-target ··············································································································· 86
mapping-vni-based smet ·························································································································· 87
nd-advertising enable ······························································································································· 88
nd mac-learning disable ··························································································································· 89
nexthop evpn-drni group-address ············································································································ 89
nexthop recursive-lookup default-route ignore ························································································· 90
peer advertise evpn-route suppress········································································································· 91
peer advertise original-route ···················································································································· 92
peer advertise vpn-reoriginate ibgp·········································································································· 93
peer default-gateway no-advertise ··········································································································· 94
peer next-hop-invariable ·························································································································· 95
peer re-originated ····································································································································· 96
peer router-mac-local ······························································································································· 97
peer suppress re-originated ····················································································································· 98
ping evpn ·················································································································································· 99
policy vpn-target ····································································································································· 101
reset evpn route arp-mobility suppression ····························································································· 101
reset evpn route mac-mobility suppression ···························································································· 102
reset evpn route nd-mobility suppression ······························································································ 103
route-distinguisher ·································································································································· 103
rr-filter ····················································································································································· 104
snmp-agent trap enable evpn ················································································································ 105
vpn-route cross multipath ······················································································································· 106
vpn-target ··············································································································································· 106
MVXLAN commands ················································································· 109
address-family ipv4 ································································································································ 109
address-family ipv6 ································································································································ 109
data-delay ·············································································································································· 110
data-group ·············································································································································· 110
dci enable ··············································································································································· 112
dci switch-delay ······································································································································ 112
default-group ·········································································································································· 113
display multicast-vpn vxlan data-group receive ····················································································· 114
display multicast-vpn vxlan data-group send ························································································· 116
display multicast-vpn vxlan default-group ······························································································ 117
display multicast-vpn vxlan ipv6 data-group receive ·············································································· 118
display multicast-vpn vxlan ipv6 data-group send ·················································································· 120
display multicast-vpn vxlan ipv6 default-group ······················································································· 122
ipv6 multicast extranet select-rpf ············································································································ 123
multicast extranet select-rpf ··················································································································· 124
multicast-vpn vxlan dci switch-delay ······································································································ 126
multicast-vpn vxlan drni local ················································································································· 127
multicast-vpn vxlan edge remote ··········································································································· 128
multicast-vpn vxlan public-instance ········································································································ 128
multicast-vpn vxlan vpn-instance ··········································································································· 129
s-pmsi advertise source-active··············································································································· 130
source ···················································································································································· 130
Document conventions and icons ······························································ 132
Conventions ··················································································································································· 132
Network topology icons ·································································································································· 133
Support and other resources ····································································· 134
Accessing Hewlett Packard Enterprise Support····························································································· 134
Accessing updates ········································································································································· 134
iii
Websites ················································································································································ 135
Customer self repair ······························································································································· 135
Remote support ······································································································································ 135
Documentation feedback ······················································································································· 135
Index ·········································································································· 137
1
EVPN commands
address-family evpn (public instance view)
Use address-family evpn to enter public instance EVPN view.
Use undo address-family evpn to delete all settings in public instance EVPN view.
Syntax
address-family evpn
undo address-family evpn
Views
Public instance view
Predefined user roles
network-admin
Usage guidelines
You can configure EVPN settings such as route targets in public instance EVPN view.
Examples
# Enter public instance EVPN view.
<Sysname> system-view
[Sysname] ip public-instance
[Sysname-public-instance] address-family evpn
[Sysname-public-instance-evpn]
address-family evpn (VPN instance view)
Use address-family evpn to enter VPN instance EVPN view.
Use undo address-family evpn to delete all settings in VPN instance EVPN view.
Syntax
address-family evpn
undo address-family evpn
Views
VPN instance view
Predefined user roles
network-admin
Usage guidelines
You can configure EVPN settings such as route targets and routing policies in VPN instance EVPN
view.
Examples
# Enter EVPN view of VPN instance tenant.
<Sysname> system-view
[Sysname] ip vpn-instance tenant
2
[Sysname-vpn-instance-tenant] address-family evpn
[Sysname-vpn-evpn-tenant]
address-family l2vpn evpn
Use address-family l2vpn evpn to create the BGP EVPN address family and enter its view,
or enter the view of the existing BGP EVPN address family.
Use undo address-family l2vpn evpn to delete the BGP EVPN address family and all
settings in BGP EVPN address family view.
Syntax
address-family l2vpn evpn
undo address-family l2vpn evpn
Default
The BGP EVPN address family does not exist.
Views
BGP instance view
Predefined user roles
network-admin
Usage guidelines
Configuration made in BGP EVPN address family view takes effect only on routes and peers of the
BGP EVPN address family that are on the public network.
Examples
# Create the BGP EVPN address family and enter its view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] address-family l2vpn evpn
[Sysname-bgp-default-evpn]
advertise evpn route
Use advertise evpn route to enable BGP EVPN route advertisement for the BGP VPNv4 or
VPNv6 address family.
Use undo advertise evpn route to disable BGP EVPN route advertisement for the BGP
VPNv4 or VPNv6 address family.
Syntax
advertise evpn route [ replace-rt ][ advertise-policy policy-name ]
undo advertise evpn route
Default
BGP EVPN routes are not advertised through the BGP VPNv4 or VPNv6 address family.
Views
BGP VPNv4 address family
BGP VPNv6 address family
3
Predefined user roles
network-admin
Parameters
replace-rt: Replaces the route targets of BGP EVPN routes with the route targets of BGP VPNv4
or VPNv6 routes. If you do not specify this keyword, route targets of BGP EVPN routes are not
modified.
advertise-policy policy-name: Specifies a routing policy to filter the BGP EVPN routes to
be advertised to BGP VPNv4 or VPNv6 peers. The policy-name argument specifies the routing
policy name, a case-sensitive string of 1 to 63 characters. If you do not specify this option, all BGP
EVPN routes are advertised to BGP VPNv4 or VPNv6 peers.
Usage guidelines
To enable communication between data centers interconnected through an MPLS L3VPN network,
you must configure the BGP EVPN address family and the BGP VPNv4 or VPNv6 address family to
exchange routes on EDs.
After you execute this command, the device advertises IP prefix advertisement routes and MAC/IP
advertisement routes that contain host route information through the BGP VPNv4 or VPNv6 address
family.
Examples
# Enable BGP EVPN route advertisement for the BGP VPNv4 address family.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] address-family vpnv4
[Sysname-bgp-default-vpnv4] advertise evpn route
advertise l2vpn evpn
Use advertise l2vpn evpn to enable BGP EVPN route advertisement to the local site.
Use undo advertise l2vpn evpn to disable BGP EVPN route advertisement to the local site.
Syntax
advertise l2vpn evpn
undo advertise l2vpn evpn
Default
BGP EVPN route advertisement to the local site is enabled.
Views
BGP-VPN IPv4 unicast address family view
BGP-VPN IPv6 unicast address family view
Predefined user roles
network-admin
Usage guidelines
This command enables the device to advertise BGP EVPN routes to the local site after the device
adds the routes to the routing table of a VPN instance. The BGP EVPN routes here are IP prefix
advertisement routes and MAC/IP advertisement routes that contain ARP or ND information.
Examples
# Enable BGP EVPN route advertisement to the local site for VPN instance vpn1.
4
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] ip vpn-instance vpn1
[Sysname-bgp-default-vpn1] address-family ipv4
[Sysname-bgp-default-ipv4-vpn1] advertise l2vpn evpn
advertise l3vpn route
Use advertise l3vpn route to enable BGP VPNv4 or VPNv6 route advertisement for the BGP
EVPN address family.
Use undo advertise l3vpn route to disable BGP VPNv4 or VPNv6 route advertisement for
the BGP EVPN address family.
Syntax
advertise l3vpn route [ replace-rt ][ advertise-policy policy-name ]
undo advertise l3vpn route
Default
BGP VPNv4 or VPNv6 routes are not advertised through the BGP EVPN address family.
Views
BGP EVPN address family view
Predefined user roles
network-admin
Parameters
replace-rt: Replaces the route targets of BGP VPNv4 or VPNv6 routes with the route targets of
BGP EVPN routes. If you do not specify this keyword, route targets of BGP VPNv4 or VPNv6 routes
are not modified.
advertise-policy policy-name: Specifies a routing policy to filter the BGP VPNv4 or VPNv6
routes to be advertised to BGP EVPN peers. The policy-name argument specifies the routing
policy name, a case-sensitive string of 1 to 63 characters. If you do not specify this option, all BGP
VPNv4 or VPNv6 routes are advertised to BGP EVPN peers.
Usage guidelines
To enable communication between data centers interconnected through an MPLS L3VPN network,
you must configure the BGP EVPN address family and the BGP VPNv4 or VPNv6 address family to
exchange routes on EDs.
After you execute this command, the device advertises BGP VPNv4 or VPNv6 routes as IP prefix
advertisement routes through the BGP EVPN address family.
Examples
# Enable BGP VPNv4 or VPNv6 route advertisement for the BGP EVPN address family.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] address-family l2vpn evpn
[Sysname-bgp-default-evpn] advertise l3vpn route
5
arp mac-learning disable
Use arp mac-learning disable to disable a VSI EVPN instance from learning MAC addresses
from ARP information.
Use undo arp mac-learning disable to restore the default.
Syntax
arp mac-learning disable
undo arp mac-learning disable
Default
An EVPN instance learns MAC addresses from ARP information.
Views
EVPN instance view
VSI EVPN instance view
Predefined user roles
network-admin
Usage guidelines
The MAC information and ARP information advertised by a remote VTEP or PE overlap. To avoid
duplication, use this command to disable the learning of MAC addresses from ARP information.
EVPN will learn remote MAC addresses only from the MAC information advertised from remote
sites.
Examples
# Disable a VSI EVPN instance from learning MAC addresses from ARP information.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] evpn encapsulation vxlan
[Sysname-vsi-aaa-evpn-vxlan] arp mac-learning disable
arp proxy-send enable
Use arp proxy-send enable to enable ARP request proxy.
Use undo arp proxy-send enable to disable ARP request proxy.
Syntax
arp proxy-send enable
undo arp proxy-send enable
Default
ARP request proxy is disabled on VSI interfaces.
Views
VSI interface view
Predefined user roles
network-admin
6
Usage guidelines
ARP request proxy allows a VSI interface to send an ARP request sourced from itself when the
VTEP forwards an ARP request. This feature helps resolve certain communication issues.
In an EVPN VXLAN network, VM 1 and VM 2 are attached to VTEP 1 and VTEP 2, respectively, and
the VMs are in the same subnet. The gateway interfaces of VM 1 and VM 2 are VSI-interface 1 on
VTEP 1 and VSI-interface 2 on VTEP 2, respectively. The following conditions exist on the VTEPs:
•
The VTEPs have established BGP EVPN neighbor relationships.
•
EVPN is disabled from learning MAC addresses from ARP information.
•
MAC address advertisement is disabled, and advertised MAC addresses are withdrawn.
•
Remote-MAC address learning is disabled.
•
Local proxy ARP is enabled on the VSI interfaces.
•
The VSI interfaces use different IP addresses and MAC addresses.
In this network, when VM 1 attempts to communicate with VM 2, the following procedure occurs:
1. VM 1 sends an ARP request.
2. VTEP 1 learns the MAC address of VM 1 from the ARP request, replies to VM 1 on behalf of VM
2, and sends an ARP request to obtain the MAC address of VM 2.
3. VTEP 2 forwards the ARP request, and VM 2 replies to VTEP 1.
4. VTEP 2 forwards the ARP reply sent by VM 2 without learning the MAC address of VM 2
because EVPN is disabled from learning MAC addresses from ARP information.
5. VTEP 1 does not learn the MAC address of VM 2 because remote-MAC address learning is
disabled.
As a result, VM 1 fails to communicate with VM 2.
For VM 1 to communicate with VM 2, enable ARP request proxy on VSI-interface 2 of VTEP 2. When
receiving the ARP request sent by VTEP 1, VTEP 2 forwards it and sends an ARP request sourced
from VSI-interface 2 simultaneously, and VM 2 replies to both ARP requests. Then, VTEP 2 learns
the MAC address of VM 2 from the ARP reply sent to VSI-interface 2 and advertises the MAC
address to VTEP 1 through BGP EVPN routes. In this way, VTEP 1 obtains the MAC address of VM
2, and VM 1 and VM 2 can communicate.
Examples
# Enable ARP request proxy on VSI-interface 100.
<Sysname> system-view
[Sysname] interface vsi-interface 100
[Sysname-vsi-interface100] arp proxy-send enable
Related commands
local-proxy-arp enable (Layer 3—IP Services Command Reference)
arp-advertising disable
Use arp-advertising disable to disable ARP information advertisement for a VSI EVPN
instance.
Use undo arp-advertising disable to restore the default.
Syntax
arp-advertising disable
undo arp-advertising disable
7
Default
ARP information advertisement is enabled for a VSI EVPN instance.
Views
EVPN instance view
VSI EVPN instance view
Predefined user roles
network-admin
Usage guidelines
In an EVPN network with distributed gateways, you can disable ARP information advertisement for a
VXLAN to save resources if all its user terminals use the same EVPN gateway device. The EVPN
instance of the VXLAN will stop advertising ARP information through MAC/IP advertisement routes
and withdraw advertised ARP information. When ARP information advertisement is disabled, user
terminals in other VXLANs still can communicate with that VXLAN through IP prefix advertisement
routes.
Examples
# Disable ARP information advertisement for a VSI EVPN instance.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] evpn encapsulation vxlan
[Sysname-vsi-aaa-evpn-vxlan] arp-advertising disable
dci enable
Use dci enable to enable DCI on an interface.
Use undo dci enable to disable DCI on an interface.
Syntax
dci enable
undo dci enable
Default
DCI is disabled on an interface.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
For EDs to automatically establish VXLAN-DCI tunnels, you must enable DCI on the Layer 3
Ethernet interfaces or Layer 3 aggregate interfaces that interconnect the EDs.
Subinterfaces of a DCI-enabled interface inherit configuration of the interface.
Examples
# Enable DCI on VLAN-interface 10.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] dci enable
8
display arp filter source service-instance
Use display arp filter source service-instance to display ARP gateway protection
configuration for Ethernet service instances.
Syntax
display arp filter source service-instance [ interface interface-type
interface-number [ service-instance instance-id ] ] [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Specifies an interface by its type and
number. If you do not specify an interface, this command displays ARP gateway protection
configuration for Ethernet service instances on all interfaces.
service-instance instance-id: Specifies an Ethernet service instance by its ID in the range
of 1 to 4096. If you do not specify an Ethernet service instance, this command displays ARP gateway
protection configuration for all Ethernet service instances on the specified interface.
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a
member device, this command displays ARP gateway protection configuration on the master device.
Usage guidelines
After you enable ARP gateway protection in Ethernet service instance view, use this command to
view the ARP gateway protection configuration for Ethernet service instances.
Examples
# Display ARP gateway protection configuration for all Ethernet service instances on
Ten-GigabitEthernet 1/0/1 of slot 1.
<Sysname> display arp filter source service-instance interface ten-gigabitethernet 1/0/1
slot 1
Interface: ten-gigabitethernet 1/0/1
Service instance: 1
IPv4 address: 192.168.56.1
Drop count: 10
Service instance: 2
IPv4 address: 192.168.56.2
Drop count: 10
# Display ARP gateway protection configuration for Ethernet service instance 1 on
Ten-GigabitEthernet 1/0/1 of slot 1.
<Sysname> display arp filter source service-instance interface ten-gigabitethernet 1/0/1
instance 1 slot 1
Interface: ten-gigabitethernet 1/0/1
Service instance: 1
IPv4 address: 192.168.56.1
Drop count: 10
# Display ARP gateway protection configuration for Ethernet service instances on all interfaces of
slot 1.
9
<Sysname> display arp filter source service-instance slot 1
Interface: ten-gigabitethernet 1/0/1
Service instance: 1
IPv4 address: 192.168.56.1
Drop count: 10
Service instance: 2
IPv4 address: 192.168.56.2
Drop count: 10
Interface: ten-gigabitethernet 1/0/2
Service instance: 2
IPv4 address: 192.168.56.2
Drop count: 10
Table 1 Command output
Field
Description
Service instance Ethernet service instance ID.
IPv4 address Protected gateway IP address.
Drop count Number of packets dropped due to gateway protection.
Related commands
arp filter source
display bgp l2vpn evpn
Use display bgp l2vpn evpn to display BGP EVPN routes.
Syntax
display bgp [ instance instance-name ] l2vpn evpn [ peer ipv4-address
{ advertised-routes | received-routes } [ statistics ] |
[ route-distinguisher route-distinguisher | route-type { auto-discovery |
es | igmp-ls | igmp-js | imet | ip-prefix | mac-ip | s-pmsi | smet } ] *
[ { evpn-route route-length | evpn-prefix } [ advertise-info | as-path |
cluster-list | community | ext-community ] | { ipv4-address | ipv6-address
| mac-address } [ verbose ] ] | statistics ]
display bgp [ instance instance-name ] l2vpn evpn [ route-distinguisher
route-distinguisher ] [ statistics ] community [ community-number&<1-32>
| aa:nn&<1-32> ] [ internet | no-advertise | no-export |
no-export-subconfed ] [ whole-match ]
display bgp [ instance instance-name ] l2vpn evpn [ route-distinguisher
route-distinguisher ] [ statistics ] community-list
{ basic-community-list-number | adv-community-list-number |
comm-list-name } [ whole-match ]
display bgp [ instance instance-name ] l2vpn evpn [ route-distinguisher
route-distinguisher ] [ statistics ] ext-community [ rt route-target | soo
site-of-origin]&<1-32> [ whole-match ]
Views
Any view
10
Predefined user roles
network-admin
network-operator
Parameters
instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to
31 characters. If you do not specify this option, the command displays BGP EVPN routes for the
default BGP instance.
peer ipv4-address: Specifies a peer by its IPv4 address.
advertised-routes: Specifies the routes advertised to the specified peer.
received-routes: Specifies the routes received from the specified peer.
statistics: Displays BGP EVPN route statistics.
route-distinguisher route-distinguisher: Specifies a route distinguisher (RD), a
string of 3 to 21 characters. The RD can use one of the following formats:
•
16-bit AS number:32-bit user-defined number. For example, 101:3.
•
32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
•
32-bit AS number:16-bit user-defined number. For example, 65536:1. The AS
number must be equal to or greater than 65536.
route-type: Specifies a route type.
auto-discovery: Specifies Ethernet auto-discovery routes.
es: Specifies Ethernet segment (ES) routes.
igmp-ls: Specifies IGMP leave synch routes.
igmp-js: Specifies IGMP join synch routes.
imet: Specifies inclusive multicast Ethernet tag (IMET) routes.
ip-prefix: Specifies IP prefix advertisement routes.
mac-ip: Specifies MAC/IP advertisement routes.
s-pmsi: Specifies Selective Provider Multicast Service Interface (S-PMSI) routes.
smet: Specifies selective multicast Ethernet tag (SMET) routes.
evpn-route: Specifies a BGP EVPN route, a case-insensitive string of 1 to 512 characters.
route-length: Specifies the route length in bits, in the range of 0 to 65535.
evpn-prefix: Specifies a BGP EVPN route in the format of evpn-route/route-length, a
case-insensitive string of 1 to 512 characters.
advertise-info: Displays advertisement information for BGP EVPN routes.
as-path: Specifies the AS path attribute.
cluster-list: Specifies the cluster list attribute.
community: Specifies the community attribute.
ext-community: Specifies the extended community attribute.
ipv4-address: Specifies an IPv4 address.
ipv6-address: Specifies an IPv6 address.
11
mac-address: Specifies a MAC address in MAC/IP advertisement routes. If you specify the
route-type keyword, to use this argument, you must also specify the mac-ip keyword.
verbose: Displays detailed BGP EVPN route information. If you do not specify this keyword, the
command displays brief BGP EVPN route information.
community-number&<1-32>: Specifies a community sequence number. The value range for the
community-number argument is 1 to 4294967295. &<1-32> indicates that a maximum of 32
numbers can be specified.
aa:nn&<1-32>: Specifies a community number. Both aa and nn are in the range of 0 to 65535.
&<1-32> indicates that a maximum of 32 numbers can be specified.
internet: Specifies the INTERNET community attribute. Routes with this attribute can be
advertised to all BGP peers. By default, all routes have this attribute.
no-advertise: Specifies the NO_ADVERTISE community attribute. Routes with this attribute
cannot be advertised to any BGP peers.
no-export: Specifies the NO_EXPORT community attribute. Routes with this attribute cannot be
advertised outside the local AS or confederation, but can be advertised to other sub-ASs in the
confederation.
no-export-subconfed: Specifies the NO_EXPORT_SUBCONFED community attribute.
Routes with this attribute cannot be advertised outside the local AS or to other sub-ASs in the
confederation.
whole-match: Displays BGP EVPN routes that exactly match the specified community list,
community numbers, or extended community attribute. If you do not specify this keyword, the
command displays BGP EVPN routes that include the specified community list, community numbers,
or extended community attribute.
community-list: Specifies a community list to match BGP EVPN unicast routes.
basic-community-list-number: Specifies a basic community list by its number in the range
of 1 to 99.
comm-list-name: Specifies a community list by its name, a case-sensitive string of 1 to 63
characters.
adv-community-list-number: Specifies an advanced community list by its number in the
range of 100 to 199.
rt route-target: Specifies a route target, a string of 3 to 24 characters.
soo site-of-origin: Specifies the Site of Origin (SoO) extended community attribute, a string
of 3 to 24 characters.
A route target or SoO attribute has the following forms:
•
16-bit AS number:32-bit self-defined number. For example, 101:3. The value range is 0 to
65535 for an AS number and 0 to 4294967295 for a self-defined number.
•
32-bit IP address:16-bit self-defined number. For example, 192.168.122.15:1. The value range
is 0 to 65535 for a self-defined number.
•
32-bit AS number:16-bit self-defined number. For example, 70000:3. The value range is 65536
to 4294967295 for an AS number and 0 to 65535 for a self-defined number.
•
32-bit IP address/IPv4 address mask length:16-bit user-defined number. For example,
192.168.122.15/24:1.
•
32-bit AS number in dotted format:16-bit user-defined number. For example, 65535.65535:1.
&<1-32>: Specifies a maximum of 32 items.
12
Usage guidelines
If you do not specify any parameter, this command displays brief information about all BGP EVPN
routes.
This command displays BGP EVPN routes that carry any community attribute and the
whole-match keyword does not take effect if you do not specify the following parameters:
•
community-number
•
aa:nn
•
internet
•
no-advertise
•
no-export
•
no-export-subconfed
This command displays BGP EVPN routes that carry any extended community attribute and the
whole-match keyword does not take effect if you do not specify the following parameters:
•
rt
•
soo
Examples
# Display brief information about all BGP EVPN routes.
<Sysname> display bgp l2vpn evpn
BGP local router ID is 8.8.8.8
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
a - additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Total number of routes from all PEs: 3
Route distinguisher: 1:1
Total number of routes: 2
* >e Network : [2][0][48][0011-0022-0033][32][11.22.33.55]/136
NextHop : 1.1.1.2 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: 20i
Route distinguisher of public instance: 1:15
Total number of routes: 1
* >i Network : [2][0][48][7010-0000-0001][0][0.0.0.0]/104
NextHop : 1.1.1.4 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: 20i
# Display all BGP EVPN routes that carry community attributes.
13
<Sysname> display bgp l2vpn evpn community
BGP local router ID is 1.1.1.9
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
a – additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Total number of routes from all PEs: 6
Route distinguisher: 100:1
Total number of routes: 3
Network NextHop MED LocPrf PrefVal Path/Ogn Community
* > [2][0][48][00aa.00bb.00cc][4][0.0.0.0]/136
10.1.1.2 0 32768 ? <2:3>
* e 10.1.1.1 0 0 65410? <2:3>
* > [3][300][16][::ffff:1.1.1.1]/176
127.0.0.1 0 32768 ? <3:4>
# Display all BGP EVPN routes that carry extended community attributes.
<Sysname> display bgp l2vpn evpn ext-community
BGP local router ID is 1.1.1.9
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
a – additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Total number of routes from all PEs: 6
Route distinguisher: 100:1
Total number of routes: 3
Network NextHop MED LocPrf PrefVal Path/Ogn Ext-Community
* > [2][0][48][00aa.00bb.00cc][4][0.0.0.0]/136
10.1.1.2 0 32768 ? <RT 2:3>
* e 10.1.1.1 0 0 65410? <RT 2:3>
* > [3][300][16][::ffff:1.1.1.1]/176
127.0.0.1 0 32768 ? <RT 3:4>
14
Table 2 Command output
Field
Description
Status codes
Route status codes:
• * - valid—Valid route.
• > - best—Optimal route.
• d - dampened—Dampened route.
• h - history—History route.
• i - internal—Internal route.
• e - external—External route.
• s - suppressed—Suppressed route.
• S - stale—Stale route.
• a - additional-path—Add-Path optimal route.
Origin
Origin of the route:
• i – IGP—Originated in the AS. The origin of routes advertised by
using the network command is IGP.
• e – EGP—Learned through EGP.
• ? – incomplete—Unknown origin. The origin of routes redistributed
from IGP protocols is incomplete.
15
Field
Description
Network
BGP EVPN route/route length. For example, in the entry
[2][0][48][1485-247c-0506][32][10.1.2.20]/136,
[2][0][48][1485-247c-0506][32][10.1.2.20] is the route, and 136 is the route
length in bytes.
BGP EVPN routes are as follows:
• [1][ESI][EthernetTagID]
 1—Ethernet auto-discovery route.
 ESI—Ethernet segment identifier (ESI).
 EthernetTagID—Ethernet tag ID.
• [2][EthernetTagID][MACLength][MAC][IPAddressLength][IPAddress]
 2—MAC/IP advertisement route.
 EthernetTagID—Ethernet tag ID.
 MACLength—MAC address length.
 MAC—MAC address.
 IPAddressLength—IP address length.
 IPAddress—IP address.
• [3][EthernetTagID][IPAddressLength][IPAddress]
 3—IMET route.
 IPAddressLength—IP address length.
 IPAddress—IP address of the originating router.
• [4][ESI][IPAddressLength][IPAddress]
 4—ES route.
 ESI—ESI.
 IPAddressLength—IP address length.
 IPAddress—IP address of the originating router.
• [5][EthernetTagID][IPAddressLength][IPAddress]
 5—IP prefix advertisement route.
 EthernetTagID—Ethernet tag ID.
 IPAddressLength—IP address length.
 IPAddress—IP address of the originating router.
• [6][EthernetTagID][Source Len][Source IP][Group Len][Group
IP][Originator Len][Originator IP]
 6—Selective multicast Ethernet tag route.
 EthernetTagID—Ethernet tag ID.
 Source Len—Length of the multicast source address. This field
displays 0 if the multicast source is any (*, G).
 Source IP—Source IP address of IGMP membership reports.
This field is not displayed if the multicast source is any (*, G).
 Group Len—Length of the multicast group address.
 Group IP—Multicast group address of IGMP membership
reports.
 Originator Len—Length of the originating router's IP address.
 Originator IP—IP address of the originating router.
• [7][ESI][EthernetTagID][Source Len][Source IP][Group Len][Group
IP][Originator Len][Originator IP]
 7—IGMP join synch route.
 ESI—ESI.
 EthernetTagID—Ethernet tag ID.
 Source Len—Length of the multicast source address. This field
displays 0 if the multicast source is any (*, G).
 Source IP—Source IP address of IGMP membership reports.
This field is not displayed if the multicast source is any (*, G).
 Group Len—Length of the multicast group address.
 Group IP—Multicast group address of IGMP membership
reports.
 Originator Len—Length of the originating router's IP address.
 Originator IP—IP address of the originating router.
• [8][ESI][EthernetTagID] [Source Len][Source IP][Group Len][Group
IP][Originator Len][Originator IP][ [LeaveGroup Synchronization]
ï‚¡
8—IGMP leave synch route.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143

HPE JH395A Reference guide

Type
Reference guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI