Foundry NetIron M2404C and M2404F Metro Access Switches Configuring VLANs (Rev.03)
Virtual LANs
© 2008 Foundry Networks, Inc.
Page 19 of 73
Command Syntax
device-name
(config-vlan
VLAN-NAME
)#
add cpu-port
Excluding the CPU from Membership in the VLAN
The
remove cpu-port
command, in Specific VLAN Configuration mode, excludes the device from
membership in the VLAN. This feature prevents the device from receiving broadcast and multicast
traffic in the VLAN. The traffic will be forwarded to the other ports in VLAN. The device will
receive the unicast traffic directed to it.
NOTE
Enabling the remove cpu-port feature will not block the unicast traffic to the CPU.
By default, the CPU is included as a member of the VLAN.
Command Syntax
device-name
(config-vlan
VLAN-NAME
)#
remove cpu-port
Attaching an IP Interface to a VLAN
The
rif
command, in Specific VLAN Configuration mode, attaches an IP interface to the VLAN.
The
no
form of the command detaches the IP interface from the VLAN
By using the
rif
command, the user binds the configured VLAN to an IP interface which was
previously created (e.g. sw2). More than one VLAN can be attached to one IP interface.
The user can attach the same subnet to up to 64 VLANs.
For creating an IP interface, use the
interface
command in Global Configuration mode.
NOTE
The
no rif
command can be executed on the default VLAN.
NOTE
After executing the
no rif
command, the sw0 interface will be accessible and the
default VLAN will configured in Layer 2 mode.
Command Syntax
device-name
(config-vlan
VLAN-NAME
)#
rif IF-NAME
device-name
(config-vlan
VLAN-NAME
)#
no rif
Argument Description
IF-NAME
The name of an IP interface in format swN. The range is <1-255>.
The sw0 IP interface is attached only to a VLAN named default. Its VLAN ID is
1. By default, all the available ports in the system are attached to this VLAN as