[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mld-snooping static-group ff3e::101 source-ip
2002::22 vlan 2
mld-snooping static-router-port
Use mld-snooping static-router-port to configure a port as a static router port.
Use undo mld-snooping static-router-port to remove a static router port.
Syntax
mld-snooping static-router-port vlan vlan-id
undo mld-snooping static-router-port { all | vlan vlan-id }
Default
A port is not a static router port.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
all: Specifies all VLANs.
vlan vlan-id: Specifies a VLAN by its VLAN ID in the range of 1 to 4094.
Examples
# Configure Ten-GigabitEthernet 1/0/1 as a static router port in VLAN 2.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mld-snooping static-router-port vlan 2
mld-snooping version
Use mld-snooping version to specify an MLD snooping version in a VLAN.
Use undo mld-snooping version to restore the default.
Syntax
mld-snooping version version-number
undo mld-snooping version
Default
The MLD snooping version in a VLAN is 1.
Views
VLAN view
Predefined user roles
network-admin
231