mld-snooping router-port-deny
Use mld-snooping router-port-deny to disable a port from becoming a dynamic router port.
Use undo mld-snooping router-port-deny to allow a port to become a dynamic router port.
Syntax
mld-snooping router-port-deny [ vlan vlan-list ]
undo mld-snooping router-port-deny [ vlan vlan-list ]
Default
A port is allowed to become a dynamic router port.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Parameters
vlan vlan-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN by its ID or a range of VLANs in the form of start-vlan-id to end-vlan-id. The VLAN ID is in the range of 1 to 4094. If you specify VLANs, this command takes effect only when the port belongs to the specified VLANs. If you do not specify a VLAN, this command takes effect on all VLANs.
Examples
# Disable FortyGigE 1/0/1 from becoming a dynamic router port in VLAN 2.
<Sysname> system-view [Sysname] interface [Sysname-FortyGigE1/0/1] mld-snooping router-port-deny vlan 2