]>
git.proxmox.com Git - mirror_frr.git/blob - ldpd/ldp_vty.xml
2 <file init =
"ldp_vty_init" cmdprefix =
"ldp" header =
"ldpd/ldp_vty.h" >
3 <!-- address-family -->
4 <options name =
"address-family" >
5 <option name =
"ipv4" help =
"IPv4 Address Family" />
6 <option name =
"ipv6" help =
"IPv6 Address Family" />
9 <!-- ipv4/ipv6 address -->
11 <option input =
"ipv4" help =
"IPv4 address" />
12 <option input =
"ipv6" help =
"IPv6 address" />
15 <!-- pseudowire control-word options -->
16 <options name =
"cword" >
17 <option name =
"exclude" help =
"Exclude control-word in pseudowire packets" />
18 <option name =
"include" help =
"Include control-word in pseudowire packets" />
21 <!-- pseudowire types -->
22 <options name =
"pwtype" >
23 <option name =
"ethernet" help =
"Ethernet (type 5)" />
24 <option name =
"ethernet-tagged" help =
"Ethernet-tagged (type 4)" />
27 <!-- packet direction -->
29 <option name =
"recv" help =
"Received messages" />
30 <option name =
"sent" help =
"Sent messages" />
35 <option input =
"acl_range" help =
"IP access-list number" />
36 <option input =
"acl_expanded_range" help =
"IP access-list number (expanded range)" />
37 <option input =
"word" help =
"IP access-list name" />
40 <!-- shared subtrees -->
41 <subtree name =
"label_local_acls" >
42 <option name =
"to" help =
"IP Access-list specifying controls on LDP Peers" >
43 <select options =
"acl" arg =
"to_acl" function =
"inherited" >
44 <option name =
"for" help =
"IP access-list for destination prefixes" >
45 <select options =
"acl" arg =
"for_acl" function =
"inherited" />
49 <option name =
"for" help =
"IP access-list for destination prefixes" >
50 <select options =
"acl" arg =
"for_acl" function =
"inherited" >
51 <option name =
"to" help =
"IP Access-list specifying controls on LDP Peers" >
52 <select options =
"acl" arg =
"to_acl" function =
"inherited" />
58 <subtree name =
"label_remote_acls" >
59 <option name =
"from" help =
"Neighbor from whom to accept label advertisement" >
60 <select options =
"acl" arg =
"from_acl" function =
"inherited" >
61 <option name =
"for" help =
"IP access-list for destination prefixes" >
62 <select options =
"acl" arg =
"for_acl" function =
"inherited" />
66 <option name =
"for" help =
"IP access-list for destination prefixes" >
67 <select options =
"acl" arg =
"for_acl" function =
"inherited" >
68 <option name =
"from" help =
"Neighbor from whom to accept label advertisement" >
69 <select options =
"acl" arg =
"from_acl" function =
"inherited" />
75 <subtree name =
"discovery_link" >
76 <option name =
"discovery" help =
"Configure discovery parameters" >
77 <option name =
"hello" arg =
"hello_type" help =
"LDP Link Hellos" >
78 <option name =
"holdtime" help =
"Hello holdtime" >
79 <option input =
"disc_time" arg =
"seconds" help =
"Time (seconds) - 65535 implies infinite" function =
"ldp_vty_disc_holdtime" />
81 <option name =
"interval" help =
"Hello interval" >
82 <option input =
"disc_time" arg =
"seconds" help =
"Time (seconds)" function =
"ldp_vty_disc_interval" />
88 <subtree name =
"discovery_targeted" >
89 <option name =
"discovery" help =
"Configure discovery parameters" >
90 <option name =
"targeted-hello" arg =
"hello_type" help =
"LDP Targeted Hellos" >
91 <option name =
"holdtime" help =
"Targeted hello holdtime" >
92 <option input =
"disc_time" arg =
"seconds" help =
"Time (seconds) - 65535 implies infinite" function =
"ldp_vty_disc_holdtime" />
94 <option name =
"interval" help =
"Targeted hello interval" >
95 <option input =
"disc_time" arg =
"seconds" help =
"Time (seconds)" function =
"ldp_vty_disc_interval" />
101 <subtree name =
"session_holdtime" >
102 <option name =
"session" help =
"Configure session parameters" >
103 <option name =
"holdtime" help =
"Configure session holdtime" >
104 <option input =
"session_time" arg =
"seconds" help =
"Time (seconds)" function =
"ldp_vty_session_holdtime" />
109 <subtree name =
"af_common" >
110 <include subtree =
"discovery_link" />
111 <include subtree =
"discovery_targeted" />
112 <option name =
"discovery" help =
"Configure discovery parameters" >
113 <option name =
"targeted-hello" arg =
"hello_type" help =
"LDP Targeted Hellos" >
114 <option name =
"accept" help =
"Accept and respond to targeted hellos" function =
"ldp_vty_targeted_hello_accept" >
115 <option name =
"from" help =
"Access list to specify acceptable targeted hello source" >
116 <select options =
"acl" arg =
"from_acl" function =
"inherited" />
121 <option name =
"label" help =
"Configure label control and policies" >
122 <option name =
"local" help =
"Configure local label control and policies" >
123 <option name =
"advertise" help =
"Configure outbound label advertisement control" function =
"ldp_vty_label_advertise" >
124 <include subtree =
"label_local_acls" />
125 <option name =
"explicit-null" help =
"Configure explicit-null advertisement" function =
"ldp_vty_label_expnull" >
126 <option name =
"for" help =
"IP access-list for destination prefixes" >
127 <select options =
"acl" arg =
"for_acl" function =
"inherited" />
131 <option name =
"allocate" help =
"Configure label allocation control" >
132 <option name =
"for" help =
"IP access-list" >
133 <select options =
"acl" arg =
"for_acl" function =
"ldp_vty_label_allocate" />
135 <option name =
"host-routes" arg =
"host-routes" help =
"allocate local label for host routes only" function =
"ldp_vty_label_allocate" />
138 <option name =
"remote" help =
"Configure remote/peer label control and policies" >
139 <option name =
"accept" help =
"Configure inbound label acceptance control" function =
"ldp_vty_label_accept" >
140 <include subtree =
"label_remote_acls" />
144 <option name =
"ttl-security" help =
"LDP ttl security check" >
145 <option name =
"disable" help =
"Disable ttl security" function =
"ldp_vty_ttl_security" />
147 <include subtree =
"session_holdtime" />
148 <option name =
"interface" help =
"Enable LDP on an interface and enter interface submode" >
149 <option input =
"ifname" arg =
"ifname" help =
"Interface's name" function =
"ldp_vty_interface" />
154 <subtree name =
"__global" >
155 <option name =
"mpls" help =
"Global MPLS configuration subcommands" >
156 <option name =
"ldp" help =
"Label Distribution Protocol" function =
"ldp_vty_mpls_ldp" />
158 <option name =
"l2vpn" help =
"Configure l2vpn commands" >
159 <option input =
"word" arg =
"name" help =
"L2VPN name" >
160 <option name =
"type" help =
"L2VPN type" >
161 <option name =
"vpls" help =
"Virtual Private LAN Service" function =
"ldp_vty_l2vpn" />
167 <include subtree =
"__global" />
168 <option name =
"no" arg =
"no" help =
"Negate a command or set its defaults" >
169 <include subtree =
"__global" />
174 <subtree name =
"__ldp_node" >
175 <option name =
"address-family" help =
"Configure Address Family and its parameters" >
176 <option name =
"ipv4" arg =
"address-family" help =
"IPv4" function =
"ldp_vty_address_family" />
177 <option name =
"ipv6" arg =
"address-family" help =
"IPv6" function =
"ldp_vty_address_family" />
179 <include subtree =
"discovery_link" />
180 <include subtree =
"discovery_targeted" />
181 <option name =
"dual-stack" help =
"Configure dual stack parameters" >
182 <option name =
"transport-connection" help =
"Configure TCP transport parameters" >
183 <option name =
"prefer" help =
"Configure prefered address family for TCP transport connection with neighbor" >
184 <option name =
"ipv4" help =
"IPv4" function =
"ldp_vty_trans_pref_ipv4" />
187 <option name =
"cisco-interop" help =
"Use Cisco non-compliant format to send and interpret the Dual-Stack capability TLV" function =
"ldp_vty_ds_cisco_interop" />
189 <option name =
"neighbor" help =
"Configure neighbor parameters" >
190 <option input =
"ipv4" arg =
"lsr_id" help =
"LDP Id of neighbor" >
191 <option name =
"password" help =
"Configure password for MD5 authentication" >
192 <option input =
"word" arg =
"password" help =
"The password" function =
"ldp_vty_neighbor_password" />
194 <include subtree =
"session_holdtime" />
195 <option name =
"ttl-security" help =
"LDP ttl security check" >
196 <option name =
"disable" help =
"Disable ttl security" function =
"ldp_vty_neighbor_ttl_security" />
197 <option name =
"hops" help =
"IP hops" >
198 <option input =
"hops" arg =
"hops" help =
"maximum number of hops" function =
"ldp_vty_neighbor_ttl_security" />
203 <option name =
"router-id" help =
"Configure router Id" >
204 <option input =
"ipv4" arg =
"addr" help =
"LSR Id (in form of an IPv4 address)" function =
"ldp_vty_router_id" />
207 <tree name =
"ldp_node" >
208 <include subtree =
"__ldp_node" />
209 <option name =
"no" arg =
"no" help =
"Negate a command or set its defaults" >
210 <include subtree =
"__ldp_node" />
214 <!-- address-family ipv4 -->
215 <subtree name =
"__ldp_ipv4_node" >
216 <include subtree =
"af_common" />
217 <option name =
"discovery" help =
"Configure discovery parameters" >
218 <option name =
"transport-address" help =
"Specify transport address for TCP connection" >
219 <option input =
"ipv4" arg =
"addr" help =
"IP address to be used as transport address" function =
"ldp_vty_trans_addr" />
222 <option name =
"neighbor" help =
"Configure neighbor parameters" >
223 <option input =
"ipv4" arg =
"addr" help =
"IP address of neighbor" >
224 <option name =
"targeted" help =
"Establish targeted session" function =
"ldp_vty_neighbor_targeted" />
228 <tree name =
"ldp_ipv4_node" >
229 <include subtree =
"__ldp_ipv4_node" />
230 <option name =
"no" arg =
"no" help =
"Negate a command or set its defaults" >
231 <include subtree =
"__ldp_ipv4_node" />
235 <!-- address-family ipv6 -->
236 <subtree name =
"__ldp_ipv6_node" >
237 <include subtree =
"af_common" />
238 <option name =
"discovery" help =
"Configure discovery parameters" >
239 <option name =
"transport-address" help =
"Specify transport address for TCP connection" >
240 <option input =
"ipv6" arg =
"addr" help =
"IPv6 address to be used as transport address" function =
"ldp_vty_trans_addr" />
243 <option name =
"neighbor" help =
"Configure neighbor parameters" >
244 <option input =
"ipv6" arg =
"addr" help =
"IPv6 address of neighbor" >
245 <option name =
"targeted" help =
"Establish targeted session" function =
"ldp_vty_neighbor_targeted" />
249 <tree name =
"ldp_ipv6_node" >
250 <include subtree =
"__ldp_ipv6_node" />
251 <option name =
"no" arg =
"no" help =
"Negate a command or set its defaults" >
252 <include subtree =
"__ldp_ipv6_node" />
256 <!-- ldp ipv4 interface node -->
257 <subtree name =
"__ldp_ipv4_iface_node" >
258 <include subtree =
"discovery_link" />
260 <tree name =
"ldp_ipv4_iface_node" >
261 <include subtree =
"__ldp_ipv4_iface_node" />
262 <option name =
"no" arg =
"no" help =
"Negate a command or set its defaults" >
263 <include subtree =
"__ldp_ipv4_iface_node" />
267 <!-- ldp ipv6 interface node -->
268 <subtree name =
"__ldp_ipv6_iface_node" >
269 <include subtree =
"discovery_link" />
271 <tree name =
"ldp_ipv6_iface_node" >
272 <include subtree =
"__ldp_ipv6_iface_node" />
273 <option name =
"no" arg =
"no" help =
"Negate a command or set its defaults" >
274 <include subtree =
"__ldp_ipv6_iface_node" />
279 <subtree name =
"__ldp_l2vpn" >
280 <option name =
"bridge" help =
"Bridge interface" >
281 <option input =
"ifname" arg =
"ifname" help =
"Interface's name" function =
"ldp_vty_l2vpn_bridge" />
283 <option name =
"mtu" help =
"set Maximum Transmission Unit" >
284 <option input =
"mtu" arg =
"mtu" help =
"Maximum Transmission Unit value" function =
"ldp_vty_l2vpn_mtu" />
286 <option name =
"member" help =
"L2VPN member configuration" >
287 <option name =
"interface" help =
"Local interface" >
288 <option input =
"ifname" arg =
"ifname" help =
"Interface's name" function =
"ldp_vty_l2vpn_interface" />
290 <option name =
"pseudowire" help =
"Pseudowire interface" >
291 <option input =
"ifname" arg =
"ifname" help =
"Interface's name" function =
"ldp_vty_l2vpn_pseudowire" />
294 <option name =
"vc" help =
"Virtual Circuit options" >
295 <option name =
"type" help =
"Virtual Circuit type to use" >
296 <select options =
"pwtype" arg =
"type" function =
"ldp_vty_l2vpn_pwtype" />
300 <tree name =
"ldp_l2vpn" >
301 <include subtree =
"__ldp_l2vpn" />
302 <option name =
"no" arg =
"no" help =
"Negate a command or set its defaults" >
303 <include subtree =
"__ldp_l2vpn" />
307 <!-- l2vpn pseudowire -->
308 <subtree name =
"__ldp_pseudowire" >
309 <option name =
"control-word" help =
"Control-word options" >
310 <select options =
"cword" arg =
"preference" function =
"ldp_vty_l2vpn_pw_cword" />
312 <option name =
"neighbor" help =
"Remote endpoint configuration" >
313 <option name =
"address" help =
"Specify the IPv4 or IPv6 address of the remote endpoint" >
314 <select options =
"addr" arg =
"addr" function =
"ldp_vty_l2vpn_pw_nbr_addr" />
316 <option name =
"lsr-id" help =
"Specify the LSR-ID of the remote endpoint" >
317 <option input =
"ipv4" arg =
"lsr-id" help =
"IPv4 address" function =
"ldp_vty_l2vpn_pw_nbr_id" />
320 <option name =
"pw-id" help =
"Set the Virtual Circuit ID" >
321 <option input =
"pwid" arg =
"pwid" help =
"Virtual Circuit ID value" function =
"ldp_vty_l2vpn_pw_pwid" />
323 <option name =
"pw-status" help =
"Configure PW status" >
324 <option name =
"disable" help =
"Disable PW status" function =
"ldp_vty_l2vpn_pw_pwstatus" />
327 <tree name =
"ldp_pseudowire" >
328 <include subtree =
"__ldp_pseudowire" />
329 <option name =
"no" arg =
"no" help =
"Negate a command or set its defaults" >
330 <include subtree =
"__ldp_pseudowire" />
334 <!-- exec mode commands -->
335 <subtree name =
"ldp_show_af" >
336 <option name =
"binding" help =
"Label Information Base (LIB) information" function =
"ldp_vty_show_binding" >
337 <option name =
"json" arg =
"json" help =
"JavaScript Object Notation" function =
"ldp_vty_show_binding" />
338 <option name =
"detail" arg =
"detail" help =
"Show detailed information" >
339 <option name =
"json" arg =
"json" optional =
"true" help =
"JavaScript Object Notation" function =
"ldp_vty_show_binding" />
342 <option name =
"discovery" help =
"Discovery Hello Information" function =
"ldp_vty_show_discovery" >
343 <option name =
"json" arg =
"json" help =
"JavaScript Object Notation" function =
"ldp_vty_show_discovery" />
344 <option name =
"detail" arg =
"detail" help =
"Show detailed information" >
345 <option name =
"json" arg =
"json" optional =
"true" help =
"JavaScript Object Notation" function =
"ldp_vty_show_discovery" />
348 <option name =
"interface" help =
"interface information" >
349 <option name =
"json" arg =
"json" optional =
"true" help =
"JavaScript Object Notation" function =
"ldp_vty_show_interface" />
352 <tree name =
"ldp_exec" >
353 <option name =
"show" help =
"Show running system information" >
354 <option name =
"mpls" help =
"MPLS information" >
355 <option name =
"ldp" help =
"Label Distribution Protocol" >
356 <option name =
"capabilities" help =
"Display LDP Capabilities information" >
357 <option name =
"json" arg =
"json" optional =
"true" help =
"JavaScript Object Notation" function =
"ldp_vty_show_capabilities" />
359 <option name =
"neighbor" help =
"Neighbor information" function =
"ldp_vty_show_neighbor" >
360 <option name =
"capabilities" arg =
"capabilities" help =
"Display neighbor capability information" >
361 <option name =
"json" arg =
"json" optional =
"true" help =
"JavaScript Object Notation" function =
"ldp_vty_show_neighbor" />
363 <option name =
"json" arg =
"json" help =
"JavaScript Object Notation" function =
"ldp_vty_show_neighbor" />
364 <option name =
"detail" arg =
"detail" help =
"Show detailed information" >
365 <option name =
"json" arg =
"json" optional =
"true" help =
"JavaScript Object Notation" function =
"ldp_vty_show_neighbor" />
368 <include subtree =
"ldp_show_af" />
369 <select options =
"address-family" arg =
"address-family" >
370 <include subtree =
"ldp_show_af" />
374 <option name =
"l2vpn" help =
"Show information about Layer2 VPN" >
375 <option name =
"atom" help =
"Show Any Transport over MPLS information" >
376 <option name =
"binding" help =
"Show AToM label binding information" >
377 <option name =
"json" arg =
"json" optional =
"true" help =
"JavaScript Object Notation" function =
"ldp_vty_show_atom_binding" />
379 <option name =
"vc" help =
"Show AToM virtual circuit information" >
380 <option name =
"json" arg =
"json" optional =
"true" help =
"JavaScript Object Notation" function =
"ldp_vty_show_atom_vc" />
384 <option name =
"debugging" help =
"Debugging functions" >
385 <option name =
"mpls" help =
"MPLS information" >
386 <option name =
"ldp" help =
"Label Distribution Protocol" function =
"ldp_vty_show_debugging" />
390 <option name =
"clear" help =
"Reset functions" >
391 <option name =
"mpls" help =
"Reset MPLS statistical information" >
392 <option name =
"ldp" help =
"Clear LDP state" >
393 <option name =
"neighbor" help =
"Clear LDP neighbor sessions" function =
"ldp_vty_clear_nbr" >
394 <select options =
"addr" arg =
"addr" function =
"ldp_vty_clear_nbr" />
401 <!-- debug commands -->
402 <subtree name =
"__ldp_debug" >
403 <option name =
"debug" help =
"Debugging functions" >
404 <option name =
"mpls" help =
"MPLS information" >
405 <option name =
"ldp" help =
"Label Distribution Protocol" >
406 <option name =
"discovery" arg =
"type" help =
"Discovery messages" >
407 <option name =
"hello" help =
"Discovery hello message" >
408 <select options =
"dir" arg =
"dir" function =
"ldp_vty_debug" />
411 <option name =
"errors" arg =
"type" help =
"Errors" function =
"ldp_vty_debug" />
412 <option name =
"event" arg =
"type" help =
"LDP event information" function =
"ldp_vty_debug" />
413 <option name =
"messages" arg =
"type" help =
"Messages" >
414 <option name =
"recv" arg =
"dir" help =
"Received messages, excluding periodic Keep Alives" function =
"ldp_vty_debug" >
415 <option name =
"all" arg =
"all" help =
"Received messages, including periodic Keep Alives" function =
"ldp_vty_debug" />
417 <option name =
"sent" arg =
"dir" help =
"Sent messages, excluding periodic Keep Alives" function =
"ldp_vty_debug" >
418 <option name =
"all" arg =
"all" help =
"Sent messages, including periodic Keep Alives" function =
"ldp_vty_debug" />
421 <option name =
"zebra" arg =
"type" help =
"LDP zebra information" function =
"ldp_vty_debug" />
426 <tree name =
"ldp_debug" >
427 <include subtree =
"__ldp_debug" />
428 <option name =
"no" arg =
"no" help =
"Negate a command or set its defaults" >
429 <include subtree =
"__ldp_debug" />
435 <include tree =
"global" />
436 <include tree =
"ldp_debug" />
438 <node install =
"1" install_default =
"1" config_write =
"ldp_config_write" name =
"LDP" >
439 <include tree =
"ldp_node" />
441 <node install =
"1" install_default =
"1" config_write =
"NULL" name =
"LDP_IPV4" >
442 <include tree =
"ldp_ipv4_node" />
444 <node install =
"1" install_default =
"1" config_write =
"NULL" name =
"LDP_IPV6" >
445 <include tree =
"ldp_ipv6_node" />
447 <node install =
"1" install_default =
"1" config_write =
"NULL" name =
"LDP_IPV4_IFACE" >
448 <include tree =
"ldp_ipv4_iface_node" />
450 <node install =
"1" install_default =
"1" config_write =
"NULL" name =
"LDP_IPV6_IFACE" >
451 <include tree =
"ldp_ipv6_iface_node" />
453 <node install =
"1" install_default =
"1" config_write =
"ldp_l2vpn_config_write" name =
"LDP_L2VPN" >
454 <include tree =
"ldp_l2vpn" />
456 <node install =
"1" install_default =
"1" config_write =
"NULL" name =
"LDP_PSEUDOWIRE" >
457 <include tree =
"ldp_pseudowire" />
459 <node install =
"1" config_write =
"ldp_debug_config_write" name =
"LDP_DEBUG" />
461 <include tree =
"ldp_debug" />
464 <include tree =
"ldp_exec" />