diff --git a/netmiko/hp/hp_comware.py b/netmiko/hp/hp_comware.py index b7c4b13b8..d9f6c6549 100644 --- a/netmiko/hp/hp_comware.py +++ b/netmiko/hp/hp_comware.py @@ -98,6 +98,9 @@ def set_base_prompt( pattern=pattern, ) + # Strip off any leading RBM_. characters for firewall HA + prompt = re.sub(r"^RBM_.", "", prompt, flags=re.M) + # Strip off leading character prompt = prompt[1:] prompt = prompt.strip()