28 C1640M-B (3/06)
SETTING UP SWITCH A
The following procedure is an example shows how to configure switch A from the HP 5300 series command line interface (CLI).
To set up switch A:
1. Access the HP ProCurve switch command line interface (CLI), and log into the switch.
The HP ProCurve Switch 5304XL# prompt is displayed.
2. Enter config to access the configuration mode.
The HP ProCurve Switch 5304XL(config)# prompt is displayed.
a. Enter ip routing to enable IP routing.
b. Enter ip multicast-routing to enable multicast routing.
c. Enter router rip to enable RIP routing.
The HP ProCurve Switch 5304XL(rip)# prompt is displayed.
d. Enter exit to exit the RIP configuration mode.
The HP ProCurve Switch 5304XL(config)# prompt is displayed.
3. Do the following:
a. Enter router pim to access the PIM configuration mode and enable PIM-DM routing.
b. Enter exit to exit the PIM configuration mode.
The HP ProCurve Switch 5304XL(config)# prompt is displayed.
4. Enter vlan 1 to access the VLAN 1 configuration mode.
The HP ProCurve Switch 5304XL(vlan-1)# prompt is displayed.
a. Enter ip address 10.1.0.1/16 to assign an IP address with a 16-bit network prefix to VLAN 1.
b. Enter ip igmp to enable IGMP on VLAN 1.
c. Enter ip rip to enable RIPV2 on VLAN 1.
d. Enter ip pim to enable PIM on VLAN 1.
e. Enter ip helper-address 10.2.0.10 to specify where to forward DHCP requests. (In this example, the SM5000 is providing DHCP
service for the Endura network.)
5. Enter vlan 2 to access the VLAN 2 configuration mode.
The HP ProCurve Switch 5304XL(vlan-2)# prompt is displayed.
a. Enter untagged A1 to assign ports A1 to A15 to VLAN 2. (This type of assignment is not necessary for VLAN 1 because all of VLAN
1’s ports by default are in VLAN 1.)
b. Enter ip address 10.2.0.1/16 to assign an IP address with a 16-bit network prefix to VLAN 2.
c. Enter ip igmp to enable IGMP on VLAN 2.
d. Enter ip rip to enable RIPV2 on VLAN 2.
e. Enter ip pim to enable PIM on VLAN 2.
f. Enter ip helper-address 10.3.0.10 to specify where to forward DHCP requests. (In this example, the SM5000 is providing DHCP
service for the Endura network.)
6. Enter vlan3 to access the VLAN 3 configuration mode.
The HP ProCurve Switch 5304XL(vlan-3)# prompt is displayed.
a. Enter untagged A2 to assign ports A2 to A15 to VLAN 3. (This type of assignment is not necessary for VLAN 1 because all of VLAN
1’s ports by default are in VLAN 1.)
b. Enter ip address 10.3.0.1/16 to assign an IP address with a 16-bit network prefix to VLAN 3.
c. Enter ip igmp to enable IGMP on VLAN 3.
d. Enter ip rip to enable RIPV2 on VLAN 3.