vtysh_cmd.c

来自「linux 路由软件 可支持RIP OSPF BGP等」· C语言 代码 · 共 1,673 行 · 第 1/5 页

C
1,673
字号
       "clear bgp ipv6 external soft",        "Reset functions\n"        "BGP information\n"        "Address family\n"       "Clear all external peers\n"       "Soft reconfig\n")DEFSH (VTYSH_BGPD, no_ip_community_list_standard_all_cmd_vtysh,        "no ip community-list <1-99>",        "Negate a command or set its defaults\n"        "IP information\n"        "Add a community list entry\n"        "Community list number (standard)\n")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, ip_prefix_list_sequence_number_cmd_vtysh,        "ip prefix-list sequence-number",        "IP information\n"        "Build a prefix list\n"        "Include/exclude sequence numbers in NVGEN\n")DEFSH (VTYSH_OSPFD, no_ip_ospf_hello_interval_cmd_vtysh,        "no ip ospf hello-interval",        "Negate a command or set its defaults\n"        "IP Information\n"       "OSPF interface commands\n"       "Time between HELLO packets\n")DEFSH (VTYSH_BGPD, show_bgp_neighbor_received_routes_cmd_vtysh,        "show bgp neighbors (A.B.C.D|X:X::X:X) received-routes",        "Show running system information\n"        "BGP information\n"        "Detailed information on TCP and BGP neighbor connections\n"       "Neighbor to display information about\n"       "Neighbor to display information about\n"       "Display the received routes from neighbor\n")DEFSH (VTYSH_OSPFD, no_ip_ospf_cost_cmd_vtysh,        "no ip ospf cost",        "Negate a command or set its defaults\n"        "IP Information\n"       "OSPF interface commands\n"       "Interface cost\n")DEFSH (VTYSH_BGPD, show_ip_bgp_community4_cmd_vtysh,        "show ip 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) (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"       "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_match_ecommunity_cmd_vtysh,        "no match extcommunity",        "Negate a command or set its defaults\n"        "Match values from routing table\n"        "Match BGP/VPN extended community list\n")DEFSH (VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD, no_ipv6_prefix_list_seq_ge_le_cmd_vtysh,        "no ipv6 prefix-list WORD seq <1-4294967295> (deny|permit) X:X::X:X/M ge <0-128> le <0-128>",        "Negate a command or set its defaults\n"        "IPv6 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"       "IPv6 prefix <network>/<length>,  e.g.,  3ffe::/16\n"       "Minimum prefix length to be matched\n"       "Minimum prefix length\n"       "Maximum prefix length to be matched\n"       "Maximum prefix length\n")DEFSH (VTYSH_BGPD, clear_bgp_peer_group_soft_in_cmd_vtysh,        "clear bgp peer-group WORD soft in",        "Reset functions\n"        "BGP information\n"        "Clear all members of peer-group\n"       "BGP peer-group name\n"       "Soft reconfig\n"       "Soft reconfig inbound update\n")DEFSH (VTYSH_BGPD, no_aggregate_address_as_set_cmd_vtysh,        "no aggregate-address A.B.C.D/M as-set",        "Negate a command or set its defaults\n"        "Configure BGP aggregate entries\n"       "Aggregate prefix\n"       "Generate AS set path information\n")DEFSH (VTYSH_OSPF6D, no_ipv6_ospf6_ifmtu_cmd_vtysh,        "no ipv6 ospf6 ifmtu",        "Negate a command or set its defaults\n"        "IPv6 Information\n"        "Open Shortest Path First (OSPF) for IPv6\n"        "Interface MTU\n"       )DEFSH (VTYSH_BGPD, clear_ip_bgp_as_ipv4_soft_out_cmd_vtysh,        "clear ip bgp <1-65535> ipv4 (unicast|multicast) soft out",        "Reset functions\n"        "IP information\n"        "BGP information\n"        "Clear peers with the AS number\n"       "Address family\n"       "Address Family modifier\n"       "Address Family modifier\n"       "Soft reconfig\n"       "Soft reconfig outbound update\n")DEFSH (VTYSH_BGPD, no_set_local_pref_cmd_vtysh,        "no set local-preference",        "Negate a command or set its defaults\n"        "Set values in destination routing protocol\n"        "BGP local preference path attribute\n")DEFSH (VTYSH_OSPF6D, show_ipv6_ospf6_route_detail_cmd_vtysh,        "show ipv6 ospf6 route (X:X::X:X|X:X::X:X/M|detail|summary)",        "Show running system information\n"        "IPv6 Information\n"        "Open Shortest Path First (OSPF) for IPv6\n"        "Routing Table\n"        "Specify IPv6 address\n"       "Specify IPv6 prefix\n"       "Detailed information\n"       "Summary of route table\n"       )DEFSH (VTYSH_BGPD, clear_ip_bgp_peer_ipv4_in_prefix_filter_cmd_vtysh,        "clear ip bgp A.B.C.D ipv4 (unicast|multicast) in prefix-filter",        "Reset functions\n"        "IP information\n"        "BGP information\n"        "BGP neighbor address to clear\n"       "Address family\n"       "Address Family modifier\n"       "Address Family modifier\n"       "Soft reconfig inbound update\n"       "Push out the existing ORF prefix-list\n")DEFSH (VTYSH_BGPD, old_no_ipv6_bgp_network_cmd_vtysh,        "no ipv6 bgp network X:X::X:X/M",        "Negate a command or set its defaults\n"        "IPv6 information\n"        "BGP information\n"        "Specify a network to announce via BGP\n"       "IPv6 prefix <network>/<length>,  e.g.,  3ffe::/16\n")DEFSH (VTYSH_ZEBRA, ipv6_nd_send_ra_cmd_vtysh,        "ipv6 nd send-ra",        "IP information\n"        "Neighbor discovery\n"       "Send Router Advertisement\n")DEFSH (VTYSH_BGPD, debug_bgp_normal_cmd_vtysh,        "debug bgp",        "Debugging functions (see also 'undebug')\n"        "BGP information\n" )DEFSH (VTYSH_RIPNGD, no_ripng_redistribute_static_metric_routemap_cmd_vtysh,        "no redistribute static metric <0-16> route-map WORD",        "Negate a command or set its defaults\n"        "Redistribute information from another routing protocol\n"       "Static routes\n"       "Metric\n"       "Metric value\n"       "Route map reference\n"       "Pointer to route-map entries\n")DEFSH (VTYSH_ZEBRA, no_bandwidth_if_val_cmd_vtysh,        "no bandwidth <1-10000000>",        "Negate a command or set its defaults\n"        "Set bandwidth informational parameter\n"       "Bandwidth in kilobits\n")DEFSH (VTYSH_BGPD, no_bgp_router_id_val_cmd_vtysh,        "no bgp router-id A.B.C.D",        "Negate a command or set its defaults\n"        "BGP information\n"        "Override configured router identifier\n"       "Manually configured router identifier\n")DEFSH (VTYSH_RIPD, no_rip_offset_list_cmd_vtysh,        "no offset-list WORD (in|out) <0-16>",        "Negate a command or set its defaults\n"        "Modify RIP metric\n"       "Access-list name\n"       "For incoming updates\n"       "For outgoing updates\n"       "Metric value\n")DEFSH (VTYSH_OSPFD, show_ip_ospf_neighbor_detail_all_cmd_vtysh,        "show ip ospf neighbor detail all",        "Show running system information\n"        "IP information\n"        "OSPF information\n"       "Neighbor list\n"       "detail of all neighbors\n"       "include down status neighbor\n")DEFSH (VTYSH_BGPD, show_bgp_ipv6_prefix_cmd_vtysh,        "show bgp ipv6 X:X::X:X/M",        "Show running system information\n"        "BGP information\n"        "Address family\n"       "IPv6 prefix <network>/<length>\n")DEFSH (VTYSH_BGPD, no_dump_bgp_routes_cmd_vtysh,        "no dump bgp routes-mrt [PATH] [INTERVAL]",        "Negate a command or set its defaults\n"        "Dump packet\n"       "BGP packet dump\n"       "Dump whole BGP routing table\n")DEFSH (VTYSH_OSPFD, ospf_distance_ospf_inter_external_cmd_vtysh,        "distance ospf inter-area <1-255> external <1-255>",        "Define an administrative distance\n"       "OSPF Administrative distance\n"       "Inter-area routes\n"       "Distance for inter-area routes\n"       "External routes\n"       "Distance for external routes\n")DEFSH (VTYSH_OSPFD, debug_ospf_event_cmd_vtysh,        "debug ospf event",        "Debugging functions (see also 'undebug')\n"        "OSPF information\n"        "OSPF event information\n")DEFSH (VTYSH_OSPFD, no_ospf_retransmit_interval_cmd_vtysh,        "no ospf retransmit-interval",        "Negate a command or set its defaults\n"        "OSPF interface commands\n"       "Time between retransmitting lost link state advertisements\n")DEFSH (VTYSH_BGPD, set_community_none_cmd_vtysh,        "set community none",        "Set values in destination routing protocol\n"        "BGP community attribute\n"       "No community attribute\n")DEFSH (VTYSH_BGPD, debug_bgp_filter_cmd_vtysh,        "debug bgp filters",        "Debugging functions (see also 'undebug')\n"        "BGP information\n"        "BGP filters\n")DEFSH (VTYSH_OSPF6D, ospf6_routemap_set_forwarding_cmd_vtysh,        "set forwarding-address X:X::X:X",        "Set value\n"       "Forwarding Address\n"       "IPv6 Address\n")DEFSH (VTYSH_BGPD, neighbor_maximum_prefix_restart_cmd_vtysh,        "neighbor (A.B.C.D|X:X::X:X|WORD) "  "maximum-prefix <1-4294967295> restart <1-65535>",        "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"       "Restart bgp connection after limit is exceeded\n"       "Restart interval in minutes")DEFSH (VTYSH_BGPD, no_bgp_bestpath_compare_router_id_cmd_vtysh,        "no bgp bestpath compare-routerid",        "Negate a command or set its defaults\n"        "BGP specific commands\n"       "Change the default bestpath selection\n"       "Compare router-id for identical EBGP paths\n")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, no_match_ip_address_val_cmd_vtysh,        "no match ip address (<1-199>|<1300-2699>|WORD)",        "Negate a command or set its defaults\n"        "Match values from routing table\n"        "IP information\n"        "Match address of route\n"       "IP access-list number\n"       "IP access-list number (expanded range)\n"       "IP Access-list name\n")DEFSH (VTYSH_ZEBRA, bandwidth_if_cmd_vtysh,        "bandwidth <1-10000000>",        "Set bandwidth informational parameter\n"       "Bandwidth in kilobits\n")DEFSH (VTYSH_OSPF6D, no_debug_ospf6_neighbor_detail_cmd_vtysh,        "no debug ospf6 neighbor (state|event)",        "Negate a command or set its defaults\n"        "Debugging functions (see also 'undebug')\n"        "Open Shortest Path First (OSPF) for IPv6\n"        "Debug OSPFv3 Neighbor\n"       "Debug OSPFv3 Neighbor State Change\n"       "Debug OSPFv3 Neighbor Event\n"      )DEFSH (VTYSH_OSPFD, ospf_default_metric_cmd_vtysh,        "default-metric <0-16777214>",        "Set metric of redistributed routes\n"       "Default metric\n")DEFSH (VTYSH_BGPD, no_neighbor_allowas_in_cmd_vtysh,        "no neighbor (A.B.C.D|X:X::X:X|WORD) "  "allowas-in",        "Negate a command or set its defaults\n"        "Specify neighbor router\n"        "Neighbor address\nNeighbor IPv6 address\nNeighbor tag\n"        "allow local ASN appears in aspath attribute\n")DEFSH (VTYSH_RIPNGD, no_ripng_default_metric_cmd_vtysh,        "no default-metric",        "Negate a command or set its defaults\n"        "Set a metric of redistribute routes\n"       "Default metric\n")DEFSH (VTYSH_OSPF6D, no_debug_ospf6_zebra_sendrecv_cmd_vtysh,        "no debug ospf6 zebra (send|recv)",        "Negate a command or set its defaults\n"        "Debugging functions (see also 'undebug')\n"        "Open Shortest Path First (OSPF) for IPv6\n"        "Debug connection between zebra\n"       "Debug Sending zebra\n"       "Debug Receiving zebra\n"      )

⌨️ 快捷键说明

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