29
[Sysname-GigabitEthernet1/0/1] igmp-snooping static-group 232.1.1.1 source-ip 1.1.1.1
vlan 2
igmp-snooping static-router-port
Syntax
igmp-snooping static-router-port vlan
vlan-id
undo igmp-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, where
vlan-id
is in the range of 1 to 4094.
Description
Use
igmp-snooping static-router-port
to configure the current port as a static router port.
Use
undo igmp-snooping static-router-port
to restore the default.
By default, no ports are static router ports.
This command works in both IGMP snooping–enabled VLANs and VLANs with IGMP enabled on their
VLAN interfaces.
This command does not take effect in a sub-VLAN of a 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
# Configure GigabitEthernet 1/0/1 in VLAN 2 as a static router port.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] igmp-snooping static-router-port vlan 2
igmp-snooping version
Syntax
igmp-snooping version
version-number
undo igmp-snooping version
View
VLAN view
Default level
2: System level