<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hpe on vlan51</title><link>https://vlan51.com/tags/hpe/</link><description>Recent content in Hpe on vlan51</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Mon, 01 Jan 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://vlan51.com/tags/hpe/index.xml" rel="self" type="application/rss+xml"/><item><title>802.1x Port Authentication on HPE Aruba ArubaOS-Switch</title><link>https://vlan51.com/aruba-provision/802-1x-port-authentication/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/802-1x-port-authentication/</guid><description>&lt;p&gt;How to configure 802.1x port authentication on HPE Aruba ArubaOS-Switch, with MAC authentication for devices that do not support 802.1x (such as printers), and LLDP-MED bypass for VoIP phones.&lt;/p&gt;&#10;&lt;p&gt;This guide covers the switch configuration and the Microsoft NPS (Network Policy Server) setup for automatic EAP-RADIUS authentication of PCs, MAC authentication for printers, and voice VLAN bypass for Avaya handsets.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Prerequisites:&lt;/strong&gt; Microsoft NPS installed and registered in Active Directory, a PKI in place with client certificates deployed to machines you want to authenticate via 802.1x.&lt;/p&gt;</description></item><item><title>ACL / Access Lists on HPE Aruba ArubaOS-Switch</title><link>https://vlan51.com/aruba-provision/acl-guest-network/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/acl-guest-network/</guid><description>&lt;p&gt;How to create extended ACLs on HPE Aruba ArubaOS-Switch and apply them to a VLAN interface. This example restricts a guest wireless network from accessing any internal address space while allowing internet access.&lt;/p&gt;&#10;&lt;h2 id="scenario"&gt;Scenario &lt;a class="anchor" href="#scenario" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Guest network subnet: &lt;code&gt;192.168.0.0/23&lt;/code&gt;. Guests must reach the internet but must not reach any RFC1918 internal ranges.&lt;/p&gt;&#10;&lt;h2 id="create-the-acl"&gt;Create the ACL &lt;a class="anchor" href="#create-the-acl" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;ip access-list extended &amp;#34;GUEST-ACL&amp;#34;&#10; 10 permit ip 192.168.0.0 0.0.1.255 192.168.0.0 0.0.1.255&#10; 20 deny ip 192.168.0.0 0.0.1.255 10.0.0.0 0.255.255.255 log&#10; 30 deny ip 192.168.0.0 0.0.1.255 172.16.0.0 0.15.255.255 log&#10; 40 deny ip 192.168.0.0 0.0.1.255 192.168.0.0 0.0.255.255 log&#10; 50 permit ip 192.168.0.0 0.0.1.255 0.0.0.0 255.255.255.255 log&#10; exit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Line 10 — permits intra-subnet traffic (required for hosts on the /23 to communicate with each other)&lt;/li&gt;&#10;&lt;li&gt;Lines 20, 30, 40 — deny RFC1918 ranges&lt;/li&gt;&#10;&lt;li&gt;Line 50 — permit all other destinations (internet)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="apply-to-the-vlan-interface"&gt;Apply to the VLAN interface &lt;a class="anchor" href="#apply-to-the-vlan-interface" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;vlan 10&#10; name &amp;#34;Guest Network&amp;#34;&#10; ip access-group &amp;#34;GUEST-ACL&amp;#34; in&#10; ip address 192.168.0.1 255.255.254.0&#10;exit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;The ACL is applied &lt;strong&gt;inbound&lt;/strong&gt; (&lt;code&gt;in&lt;/code&gt;) — it inspects traffic as it arrives from guest clients.&lt;/p&gt;</description></item><item><title>BFD Static Route Tracking on HPE Comware v7</title><link>https://vlan51.com/comware-v7/bfd-static-route-tracking/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v7/bfd-static-route-tracking/</guid><description>&lt;p&gt;How to use BFD echo mode with static route tracking on HPE Comware v7. When the primary path fails, BFD detects it rapidly and the tracked static route is withdrawn, activating the backup.&lt;/p&gt;&#10;&lt;p&gt;BFD echo mode does not require BFD support on the remote peer — packets loop back through the remote device, so this works with any upstream equipment.&lt;/p&gt;&#10;&lt;p&gt;Track is a detection module in Comware that reports positive or negative based on interface status, link status, reachability or performance. Here it&amp;rsquo;s paired with BFD to watch a remote IP, and static route preferences change the routing table when the far end becomes unreachable.&lt;/p&gt;</description></item><item><title>DHCP Server on HPE Aruba ArubaOS-Switch</title><link>https://vlan51.com/aruba-provision/dhcp-server/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/dhcp-server/</guid><description>&lt;p&gt;HPE Aruba ArubaOS-Switch has a built-in DHCP server. This guide covers creating a DHCP pool, enabling it on a VLAN, and adding static reservations for individual devices.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Important:&lt;/strong&gt; You must disable the DHCP server globally before making any changes to pool configuration.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="create-a-dhcp-pool"&gt;Create a DHCP pool &lt;a class="anchor" href="#create-a-dhcp-pool" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;conf t&#10;dhcp-server disable&#10;&#10;dhcp-server pool &amp;#34;GUEST-DHCP&amp;#34;&#10; authoritative&#10; default-router &amp;#34;192.168.0.1&amp;#34;&#10; dns-server &amp;#34;8.8.8.8,8.8.4.4&amp;#34;&#10; domain-name &amp;#34;test.local&amp;#34;&#10; lease 00:01:00&#10; network 192.168.0.0 255.255.254.0&#10; range 192.168.0.21 192.168.1.149&#10;exit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="enable-dhcp-on-the-vlan-interface"&gt;Enable DHCP on the VLAN interface &lt;a class="anchor" href="#enable-dhcp-on-the-vlan-interface" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;vlan 10&#10; name &amp;#34;Guest Wireless&amp;#34;&#10; ip address 192.168.0.1 255.255.254.0&#10; dhcp-server&#10; exit&#10;&#10;conf t&#10;dhcp-server enable&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="static-dhcp-reservations"&gt;Static DHCP reservations &lt;a class="anchor" href="#static-dhcp-reservations" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Each reservation requires its own named pool. Disable the server first:&lt;/p&gt;</description></item><item><title>Hardening HPE Comware v5 Switches</title><link>https://vlan51.com/comware-v5/hardening/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v5/hardening/</guid><description>&lt;p&gt;How to harden HPE Comware v5 switches by restricting remote access to SSH and HTTPS only and using ACLs to limit management connections to specific hosts.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; HPE Comware v5 is end-of-sale on most platforms. These commands remain relevant for H3C and older HPE A/E-series switches still in service.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="disable-insecure-protocols"&gt;Disable insecure protocols &lt;a class="anchor" href="#disable-insecure-protocols" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;undo ip http server enable&#10;undo telnet server enable&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="enable-ssh-and-https"&gt;Enable SSH and HTTPS &lt;a class="anchor" href="#enable-ssh-and-https" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;ip https enable&#10;ssh server enable&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="restrict-vty-to-ssh-only"&gt;Restrict VTY to SSH only &lt;a class="anchor" href="#restrict-vty-to-ssh-only" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;user-interface vty 0 4&#10; protocol inbound ssh&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="restrict-management-access-with-an-acl"&gt;Restrict management access with an ACL &lt;a class="anchor" href="#restrict-management-access-with-an-acl" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;acl number 2050&#10; rule 5 permit source 1.2.3.4 0&#10; rule 10 permit source 10.0.0.0 0.255.255.255&#10; rule 15 permit source 192.168.0.0 0.0.255.255&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Apply to HTTPS and SSH:&lt;/p&gt;</description></item><item><title>IPsec VPN Between Cisco ASA and HPE MSR935 (Comware v5)</title><link>https://vlan51.com/comware-v5/ipsec-vpn-cisco-asa-msr935/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v5/ipsec-vpn-cisco-asa-msr935/</guid><description>&lt;p&gt;Full site-to-site IKEv1 IPsec VPN configuration between a Cisco ASA and an HP MSR935 (Comware v5).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://vlan51.com/images/ipsec-vpn-asa-msr935-topology.png" target="_blank" rel="noopener"&gt;&lt;img src="https://vlan51.com/images/ipsec-vpn-asa-msr935-topology.png" alt="IPsec VPN topology — Cisco ASA to HP MSR935" loading="lazy" decoding="async"&gt;&lt;/a&gt;&lt;figcaption&gt;IPsec VPN topology — Cisco ASA to HP MSR935&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;&lt;strong&gt;Tested versions:&lt;/strong&gt; Cisco ASA 9.1(2), HP MSR935 Comware 5.20.106 Release 2513P09&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Addressing:&lt;/strong&gt; ASA WAN &lt;code&gt;89.89.89.89&lt;/code&gt;, MSR WAN &lt;code&gt;99.99.99.99&lt;/code&gt;, ASA LAN &lt;code&gt;10.0.0.0/24&lt;/code&gt;, MSR LAN &lt;code&gt;192.168.10.0/24&lt;/code&gt;&lt;/p&gt;&#10;&lt;h2 id="phase-1--ike"&gt;Phase 1 — IKE &lt;a class="anchor" href="#phase-1--ike" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;ASA:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;crypto ikev1 policy 5&#10; authentication pre-share&#10; encryption aes-192&#10; hash sha&#10; group 2&#10; lifetime 3600&#10;&#10;group-policy GroupPolicy_99.99.99.99 internal&#10;group-policy GroupPolicy_99.99.99.99 attributes&#10; vpn-tunnel-protocol ikev1&#10;&#10;tunnel-group 99.99.99.99 type ipsec-l2l&#10;tunnel-group 99.99.99.99 general-attributes&#10; default-group-policy GroupPolicy_99.99.99.99&#10;tunnel-group 99.99.99.99 ipsec-attributes&#10; ikev1 pre-shared-key YOUR-PSK-HERE&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;&lt;strong&gt;MSR935:&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>NTP / SNTP on HPE Aruba ArubaOS-Switch</title><link>https://vlan51.com/aruba-provision/ntp-sntp/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/ntp-sntp/</guid><description>&lt;p&gt;How to configure SNTP time synchronisation on HPE Aruba ArubaOS-Switch.&lt;/p&gt;&#10;&lt;h2 id="configuration"&gt;Configuration &lt;a class="anchor" href="#configuration" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Syntax varies slightly between firmware versions — use whichever your switch accepts:&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Current syntax:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;sntp unicast&#10;timesync sntp&#10;sntp server priority 1 1.2.3.4&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;&lt;strong&gt;Older syntax:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;sntp unicast&#10;timesync sntp&#10;sntp server 1.2.3.4&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Replace &lt;code&gt;1.2.3.4&lt;/code&gt; with your NTP server IP. Domain controllers are a practical choice as they run Windows Time Service automatically.&lt;/p&gt;</description></item><item><title>NTP Configuration on HPE Comware v5 Switches</title><link>https://vlan51.com/comware-v5/ntp/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v5/ntp/</guid><description>&lt;p&gt;How to configure NTP on HPE Comware v5, including BST (British Summer Time) timezone handling for UK deployments.&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;system-view&#10;clock timezone BST add 01:00:00&#10;clock summer-time BST repeating 02:00:00 2011 March last Sunday 02:00:00 2011 October last Sunday 02:00:00&#10;ntp-service unicast-server 1.2.3.4 priority 1&#10;ntp-service unicast-server 4.5.6.7 priority 2&#10;save f&#10;quit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;The &lt;code&gt;clock summer-time&lt;/code&gt; command handles automatic DST transitions (clocks forward last Sunday in March, back last Sunday in October).&lt;/p&gt;</description></item><item><title>NTP Configuration on HPE Comware v7 Switches</title><link>https://vlan51.com/comware-v7/ntp/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v7/ntp/</guid><description>&lt;p&gt;How to configure NTP on HPE Comware v7 with BST (British Summer Time) handling for UK deployments.&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;system-view&#10;clock summer-time BST 02:00:00 March last Sunday 02:00:00 October last Sunday 02:00:00&#10;ntp-service unicast-server 1.2.3.4 priority 1&#10;ntp-service unicast-server 4.5.6.7 priority 2&#10;save f&#10;quit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;For Comware v5 syntax, see &lt;a href="https://vlan51.com/comware-v5/ntp"&gt;NTP on Comware v5&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Policy Based Routing (PBR) on HPE Aruba ArubaOS-Switch</title><link>https://vlan51.com/aruba-provision/policy-based-routing/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/policy-based-routing/</guid><description>&lt;p&gt;How to configure Policy Based Routing (PBR) on HPE Aruba ArubaOS-Switch. Applies to the 3800, 5400zl v2, and 8200 series. PBR can only be applied &lt;strong&gt;inbound&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;p&gt;Three components: a &lt;strong&gt;class&lt;/strong&gt; to match traffic, a &lt;strong&gt;policy&lt;/strong&gt; to define the action, and a &lt;strong&gt;VLAN/port&lt;/strong&gt; to apply it.&lt;/p&gt;&#10;&lt;h2 id="scenario"&gt;Scenario &lt;a class="anchor" href="#scenario" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Traffic from &lt;code&gt;192.168.10.0/24&lt;/code&gt; to &lt;code&gt;10.0.0.0/24&lt;/code&gt; uses gateway &lt;code&gt;2.2.2.1&lt;/code&gt;. All other traffic uses &lt;code&gt;1.1.1.1&lt;/code&gt;.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://vlan51.com/images/provision-pbr-topology.png" target="_blank" rel="noopener"&gt;&lt;img src="https://vlan51.com/images/provision-pbr-topology.png" alt="PBR topology — local and internet breakout" loading="lazy" decoding="async"&gt;&lt;/a&gt;&lt;figcaption&gt;PBR topology — local and internet breakout&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;h2 id="class-configuration"&gt;Class configuration &lt;a class="anchor" href="#class-configuration" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;class ipv4 &amp;#34;CLASS-192.168-LOCAL-BREAKOUT&amp;#34;&#10; 5 match ip 192.168.10.0 0.0.0.255 10.0.0.0 0.0.0.255&#10; exit&#10;&#10;class ipv4 &amp;#34;CLASS-192.168-INTERNET-BREAKOUT&amp;#34;&#10; 5 match ip 192.168.10.0 0.0.0.255 0.0.0.0 255.255.255.255&#10; exit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="policy-configuration"&gt;Policy configuration &lt;a class="anchor" href="#policy-configuration" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;policy pbr &amp;#34;POLICY-INTERNET-BREAKOUT&amp;#34;&#10; 5 class ipv4 &amp;#34;CLASS-192.168-LOCAL-BREAKOUT&amp;#34;&#10; action ip next-hop 2.2.2.1&#10; exit&#10; 6 class ipv4 &amp;#34;CLASS-192.168-INTERNET-BREAKOUT&amp;#34;&#10; action ip next-hop 1.1.1.1&#10; exit&#10; exit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="apply-to-vlan-interface"&gt;Apply to VLAN interface &lt;a class="anchor" href="#apply-to-vlan-interface" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;vlan 10&#10; name &amp;#34;192.168.10.0-VLAN&amp;#34;&#10; ip address 192.168.10.254 255.255.255.0&#10; service-policy &amp;#34;POLICY-INTERNET-BREAKOUT&amp;#34; in&#10; exit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="important-locally-connected-networks"&gt;Important: locally connected networks &lt;a class="anchor" href="#important-locally-connected-networks" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;If other VLANs are on the same switch, PBR will break inter-VLAN routing because it overrides the routing table for matched traffic. Fix this by pointing the local class next-hop at &lt;strong&gt;the switch&amp;rsquo;s own IP&lt;/strong&gt;:&lt;/p&gt;</description></item><item><title>Policy Based Routing (PBR) on HPE Comware v7</title><link>https://vlan51.com/comware-v7/policy-based-routing/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v7/policy-based-routing/</guid><description>&lt;p&gt;How to configure Policy Based Routing (PBR) on HPE Comware v7. Traffic is matched by ACLs and redirected to an alternative next-hop, overriding the routing table.&lt;/p&gt;&#10;&lt;h2 id="scenario"&gt;Scenario &lt;a class="anchor" href="#scenario" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The setup is identical to the &lt;a href="https://vlan51.com/aruba-provision/policy-based-routing/"&gt;ArubaOS-Switch PBR guide&lt;/a&gt;. The switch (&lt;code&gt;.254&lt;/code&gt;) has a default gateway of &lt;code&gt;2.2.2.1&lt;/code&gt;.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://vlan51.com/images/provision-pbr-topology.png" target="_blank" rel="noopener"&gt;&lt;img src="https://vlan51.com/images/provision-pbr-topology.png" alt="PBR topology: local breakout via the default gateway, internet via the firewall at 1.1.1.1" loading="lazy" decoding="async"&gt;&lt;/a&gt;&lt;figcaption&gt;PBR topology: local breakout via the default gateway, internet via the firewall at 1.1.1.1&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;From &lt;code&gt;192.168.10.0/24&lt;/code&gt;: internal traffic (to &lt;code&gt;10.0.0.0/8&lt;/code&gt; or &lt;code&gt;192.168.0.0/16&lt;/code&gt;) uses the normal routing table, internet traffic is sent to &lt;code&gt;1.1.1.1&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Policy Based Routing Within a VRF/VPN-Instance on HPE Comware v7</title><link>https://vlan51.com/comware-v7/policy-based-routing-vrf/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v7/policy-based-routing-vrf/</guid><description>&lt;p&gt;How to configure PBR within a VRF/VPN-Instance on HPE Comware v7. Useful in multi-tenant environments where traffic must be steered within an isolated routing domain.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;PBR within a VRF is only supported on Comware v7 — not Comware v5.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Only a few changes are needed compared with &lt;a href="https://vlan51.com/comware-v7/policy-based-routing/"&gt;PBR outside a VRF&lt;/a&gt;: the VPN-Instance has to be referenced in the next-hop and in the ACL rules. A VPN-Instance is Comware&amp;rsquo;s name for a VRF.&lt;/p&gt;</description></item><item><title>Port Security on HPE Aruba ArubaOS-Switch</title><link>https://vlan51.com/aruba-provision/port-security/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/port-security/</guid><description>&lt;p&gt;Port security is a form of MAC lockdown (layer 2 control). It lets you limit, restrict or fix the MAC addresses allowed on an individual switch port, and decide what the switch does when that rule is broken. This applies to the HPE Aruba 2920, 2930, 3800, 5400 and 8200 series running ArubaOS-Switch.&lt;/p&gt;&#10;&lt;p&gt;I wrote this after a reader asked how to set it up. These are the scenarios I use most.&lt;/p&gt;</description></item><item><title>RADIUS Login Authentication on HPE Aruba ArubaOS-Switch</title><link>https://vlan51.com/aruba-provision/radius-login/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/radius-login/</guid><description>&lt;p&gt;How to configure RADIUS authentication for switch management logins on HPE Aruba ArubaOS-Switch using Microsoft NPS, allowing administrators to log in with Active Directory credentials.&lt;/p&gt;&#10;&lt;h2 id="switch-configuration"&gt;Switch configuration &lt;a class="anchor" href="#switch-configuration" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;radius-server host 192.168.50.80 key reallysecretkey&#10;&#10;aaa authentication login privilege-mode&#10;aaa authentication console login radius local&#10;aaa authentication console enable radius local&#10;aaa authentication telnet login radius local&#10;aaa authentication telnet enable radius local&#10;aaa authentication web login radius local&#10;aaa authentication web enable radius local&#10;aaa authentication ssh login radius local&#10;aaa authentication ssh enable radius local&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;The &lt;code&gt;local&lt;/code&gt; fallback ensures you can still log in if the RADIUS server is unreachable. Do not remove it.&lt;/p&gt;</description></item><item><title>RADIUS Login Authentication on HPE Comware v7 Switches</title><link>https://vlan51.com/comware-v7/radius-login/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v7/radius-login/</guid><description>&lt;p&gt;How to configure RADIUS management login on HPE Comware v7 using Microsoft NPS.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;This covers the Comware configuration only. For the NPS server setup, see the &lt;a href="https://vlan51.com/aruba-provision/radius-login"&gt;ArubaOS-Switch RADIUS login guide&lt;/a&gt; which covers the NPS side in full.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="configuration"&gt;Configuration &lt;a class="anchor" href="#configuration" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Create a RADIUS scheme:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;radius scheme nps&#10; primary authentication x.x.x.x&#10; primary accounting x.x.x.x&#10; key authentication simple reallysecurekey&#10; key accounting simple reallysecurekey&#10; user-name-format without-domain&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Apply to the default domain:&lt;/p&gt;</description></item><item><title>Secure Remote Access on HPE Comware v5 Switches</title><link>https://vlan51.com/comware-v5/secure-access/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v5/secure-access/</guid><description>&lt;p&gt;By default, HPE Comware v5 has no remote access authentication configured. This guide covers local user setup, SSH, HTTPS, and console port protection.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Security note:&lt;/strong&gt; Use &lt;strong&gt;2048-bit RSA minimum&lt;/strong&gt;. The 1024-bit size shown below is cryptographically weak and should not be used on switches still in active service.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="create-a-local-user"&gt;Create a local user &lt;a class="anchor" href="#create-a-local-user" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;system-view&#10; local-user admin&#10; password simple PASSWORD&#10; authorization-attribute level 3&#10; service-type web terminal&#10; service-type ssh&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Use &lt;code&gt;password cipher&lt;/code&gt; rather than &lt;code&gt;password simple&lt;/code&gt; in production to store a hashed value.&lt;/p&gt;</description></item><item><title>SNMPv3 Configuration on HPE Aruba ArubaOS-Switch with HPE IMC</title><link>https://vlan51.com/aruba-provision/snmpv3-imc/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/snmpv3-imc/</guid><description>&lt;p&gt;How to configure SNMPv3 on HPE Aruba ArubaOS-Switch for HPE IMC. The built-in wizard initialises SNMPv3, then you replace the wizard user with a stronger SHA/AES-128 account.&lt;/p&gt;&#10;&lt;h2 id="step-1--run-the-snmpv3-wizard"&gt;Step 1 — Run the SNMPv3 wizard &lt;a class="anchor" href="#step-1--run-the-snmpv3-wizard" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Use throwaway passwords — you will delete this user:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;Switch(config)# snmpv3 enable&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;At the prompts: accept defaults, answer &lt;code&gt;n&lt;/code&gt; to creating a SHA user, answer &lt;code&gt;y&lt;/code&gt; to restricting SNMPv1/v2c to read-only.&lt;/p&gt;</description></item><item><title>Static ARP for Microsoft NLB Multicast on HPE Aruba ArubaOS-Switch</title><link>https://vlan51.com/aruba-provision/static-arp-nlb-multicast/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/static-arp-nlb-multicast/</guid><description>&lt;p&gt;Microsoft NLB in multicast mode causes switches to flood traffic to all ports because the multicast MAC address is never seen as a source — the switch cannot learn which port the cluster is on and treats it as an unknown destination.&lt;/p&gt;&#10;&lt;p&gt;HPE Aruba ArubaOS-Switch does not have a direct static MAC/ARP entry feature like Cisco, but &lt;code&gt;ip arp-mcast-replies&lt;/code&gt; combined with IGMP resolves the flooding.&lt;/p&gt;&#10;&lt;h2 id="hpe-aruba-solution"&gt;HPE Aruba solution &lt;a class="anchor" href="#hpe-aruba-solution" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;ip arp-mcast-replies&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Enable IGMP on the NLB client VLAN, and ensure NLB is set to &lt;strong&gt;multicast&lt;/strong&gt; cluster operation mode:&lt;/p&gt;</description></item><item><title>VRF / VPN-Instance Inter-VLAN Routing on HPE Comware v7</title><link>https://vlan51.com/comware-v7/vrf-inter-vlan-routing/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/comware-v7/vrf-inter-vlan-routing/</guid><description>&lt;p&gt;How to route between VLANs that sit in different VPN-Instances (VRFs) on an HPE Comware switch.&lt;/p&gt;&#10;&lt;p&gt;A customer running VPN-Instances on HPE Comware 5500-HI switches needed the switch to act as the default gateway and route between two VPN-Instances. A VPN-Instance splits the routing table, the same as a VRF on Cisco, so this isn&amp;rsquo;t enabled by default. &lt;strong&gt;You can&amp;rsquo;t do it with static routing&lt;/strong&gt;: it needs MP-BGP to leak routes between the instances using route targets.&lt;/p&gt;</description></item><item><title>Adding Devices to HPE IMC with Access Parameter Templates</title><link>https://vlan51.com/imc/adding-devices/</link><pubDate>Wed, 01 Jun 2016 00:00:00 +0000</pubDate><guid>https://vlan51.com/imc/adding-devices/</guid><description>&lt;p&gt;Adding a device to IMC is straightforward once you get the hang of it, but a little preparation makes sure devices go in properly and stay manageable.&lt;/p&gt;&#10;&lt;h2 id="1-set-up-access-parameter-templates-first"&gt;1. Set up access parameter templates first &lt;a class="anchor" href="#1-set-up-access-parameter-templates-first" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;IMC&amp;rsquo;s first screen prompts you to add a device. Before you do, create templates for SNMP and SSH access. You can then apply the same credentials to groups of devices instead of typing them in every time.&lt;/p&gt;</description></item><item><title>Fixing "Device Denied SNMP Access" Traps in HPE IMC</title><link>https://vlan51.com/imc/snmp-denied-access/</link><pubDate>Wed, 01 Jun 2016 00:00:00 +0000</pubDate><guid>https://vlan51.com/imc/snmp-denied-access/</guid><description>&lt;p&gt;IMC needs correct SNMP credentials to read the MIBs on each device. When they&amp;rsquo;re wrong, you&amp;rsquo;ll see traps like these:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;Trap Name: Device Denied SNMP Access&#10;Severity: Major&#10;Trap Time: 2016-05-30 19:41:43&#10;Description: Device &amp;#34;My Network Switch&amp;#34; denied access.&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;iMC: 10.0.10.10&#10;Trap of Source: MYSWITCH (10.0.10.254)&#10;Location: Home&#10;Contact: &amp;#34;Network Admins&amp;#34;&#10;Trap Name: Authentication Failure&#10;Severity: Warn&#10;Trap Time: 2016-05-31 07:15:23&#10;Description: Device receives an SNMP message with an erroneous community string&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;These are almost always the device (switch, firewall and so on) refusing IMC&amp;rsquo;s requests. Check the device&amp;rsquo;s own logs and you&amp;rsquo;ll usually find the failures line up with IMC&amp;rsquo;s polling times.&lt;/p&gt;</description></item><item><title>HPE IMC Installation and Upgrade Errors (and Fixes)</title><link>https://vlan51.com/imc/install-and-upgrade-errors/</link><pubDate>Wed, 01 Jun 2016 00:00:00 +0000</pubDate><guid>https://vlan51.com/imc/install-and-upgrade-errors/</guid><description>&lt;p&gt;This isn&amp;rsquo;t a step-by-step install guide. It&amp;rsquo;s a collection of problems I&amp;rsquo;ve hit while installing and upgrading IMC, and how I got past them.&lt;/p&gt;&#10;&lt;h2 id="installing-net-35-source-files-could-not-be-found"&gt;Installing: .NET 3.5 &amp;ldquo;source files could not be found&amp;rdquo; &lt;a class="anchor" href="#installing-net-35-source-files-could-not-be-found" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;On Windows Server 2012, IMC&amp;rsquo;s installer needs the .NET Framework 3.5 feature, which can fail to install because the source files can&amp;rsquo;t be found.&lt;/p&gt;&#10;&lt;p&gt;Mount the Windows Server ISO (here as &lt;code&gt;D:&lt;/code&gt;) and run this from an elevated command prompt, changing the drive letter if needed:&lt;/p&gt;</description></item><item><title>Monitoring Hyper-V Hosts in HPE IMC with VRM (without SCVMM)</title><link>https://vlan51.com/imc/vrm-hyper-v/</link><pubDate>Wed, 01 Jun 2016 00:00:00 +0000</pubDate><guid>https://vlan51.com/imc/vrm-hyper-v/</guid><description>&lt;p&gt;How to add a Hyper-V host to IMC and monitor it with VRM (Virtual Resource Manager), without System Center Virtual Machine Manager (VMM). Written against IMC 7.1.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Make sure the VRM component is deployed, using the Intelligent Deployment Monitoring Agent (IDM).&lt;/li&gt;&#10;&lt;li&gt;Install the LLDP agent on the Hyper-V server.&lt;/li&gt;&#10;&lt;li&gt;Install the VRM agent on the Hyper-V server.&lt;/li&gt;&#10;&lt;li&gt;Point the VRM agent at the IMC server address on port &lt;strong&gt;8800&lt;/strong&gt;. The agent&amp;rsquo;s settings label this field &amp;ldquo;IMG&amp;rdquo;.&lt;/li&gt;&#10;&lt;li&gt;Configure WMI credentials for the host in IMC.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;You don&amp;rsquo;t need to add PowerShell parameters unless you&amp;rsquo;re using VMM.&lt;/p&gt;</description></item><item><title>Tuning Link Up/Down Flap Alarms in HPE IMC</title><link>https://vlan51.com/imc/link-flap-alarms/</link><pubDate>Thu, 01 Jan 2015 00:00:00 +0000</pubDate><guid>https://vlan51.com/imc/link-flap-alarms/</guid><description>&lt;p&gt;IMC raises this alarm when a port flaps:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;iMC alarm system found event (Link UP) and event (Link DOWN) had 3 intermittent failures from &amp;lt;date/time&amp;gt; to &amp;lt;date/time&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="investigate-before-tuning"&gt;Investigate before tuning &lt;a class="anchor" href="#investigate-before-tuning" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Don&amp;rsquo;t dismiss link flaps. Find the device and port in the alarm, log into the switch, and check the log (newest first on ArubaOS-Switch):&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;show logging -r&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Look for errors like this one, which point to a real physical problem you need to fix:&lt;/p&gt;</description></item></channel></rss>