HP 6120XG HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide
HP 6120XG Manual
View all HP 6120XG manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6120XG manual content summary:
- HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 1
ProCurve Series 6120 Switches Multicast and Routing Guide November 2010 Version Z.14.22 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 2
- HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 3
HP ProCurve 6120G/XG Switch 6120XG Switch November 2010 Z.14.22 Multicast and Routing Guide - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 4
language without the prior written consent of HewlettPackard. Publication Number 5992-5526 November 2010 Applicable Products HP ProCurve Switch 6120G/XG HP ProCurve Switch 6120XG (498358-B21) (516733-B21) Trademark Credits Microsoft, Windows, and Microsoft Windows NT are US registered trademarks - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 5
About Your Switch Manual Set ix Printed Publications ix Electronic Publications ix Software Feature Index x 1 Getting Started Contents 1-1 Introduction 1-2 Conventions 1-2 Command Syntax Statements 1-2 Command Prompts 1-3 Screen Simulations 1-3 Configuration and Operation - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 6
12 Operation With or Without IP Addressing 2-13 Automatic Fast-Leave IGMP 2-14 Forced Fast-Leave IGMP 2-16 Configuring Delayed Group Flush 2-17 Using the Switch as Querier 2-18 Excluding Well-Known or Reserved Multicast Addresses from IP Multicast Filtering 2-19 3 IP Routing Features - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 7
3-21 Static IP Route Parameters 3-21 Static Route States Follow VLAN States 3-22 Configuring a Static IP Route 3-22 Configuring the Default Route 3-24 Configuring RIP 3-25 Overview of RIP 3-25 RIP Parameters and Defaults 3-26 RIP Global Parameters 3-26 RIP Interface Parameters 3-26 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 8
3-45 Operating Notes 3-45 Verifying the DHCP Relay Configuration 3-45 Displaying the DHCP Relay Setting 3-45 Displaying DHCP Helper Addresses 3-46 DHCP Option 12 3-47 SNMP Support 3-47 DHCP Option 82 3-48 Option 82 Server Support 3-49 Terminology 3-50 General DHCP Option 82 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 9
Broadcast Forwarding 3-64 Overview 3-64 Subnet Masking for UDP Forwarding Addresses 3-65 Configuring and Enabling UDP Broadcast Forwarding 3-66 Globally Enabling UDP Broadcast Forwarding 3-66 Configuring UDP Broadcast Forwarding on Individual VLANs . 3-66 Displaying the Current IP Forward - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 10
viii - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 11
IGMP and IP routing features. ■ Access Security Guide-Explains how to configure access security fea tures and user authentication on the switch. ■ IPv6 Configuration Guide-Describes the IPv6 protocol operations that are supported on the switch. ■ Release Notes-Describe new features, fixes, and - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 12
HP 6120XG switch, Pre mium License features can be acquired by purchasing the optional Premium License and installing it on the switch. Premium License Software Features Converged Enhanced Ethernet (CEE) Manual Management Advanced Multicast and and Traffic Routing Configuration Management - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 13
MDIX Configuration X BOOTP X CEE (Converged Enhanced Ethernet) (6120XG only) X Config File X Console Access X Copy Command X CoS (Class of Service) X Debug X DHCP Configuration X DHCP Option 82 X DHCP/Bootp Operation X DHCP Snooping Diagnostic Tools X Downloading Software - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 14
Management Applications (SNMP) Passwords and Password Clear Protection ProCurve Manager (PCM) Ping Port Configuration Port Monitoring Port Security Port Status Port Trunking (LACP) Port-Based Access Control (802.1X) Protocol VLANS Quality of Service (QoS) Manual Management Advanced Multicast and - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 15
Telnet Access TFTP Time Protocols (TimeP, SNTP) Troubleshooting Uni-Directional Link Detection (UDLD) Uplink Failure Detection VLANs Voice VLAN Web Authentication RADIUS Support Web-based Authentication Manual Management Advanced Multicast and and Traffic Routing Configuration Management - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 16
Intelligent Edge Software Features Web UI Manual Management Advanced Multicast and and Traffic Routing Configuration Management X Access Security Guide xiv - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 17
Command Syntax Statements 1-2 Command Prompts 1-2 Screen Simulations 1-3 Configuration and Operation Examples 1-3 Keys 1-3 Sources for More Information Only a Quick Start 1-8 IP Addressing 1-8 To Set Up and Install the Switch in Your Network 1-8 Physical Installation 1-8 1-1 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 18
Getting Started Introduction Introduction This guide is intended for use with the HP ProCurve 6120G/XG and 6120XG switches. It describes how to use the command line interface (CLI), Menu interface, and web browser to configure, manage, monitor, and troubleshoot switch opera tion. For an overview - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 19
Getting Started Conventions Command Prompts In the default configuration, your switch displays a CLI prompt similar to the following examples: ProCurve 6120G/XG Blade Switch# ProCurve 6120XG Blade Switch# To simplify recognition, this guide uses ProCurve to represent command prompts. For example: - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 20
version of all HP ProCurve switch documentation referred to below, including Release Notes covering recently added features, visit any of the following web sites: www.procurve.com/manuals www.hp.com/go/bladesystem/documentation h18004.www1.hp.com/products/blades/components/c-class-tech-installing - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 21
) • Quality-of-Service (QoS) • Converged Enhanced Ethernet (CEE) (6120XG only) ■ Multicast and Routing Guide-Use this guide for information on topics such as: • IGMP • IP routing ■ Access Security Guide-Use this guide for information on topics such as: • Local username and password security • Web - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 22
To obtain the latest versions of documentation and release notes for your switch, go to any of the following web sites: www.procurve.com/manuals www.hp.com/go/bladesystem/documentation h18004.www1.hp.com/products/blades/components/c-class-tech-installing.html Online Help Menu Interface If you need - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 23
command name followed by help. For example: Figure 1-3. Example of CLI Help Web Browser Interface If you need information on specific features in the HP ProCurve Web Browser Interface (hereafter referred to as the "web browser interface"), use the online Help. You can access the Help by clicking on - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 24
to quickly configure IP addressing. To do so, do one of the following: ■ Enter setup at the CLI Manager level prompt. Procurve# setup ■ In the Main Menu of the Menu interface, select 8. Run Setup For more on using the Switch Setup screen, see the Installation and Getting Started Guide you received - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 25
Guide for the following: ■ Notes, cautions, and warnings related to installing and using the switch and its related modules ■ Instructions for physically installing the switch in your network ■ Quickly assigning an IP address and subnet mask, set a Manager pass word, and (optionally) configure - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 26
Getting Started To Set Up and Install the Switch in Your Network 1-10 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 27
IGMP Operates 2-12 Operation With or Without IP Addressing 2-13 Automatic Fast-Leave IGMP 2-14 Forced Fast-Leave IGMP 2-16 Configuring Delayed Group Flush 2-17 Using the Switch as Querier 2-18 Excluding Well-Known or Reserved Multicast Addresses from IP Multicast Filtering 2-19 2-1 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 28
to these chapters in the Management and Configuration Guide for your switch: ■ Chapter 3, "Using the Menu Interface" ■ Chapter 4, "Using the Command Line Interface (CLI)" ■ Chapter 5, "Using the ProCurve Web Browser Interface ■ Chapter 6, "Switch Memory and Configuration" The use of static multicast - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 29
packet control IGMP traffic priority querier fast-leave Default n/a n/a disabled auto normal enabled disabled Menu Switches in the network (that support IGMP) can then be config ured to direct the multicast traffic to only the ports where needed. If multiple VLANs are configured, you can configure - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 30
General Operation and Features Note IGMP configuration on the switches covered in this guide operates at the VLAN context level. If you are not using VLANs, then configure IGMP in VLAN 1 (the default VLAN) context. IGMP Terms ■ IGMP Device: A switch or router running IGMP traffic control features - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 31
to IP multicast traffic than to other traffic. ■ Auto/Blocked/Forward: You can use the console to configure individual ports to any of the following states: • Auto (the default): Causes the switch to interpret IGMP packets and to filter IP multicast traffic based on the IGMP packet information for - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 32
flood through all ports (except the port on which the packets entered the switch). For more on this topic, see "Excluding Well-Known or Reserved 2,048 otherwise, depending on the current max-vlans configuration. If multiple VLANs are configured, then each filter is counted once per VLAN in which - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 33
list> forward - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 34
No Yes No Querier No Yes No You could use the CLI to display this data as follows: Figure 2-1. Example Listing of IGMP Configuration for All VLANs in the Switch The following version of the show ip igmp command includes the VLAN ID (vid) designation, and combines the above data with the - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 35
later re-enable IGMP on that VLAN, the switch restores the last-saved IGMP configuration for that VLAN. For more on how switch memory operates, refer to the chapter titled "Switch Memory and Configuration" in the Management and Configuration Guide for your switch. You can also combine the ip igmp - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 36
traffic. (Default: auto.) Note: Where a static multicast filter is configured on and Configuration Guide for your switch. For example, suppose you wanted to configure configure IGMP on VLAN 1 with the above settings: ProCurve(config)# vlan 1 ip igmp auto a1,a2 forward a3,a4 blocked a5,a6 ProCurve - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 37
a high-priority setting to "normal" priority. (The traffic will be serviced at its inbound priority.) (Default: normal.) ProCurve(config)# vlan 1 ip igmp high-priority-forward Configures high priority for IGMP traffic on VLAN 1. ProCurve(vlan-1)# ip igmp high-priority-forward Same as above command - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 38
IGMP. (In Hewlett-Pack ard's implementation of IGMP, a multicast router is not necessary as long as a switch is configured to support IGMP with the querier feature enabled.) A set of hosts, routers, and/or switches that send or receive multicast data streams to or from the same source(s) is termed - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 39
Monitoring and Analyzing Switch Operation" of the Management and Configuration Guide for you switch.). Operation With or Without IP Addressing You can configure IGMP on to the Querier. Yes None Configure individual ports in the VLAN to Auto Yes (the default)/Blocked, or Forward. None 2-13 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 40
multi group. cast router or another switch configured for IGMP oper ation. (ProCurve recommends that the VLAN also include Support Fast-Leave IGMP and Forced FastLeave IGMP. The switches support Data-Driven IGMP ("Smart" IGMP), and Fast-Leave is enabled in the default configuration. They drop - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 41
(Enabled) IGMP Operation Solves the "Delayed Leave" Problem. Fast-leave IGMP is enabled by default. When Fast-leave is disabled and multiple IGMP clients are connected to the same port on an IGMP device (switch or router), if only one IGMP client joins a given multicast group, then later sends - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 42
group within the forced-leave interval, the switch then blocks any further group "X" traffic to the port. Configuring Forced Fast-Leave IGMP Syntax: [no] which Forced Fast-Leave is enabled. To view a non-default IGMP forced fast-leave configuration on a VLAN, use the show running-config command. ( - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 43
the delay period. In practice, this is rarely necessary on the switches covered in this guide, which support data-driven IGMP. (DataDriven IGMP, which is enabled by default, prunes off any unregistered IGMP streams detected on the switch.) Syntax: igmp delayed-flush < time-period > Where leaves have - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 44
igmp: DEFAULT_VLAN: Other Querier detected I 01/15/01 09:01:13 igmp: DEFAULT_VLAN: This switch is no longer Querie In the above scenario, if the other device ceases to operate as a Querier on the default VLAN, then the switch detects this change and can become the Querier as long as it is not - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 45
this range are termed "well-known" addresses and are reserved for pre defined host groups. IGMP does not filter these addresses, so any packets the switch receives for such addresses are flooded out all ports assigned to the VLAN on which they were received (except the port on which the packets - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 46
occur in the range from 224.0.0.0 through 239.255.255.255 (which corresponds to the Ethernet multicast address range of 01005e-000000 through 01005e-7fffff). Where a switch has a static Traffic/ Security filter configured with a "Multicast" filter type and a "Multicast Address" in this range, the - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 47
Protocols 3-8 IP Global Parameters for Routing Switches 3-8 ARP Age Timer 3-9 IP Interface Parameters for Routing Switches 3-12 Configuring IP Parameters for Routing Switches 3-13 Configuring IP Addresses 3-13 Changing the Router ID 3-13 Configuring ARP Parameters 3-14 How ARP Works - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 48
IP Routing Features Contents Static Route States Follow VLAN States 3-22 Configuring a Static IP Route 3-22 Configuring the Default Route 3-24 Configuring RIP 3-25 Overview of RIP 3-25 RIP Parameters and Defaults 3-26 RIP Global Parameters 3-26 RIP Interface Parameters 3-26 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 49
3-45 Operating Notes 3-45 Verifying the DHCP Relay Configuration 3-45 Displaying the DHCP Relay Setting 3-45 Displaying DHCP Helper Addresses 3-46 DHCP Option 12 3-47 SNMP Support 3-47 DHCP Option 82 3-48 Option 82 Server Support 3-49 Terminology 3-50 General DHCP Option 82 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 50
chapter titled "Configuring IP Addresses" in the Management and Configuration Guide for your switch. The rest of this chapter describes IP routing and how to configure it in more detail. Use the information in this chapter if you need to change some of the IP parameters from their default values or - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 51
switches, IP addresses are associated with individual VLANs. By default, there is a single VLAN (Default_VLAN) on the routing switch. In that configuration configure on the routing switch for Telnet, Web management, or SNMP access, as well as for routing. All ProCurve devices support configuration - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 52
and MAC address. To configure other ARP parameters, see "Configuring ARP Parameters" on page 3-14. IP Route Table The IP route table contains routing paths to IP destinations. The default gateway, which you specify when you configure the basic IP information on the switch, is used only when - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 53
which is a user-configured route ■ A configure a static IP route, see "Configuring a Static IP Route" on page 3-22 IP Forwarding Cache The IP forwarding cache provides a fast-path mechanism for forwarding IP packets. The cache contains entries for IP destinations. When an ProCurve routing switch - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 54
Exchange Protocols The switch supports the Routing Information Protocol (RIP). These protocols provide routes to the IP route table. You can use one or more of these protocols, in any combination. The protocols are disabled by default. For configuration information, see "Configuring RIP" on page - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 55
default route (0.0.0.0 0.0.0.0 or 0.0.0.0/0) as a static route in the IP route table. None configured See page Refer to the chapter titled "Configuring IP Addressing" in the Management and Configuration Guide. 3-16 3-38 3-39 3-20 3-24 ARP Age Timer The ARP age is the amount of time the switch - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 56
(Menu > Switch Configuration > IP Config). Default: 20 minutes. ProCurve(config)# ip Service IP Routing : Disabled Default Gateway : 15.255.120.1 Default TTL : 64 Arp Age : 1000 Domain Suffix : DNS server : VLAN | IP Config IP Address Subnet Mask Proxy ARP DEFAULT_VLAN | Manual - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 57
menu interface (Menu > Switch Configuration > IP Config). ProCurve 12-June-2007 14:45:31 TELNET - MANAGER MODE Switch Configuration - Internet (IP) Service IP Routing : Disabled Default Gateway : 15.255.120.1 Default TTL : 64 Arp Age : 1000 IP Config [Manual] : Manual IP Address : 15 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 58
the interface-level IP parameters for routing switches. Table 3-2. IP Interface Parameters - Routing Switches Parameter Description Default See page IP address A Layer 3 network interface address; separate IP None configured * addresses on individual VLAN interfaces. Metric A numeric - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 59
, then, by default, the router ID on a ProCurve routing switch is the first IP address that becomes physically active at reboot. This is usually the lowest numbered IP interface configured on the device. However, if no router ID is configured and one or more user-configured loopback interfaces are - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 60
an interface on the ProCurve routing switch, but do not specify an IP address in use by another device. Configuring ARP Parameters Address default and cannot be disabled. How ARP Works A routing switch needs to know a destination's MAC address when forwarding traffic, because the routing switch - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 61
. For example, to forward a packet whose destination is multiple router hops away, the routing switch must send the packet to the next-hop router toward its destination, or to a default route or default network route if the IP route table does not contain a route to the packet's destination - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 62
Configuring Forwarding Parameters The following configurable parameters control the forwarding behavior of ProCurve routing switches in the Management and Configuration Guide for your routing switch. Enabling Forwarding of also is supported, but most networks use IP multicasting instead of - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 63
IP Routing Features Configuring IP Parameters for Routing Switches Forwarding for all types of IP directed broadcasts is disabled by default. You can ProCurve(config)# ip directed-broadcast Syntax: [no] ip directed-broadcast ProCurve software makes the forwarding decision based on the routing switch - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 64
informs the device that the destination cannot be reached by the routing switch. ■ Address Mask replies - You can enable or disable ICMP address mask replies. Disabling Replies to Broadcast Ping Requests By default, ProCurve devices are enabled to respond to broadcast ICMP echo packets, which are - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 65
Note IP Routing Features Configuring IP Parameters for Routing Switches Disabling ICMP Destination Unreachable Messages By default, when a ProCurve device receives an IP packet that the device cannot deliver, the device sends an ICMP Unreachable message back to the host that sent the packet. - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 66
only on a global basis, for all the routing switch interfaces. To disable ICMP redirects globally, enter the following command at the global CONFIG level of the CLI: ProCurve(config)# no ip icmp redirects Syntax: [no] ip icmp redirects Note Configuring Static IP Routes This feature enables you to - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 67
route in the IP route table. (Refer to "Administrative Distance" on page 3 7.) ■ Default route: This is a specific static route that the routing switch uses if other routes to the destination are not available. See "Configuring the Default Route" on page 3-24. Static IP Route Parameters When you - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 68
configures a static route to 207.95.7.0 (with a network mask of 255.255.255.0), using 207.95.6.157 as the next-hop router's IP address. ProCurve(config assumes that local interfaces within that subnet are on the same port. Routing switch "A" deduces that IP interface 207.95.7.188 is also on port A2. - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 69
IP Routing Features Configuring Static IP Routes Syntax: [no] ip route < dest-ip-addr >/< mask-length > - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 70
.177 and return an ICMP notification to the sender. Figure 3-6. Example of Configuring Static Routes Configuring the Default Route You can also assign the default route and enter it in the routing table. The default route is used for all traffic that has a destination network not reachable through - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 71
Configuring RIP Configuring RIP This section describes how to configure RIP using the CLI interface. To display RIP configuration the ProCurve routing switch and the destination network. A ProCurve routing switch can network. The switches covered in this guide support the following RIP types: ■ - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 72
no route to the destination address), the routing switch sends an ICMP Host Unreachable message to the source. RIP Parameters and Defaults The following tables list the RIP parameters, their default values, and where to find configuration information. RIP Global Parameters 3-3 lists the global RIP - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 73
IP Routing Features Configuring RIP Parameter metric IP address loop prevention receive send Description Default A numeric cost the routing switch adds to RIP routes 1 learned on the interface. This parameter applies only to RIP routes. The routes that a routing switch learns or advertises can - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 74
IP address, it is enabled in all configured IP addresses of the VLAN. To enable default) ■ Version 1 - or - version 2 To change the RIP type supported on a VLAN interface, enter commands such as the following: ProCurve(config)# vlan 1 ProCurve(vlan-1)# ip rip v1-only ProCurve(vlan-1)# exit ProCurve - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 75
: ProCurve(config)# vlan 1 ProCurve(vlan-1)# ip rip metric 5 These commands configure vlan switches covered in this guide, redistribution is supported for static routes and directly connected routes. Redistribution of any other routing protocol into RIP is not currently supported. When you configure - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 76
: To configure the switch to filter out redistribution of static or connected routes on network 10.0.0.0, enter the following commands: ProCurve(config)# router rip ProCurve(rip)# restrict 10.0.0.0 255.0.0.0 ProCurve(rip)# write memory The default configuration permits redistribution for all default - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 77
"unreachable") to a route before advertising it on the same interface as the one on which the routing switch learned the route. This is the default. These loop prevention methods are configurable on an individual VLAN interface basis. These methods are in addition to RIP's maximum valid route cost - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 78
IP Routing Features Configuring RIP RIP Information Type Page Redistribute Information 3-37 the router. RIP must be enabled here and on the VLAN interface for RIP to be active. The default is disabled. ■ Auto-summary - Status of Auto-summary for all interfaces running RIP. If auto-summary is - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 79
IP Routing Features Configuring RIP ■ Default Metric - Sets the default metric for imported routes. This is the metric the interface. ■ RIP Peer Information - RIP Peers are neighboring routers from which the routing switch has received RIP updates. • IP Address - IP address of the RIP neighbor. • Bad - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 80
IP Routing Features Configuring RIP Displaying RIP Interface Information To display RIP interface information, enter the show ip rip interface command at any context level. The resulting display will - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 81
IP Routing Features Configuring RIP The information in this display includes the following fields, which are defined under ""RIP Interface Information" on page 3-33: IP Address, Status, Send mode, - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 82
IP Routing Features Configuring RIP The resulting display will appear similar to the following: ProCurve# show ip rip peer RIP peer Last update timeticks - How many seconds have passed since the routing switch received an update from this peer neighbor. Displaying RIP information for a - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 83
Configuring RIP ■ Last update timeticks - How many seconds have passed since the routing switch received an update from this neighbor. Displaying RIP Redistribution Information To display RIP redistribution information, enter the show ip rip redistribute command at any context level: ProCurve - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 84
mean that the routing switch is the default gateway. If another router is actually the default gateway for these clients, leave IRDP disabled on the ProCurve routing switch. IRDP uses the following parameters. If you enable IRDP on individual VLAN interfaces, you can configure these parameters on an - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 85
ports. Each port uses the default values for the IRDP parameters. Enabling IRDP on an Individual VLAN Interface To enable IRDP on an individual VLAN interface and configure IRDP param eters, enter commands such as the following: ProCurve(config)# vlan 1 ProCurve(vlan-1)# ip irdp maxadvertinterval - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 86
IP Routing Features Configuring IRDP • multicast - The routing switch sends Router Advertisements as multi cast packets addressed to IP multicast group 224.0.0.1. This is the default. ■ holdtime < seconds > - This parameter specifies how long a host that receives a Router Advertisement from the - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 87
Configuring DHCP Relay Overview The Dynamic Host Configuration Protocol (DHCP) is used for configuring hosts with IP address and other configuration parameters without user the client and server is by unicast packets. ProCurve routing switches provide the DHCP relay agent to enable commu nication - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 88
Enable DHCP Relay on the routing switch (the default setting). 2. Ensure that a DHCP server is servicing the routing switch. 3. Enable IP Routing on the routing switch. 4. Ensure that there is a route from the DHCP server to the routing switch and back. 5. Configure one or more IP helper addresses - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 89
default on a ProCurve routing switch. However, if DHCP has been disabled, you can re-enable it by entering the following command at the global configuration level: ProCurve one on which the client needs the DHCP service. This feature provides a way to configure a gateway address for the DHCP relay - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 90
IP Routing Features Configuring DHCP Relay ProCurve# config ProCurve(config)# vlan 1 ProCurve(vlan-1)# ip bootp-gateway 10.10.10.1 The IP address 10.10.10.1 is not configured on this VLAN. Figure 3-16. Example of Trying to Configure an IP Address that is not on this Interface (VLAN) Displaying the - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 91
) or the default address is used. Configuring an IP Helper Address To add the IP address of a DHCP server for a specified VLAN on a routing switch, enter the ip helper-address command at the VLAN configuration level as in the following example: ProCurve(config)# vlan 1 ProCurve(vlan-1)# ip helper - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 92
Configuring DHCP Relay ProCurve# show config Startup configuration: ; J9146A Configuration Editor; Created on release #W.14.XX hostname "ProCurve" cdp run module 1 type J8702A ip default IP helper addresses of DHCP servers configured for all static VLANS in the switch or on a specified VLAN, - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 93
to the DHCP server. This is disabled by default. The command must be executed from the global configuration level. Syntax: [no] dhcp host-name-option Default: Disabled ProCurve(config)# dhcp host-name-option Figure 3-20. Example of the DHCP Option 12 Command SNMP Support A MIB object supports - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 94
IP Routing Features Configuring DHCP Relay DHCP Option 82 Option 82 is called the circuit, and a "remote ID" which provides a trusted identifier for the remote high-speed modem. The routing switch can operate as a DHCP relay agent to enable communica tion between a client and a DHCP server on a - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 95
the DHCP policy boundaries in a network to provide maximum support and security for the IP addressing policies configured in the server. Option 82 Server Support To apply DHCP Option 82, the routing switch must operate in conjunction with a server that supports Option 82. (DHCP servers that do not - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 96
) that a client DHCP request encounters in the path from the client to a DHCP server. Relay Agent: A routing switch that is configured to support DHCP operation. Remote ID: In Option 82 applications on ProCurve switches, either the MAC address of a relay agent or the IP address of a VLAN or subnet - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 97
the path between a DHCP client and a DHCP server, any routing switch (configured to support DHCP operation) other than the primary relay agent. General DHCP Option 82 Requirements and Operation Requirements. DHCP Option 82 operation is configured at the global config level and requires the following - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 98
is useful if you are applying the same IP addressing policy to DHCP client requests from ports in different VLANs on the same routing switch.) Configuring this option means the Management VLAN's IP address appears in the remote ID subfield of all DHCP requests originating with clients connected to - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 99
. On ProCurve fixed-port switches, the port number used for the Circuit ID is always the same as the physical port number shown on the front of the switch. For example, suppose you wanted port 10 on a given relay agent to support no more than five DHCP clients simultaneously, you could configure the - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 100
ProCurve switches offers four forwarding policies, with an optional validation of server responses for three of the policy types (append, replace, or drop). Configuration applications for keep include: • The DHCP server does not support multiple Option 82 packets in a client request and there are - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 101
present, drop causes the routing switch to add an Option 82 field and forward the request. As a general guideline, configure drop on relay agents at the multiple Option 82 fields assumes that the server supports multiple fields and is configured to assign IP addressing policies based on the content - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 102
Option 82 Server Figure 3-25. Example Configured To Allow Multiple Relay Agents To Contribute using multiple Option 82 fields can be configured to use this approach to keep a first example, above, this configuration drops client requests with spurious you can specify when configuring Option 82 DHCP - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 103
Content Option 82 Validation Enabled on the Configuration Relay Agent Validation Disabled (The Default) Valid DHCP server response packet without RFC 3046) or DHCP operation without Option 82 support (compliant with RFC 2131). 3A routing switch with DHCP Option 82 enabled drops an inbound - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 104
enables an Option 82 DHCP server to support more narrowly defined DHCP policy boundaries instead of defining the boundaries at the VLAN or whole routing switch levels. If the MAC address option (the default) is configured instead, then the routing switch MAC address will be used regardless of which - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 105
associated with the client DHCP packet, and the switch remote ID. The default switch remote ID is the MAC address of the switch on which the packet was received from the client. To use the incoming VLAN's IP address or the Management VLAN IP address (if configured) for the remote ID instead of the - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 106
to the DHCP server. If a remote ID suboption is not configured, then the routing switch defaults to the mac option. (Refer to "Option 82 Field Content" of Option 82 Configuration In the routing switch shown below, option 82 has been configured with mgmt vlan for the Remote ID. ProCurve(config)# dhcp - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 107
IP Routing Features Configuring DHCP Relay The resulting effect on DHCP operation for clients X, Y, and Z is shown in table 3-6. DHCP Server "A" DHCP Server "B" DHCP Server "C" Routing Switch Management VLAN VLAN 300 10.39.10.1 (secondary IP) 10.38.10.1 (primary IP) VLAN 200 10.29.10.1 10.28.10.1 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 108
client request cannot be directed to a specific server. Thus, where a given VLAN is configured for multiple DHCP servers, all of these servers should be configured with the same IP addressing policy. ■ Where routing switch "A" is configured to insert its MAC address as the Remote ID in the Option 82 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 109
if clients in the Management VLAN require a DHCP server. ■ If the Management VLAN IP address configuration changes after mgmt-vlan has been configured as the remote ID suboption, the routing switch dynamically adjusts to the new IP addressing for all future DHCP requests. ■ The Management VLAN and - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 110
designate either a single device or a single subnet. The switch ignores any entry that designates multiple subnets.) The number of UDP broadcast forwarding entries supported is affected by the number of IP helper addresses configured to support DHCP Relay. Refer to "Operating Notes for UDP Broadcast - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 111
VLAN for UDP 1813 broadcasts from clients on VLAN 1. Not e If an IP server or subnet entry is invalid, a switch will not try to forward UDP packets to the configured device or subnet address. Subnet Masking for UDP Forwarding Addresses The subnet mask for a UDP forwarding address is the same as - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 112
before executing this command. Using the no form of this command disables any ip forward protocol udp commands configured in VLANs on the switch. (Default: Disabled) Configuring UDP Broadcast Forwarding on Individual VLANs This command routes an inbound UDP broadcast packet received from a client on - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 113
In User Service (1645) rip: Routing Information Protocol (520) snmp: Simple Network Management Protocol (161) snmp-trap: Simple Network Management Protocol (162) tftp: Trivial File Transfer Protocol (69) timep: Time Protocol (37) For example, the following command configures the routing switch - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 114
Addresses for Inbound UDP Broadcast Traffic for All VLANs Configured on the routing switch. Figure 3-28. Displaying Global IP Forward-Protocol Status and Configuration 3-68 Display Showing UDP Broadcast Forwarding Status and the Configured Forwarding Addresses for inbound UDP Broadcast Traffic on - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 115
iana.org Then click on: Protocol Number Assignment Services P (Under "Directory of General Assigned Numbers" the CLI if an attempt to enable UDP broadcast support must be enabled first. forwarding has been made on the routing switch. This action does not prevent you from configuring UDP broadcast - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 116
IP Routing Features UDP Broadcast Forwarding 3-70 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 117
... 3-31 router ID ... 3-13 static IP routes ... 3-20, 3-22 D default route ... 3-24 default settings IGMP ... 2-3 data-driven, enabled ... 2-17 delayed-flush, disabled ... 2-17 fast-leave, configuration per switch model ... 2-14 fast-leave, enabled ... 2-15 forced fast-leave, disabled - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 118
, UDP ... 3-12 interface parameters ... 3-12 IP static routes administrative distance ... 3-23 blackhole ... 3-20, 3-23 default route ... 3-9, 3-21 default route, configuring ... 3-24 maximum ... 3-4 null interface ... 3-21 null route ... 3-20, 3-22 reject ... 3-23 VLAN state ... 3-22 - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 119
ID ... 3-50, 3-53 compliance ... 3-49 configuring operation ... 3-58 field content ... 3-52 forwarding policy secondary relay agent ... 3-51 server support ... 3-49 validating server response packets priority IP multicast traffic ... 2-5 ProCurve switch documentation ... -ix protocols IP - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 120
... 3-26 overview ... 3-25 parameters and defaults ... 3-26 peer information ... 3-35 redistribution ... 3-30 displaying ... 3-37 enabling ... 3-30 redistribution filters displaying ... 3-37 redistribution into RIP ... 3-29 redistribution, configuring ... 3-29 restrict filter information - HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 121
- HP 6120XG | HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 122
forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP will not be liable for technical or editorial errors or omissions contained herein. November 2010 Manual Part Number 5992-5526 *5992-5526*
ProCurve Series 6120 Switches
Multicast and Routing Guide
November 2010
Version Z.14.22