Skip to content

Commit 05449dd

Browse files
authored
Init file example for migratecomware.py
1 parent ef6717f commit 05449dd

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

migration_init_file.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#This is a sample Comware migration initialization file with device mappings for migratecomware.py
2+
#
3+
#Syntax:
4+
# * Blank lines and lines only containing whitespace will be ignored.
5+
# * Use lines beginning with # as comments. These lines will be ignored.
6+
# * Use "net=Network_name" to define a network. A network definition line must exist before any
7+
# device definition lines.
8+
# * Device definition lines. These lines define the IP address of the original Comware switch,
9+
# the Meraki MS switch serial number the configuration will be transferred to and optionally
10+
# a SSH username and password to log into the Comware device. If username and password are
11+
# omitted, default credentials will be used. These lines can have four forms:
12+
# <device_ip> <serial_number>
13+
# <device_ip> <serial_number> <username> <password>
14+
# file <filename> <serial_number>
15+
#
16+
#Examples of net definition and device definition lines, commented out:
17+
#
18+
#net=Migrated headquarters network
19+
#10.1.1.20 AAAA-BBBB-CCCC admin admin
20+
#10.1.1.21 AAAA-BBBB-DDDD admin@system admin123
21+
#file myconfig.cfg BBBB-CCCC-DDDD
22+
#
23+
#net=Migrated branch network
24+
#192.168.10.10 AAAA-BBBB-EEEE
25+
26+
net=New migrated network
27+
10.54.25.13 AAAA-BBBB-CCCC cisco@system cisco
28+
1.1.1.1 sadd-235u-hf92
29+
file myfile.txt kasa-832r-dajs
30+
31+
net=Not Empty net
32+
3.3.3.3 sajk-jfaa-afff
33+
34+
net=Second migrated network
35+
10.54.25.12 AAAA-BBBB-DDDD

0 commit comments

Comments
 (0)