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

support template int_dot1q_tunnel_host with dcnm_interface_module #350

Open
ccoueffe opened this issue Nov 29, 2024 · 0 comments
Open

support template int_dot1q_tunnel_host with dcnm_interface_module #350

ccoueffe opened this issue Nov 29, 2024 · 0 comments

Comments

@ccoueffe
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Currently NDFC has a template named int_dot1q_tunnel_host to create configuration for QinVNI. This template is not available in dcnm_interface.

L2protocol tunnel are not in the template, but this configuration can be added in the freeform Config.

image

image

image

NOTE
The L2 vlan/VNI cannot be assigned to interface type dot1-tunnel with the API Network/attachments

image

fatal: [nac-ndfc2]: FAILED! => changed=false 
  invocation:
    module_args:
      config:
      - attach:
        - ip_address: 10.229.42.221
          ports:
          - Ethernet1/7
          - Ethernet1/8
        deploy: false
        int_desc: Configured by Ansible NetAsCode
        is_l2only: false
        net_id: 140001
        net_name: NaC-Net21
        vlan_id: 2301
        vrf_name: NaC-VRF21
      fabric: nac-ndfc2
      state: merged
  msg:
    DATA:
      NaC-Net21-[XXXXXXXX/netascode-leaf22]: Invalid Interfaces in netascode-leaf22. Invalid interfaces are Ethernet1/8.
    MESSAGE: OK
    METHOD: POST
    REQUEST_PATH: https://x.x.x.x:443/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/nac-ndfc2/networks/attachments
    RETURN_CODE: 200
    ROLLBACK_RESULT: SUCCESS - Attempted rollback of the task has succeeded

NOTE
Other l2protocol tunnel are available, but not working to all platform like N9Kv.

netascode-leaf22(config-if)# l2protocol tunnel ?
  <CR>
  allow-double-tag    Enable l2pt allow-double-tag
  cdp                 Enable l2pt for CDP
  drop-threshold      Configure l2pt drop-threshold
  lacp                Enable l2pt for LACP
  lldp                Enable l2pt for LLDP
  shutdown-threshold  Configure l2pt shut-threshold
  stp                 Enable l2pt for STP
  stp-bridge          Enable l2pt for STP Bridge MAC
  vtp                 Enable l2pt for VTP

Ex:

interface Ethernet1/8
  switchport
  switchport mode dot1q-tunnel
  spanning-tree bpdufilter enable
  mtu 9216
  spanning-tree port type edge
  description description Q-in-VNI for Customer
  l2protocol tunnel cdp
  l2protocol tunnel stp
  l2protocol tunnel vtp
  no shutdown
switch# config terminal
switch(config) vlan 300
switch(config-vlan) vn-segment 33000

Documentation about Q-in-VNI

New or Affected modules(s):

  • dcnm_interface

DCNM version

  • V 12.x
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