Configuring static ports

You can configure the following types of static ports:

Static member ports and static router ports never age out. To remove such a port, use the undo igmp-snooping static-group or undo igmp-snooping static-router-port command.

To configure static ports:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view.

interface interface-type interface-number

N/A

3. Configure the port as a static port.

  • Configure the port as a static member port:igmp-snooping static-group group-address [ source-ip source-address ] vlan vlan-id

  • Configure the port as a static router port.igmp-snooping static-router-port vlan vlan-id

By default, a port is not a static member port or a static router port.