Configuring static ports – H3C Technologies H3C S10500 Series Switches User Manual

Page 39

Advertising
background image

24

To do...

Use the command...

Remarks

Enter VLAN view

vlan vlan-id

Set the aging timer for dynamic
router ports

igmp-snooping router-aging-time
interval

Required
105 seconds by default.

Set the aging timer for dynamic
member ports

igmp-snooping host-aging-time
interval

Required
260 seconds by default.

Configuring static ports

If all hosts attached to a port are interested in the multicast data addressed to a particular multicast group

or the multicast data that a particular multicast source sends to a particular group, you can configure a

static (*, G) or (S, G) entry for the port. That is, you configure the port as a group-specific static member

port or a source-and-group-specific static member port.
You can also configure a port of a switch to be a static router port, through which the switch can forward

all the multicast traffic that it received.
Follow these steps to configure static ports:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Layer 2 Ethernet interface
view, Layer 2 aggregate interface

view, or port group view

Enter Layer 2 Ethernet interface
view or Layer 2 aggregate

interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name

Required
Use either command

Configure the port as a static

member port

igmp-snooping static-group

group-address [ source-ip
source-address ] vlan vlan-id

Required
No static member ports exist by

default.

Configure the port as a static router
port

igmp-snooping static-router-port
vlan vlan-id

Required
No static router ports exist by

default.

NOTE:

A static member port does not respond to queries from the IGMP querier; when you configure a port as
a static member port or cancel this configuration on the port, the port does not send an unsolicited IGMP

report or an IGMP leave message.

Static member ports and static router ports never age out. To remove such a port, use the corresponding
undo command.

Advertising