Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New / Incomplete IOS-XR Syntax Highlighting #45

Open
hardrockhodl opened this issue May 10, 2024 · 3 comments
Open

New / Incomplete IOS-XR Syntax Highlighting #45

hardrockhodl opened this issue May 10, 2024 · 3 comments
Assignees

Comments

@hardrockhodl
Copy link

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

@heyglen
Copy link
Owner

heyglen commented May 29, 2024

Released these commands:

l2vpn
  bridge group NAME
    bridge-domain NAME
      interface Bundle-Ether2.1
        evi 6005
        evi 65534
        evi 1
        evi 65535  # Should Fail
        evi 0  # Should Fail
      exit
    exit
  exit

interface BVI34
 host-routing
 vrf 30
 ipv4 address 10.0.0.5 255.0.0.0
 arp learning local
 arp learning disable
 local-proxy-arp
 mac-address 0123.4567.89ab
!

The "exits" were needed in the l2vpn blocks because the "config t" interface block would otherwise be confused with the "l2vpn → bridge group → bridge domain → interface" block

@heyglen
Copy link
Owner

heyglen commented May 30, 2024

All commands should be added in 2.56.0

@heyglen heyglen self-assigned this May 30, 2024
@heyglen
Copy link
Owner

heyglen commented May 30, 2024

L2VPN:
image

Missing interface commands
image

EVPN
image

Interface Rewrite
image

Command autocompletions
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants