Igmp-Snooping Static-Router-Port - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Examples
# Configure GigabitEthernet 1/0/1 in VLAN 2 to be a static member port for (1.1.1.1, 232.1.1.1).
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping version 3
[Sysname-vlan2] quit
[Sysname] interface gigabitethernet 1/0/1
[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
Ethernet interface view, Layer 2 aggregate interface view, port group view
Default Level
2: System level
Parameters
vlan vlan-id: Specifies a VLAN in which one or more static router ports are to be configured, where
vlan-id is in the range of 1 to 4094.
Description
Use the igmp-snooping static-router-port command to configure the current port(s) as static router
port(s).
Use the undo igmp-snooping static-router-port command to restore the system default.
By default, no ports are static router ports.
Note that:
This command works on IGMP snooping–enabled VLANs.
If configured in Ethernet interface view or Layer 2 aggregate interface view, this feature takes effect
only if the interface belongs to the specified VLAN.
If configured in port group view, this feature takes effect only on those ports in this port group that
belong to the specified VLAN.
Examples
# Enable the static router port function on GigabitEthernet 1/0/1 in VLAN 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
1-24

Advertisement

Table of Contents
loading

Table of Contents