annet 0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of annet might be problematic. Click here for more details.
- annet/__init__.py +61 -0
- annet/annet.py +25 -0
- annet/annlib/__init__.py +7 -0
- annet/annlib/command.py +49 -0
- annet/annlib/diff.py +158 -0
- annet/annlib/errors.py +8 -0
- annet/annlib/filter_acl.py +196 -0
- annet/annlib/jsontools.py +89 -0
- annet/annlib/lib.py +495 -0
- annet/annlib/netdev/__init__.py +0 -0
- annet/annlib/netdev/db.py +62 -0
- annet/annlib/netdev/devdb/__init__.py +28 -0
- annet/annlib/netdev/devdb/data/devdb.json +137 -0
- annet/annlib/netdev/views/__init__.py +0 -0
- annet/annlib/netdev/views/dump.py +121 -0
- annet/annlib/netdev/views/hardware.py +112 -0
- annet/annlib/output.py +246 -0
- annet/annlib/patching.py +533 -0
- annet/annlib/rbparser/__init__.py +0 -0
- annet/annlib/rbparser/acl.py +120 -0
- annet/annlib/rbparser/deploying.py +55 -0
- annet/annlib/rbparser/ordering.py +52 -0
- annet/annlib/rbparser/platform.py +51 -0
- annet/annlib/rbparser/syntax.py +115 -0
- annet/annlib/rulebook/__init__.py +0 -0
- annet/annlib/rulebook/common.py +350 -0
- annet/annlib/tabparser.py +648 -0
- annet/annlib/types.py +35 -0
- annet/api/__init__.py +807 -0
- annet/argparse.py +415 -0
- annet/cli.py +192 -0
- annet/cli_args.py +493 -0
- annet/configs/context.yml +18 -0
- annet/configs/logging.yaml +39 -0
- annet/connectors.py +64 -0
- annet/deploy.py +441 -0
- annet/diff.py +85 -0
- annet/executor.py +551 -0
- annet/filtering.py +40 -0
- annet/gen.py +828 -0
- annet/generators/__init__.py +987 -0
- annet/generators/common/__init__.py +0 -0
- annet/generators/common/initial.py +33 -0
- annet/hardware.py +45 -0
- annet/implicit.py +139 -0
- annet/lib.py +128 -0
- annet/output.py +170 -0
- annet/parallel.py +448 -0
- annet/patching.py +25 -0
- annet/reference.py +148 -0
- annet/rulebook/__init__.py +114 -0
- annet/rulebook/arista/__init__.py +0 -0
- annet/rulebook/arista/iface.py +16 -0
- annet/rulebook/aruba/__init__.py +16 -0
- annet/rulebook/aruba/ap_env.py +146 -0
- annet/rulebook/aruba/misc.py +8 -0
- annet/rulebook/cisco/__init__.py +0 -0
- annet/rulebook/cisco/iface.py +68 -0
- annet/rulebook/cisco/misc.py +57 -0
- annet/rulebook/cisco/vlandb.py +90 -0
- annet/rulebook/common.py +19 -0
- annet/rulebook/deploying.py +87 -0
- annet/rulebook/huawei/__init__.py +0 -0
- annet/rulebook/huawei/aaa.py +75 -0
- annet/rulebook/huawei/bgp.py +97 -0
- annet/rulebook/huawei/iface.py +33 -0
- annet/rulebook/huawei/misc.py +337 -0
- annet/rulebook/huawei/vlandb.py +115 -0
- annet/rulebook/juniper/__init__.py +107 -0
- annet/rulebook/nexus/__init__.py +0 -0
- annet/rulebook/nexus/iface.py +92 -0
- annet/rulebook/patching.py +143 -0
- annet/rulebook/ribbon/__init__.py +12 -0
- annet/rulebook/texts/arista.deploy +20 -0
- annet/rulebook/texts/arista.order +125 -0
- annet/rulebook/texts/arista.rul +59 -0
- annet/rulebook/texts/aruba.deploy +20 -0
- annet/rulebook/texts/aruba.order +83 -0
- annet/rulebook/texts/aruba.rul +87 -0
- annet/rulebook/texts/cisco.deploy +27 -0
- annet/rulebook/texts/cisco.order +82 -0
- annet/rulebook/texts/cisco.rul +105 -0
- annet/rulebook/texts/huawei.deploy +188 -0
- annet/rulebook/texts/huawei.order +388 -0
- annet/rulebook/texts/huawei.rul +471 -0
- annet/rulebook/texts/juniper.rul +120 -0
- annet/rulebook/texts/nexus.deploy +24 -0
- annet/rulebook/texts/nexus.order +85 -0
- annet/rulebook/texts/nexus.rul +83 -0
- annet/rulebook/texts/nokia.rul +31 -0
- annet/rulebook/texts/pc.order +5 -0
- annet/rulebook/texts/pc.rul +9 -0
- annet/rulebook/texts/ribbon.deploy +22 -0
- annet/rulebook/texts/ribbon.rul +77 -0
- annet/rulebook/texts/routeros.order +38 -0
- annet/rulebook/texts/routeros.rul +45 -0
- annet/storage.py +121 -0
- annet/tabparser.py +36 -0
- annet/text_term_format.py +95 -0
- annet/tracing.py +170 -0
- annet/types.py +223 -0
- annet-0.1.dist-info/AUTHORS +21 -0
- annet-0.1.dist-info/LICENSE +21 -0
- annet-0.1.dist-info/METADATA +24 -0
- annet-0.1.dist-info/RECORD +113 -0
- annet-0.1.dist-info/WHEEL +5 -0
- annet-0.1.dist-info/entry_points.txt +6 -0
- annet-0.1.dist-info/top_level.txt +3 -0
- annet_generators/__init__.py +0 -0
- annet_generators/example/__init__.py +12 -0
- annet_generators/example/lldp.py +52 -0
- annet_nbexport/__init__.py +220 -0
- annet_nbexport/main.py +46 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Операторы:
|
|
2
|
+
# * Один аргумент в undo
|
|
3
|
+
# ~ Несколько аргументов (минимум один) в undo
|
|
4
|
+
#
|
|
5
|
+
# Параметры:
|
|
6
|
+
# %global Команда действует на любом уровне ниже
|
|
7
|
+
# %logic=... Кастомная функция обработки правила
|
|
8
|
+
# %diff_logic=... Кастомная функция построения диффа.
|
|
9
|
+
# данная функция работает для подблоков (в отличие от %logic)
|
|
10
|
+
# %comment=... Добавить коммент после строки который будет видно с опцией patch --add-comments
|
|
11
|
+
# Сделано в основном для того чтобы генерировать специальные команды для наливки
|
|
12
|
+
# -----
|
|
13
|
+
|
|
14
|
+
%context=block:ap-env
|
|
15
|
+
|
|
16
|
+
name:~ %logic=aruba.ap_env.hostname
|
|
17
|
+
|
|
18
|
+
*/ipaddr|netmask|gatewayip|dnsip|domainname/:... %logic=aruba.ap_env.mgmt
|
|
19
|
+
|
|
20
|
+
usb-port-disable:... %logic=aruba.ap_env.patch_flag
|
|
21
|
+
iap_master:... %logic=aruba.ap_env.patch_flag
|
|
22
|
+
iap_conductor:... %logic=aruba.ap_env.patch_flag
|
|
23
|
+
|
|
24
|
+
iap_zone:~ %logic=aruba.ap_env.iap_zone
|
|
25
|
+
|
|
26
|
+
dot11a_radio:disable %logic=aruba.ap_env.dot11_radio
|
|
27
|
+
dot11g_radio:disable %logic=aruba.ap_env.dot11_radio
|
|
28
|
+
|
|
29
|
+
installation_type:... %logic=aruba.ap_env.installation_type
|
|
30
|
+
|
|
31
|
+
standalone_mode:... %logic=aruba.ap_env.swarm_mode
|
|
32
|
+
|
|
33
|
+
*/wifi0_arm_(channel|power_10x)/:... %logic=aruba.ap_env.wifi_arm
|
|
34
|
+
*/wifi1_arm_(channel|power_10x)/:... %logic=aruba.ap_env.wifi_arm
|
|
35
|
+
|
|
36
|
+
a_ant_gain_10x:... %logic=aruba.ap_env.ant_gain
|
|
37
|
+
g_ant_gain_10x:... %logic=aruba.ap_env.ant_gain
|
|
38
|
+
|
|
39
|
+
a_ant_pol:... %logic=aruba.ap_env.ant_pol
|
|
40
|
+
g_ant_pol:... %logic=aruba.ap_env.ant_pol
|
|
41
|
+
|
|
42
|
+
%context=block:conf-t
|
|
43
|
+
syslog-server
|
|
44
|
+
|
|
45
|
+
*/syslog-level/ ~/(emergency|alert|critical|error|warn|notice|info|debug)/ * %logic=aruba.misc.syslog_level
|
|
46
|
+
*/syslog-level/ ~/(emergency|alert|critical|error|warn|notice|info|debug)/ %logic=aruba.misc.syslog_level
|
|
47
|
+
|
|
48
|
+
arm
|
|
49
|
+
wide-bands
|
|
50
|
+
a-channels
|
|
51
|
+
g-channels
|
|
52
|
+
min-tx-power
|
|
53
|
+
max-tx-power
|
|
54
|
+
|
|
55
|
+
rf dot11g-radio-profile
|
|
56
|
+
max-distance
|
|
57
|
+
max-tx-power
|
|
58
|
+
min-tx-power
|
|
59
|
+
|
|
60
|
+
rf dot11a-radio-profile
|
|
61
|
+
max-distance
|
|
62
|
+
max-tx-power
|
|
63
|
+
min-tx-power
|
|
64
|
+
|
|
65
|
+
wlan access-rule ~
|
|
66
|
+
rule ~ %ordered
|
|
67
|
+
|
|
68
|
+
wlan ssid-profile ~
|
|
69
|
+
g-basic-rates
|
|
70
|
+
a-basic-rates
|
|
71
|
+
wpa-passphrase
|
|
72
|
+
radius-reauth-interval
|
|
73
|
+
dtim-period
|
|
74
|
+
|
|
75
|
+
ntp-server
|
|
76
|
+
rf-band
|
|
77
|
+
name
|
|
78
|
+
virtual-controller-ip
|
|
79
|
+
|
|
80
|
+
wlan tacacs-server tacacs
|
|
81
|
+
key
|
|
82
|
+
timeout
|
|
83
|
+
|
|
84
|
+
no ~ %global
|
|
85
|
+
~ %global
|
|
86
|
+
|
|
87
|
+
# vim: set syntax=annrulebook:
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Рулбук деплоя на устройства
|
|
2
|
+
#
|
|
3
|
+
# Операторы:
|
|
4
|
+
# * Один аргумент
|
|
5
|
+
# ~ Несколько аргументов (минимум один)
|
|
6
|
+
#
|
|
7
|
+
# Параметры:
|
|
8
|
+
# %timeout=... Таймаут выполнения команды (в секундах, по умолчанию 30)
|
|
9
|
+
#
|
|
10
|
+
# Ответы на вопросы
|
|
11
|
+
#
|
|
12
|
+
# <команда>
|
|
13
|
+
# dialog: <вопрос> ::: <ответ> <параметры>
|
|
14
|
+
#
|
|
15
|
+
# Если <вопрос> заключён в слеши (//), то воспринимается как регулярка, иначе - точное совпадение.
|
|
16
|
+
# Параметы:
|
|
17
|
+
# %send_nl=... Посылать ли перевод строки после ответа (bool, по умолчанию true)
|
|
18
|
+
# -----
|
|
19
|
+
|
|
20
|
+
crypto key generate rsa %timeout=60
|
|
21
|
+
dialog: Do you really want to replace them? [yes/no]: ::: no
|
|
22
|
+
dialog: How many bits in the modulus [512]: ::: 2048
|
|
23
|
+
no username * privilege * secret 5 *
|
|
24
|
+
dialog: This operation will remove all username related configurations with same name.Do you want to continue? [confirm] ::: Y %send_nl=0
|
|
25
|
+
|
|
26
|
+
copy running-config startup-config
|
|
27
|
+
dialog: Destination filename [startup-config]? ::: startup-config
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# В этом файле определяется порядок команд, в котором их следует подавать на устройство.
|
|
2
|
+
# - Если порядок команды не важен - ее можно не писать сюда совсем.
|
|
3
|
+
# - Если команда начинается с undo и прописан параметр %order_reverse - команда считается
|
|
4
|
+
# обратной, но занимает место между прямыми там, где указано.
|
|
5
|
+
|
|
6
|
+
banner login %order_reverse
|
|
7
|
+
|
|
8
|
+
# Фичи должны быть включены прежде всего
|
|
9
|
+
feature
|
|
10
|
+
# За ним сервисы
|
|
11
|
+
service
|
|
12
|
+
|
|
13
|
+
aaa new-model
|
|
14
|
+
aaa ~
|
|
15
|
+
|
|
16
|
+
no password strength-check
|
|
17
|
+
username
|
|
18
|
+
tacacs-server
|
|
19
|
+
|
|
20
|
+
radius
|
|
21
|
+
radius-server
|
|
22
|
+
dot1x
|
|
23
|
+
|
|
24
|
+
privilege
|
|
25
|
+
file
|
|
26
|
+
|
|
27
|
+
ip access-list
|
|
28
|
+
ipv6 access-list
|
|
29
|
+
class-map
|
|
30
|
+
policy-map
|
|
31
|
+
system qos
|
|
32
|
+
control-plane
|
|
33
|
+
|
|
34
|
+
snmp-server source-interface
|
|
35
|
+
snmp-server user
|
|
36
|
+
snmp-server host
|
|
37
|
+
snmp-server enable
|
|
38
|
+
snmp-server context
|
|
39
|
+
snmp-server community
|
|
40
|
+
snmp-server mib
|
|
41
|
+
|
|
42
|
+
ntp distribute
|
|
43
|
+
ntp server
|
|
44
|
+
ntp commit
|
|
45
|
+
|
|
46
|
+
vlan
|
|
47
|
+
vlan group
|
|
48
|
+
|
|
49
|
+
spanning-tree
|
|
50
|
+
|
|
51
|
+
# перед тем, как менять mtu на интерфейсах, надо выставить максимальный
|
|
52
|
+
no system jumbomtu %order_reverse
|
|
53
|
+
system jumbomtu
|
|
54
|
+
|
|
55
|
+
route-map
|
|
56
|
+
|
|
57
|
+
service dhcp
|
|
58
|
+
ip dhcp relay
|
|
59
|
+
ipv6 dhcp relay
|
|
60
|
+
|
|
61
|
+
vrf context
|
|
62
|
+
|
|
63
|
+
interface */Vlan\d+/
|
|
64
|
+
interface *
|
|
65
|
+
no switchport
|
|
66
|
+
encapsulation
|
|
67
|
+
vrf member
|
|
68
|
+
ip
|
|
69
|
+
ipv6
|
|
70
|
+
no ipv6 nd %order_reverse
|
|
71
|
+
ipv6 nd
|
|
72
|
+
~
|
|
73
|
+
channel-group
|
|
74
|
+
|
|
75
|
+
interface */\S+\.\d+/
|
|
76
|
+
|
|
77
|
+
# удалять eth-trunk можно только после того, как вычистим member interfaces
|
|
78
|
+
undo interface */port-channel\d+/ %order_reverse
|
|
79
|
+
|
|
80
|
+
router bgp
|
|
81
|
+
|
|
82
|
+
line
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Операторы:
|
|
2
|
+
# * Один аргумент в undo
|
|
3
|
+
# ~ Несколько аргументов (минимум один) в undo
|
|
4
|
+
#
|
|
5
|
+
# Параметры:
|
|
6
|
+
# %global Команда действует на любом уровне ниже
|
|
7
|
+
# %logic=... Кастомная функция обработки правила
|
|
8
|
+
# %diff_logic=... Кастомная функция построения диффа.
|
|
9
|
+
# данная функция работает для подблоков (в отличие от %logic)
|
|
10
|
+
# %comment=... Добавить коммент после строки который будет видно с опцией patch --add-comments
|
|
11
|
+
# Сделано в основном для того чтобы генерировать специальные команды для наливки
|
|
12
|
+
# -----
|
|
13
|
+
|
|
14
|
+
ip domain-name *
|
|
15
|
+
hostname *
|
|
16
|
+
|
|
17
|
+
banner login * %logic=cisco.misc.banner_login
|
|
18
|
+
|
|
19
|
+
ip community-list standard ~
|
|
20
|
+
|
|
21
|
+
!vrf context management
|
|
22
|
+
vrf context *
|
|
23
|
+
|
|
24
|
+
vlan group * vlan-list %logic=cisco.vlandb.simple
|
|
25
|
+
vlan */[^\d].*/
|
|
26
|
+
vlan %logic=cisco.vlandb.simple
|
|
27
|
+
name
|
|
28
|
+
|
|
29
|
+
ip ssh version 2 %logic=cisco.misc.ssh_key
|
|
30
|
+
|
|
31
|
+
# ordering of SNMP blocks
|
|
32
|
+
ip access-list ~
|
|
33
|
+
snmp-server view ~
|
|
34
|
+
snmp-server community ~
|
|
35
|
+
snmp-server host ~
|
|
36
|
+
# Deleting a user using either SNMP or the CLI results in the user being deleted for both SNMP and the CLI.
|
|
37
|
+
# User-role mapping changes are synchronized in SNMP and the CLI.
|
|
38
|
+
!snmp-server user admin ~
|
|
39
|
+
!snmp-server user *
|
|
40
|
+
# Disabling this SNMP option throws WARNING which stops mpdaemon set-up process
|
|
41
|
+
no snmp-server sysobjectid type stack-oid
|
|
42
|
+
|
|
43
|
+
!interface */(mgmt|ipmi|Vlan1$)/
|
|
44
|
+
|
|
45
|
+
# SVI/Subifs/Lagg
|
|
46
|
+
interface */(Vlan|Ethernet.*\.|port-channel.*\.?)\d+$/ %diff_logic=cisco.iface.diff
|
|
47
|
+
vrf member
|
|
48
|
+
ipv6 link-local
|
|
49
|
+
ipv6 address *
|
|
50
|
+
ipv6 nd ~ %logic=cisco.misc.no_ipv6_nd_suppress_ra
|
|
51
|
+
mtu
|
|
52
|
+
|
|
53
|
+
# Physical
|
|
54
|
+
interface */\w*Ethernet[0-9\/]+$/ %logic=common.permanent %diff_logic=cisco.iface.diff
|
|
55
|
+
switchport mode
|
|
56
|
+
switchport trunk native vlan
|
|
57
|
+
switchport access vlan
|
|
58
|
+
switchport trunk allowed vlan %logic=cisco.vlandb.swtrunk
|
|
59
|
+
vrf member
|
|
60
|
+
ipv6 link-local
|
|
61
|
+
ipv6 address *
|
|
62
|
+
channel-group
|
|
63
|
+
mtu
|
|
64
|
+
storm-control * level
|
|
65
|
+
spanning-tree portfast
|
|
66
|
+
|
|
67
|
+
router bgp *
|
|
68
|
+
router-id
|
|
69
|
+
vrf *
|
|
70
|
+
router-id
|
|
71
|
+
address-family ~
|
|
72
|
+
maximum-paths
|
|
73
|
+
neighbor ~
|
|
74
|
+
update-source
|
|
75
|
+
|
|
76
|
+
policy-map type qos *
|
|
77
|
+
class * %ordered
|
|
78
|
+
~
|
|
79
|
+
|
|
80
|
+
%if hw.Cisco.ASR or hw.Cisco.XRV:
|
|
81
|
+
|
|
82
|
+
prefix-set *
|
|
83
|
+
~ %rewrite %global
|
|
84
|
+
|
|
85
|
+
as-path-set *
|
|
86
|
+
~ %rewrite %global
|
|
87
|
+
|
|
88
|
+
community-set *
|
|
89
|
+
~ %rewrite %global
|
|
90
|
+
|
|
91
|
+
route-policy *
|
|
92
|
+
~ %rewrite %global
|
|
93
|
+
|
|
94
|
+
%endif
|
|
95
|
+
|
|
96
|
+
line ~
|
|
97
|
+
exec-timeout
|
|
98
|
+
transport input
|
|
99
|
+
|
|
100
|
+
description %global
|
|
101
|
+
|
|
102
|
+
no ~ %global
|
|
103
|
+
~ %global
|
|
104
|
+
|
|
105
|
+
# vim: set syntax=annrulebook:
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# Рулбук деплоя на устройства
|
|
2
|
+
#
|
|
3
|
+
# Операторы:
|
|
4
|
+
# * Один аргумент
|
|
5
|
+
# ~ Несколько аргументов (минимум один)
|
|
6
|
+
#
|
|
7
|
+
# Параметры:
|
|
8
|
+
# %timeout=... Таймаут выполнения команды (в секундах, по умолчанию 30)
|
|
9
|
+
#
|
|
10
|
+
# Ответы на вопросы
|
|
11
|
+
#
|
|
12
|
+
# <команда>
|
|
13
|
+
# dialog: <вопрос> ::: <ответ> <параметры>
|
|
14
|
+
#
|
|
15
|
+
# Если <вопрос> заключён в слеши (//), то воспринимается как регулярка, иначе - точное совпадение.
|
|
16
|
+
# Параметы:
|
|
17
|
+
# %send_nl=... Посылать ли перевод строки после ответа (bool, по умолчанию true)
|
|
18
|
+
# -----
|
|
19
|
+
|
|
20
|
+
undo bgp
|
|
21
|
+
dialog: Warning: The BGP process will be deleted. Continue? [Y/N]: ::: Y
|
|
22
|
+
undo peer *
|
|
23
|
+
dialog: Warning: All the configurations related to the BGP peer will be deleted. Continue? [Y/N]: ::: Y
|
|
24
|
+
dialog: Warning: This operation will reset the peer session. Continue? [Y/N]: ::: Y
|
|
25
|
+
peer * enable
|
|
26
|
+
dialog: Warning: This operation will reset the peer session. Continue? [Y/N]: ::: Y
|
|
27
|
+
peer * timer
|
|
28
|
+
dialog: Warning: Changing the parameter in this command resets the peer session. Continue? [Y/N]: ::: Y
|
|
29
|
+
undo route-distinguisher *
|
|
30
|
+
dialog: Warning: RTs of VPN instance and IPv6 related configurations under BGP will be deleted. Continue? [Y/N]: ::: Y
|
|
31
|
+
dialog: Warning: All the VPN targets in the VPN instance IPv6 address family will be deleted. Continue? [Y/N]: ::: Y
|
|
32
|
+
dialog: Warning: All VPN targets of this EVPN instance and all EVPN address family-related configurations under BGP will be deleted. Continue? [Y/N]: ::: Y
|
|
33
|
+
|
|
34
|
+
save
|
|
35
|
+
dialog: Warning: The current configuration will be written to the device. Continue? [Y/N] ::: Y
|
|
36
|
+
dialog: Warning: The current configuration will be written to the device. Are you sure to continue? [Y/N]: ::: Y
|
|
37
|
+
dialog: Are you sure to continue?[Y/N] ::: Y
|
|
38
|
+
dialog: Are you sure to continue? [Y/N] ::: Y
|
|
39
|
+
dialog: Please input the file name(*.cfg, *.zip, *.dat): ::: vrpcfg.zip
|
|
40
|
+
undo rsa peer-public-key
|
|
41
|
+
dialog: /Do you want to remove the public key named .*\? \[Y/N\]:/ ::: Y
|
|
42
|
+
undo stelnet server enable
|
|
43
|
+
dialog: Warning: The operation will stop the STelnet server. Do you want to continue? [Y/N]: ::: Y
|
|
44
|
+
undo telnet * server enable
|
|
45
|
+
dialog: Warning: The operation will stop the .*Telnet server. Continue? [Y/N]: ::: Y
|
|
46
|
+
undo stelnet * server enable
|
|
47
|
+
dialog: Warning: The operation will stop the STelnet server. Do you want to continue? [Y/N]: ::: Y
|
|
48
|
+
telnet ipv6 server-source all-interface
|
|
49
|
+
dialog: Warning: Telnet server source configuration will take effect in the next login. Do you want to continue? [Y/N]: ::: Y
|
|
50
|
+
telnet server-source all-interface
|
|
51
|
+
dialog: Warning: Telnet server source configuration will take effect in the next login. Do you want to continue? [Y/N]: ::: Y
|
|
52
|
+
dialog: Warning: Telnet server source configuration will take effect in the next login. Continue? [Y/N]: ::: Y
|
|
53
|
+
telnet ipv6 server-source all-interface
|
|
54
|
+
dialog: Warning: The IPv6 Telnet server source configuration will take effect in the next login. Continue? [Y/N]: ::: Y
|
|
55
|
+
undo telnet server-source ~
|
|
56
|
+
dialog: Warning: The operation will delete the Telnet server source configuration and may cause the service to be unavailable. Do you want to continue? [Y/N]: ::: Y
|
|
57
|
+
dialog: Warning: The operation will delete the Telnet server source configuration and may cause the service to be unavailable. Continue? [Y/N]: ::: Y
|
|
58
|
+
undo telnet ipv6 server-source ~
|
|
59
|
+
dialog: Warning: The operation will delete the Telnet server source configuration and may cause the service to be unavailable. Do you want to continue? [Y/N]: ::: Y
|
|
60
|
+
dialog: Warning: The operation will delete the Telnet server source configuration and may cause the service to be unavailable. Continue? [Y/N]: ::: Y
|
|
61
|
+
telnet ipv6 server disable
|
|
62
|
+
dialog: Warning: The operation will stop the IPv6 Telnet server. Do you want to continue? [Y/N]: ::: Y
|
|
63
|
+
dialog: Warning: The operation will stop the IPv6 Telnet server. Continue? [Y/N]: ::: Y
|
|
64
|
+
telnet server disable
|
|
65
|
+
dialog: Warning: The operation will stop the Telnet server. Do you want to continue? [Y/N]: ::: Y
|
|
66
|
+
dialog: Warning: The operation will stop the Telnet server. Continue? [Y/N]: ::: Y
|
|
67
|
+
ssh ipv6 server-source all-interface
|
|
68
|
+
dialog: Warning: SSH server source configuration will take effect in the next login. Do you want to continue? [Y/N]: ::: Y
|
|
69
|
+
dialog: Warning: SSH server source configuration will take effect in the next login. Continue? [Y/N]: ::: Y
|
|
70
|
+
ssh server-source all-interface
|
|
71
|
+
dialog: Warning: SSH server source configuration will take effect in the next login. Do you want to continue? [Y/N]: ::: Y
|
|
72
|
+
dialog: Warning: SSH server source configuration will take effect in the next login. Continue? [Y/N]: ::: Y
|
|
73
|
+
undo ssh server-source ~
|
|
74
|
+
dialog: Warning: The operation will delete the SSH server source configuration and may cause the service to be unavailable. Do you want to continue? [Y/N]: ::: Y
|
|
75
|
+
undo protocol inbound ssh port *
|
|
76
|
+
dialog: Warning: The operation will stop the ssh port 830 service. Do you want to continue? [Y/N]: ::: Y
|
|
77
|
+
undo sftp server enable
|
|
78
|
+
dialog: Warning: The operation will stop the SFTP server. Do you want to continue? [Y/N]: ::: Y
|
|
79
|
+
(ftp|FTP) *
|
|
80
|
+
dialog: Warning: FTP server source configuration will take effect in the next login. Do you want to continue? [Y/N]: ::: Y
|
|
81
|
+
undo (ftp|FTP) server enable
|
|
82
|
+
dialog: Warning: The operation will stop the FTP server. Do you want to continue? [Y/N]: ::: Y
|
|
83
|
+
undo (ftp|FTP) ipv6 server enable
|
|
84
|
+
dialog: Warning: The operation will stop the FTP server. Do you want to continue? [Y/N]: ::: Y
|
|
85
|
+
undo (ftp|FTP) (server source|server-source)
|
|
86
|
+
dialog: Warning: The operation will delete the FTP server source configuration and may cause the service to be unavailable. Do you want to continue? [Y/N]: ::: Y
|
|
87
|
+
dialog: Warning: To make the server source configuration take effect, the FTP server will be restarted. Continue? [Y/N]: ::: Y
|
|
88
|
+
undo (ftp|FTP) ipv6 (server source|server-source)
|
|
89
|
+
dialog: Warning: The operation will delete the FTP server source configuration and may cause the service to be unavailable. Do you want to continue? [Y/N]: ::: Y
|
|
90
|
+
dialog: Warning: To make the server source configuration take effect, the FTP server will be restarted. Continue? [Y/N]: ::: Y
|
|
91
|
+
undo http server enable
|
|
92
|
+
dialog: Warning: The operation will stop HTTP service. Continue? [Y/N]: ::: Y
|
|
93
|
+
undo sftp * server enable
|
|
94
|
+
dialog: Warning: The operation will stop the SFTP server. Do you want to continue? [Y/N]: ::: Y
|
|
95
|
+
undo scp server enable
|
|
96
|
+
dialog: Warning: The operation will stop the SCP server. Continue? [Y/N]: ::: Y
|
|
97
|
+
undo scp * server enable
|
|
98
|
+
dialog: Warning: The operation will stop the SCP server. Continue? [Y/N]: ::: Y
|
|
99
|
+
undo dhcp enable
|
|
100
|
+
dialog: Warning: All DHCP functions will be disabled. Continue? [Y/N] ::: Y
|
|
101
|
+
undo dhcpv6 enable
|
|
102
|
+
dialog: Warning: All DHCPv6 functions will be disabled. Continue? [Y/N]: ::: Y
|
|
103
|
+
system tcam acl
|
|
104
|
+
dialog: Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N] ::: Y
|
|
105
|
+
local-user * privilege level
|
|
106
|
+
dialog: Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N] ::: Y
|
|
107
|
+
dialog: Warning: This operation may affect online users and will change the user privilege level, Continue? [Y/N]: ::: Y
|
|
108
|
+
|
|
109
|
+
stp *
|
|
110
|
+
dialog: Warning: The global STP state will be changed. Continue? [Y/N] ::: Y
|
|
111
|
+
|
|
112
|
+
ntp server disable
|
|
113
|
+
dialog: /.*Continue\?/ ::: Y
|
|
114
|
+
ntp * server disable
|
|
115
|
+
dialog: /.*Continue\?/ ::: Y
|
|
116
|
+
|
|
117
|
+
ntp-service server disable
|
|
118
|
+
dialog: /.*Continue\?/ ::: Y
|
|
119
|
+
ntp-service * server disable
|
|
120
|
+
dialog: /.*Continue\?/ ::: Y
|
|
121
|
+
|
|
122
|
+
undo telnet server-source all-interface
|
|
123
|
+
dialog: /.*continue\?/ ::: Y
|
|
124
|
+
undo telnet ipv6 server-source all-interface
|
|
125
|
+
dialog: /.*continue\?/ ::: Y
|
|
126
|
+
telnet server disable
|
|
127
|
+
dialog: /.*continue\?/ ::: Y
|
|
128
|
+
telnet ipv6 server disable
|
|
129
|
+
dialog: /.*continue\?/ ::: Y
|
|
130
|
+
|
|
131
|
+
undo vlan
|
|
132
|
+
dialog: Warning: The configurations of the VLAN will be deleted. Continue? [Y/N]: ::: Y
|
|
133
|
+
|
|
134
|
+
port link-type *
|
|
135
|
+
dialog: Warning: This command will delete VLANs on this port. Continue?[Y/N]: ::: Y
|
|
136
|
+
|
|
137
|
+
port mode 200GE ~
|
|
138
|
+
dialog: /Warning: This operation will delete current ports.*/ ::: Y
|
|
139
|
+
|
|
140
|
+
port mode *
|
|
141
|
+
dialog: /Warning: The interfaces.* will be converted to .* mode/ ::: Y
|
|
142
|
+
undo port mode *
|
|
143
|
+
dialog: /Warning: The interfaces.* will be converted to .* mode/ ::: Y
|
|
144
|
+
|
|
145
|
+
mpls lsr-id *
|
|
146
|
+
dialog: Warning: All MPLS services will be deleted and services related to LSR-ID will fail. Continue? [Y/N]: ::: Y
|
|
147
|
+
|
|
148
|
+
undo router-id
|
|
149
|
+
dialog: Warning: Changing the parameter in this command resets the peer session. Continue? [Y/N]: ::: Y
|
|
150
|
+
|
|
151
|
+
router-id
|
|
152
|
+
dialog: Warning: Changing the parameter in this command resets the peer session. Continue? [Y/N]: ::: Y
|
|
153
|
+
|
|
154
|
+
undo bfd
|
|
155
|
+
dialog: Warning: The BFD process will be deleted. Continue? [Y/N]: ::: Y
|
|
156
|
+
|
|
157
|
+
undo dcn
|
|
158
|
+
dialog: Warning: This operation will disable DCN function. Continue? [Y/N]: ::: Y
|
|
159
|
+
|
|
160
|
+
undo ospf *
|
|
161
|
+
dialog: Warning: The OSPF process will be deleted. Continue? [Y/N]: ::: Y
|
|
162
|
+
|
|
163
|
+
undo mpls ldp transport-address
|
|
164
|
+
dialog: Warning: All the related sessions will be deleted if the operation is performed! Continue? [Y/N]: ::: Y
|
|
165
|
+
|
|
166
|
+
ldp-sync enable
|
|
167
|
+
dialog: Warning: This will cause all the interfaces enabled the ISIS process to enter ldp-sync state. Continue? [Y/N]: ::: Y
|
|
168
|
+
dialog: Warning: This will cause all the interfaces enabled the OSPF process to enter ldp-sync state. Continue? [Y/N]: ::: Y
|
|
169
|
+
|
|
170
|
+
association-type enable
|
|
171
|
+
dialog: Warning: The PCE sessions will be restarted. Continue? [Y/N]: ::: Y
|
|
172
|
+
|
|
173
|
+
info-center max-logfile-number *
|
|
174
|
+
dialog: Warning: The operation will probably delete the redundant logs. Continue? [Y/N]: ::: Y
|
|
175
|
+
|
|
176
|
+
rsa peer-public-key *
|
|
177
|
+
dialog: Do you really want to replace it? [Y/N]: ::: Y
|
|
178
|
+
|
|
179
|
+
ip binding vpn-instance
|
|
180
|
+
dialog: Warning: This operation will modify the router ID to 0.0.0.0, which may affect the establishment of BGP peer relationships. Continue? [Y/N]: ::: Y
|
|
181
|
+
|
|
182
|
+
force transceiver *
|
|
183
|
+
dialog: /.*Continue\?/ ::: Y
|
|
184
|
+
|
|
185
|
+
undo force transceiver *
|
|
186
|
+
dialog: /.*Continue\?/ ::: Y
|
|
187
|
+
|
|
188
|
+
# vim: set syntax=annrulebook:
|