[Sysname-GigabitEthernet1/0/1] mld-snooping static-group ff3e::101 source-ip 2002::22
vlan 2
mld-snooping static-router-port
Syntax
mld-snooping static-router-port vlan vlan-id
undo mld-snooping static-router-port vlan vlan-id
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
vlan vlan-id: Specifies a VLAN by its ID, in the range of 1 to 4094.
Description
Use mld-snooping static-router-port to configure the current port as a static router port.
Use undo mld-snooping static-router-port to restore the default.
By default, no ports are static router ports.
This command works in both MLD snooping–enabled VLANs and VLANs with MLD enabled on their
VLAN interfaces.
This command does not take effect in a sub-VLAN of an IPv6 multicast VLAN.
In Layer 2 Ethernet interface view or Layer 2 aggregate interface view, this command takes effect only if
the interface belongs to the specified VLAN.
Related commands: subvlan.
Examples
# Enable the static router port function on GigabitEthernet 1/0/1 in VLAN 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mld-snooping static-router-port vlan 2
mld-snooping version
Syntax
mld-snooping version version-number
undo mld-snooping version
View
VLAN view
Default level
2: System level
246