<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Comware-V5 on vlan51</title><link>https://vlan51.com/tags/comware-v5/</link><description>Recent content in Comware-V5 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/comware-v5/index.xml" rel="self" type="application/rss+xml"/><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 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>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></channel></rss>