Configure Evpn Vpws Over Sr-Te Policy; Configure Vpws Pseudowire Headend Over Sr-Te Policy - Cisco ASR 9000 Series Configuration Manuallines

L2vpn and ethernet services configuration guide
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

L2VPN Services over Segment Routing for Traffic Engineering Policy

Configure EVPN VPWS over SR-TE Policy

Router# configure
Router(config)# l2vpn
Router(config-l2vpn)# pw-class 1001
Router(config-l2vpn-pwc)# encapsulation mpls
Router(config-l2vpn-pwc-mpls)# preferred-path sr-te policy pref_sid_to_PE3 fallback disable
Router(config-l2vpn-pwc-mpls)# commit
Router(config-l2vpn-pwc-mpls)# exit
!
Router(config)# l2vpn
Router(config-l2vpn)# xconnect group evpn_vpws
Router(config-l2vpn-xc)# p2p evpn_vpws_1001
Router(config-l2vpn-xc-p2p)# interface tengi0/1/0/1.1001
Router(config-l2vpn-xc-p2p)# neighbor evpn evi 1001 target 10001 source 20001
Router(config-l2vpn-xc-p2p-pw)# pw-class 1001
Router(config-l2vpn-xc-p2p-pw)# commit
Router(config-l2vpn-xc-p2p-pw)# exit
/* If Fallback Enable is configured, which is the default option, and if the SR-policy is
down, then EVPN VPWS will still continue to be UP using the regular IGP path, and not using
the SR-policy */
show l2vpn xconnect detail
EVPN: neighbor 20.20.20.20, PW ID: evi 1001, ac-id 10001, state is up ( established )
Preferred path Inactive : SR TE pref_sid_to_PE3, Statically configured, fallback enabled
/* If Fallback Disable is configured, and if the SR-policy is down, or if it misconfigured
in dual homed mode, then the L2VPN PW will be down */
show l2vpn xconnect detail
EVPN: neighbor 20.20.20.20, PW ID: evi 1001, ac-id 10001, state is down ( local ready )
Preferred path Active : SR TE pref_sid_to_PE3, Statically configured, fallback disabled
Tunnel : Down

Configure VPWS Pseudowire Headend over SR-TE Policy

Router# configure
Router(config)# interface PW-Ether1
Router(config-if)# ipv4 address 10.1.1.1 255.255.255.0
Router(config-if)# attach generic-interface-list 1
Router(config-if)# exit
!
Router(config)# generic-interface-list 1
Router(config-gen-if-list)# interface Bundle-Ether1
Router(config-gen-if-list)# interface TenGigE0/1/0/6/1
Router(config-gen-if-list)# interface TenGigE0/1/0/6/2
Router(config-gen-if-list)# exit
!
Router(config)# l2vpn
Router(config-l2vpn)# pw-class pw1003
Router(config-l2vpn-pwc)# encapsulation mpls
Router(config-l2vpn-pwc-mpls)# transport-mode ethernet
Router(config-l2vpn-pwc-mpls)# preferred-path sr-te policy 1003 fallback disable
Router(config-l2vpn-pwc-mpls)# exit
!
Tunnel : Down
LSP: Up
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
Configure EVPN VPWS over SR-TE Policy
627

Advertisement

Table of Contents
loading

Table of Contents