2-19
Description
Use the multicast static-router-port command to configure the specified port in the current VLAN as a
static router port.
Use the undo multicast static-router-port command to remove the specified port in the current VLAN
as a static router port.
By default, a port is not a static router port.
Examples
# Configure Ethernet 1/0/1 in VLAN 10 as a static router port.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan 10
[Sysname-vlan10] multicast static-router-port Ethernet1/0/1
multicast static-router-port vlan
Syntax
multicast static-router-port vlan vlan-id
undo multicast static-router-port vlan vlan-id
View
Ethernet port view
Parameters
vlan-id: VLAN ID the port belongs to, in the range of 1 to 4094.
Description
Use the multicast static-router-port vlan command to configure the current port in the specified VLAN
as a static router port and specify the VLAN the port belongs to.
Use the undo multicast static-router-port vlan command to restore the default.
By default, no port is configured as a static router port.
Note that:
The impact of the configuration depends on whether the current port belongs to a multicast VLAN and
whether the port belongs to the specified VLAN.
z If the current port belongs to neither a multicast VLAN nor the specified VLAN, the configuration
does not take effect.
z If the current port does not belong to any multicast VLAN but it belongs to the specified VLAN, the
configuration takes effect in the specified VLAN.
z If the current port belongs to a multicast VLAN, the configuration takes effect only in the multicast
VLAN no matter the port belongs to the specified VLAN or not.
Examples
# Configure Ethernet 1/0/1 in VLAN 10 as a static router port.
<Sysname> system-view