No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - VPN

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes VPN features on the device and provides configuration procedures and configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Verifying the EVPN Configuration

Verifying the EVPN Configuration

Prerequisites

EVPN functions have been configured.

NOTE:
If directly connected users exist in a centralized gateway deployment scenario, the VTEP address carried in Type 2 routes (MAC/IP routes) is the device's VTEP address, causing an iteration failure. Therefore, check on iteration results is not performed for Type2 routes (MAC/IP routes), and the routes are marked as valid routes.

Procedure

  • Run the display bgp evpn group [ group-name ] command to check information about an EVPN BGP peer group.
  • Run the display bgp evpn peer [[ ipv4-address ]verbose ] command to check information about peers in the EVPN address family.
  • Run the display bgp evpn routing-table peer statistics command to check statistics about routes advertised and received by the peers in the EVPN address family.
  • Run the display bgp evpn all routing-table command to check information about EVPN routes.

Example

Run the display bgp evpn group [ group-name ] command on a PE to view information about an EVPN BGP peer group.

# Display information about an EVPN BGP peer group named aa.

<Huawei>  display bgp evpn group aa
Group in EVPN:                                                                                                    
                                              
BGP peer-group: aa Remote AS: 100                                               
Authentication type configured: None                                            
Type : internal                                                                 
Configured hold timer value: 180                                                
Keepalive timer value: 60                                                       
Connect-retry timer value: 32                                                   
Minimum route advertisement interval is 0 seconds                               
PeerSession Members:                                                            
  2.2.2.2                                                                       
                                                                                
Status codes: * - Dynamic                                                       
Peer Preferred Value: 0                                                         
No routing policy is configured                                                 
Peer Members:                                                                   
 Peer            V          AS         MsgRcvd         MsgSent     OutQ    Up/Down          State    PrefRcv      
                                                                                                                  
2.2.2.2          4          100           0               0          0     00:02:28         Idle        0   

Run the display bgp evpn peer [ [ ipv4-address ] verbose ] command to view information about peers in the EVPN address family.

# Display detailed information about the peer 2.2.2.2 in the EVPN address family.

<Huawei> display bgp evpn peer 2.2.2.2 verbose
      Peer is 2.2.2.2,  remote AS 100                                            
      Type: IBGP link                                                            
      BGP version 4, Remote router ID 13.0.0.2                                   
      Update-group ID: 0                                                         
      BGP current state: Established, Up for 00h03m58s                           
      BGP current event: KATimerExpired                                          
      BGP last state: OpenConfirm                                                
      BGP Peer Up count: 5                                                       
      Received total routes: 0                                                   
      Received active routes total: 0                                            
      Received mac routes: 0                                                     
      Advertised total routes: 0                                                 
      Port:  Local - 179      Remote - 65163                                     
      Configured: Connect-retry Time: 32 sec                                     
      Configured: Min Hold Time: 0 sec                                           
      Configured: Active Hold Time: 180 sec                                      
      Keepalive Time:60 sec                                                      
      Received  : Active Hold Time: 180 sec                                      
      Negotiated: Active Hold Time: 180 sec   Keepalive Time:60 sec              
      Peer optional capabilities:                                                
      Peer supports bgp multi-protocol extension                                 
      Peer supports bgp route refresh capability                                 
      Peer supports bgp 4-byte-as capability
      Address family IPv4 Unicast: advertised and received                       
      Address family VPNv4: advertised                                           
      Address family L2VPN EVPN: advertised and received            
Received: Total 5 messages                                                       
      Update messages                0                                           
      Open messages                  1                                           
      KeepAlive messages             4                                           
      Notification messages          0                                           
      Refresh messages               0                                           
Sent: Total 7 messages                                                           
      Update messages                0                                           
      Open messages                  2                                           
      KeepAlive messages             5                                           
      Notification messages          0                                           
      Refresh messages               0                                           
Authentication type configured: None                                                           
Last keepalive received: 2017-01-03 19:13:02-08:00                                             
Last keepalive sent    : 2017-01-03 19:13:02-08:00                                             
Last update    received: 2017-01-03 19:06:15-08:00                                             
Last update    sent    : 2017-01-03 19:06:15-08:00                                             
Minimum route advertisement interval is 15 seconds                                             
Optional capabilities:                                                                         
Route refresh capability has been enabled                                                      
4-byte-as capability has been enabled                                                          
Connect-interface has been configured                                                          
Peer Preferred Value: 0                                                                        
Routing policy configured:                                                                     
No routing policy is configured 

Run the display bgp evpn routing-table peer statistics command to view statistics about routes advertised and received by the peers in the EVPN address family.

# Display statistics about routes advertised and received by the peers in the BGP EVPN address family.

<Huawei> display bgp evpn routing-table peer statistics
BGP local router ID : 34.1.1.2 
Local AS number : 200 Total number of peers : 7                
Number of Peers in established state : 4  
 Peer                    Received routes             Advertised routes  
 3.3.3.3                 3                           5                  
 5.5.5.5                  20132                      5  
 10.1.1.2                 0                          0  
 11.11.11.11              0                          0  
 16.1.1.1                 0                          0  
 24.1.1.2                 312                        5  
 24.24.24.2               312                        5  

Run the display bgp evpn all routing-tablecommand to view information about EVPN routes.

# Display IP prefix information about all EVPN routes.

<Huawei> display bgp evpn all routing-table prefix-route
  
Local AS number :100 BGP Local router ID is 189.35.99.225 
Status codes: * - valid, > - best, d - damped,
       h - history,  i - internal, s - suppressed, S - Stale
       Origin : i - IGP, e - EGP, ? - incomplete 
EVPN address family: 
Number of Ip Prefix Routes : 1 
Route Distinguisher: 1:1       

    Network(EthTagId/IpPrefix/IpPrefixLen)          NextHop 
*>     0:9.9.9.0:24                                  9.9.9.9 
VPN-Instance vpn1, Router ID 189.35.99.225: 
Total Number of Routes: 1      
Network            NextHop        MED        LocPrf    PrefVal Path/Ogn 
 i  9.9.9.0/24         9.9.9.9         0          100         0        ?  
Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 143289

Downloads: 361

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next