Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure an IPv6 Subnet-Based VLAN

IPv6 subnet-based VLANs, also called IPv6 subnet VLANs, are classified according to the source IPv6 addresses of the packets. After an IPv6 subnet VLAN is configured, if the port receives an Untag packet and the source IPv6 address of the packet matches an IPv6 subnet VLAN entry, the system adds a VLAN tag for the packet, in which the VLAN ID is the VLAN ID in the matching entry.

After the physical location of the user is changed, if the IPv6 address of the user is not changed, the VLAN to which the user port belongs need not be re-configured.

Configuration Conditions

None

Configure IPv6 Subnet-based VLAN

Table 3-11 Configure Pv6 subnet-based VLAN

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Configure an IPv6 subnet VLAN entry.

ipv6-subnet-vlan ipv6 prefix-address vlan vlan-id

Mandatory

By default, no IPv6 subnet VLAN entry is configured.

Enter the L2 Ethernet interface configuration mode.

interface interface-name

Either

After entering the L2 Ethernet interface configuration mode, the subsequent configuration takes effect only on the current port. After entering the aggregation group configuration mode, the subsequent configuration takes effect only on the aggregation group.

Enter the aggregation group configuration mode.

interface link-aggregation link-aggregation-id

Enable the IPv6 subnet VLAN function of the port. ipv6-subnet-vlan enable

Mandatory

By default, the IPv6 subnet VLAN function is disabled on the port.

note


  • The port on which the IPv6 subnet VLAN function is enabled must be added into the VLAN that matches the entry; otherwise, the port cannot forward packets of the VLAN, and the packets that match the source IPv6 address will be discarded.