Skip to content

Commit 7a79787

Browse files
committed
Merge branch 'develop' into smartoptics-dwdm-devices
2 parents d2cf358 + fa15b53 commit 7a79787

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

netmiko/nokia/nokia_isam.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def session_preparation(self) -> None:
1212
self._test_channel_read()
1313
self.set_base_prompt()
1414
commands = [
15-
"environment inhibit-alarms",
16-
"environment screen-length 0",
15+
"environment mode batch",
16+
"exit",
1717
]
1818
for command in commands:
1919
self.disable_paging(command=command, cmd_verify=True, pattern=r"#")
@@ -60,7 +60,7 @@ def config_mode(
6060
config_command=config_command, pattern=pattern, re_flags=re_flags
6161
)
6262

63-
def exit_config_mode(self, exit_config: str = "exit", pattern: str = "") -> str:
63+
def exit_config_mode(self, exit_config: str = "exit all", pattern: str = "") -> str:
6464
return super().exit_config_mode(exit_config=exit_config)
6565

6666
def save_config(

0 commit comments

Comments
 (0)