⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vtysh_cmd.c

📁 linux 路由软件 可支持RIP OSPF BGP等
💻 C
📖 第 1 页 / 共 5 页
字号:
#include <zebra.h>#include "command.h"#include "vtysh.h"DEFSH (VTYSH_BGPD, neighbor_version_cmd_vtysh,        "neighbor (A.B.C.D|X:X::X:X) "  "version <4-4>",        "Specify neighbor router\n"        "Neighbor address\nIPv6 address\n"        "Set the BGP version to match a neighbor\n"       "Neighbor's BGP version\n")DEFSH (VTYSH_BGPD, no_set_aspath_prepend_cmd_vtysh,        "no set as-path prepend",        "Negate a command or set its defaults\n"        "Set values in destination routing protocol\n"        "Prepend string for a BGP AS-path attribute\n"       "Prepend to the as-path\n")DEFSH (VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD, clear_ipv6_prefix_list_cmd_vtysh,        "clear ipv6 prefix-list",        "Reset functions\n"        "IPv6 information\n"        "Build a prefix list\n" )DEFSH (VTYSH_BGPD, clear_ip_bgp_peer_vpnv4_soft_out_cmd_vtysh,        "clear ip bgp A.B.C.D vpnv4 unicast soft out",        "Reset functions\n"        "IP information\n"        "BGP information\n"        "BGP neighbor address to clear\n"       "Address family\n"       "Address Family Modifier\n"       "Soft reconfig\n"       "Soft reconfig outbound update\n")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, access_list_extended_host_any_cmd_vtysh,        "access-list (<100-199>|<2000-2699>) (deny|permit) ip host A.B.C.D any",        "Add an access list entry\n"       "IP extended access list\n"       "IP extended access list (expanded range)\n"       "Specify packets to reject\n"       "Specify packets to forward\n"       "Any Internet Protocol\n"       "A single source host\n"       "Source address\n"       "Any destination host\n")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, ip_prefix_list_description_cmd_vtysh,        "ip prefix-list WORD description .LINE",        "IP information\n"        "Build a prefix list\n"        "Name of a prefix list\n"       "Prefix-list specific description\n"       "Up to 80 characters describing this prefix-list\n")DEFSH (VTYSH_OSPFD, ospf_distance_ospf_intra_inter_external_cmd_vtysh,        "distance ospf intra-area <1-255> inter-area <1-255> external <1-255>",        "Define an administrative distance\n"       "OSPF Administrative distance\n"       "Intra-area routes\n"       "Distance for intra-area routes\n"       "Inter-area routes\n"       "Distance for inter-area routes\n"       "External routes\n"       "Distance for external routes\n")DEFSH (VTYSH_ZEBRA, no_ipv6_route_cmd_vtysh,        "no ipv6 route X:X::X:X/M (X:X::X:X|INTERFACE|null0)",        "Negate a command or set its defaults\n"        "IP information\n"        "Establish static routes\n"       "IPv6 destination prefix (e.g. 3ffe:506::/32)\n"       "IPv6 gateway address\n"       "IPv6 gateway interface name\n")DEFSH (VTYSH_OSPF6D, show_ipv6_ospf6_interface_ifname_prefix_detail_cmd_vtysh,        "show ipv6 ospf6 interface IFNAME prefix (X:X::X:X|X:X::X:X/M|detail)",        "Show running system information\n"        "IPv6 Information\n"        "Open Shortest Path First (OSPF) for IPv6\n"        "Interface infomation\n"        "Interface name(e.g. ep0)\n"        "Display connected prefixes to advertise\n"       "Display the route bestmatches the address\n"        "Display the route\n"        "Dispaly details of the prefixes\n"       )DEFSH (VTYSH_BGPD, no_neighbor_update_source_cmd_vtysh,        "no neighbor (A.B.C.D|X:X::X:X|WORD) "  "update-source",        "Negate a command or set its defaults\n"        "Specify neighbor router\n"        "Neighbor address\nNeighbor IPv6 address\nNeighbor tag\n"        "Source of routing updates\n"       "Interface name\n")DEFSH (VTYSH_BGPD, show_bgp_ipv6_route_cmd_vtysh,        "show bgp ipv6 X:X::X:X",        "Show running system information\n"        "BGP information\n"        "Address family\n"       "Network in the BGP routing table to display\n")DEFSH (VTYSH_ZEBRA, no_bandwidth_if_cmd_vtysh,        "no bandwidth",        "Negate a command or set its defaults\n"        "Set bandwidth informational parameter\n")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, access_list_standard_any_cmd_vtysh,        "access-list (<1-99>|<1300-1999>) (deny|permit) any",        "Add an access list entry\n"       "IP standard access list\n"       "IP standard access list (expanded range)\n"       "Specify packets to reject\n"       "Specify packets to forward\n"       "Any source host\n")DEFSH (VTYSH_BGPD, no_match_ipv6_next_hop_cmd_vtysh,        "no match ipv6 next-hop X:X::X:X",        "Negate a command or set its defaults\n"        "Match values from routing table\n"        "IPv6 information\n"        "Match IPv6 next-hop address of route\n"       "IPv6 address of next hop\n")DEFSH (VTYSH_BGPD, clear_bgp_external_out_cmd_vtysh,        "clear bgp external out",        "Reset functions\n"        "BGP information\n"        "Clear all external peers\n"       "Soft reconfig outbound update\n")DEFSH (VTYSH_OSPF6D, debug_ospf6_message_sendrecv_cmd_vtysh,        "debug ospf6 message (unknown|hello|dbdesc|lsreq|lsupdate|lsack|all) (send|recv)",        "Debugging functions (see also 'undebug')\n"        "Open Shortest Path First (OSPF) for IPv6\n"        "Debug OSPFv3 message\n"       "Debug Unknown message\n"       "Debug Hello message\n"       "Debug Database Description message\n"       "Debug Link State Request message\n"       "Debug Link State Update message\n"       "Debug Link State Acknowledgement message\n"       "Debug All message\n"       "Debug only sending message\n"       "Debug only receiving message\n"       )DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, ip_prefix_list_seq_le_cmd_vtysh,        "ip prefix-list WORD seq <1-4294967295> (deny|permit) A.B.C.D/M le <0-32>",        "IP information\n"        "Build a prefix list\n"        "Name of a prefix list\n"       "sequence number of an entry\n"       "Sequence number\n"       "Specify packets to reject\n"       "Specify packets to forward\n"       "IP prefix <network>/<length>,  e.g.,  35.0.0.0/8\n"       "Maximum prefix length to be matched\n"       "Maximum prefix length\n")DEFSH (VTYSH_BGPD, show_ip_bgp_instance_summary_cmd_vtysh,        "show ip bgp view WORD summary",        "Show running system information\n"        "IP information\n"        "BGP information\n"        "BGP view\n"       "View name\n"       "Summary of BGP neighbor status\n")DEFSH (VTYSH_BGPD, no_bgp_graceful_restart_stalepath_time_val_cmd_vtysh,        "no bgp graceful-restart stalepath-time <1-3600>",        "Negate a command or set its defaults\n"        "BGP specific commands\n"       "Graceful restart capability parameters\n"       "Set the max time to hold onto restarting peer's stale paths\n"       "Delay value (seconds)\n")DEFSH (VTYSH_RIPNGD, ripng_redistribute_kernel_metric_routemap_cmd_vtysh,        "redistribute kernel metric <0-16> route-map WORD",        "Redistribute information from another routing protocol\n"       "Kernel routes\n"       "Metric\n"       "Metric value\n"       "Route map reference\n"       "Pointer to route-map entries\n")DEFSH (VTYSH_BGPD, no_bgp_distance_source_cmd_vtysh,        "no distance <1-255> A.B.C.D/M",        "Negate a command or set its defaults\n"        "Define an administrative distance\n"       "Administrative distance\n"       "IP source prefix\n")DEFSH (VTYSH_OSPF6D, no_ospf6_redistribute_cmd_vtysh,        "no redistribute (static|kernel|connected|ripng|bgp)",        "Negate a command or set its defaults\n"        "Redistribute\n"       "Static route\n"       "Kernel route\n"       "Connected route\n"       "RIPng route\n"       "BGP route\n"      )DEFSH (VTYSH_RIPNGD, ripng_aggregate_address_cmd_vtysh,        "aggregate-address X:X::X:X/M",        "Set aggregate RIPng route announcement\n"       "Aggregate network\n")DEFSH (VTYSH_RIPD, send_lifetime_duration_month_day_cmd_vtysh,        "send-lifetime HH:MM:SS MONTH <1-31> <1993-2035> duration <1-2147483646>",        "Set send lifetime of the key\n"       "Time to start\n"       "Month of the year to start\n"       "Day of th month to start\n"       "Year to start\n"       "Duration of the key\n"       "Duration seconds\n")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, ip_prefix_list_ge_cmd_vtysh,        "ip prefix-list WORD (deny|permit) A.B.C.D/M ge <0-32>",        "IP information\n"        "Build a prefix list\n"        "Name of a prefix list\n"       "Specify packets to reject\n"       "Specify packets to forward\n"       "IP prefix <network>/<length>,  e.g.,  35.0.0.0/8\n"       "Minimum prefix length to be matched\n"       "Minimum prefix length\n")DEFSH (VTYSH_BGPD, clear_ip_bgp_dampening_cmd_vtysh,        "clear ip bgp dampening",        "Reset functions\n"        "IP information\n"        "BGP information\n"        "Clear route flap dampening information\n")DEFSH (VTYSH_BGPD, neighbor_maximum_prefix_threshold_warning_cmd_vtysh,        "neighbor (A.B.C.D|X:X::X:X|WORD) "  "maximum-prefix <1-4294967295> <1-100> warning-only",        "Specify neighbor router\n"        "Neighbor address\nNeighbor IPv6 address\nNeighbor tag\n"        "Maximum number of prefix accept from this peer\n"       "maximum no. of prefix limit\n"       "Threshold value (%) at which to generate a warning msg\n"       "Only give warning message when limit is exceeded\n")DEFSH (VTYSH_RIPNGD, debug_ripng_zebra_cmd_vtysh,        "debug ripng zebra",        "Debugging functions (see also 'undebug')\n"        "RIPng configuration\n"       "Debug option set for ripng and zebra communication\n")DEFSH (VTYSH_BGPD, show_ip_bgp_community_cmd_vtysh,        "show ip bgp community (AA:NN|local-AS|no-advertise|no-export)",        "Show running system information\n"        "IP information\n"        "BGP information\n"        "Display routes matching the communities\n"       "community number\n"       "Do not send outside local AS (well-known community)\n"       "Do not advertise to any peer (well-known community)\n"       "Do not export to next AS (well-known community)\n")DEFSH (VTYSH_OSPF6D, no_ospf6_interface_area_cmd_vtysh,        "no interface IFNAME area A.B.C.D",        "Negate a command or set its defaults\n"        "Disable routing on an IPv6 interface\n"       "Interface name(e.g. ep0)\n"        "Specify the OSPF6 area ID\n"       "OSPF6 area ID in IPv4 address notation\n"       )DEFSH (VTYSH_RIPNGD, no_ripng_redistribute_static_cmd_vtysh,        "no redistribute static",        "Negate a command or set its defaults\n"        "Redistribute information from another routing protocol\n"       "Static routes\n")DEFSH (VTYSH_BGPD, show_bgp_community3_cmd_vtysh,        "show bgp community (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export) (AA:NN|local-AS|no-advertise|no-export)",        "Show running system information\n"        "BGP information\n"        "Display routes matching the communities\n"       "community number\n"       "Do not send outside local AS (well-known community)\n"       "Do not advertise to any peer (well-known community)\n"       "Do not export to next AS (well-known community)\n"       "community number\n"       "Do not send outside local AS (well-known community)\n"       "Do not advertise to any peer (well-known community)\n"       "Do not export to next AS (well-known community)\n"       "community number\n"       "Do not send outside local AS (well-known community)\n"       "Do not advertise to any peer (well-known community)\n"       "Do not export to next AS (well-known community)\n")DEFSH (VTYSH_BGPD, no_neighbor_attr_unchanged_cmd_vtysh,        "no neighbor (A.B.C.D|X:X::X:X|WORD) "  "attribute-unchanged",        "Negate a command or set its defaults\n" 	        "Specify neighbor router\n"        "Neighbor address\nNeighbor IPv6 address\nNeighbor tag\n"        "BGP attribute is propagated unchanged to this neighbor\n")DEFSH (VTYSH_BGPD, show_ipv6_bgp_community_all_cmd_vtysh,        "show ipv6 bgp community",        "Show running system information\n"        "IPv6 information\n"        "BGP information\n"        "Display routes matching the communities\n")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, no_match_ip_next_hop_prefix_list_val_cmd_vtysh,        "no match ip next-hop prefix-list WORD",        "Negate a command or set its defaults\n"        "Match values from routing table\n"        "IP information\n"        "Match next-hop address of route\n"       "Match entries of prefix-lists\n"       "IP prefix-list name\n")DEFSH (VTYSH_BGPD, no_neighbor_local_as_cmd_vtysh,        "no neighbor (A.B.C.D|X:X::X:X|WORD) "  "local-as",        "Negate a command or set its defaults\n"        "Specify neighbor router\n"        "Neighbor address\nNeighbor IPv6 address\nNeighbor tag\n"        "Specify a local-as number\n")DEFSH (VTYSH_BGPD, bgp_redistribute_ipv6_cmd_vtysh,        "redistribute (connected|kernel|ospf6|ripng|static)",        "Redistribute information from another routing protocol\n"       "Connected\n"       "Kernel routes\n"       "Open Shurtest Path First (OSPFv3)\n"       "Routing Information Protocol (RIPng)\n"       "Static routes\n")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -