network_tech icon indicating copy to clipboard operation
network_tech copied to clipboard

New / Incomplete IOS-XR Syntax Highlighting

Open hardrockhodl opened this issue 9 months ago • 0 comments

IOS-XR Example 1

  • add TwentyFiveGigE interface type
interface TwentyFiveGigE0/0/0/40
  • to cisco-ios-xr.sublime-syntax:
interface_names: |
    (?:TwentyFiveGigE)|
    (?:TwentyFiveGigEthernet)|
    (?:Twe)|

IOS-XR Example 2 (ASR 9K) - L2VPN and EVPN

Sorry I cant figure out how you setup this in your file. You have to do your magic.

l2vpn
 bridge group 6005
  bridge-domain 6005
   interface Bundle-Ether2.1
    evi 6005
!
interface BVI34
 host-routing
 vrf 30
 ipv4 address 10.0.0.5 255.0.0.0
 arp learning local
 local-proxy-arp
 mac-address 1.1.1
!
!
evpn
 interface Bundle-Ether1
   ethernet-segment
   identifier type 0 40.00.00.00.00.00.00.00.01
   load-balancing-mode single-active
   bgp route-target 4000.0000.0001
 !
 evi 6005
  bgp
   rd 200:50
   route-target import 100:6005
   route-target export 100:6005
!
!
interface bundle-ether2.1 l2transport
  no shutdown
  encapsulation dot1q 1
  rewrite ingress tag pop 1 symmetric
!

Link to Command Reference

https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r7-5/lxvpn/configuration/guide/b-l2vpn-cg-asr9000-75x/configure-evpn-irb.html#task_7CAD3A1F2C9C4A939EAFE97BDA35B8BA

hardrockhodl avatar May 10 '24 10:05 hardrockhodl