blob: f4212b975866b1e5e7310ff69eff7385037fd756 [file] [log] [blame]
David Lamparterd79668f2015-05-14 14:47:05 +02001echo this is a test message
2echo foo bla ? baz
3echo
4
5arg ipv4 1.2.3.4
6arg ipv4 1.2.?3.4
7arg ipv4 1.2.3
8arg ipv4 1.2.3.4.5
9arg ipv4 1.a.3.4
10arg ipv4 blah
11
12arg ipv4m 1.2.3.0/24
13arg ipv4m 1.2.?3.0/24
14arg ipv4m 1.2.3/9
15arg ipv4m 1.2.3.4.5/6
16arg ipv4m 1.a.3.4
17arg ipv4m blah
18arg ipv4m 1.2.3.0/999
19arg ipv4m 1.2.3.0/a9
20arg ipv4m 1.2.3.0/9a
21
22arg ipv6 de4d:b33f::cafe
23arg ipv6 de4d:b3?3f::caf?e
24arg ipv6 de4d:b3 3f::caf?e
25arg ipv6 de4d:b33f:z::cafe
26arg ipv6 de4d:b33f:cafe:
27arg ipv6 ::
28arg ipv6 ::/
29arg ipv6 1:2:3:4:5:6:7:8:9:0:1:2:3:4:5:6:7:8:9:0:1:2:3:4:5:6:7:8:9:0
30arg ipv6 12::34::56
31arg ipv6m dead:beef:cafe::/64
32arg ipv6m dead:be?ef:cafe:?:/64
33
34arg range 4
35arg range 5
36arg range 9?
37arg range 15
38arg range 16
39arg range -1
40arg range 99999999999999999999999999999999999999999
41
42arg ?
43
44pa
45pat
46
47pat a
48pat a a
49pat a ?b
50pat a c?
51pat a a x
52
53pat b
54pat b ?a
55pat b x
56pat b x y
57
58pat c a
59pat c a 1.2.3.4
60pat c b 2.3.4
61pat c c ?x
62
63pat d
64pat d
65pat d foo 1.2.3.4
66pat d foo
67pat d noooo
68pat d bar 1::2
69pat d bar 1::2 foo 3.4.5.6
70pat d ba?z
71pat d foo 3.4.5.6 baz
72
73pat e
74pat e f
75pat e f g
76pat e 1.2.3.4
77
78pat f
79pat f foo
80pat f key
81
82alt a a?b
83alt a 1 .2?.3.4
84alt a 1 :2? ::?3
85
86conf t
87do pat d baz
88exit
89
90show run
91conf t
92hostname foohost
93do show run