mld-snooping static-router-port

Use mld-snooping static-router-port to configure a port as a static router port.

Use undo mld-snooping static-router-port to remove the configuration of static router ports.

Syntax

mld-snooping static-router-port vlan vlan-id

undo mld-snooping static-router-port { all | vlan vlan-id }

Default

A port is not a static router port.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

all: Specifies all VLANs.

vlan vlan-id: Specifies a VLAN by its VLAN ID in the range of 1 to 4094.

Examples

# Configure HundredGigE 1/0/1 as a static router port in VLAN 2.

<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] mld-snooping static-router-port vlan 2