S6700 series dot1q with ipv6 does not work

Created: Oct 16, 2019 16:33:58Latest reply: Oct 17, 2019 01:29:46 86 2 0 0
  Rewarded Hi-coins: 0 (problem resolved)

Hello


I am trying to configure a dot1q interface on ipv6, but it is not having connectivity with the directly connected host. on ipv4 works correctly.


---Tested with two different hosts, this one with an extreme switch

interface Eth-Trunk1

 undo portswitch                          

 ipv6 enable

 mode lacp

#

interface Eth-Trunk1.274

 dot1q termination vid 274

 ip address 187.16.202.29 255.255.255.0

 arp broadcast enable

#

interface Eth-Trunk1.275

 dot1q termination vid 275

 ipv6 enable

 ipv6 address 2001:12F8:0:25::29/64



---And this with a Cisco Router

interface XGigabitEthernet0/0/2

 undo portswitch

#

interface XGigabitEthernet0/0/2.8

 dot1q termination vid 8

 ipv6 enable

 ip address 172.17.17.2 255.255.255.252

 ipv6 address 2801:80:2800::9/127

 arp broadcast enable


in ipv4 there is connection and bgp rises established, but in ipv6 has no communication with the other host using ping


display version

Version 5.170 (S6730 V200R019C00SPC100)

  • x
  • convention:

Featured Answers
chenhui
Admin Created Oct 17, 2019 01:29:46 Helpful(0) Helpful(0)

@Natan.Univates hello,
As in the ipv4, the arp broadcast enable is required under the sub-interface to enable the ARP packet communicating. In IPv6, you should enable the corresponding feature(ND NS) to enable the neighbor communicating.
Please enable the command below under the sub-interface.
ipv6 nd ns multicast-enable
  • x
  • convention:

All Answers
wissal
wissal MVE Created Oct 16, 2019 17:04:16 Helpful(0) Helpful(0)

Hello,

Please find below the right configuration

Ethernet sub-interfaces are multiple logical interfaces configured on a main interface to allow the main interface to communicate with multiple remote interfaces. Ethernet sub-interfaces can share physical layer parameters of their main interface, or be configured with their respective link layer parameters and network layer parameters. Disabling or activating Ethernet sub-interfaces does not affect the main interface status, but the main interface status change affects the status of Ethernet sub-interfaces. Ethernet sub-interfaces work properly only when their main interface is in Up state. Associating an Ethernet sub-interface with a VLAN implements inter-VLAN communication and applies to Dot1q termination, QinQ termination and VXLAN scenarios.

imgDownload?uuid=1450dca654974b37af7086c NOTE:
  • Only the S6720EI, S6720S-EI, S5720HI, and S5720EI support Ethernet sub-interfaces.

  • Only hybrid and trunk interfaces on the preceding switches support Ethernet sub-interface configuration.
  • After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of switches into Layer 3 interfaces, you can configure Ethernet sub-interfaces on the interfaces.

  • After an interface is added to an Eth-Trunk, sub-interfaces cannot be configured on the interface.

  • VLAN termination sub-interfaces cannot be created on a VCMP client.

Pre-configuration Tasks

Before configuring an Ethernet sub-interface, properly connect the physical interface of the Ethernet sub-interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number.subinterface-number [ mode l2 ]

    The Ethernet sub-interface view is displayed.

    subinterface-number specifies the number of an Ethernet sub-interface. mode l2 indicates that the sub-interface is configured to work in Layer 2 mode for the VXLAN service. You need to specify this parameter only when configuring the VXLAN service.

  3. Configure an Ethernet sub-interface to transmit services based on the service type.

    • Layer 2 Ethernet sub-interface

      • When configuring a Layer 2 sub-interface, you only need to configure a sub-interface for termination.

        VLAN packets are classified into Dot1q packets (one layer of VLAN tag) and QinQ packets (double layers of tags). Accordingly, there are two VLAN tag termination modes. Dot1q termination terminates Dot1q packets and QinQ termination terminates QinQ packets. Run either of the following commands to configure a sub-interface for termination based on site requirements.

        • Run dot1q termination vid low-pe-vid [ to high-pe-vid ]

          The allowed VLAN is configured on the sub-interface for dot1q VLAN termination.

        • Run qinq termination pe-vid pe-vid ce-vid ce-vid1 [ to ce-vid2 ]

          The allowed VLAN is configured on the sub-interface for qinq VLAN termination.

      • Configure the VXLAN access service on the Layer 2 sub-interface.

        You must configure the sub-interface to work in Layer 2 mode for the VXLAN service.

        1. Run encapsulation { dot1q { vid pe-vid } | default | untag | qinq { vid vlan-vid ce-vid ce-vid } }

          An encapsulation mode is configured for a Layer 2 sub-interface to specify the type of packets that can pass through the sub-interface.

          By default, the encapsulation mode of packets allowed to pass a Layer 2 sub-interface is not configured.

        2. Run bridge-domain bd-id

          A specified Layer 2 sub-interface is associated with a BD so that data packets can be forwarded in the BD.

          By default, a Layer 2 sub-interface is not associated with a BD.

    • Layer 3 Ethernet sub-interface(IPv4)

      1. Run ip address ip-address { mask | mask-length } [ sub ]

        The IP address of the sub-interface is configured.

        imgDownload?uuid=1450dca654974b37af7086c NOTE:

        Specify the sub parameter when you need to configure a secondary IP address for the sub-interface.

      2. Configure a sub-interface for termination.

        VLAN packets are classified into Dot1q packets (one layer of VLAN tag) and QinQ packets (double layers of tags). Accordingly, there are two VLAN tag termination modes. Dot1q termination terminates Dot1q packets and QinQ termination terminates QinQ packets. Run either of the following commands to configure a sub-interface for termination based on site requirements.

        • Run dot1q termination vid low-pe-vid [ to high-pe-vid ]

          The allowed VLAN is configured on the sub-interface for dot1q VLAN termination.

        • Run qinq termination pe-vid pe-vid ce-vid ce-vid1 [ to ce-vid2 ]

          The allowed VLAN is configured on the sub-interface for qinq VLAN termination.

      3. Run arp broadcast enable

        The ARP broadcast function is enabled on the sub-interface.

        imgDownload?uuid=1450dca654974b37af7086c NOTE:

        When you enable or disable the ARP broadcast function on a sub-interface, the routing status of the sub-interface becomes Down and then Up. This result in flapping of routes on the entire network, affecting the normal operation of services.

    • Layer 3 Ethernet sub-interface(IPv6)

      1. Configure a sub-interface for termination.

        VLAN packets are classified into Dot1q packets (one layer of VLAN tag) and QinQ packets (double layers of tags). Accordingly, there are two VLAN tag termination modes. Dot1q termination terminates Dot1q packets and QinQ termination terminates QinQ packets. Run either of the following commands to configure a sub-interface for termination based on site requirements.

        • Run dot1q termination vid low-pe-vid [ to high-pe-vid ]

          The allowed VLAN is configured on the sub-interface for dot1q VLAN termination.

        • Run qinq termination pe-vid pe-vid ce-vid ce-vid1 [ to ce-vid2 ]

          The allowed VLAN is configured on the termination sub-interface for qinq VLAN termination.

      2. Run
        ipv6 enable

        The IPv6 service is enabled on the sub-interface.

      3. Run
        ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

        The global unicast IPv6 address is configured for the termination sub-interface.

      4. Run
        ipv6 nd ns multicast-enable

        A termination sub-interface is enabled from sending NS multicast packets.

Verifying the Configuration

  • Run the display interface [ interface-type [ interface-number [.subnumber ] ] ] command to check the status of a specified Ethernet sub-interface.
  • Run the display dot1q information termination [ interface interface-type interface-number [.subinterface-number ] ] command to check names of all interfaces configured with dot1q VLAN tag termination and the sub-interface configuration.
  • Run the display qinq information termination [ interface interface-type interface-number [.subinterface-number ] ] command to check names of all interfaces configured with QinQ VLAN tag termination and the sub-interface configuration.

Thanks
  • x
  • convention:

Telecommunications%20engineer%2C%20currently%20senior%20project%20manager%20at%20an%20operator%2C%20partner%20of%20Huawei%2C%20in%20the%20radio%20access%20network%20department%2C%20for%2020%20years%20I%20managed%20several%20types%20of%20projects%2C%20for%20the%20different%20nodes%20of%20the%20network.
chenhui
chenhui Admin Created Oct 17, 2019 01:29:46 Helpful(0) Helpful(0)

@Natan.Univates hello,
As in the ipv4, the arp broadcast enable is required under the sub-interface to enable the ARP packet communicating. In IPv6, you should enable the corresponding feature(ND NS) to enable the neighbor communicating.
Please enable the command below under the sub-interface.
ipv6 nd ns multicast-enable
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login