TMS zl Management and Configuration Guide ST.1.2.100916

A-116
Command-Line Reference
Global Configuration Context
Note You cannot delete a VLAN association if DHCP relay or routing is enabled on
the VLAN.
vlan <VLAN ID> ip address
To assign an IP address to the VLAN, enter the following command:
Syntax: vlan <VLAN ID> ip address < dhcp | <IP address/prefix length> >
Replace <VLAN ID> with the VLAN ID.
The dhcp option configures the module to request a DHCP address on this
VLAN.
Replace <IP address/prefix length> with the static IP address and prefix length
of the VLAN.
Note A VLAN is automatically set to DHCP until you specify a static address.
vlan <VLAN ID> ip igmp
To enable IGMP on the VLAN, enter the following command:
Syntax: vlan <VLAN ID> ip igmp
Replace <VLAN ID> with the VLAN ID of a TMS VLAN.
vlan <VLAN ID> ip pim-sparse
To enable multicast routing on the VLAN, enter the following command:
Syntax: vlan <VLAN ID> ip pim-sparse
Replace <VLAN ID> with the VLAN ID with the ID of a host switch VLAN. With
this command you enter the PIM context of the VLAN context. The prompt is
hostswitch(tms-module-<slot ID>:vlan-<VLAN ID>-pim-
sparse)#.
vlan <VLAN ID> ip rip
To enable (or disable) RIP on a VLAN, enter the following command:
Syntax: [no] vlan <VLAN ID> ip rip
Replace <VLAN ID> with the VLAN ID with the ID of a host switch VLAN.