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

📄 vtysh_cmd.c

📁 大名鼎鼎的路由器源码。程序分ZEBRA、OSPFRIP等3个包。程序框架采用一个路由协议一个进程的方式
💻 C
📖 第 1 页 / 共 5 页
字号:
       "dump bgp updates PATH",        "Dump packet\n"       "BGP packet dump\n"       "Dump BGP updates only\n"       "Output filename\n")DEFSH (VTYSH_BGPD, clear_ip_bgp_peer_in_prefix_filter_cmd_vtysh,        "clear ip bgp A.B.C.D in prefix-filter",        "Reset functions\n"       "IP information\n"       "BGP information\n"       "BGP neighbor address to clear\n"       "Soft reconfig inbound update\n"       "Push out the existing ORF prefix-list\n")DEFSH (VTYSH_BGPD, show_ip_bgp_community_list_exact_cmd_vtysh,        "show ip bgp community-list WORD exact-match",        "Show running system information\n"       "IP information\n"       "BGP information\n"       "Display routes matching the community-list\n"       "community-list name\n"       "Exact match of the communities\n")DEFSH (VTYSH_RIPD, accept_lifetime_infinite_day_month_cmd_vtysh,        "accept-lifetime HH:MM:SS <1-31> MONTH <1993-2035> infinite",        "Set accept lifetime of the key\n"       "Time to start\n"       "Day of th month to start\n"       "Month of the year to start\n"       "Year to start\n"       "Never expires")DEFSH (VTYSH_BGPD, clear_bgp_ipv6_all_soft_out_cmd_vtysh,        "clear bgp ipv6 * soft out",        "Reset functions\n"       "BGP information\n"       "Address family\n"       "Clear all peers\n"       "Soft reconfig\n"       "Soft reconfig outbound update\n")DEFSH (VTYSH_OSPFD, no_ip_ospf_message_digest_key_cmd_vtysh,        "no ip ospf message-digest-key <1-255>",        "Negate a command or set its defaults\n"       "IP Information\n"       "OSPF interface commands\n"       "Message digest authentication password (key)\n"       "Key ID\n")DEFSH (VTYSH_ZEBRA, debug_zebra_packet_cmd_vtysh,        "debug zebra packet",        "Debugging functions (see also 'undebug')\n"       "Zebra configuration\n"       "Debug option set for zebra packet\n")DEFSH (VTYSH_BGPD, no_bgp_bestpath_med2_cmd_vtysh,        "no bgp bestpath med confed missing-as-worst",        "Negate a command or set its defaults\n"       "BGP specific commands\n"       "Change the default bestpath selection\n"       "MED attribute\n"       "Compare MED among confederation paths\n"       "Treat missing MED as the least preferred one\n")DEFSH (VTYSH_BGPD, no_bgp_multiple_instance_cmd_vtysh,        "no bgp multiple-instance",        "Negate a command or set its defaults\n"       "BGP information\n"       "BGP multiple instance\n")DEFSH (VTYSH_RIPD, no_rip_distance_cmd_vtysh,        "no distance <1-255>",        "Negate a command or set its defaults\n"       "Administrative distance\n"       "Distance value\n")DEFSH (VTYSH_BGPD, clear_ip_bgp_as_ipv4_soft_cmd_vtysh,        "clear ip bgp <1-65535> ipv4 (unicast|multicast) soft",        "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")DEFSH (VTYSH_RIPNGD, no_ripng_redistribute_kernel_metric_val_cmd_vtysh,        "no redistribute kernel metric <0-16>",        "Negate a command or set its defaults\n"       "Redistribute information from another routing protocol\n"       "Kernel routes\n"       "Metric\n"       "Metric value\n")DEFSH (VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD, no_route_map_all_cmd_vtysh,        "no route-map WORD",        "Negate a command or set its defaults\n"       "Create route-map or enter route-map command mode\n"       "Route map tag\n")DEFSH (VTYSH_BGPD, bgp_distance_source_access_list_cmd_vtysh,        "distance <1-255> A.B.C.D/M WORD",        "Define an administrative distance\n"       "Administrative distance\n"       "IP source prefix\n"       "Access list name\n")DEFSH (VTYSH_BGPD, show_ip_bgp_community3_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)",        "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")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, no_ip_prefix_list_sequence_number_cmd_vtysh,        "no ip prefix-list sequence-number",        "Negate a command or set its defaults\n"       "IP information\n"       "Build a prefix list\n"       "Include/exclude sequence numbers in NVGEN\n")DEFSH (VTYSH_BGPD, clear_bgp_peer_group_cmd_vtysh,        "clear bgp peer-group WORD",        "Reset functions\n"       "BGP information\n"       "Clear all members of peer-group\n"       "BGP peer-group name\n")DEFSH (VTYSH_OSPF6D, ospf6_passive_interface_cmd_vtysh,        "passive-interface IFNAME",        "Suppress routing updates on an interface\n"       "Interface name(e.g. ep0)\n")DEFSH (VTYSH_OSPFD, ospf_default_information_originate_metric_type_routemap_cmd_vtysh,        "default-information originate metric <0-16777214> metric-type (1|2) route-map WORD",        "Control distribution of default information\n"       "Distribute a default route\n"       "OSPF default metric\n"       "OSPF metric\n"       "OSPF metric type for default routes\n"       "Set OSPF External Type 1 metrics\n"       "Set OSPF External Type 2 metrics\n"       "Route map reference\n"       "Pointer to route-map entries\n")DEFSH (VTYSH_OSPFD, show_ip_ospf_database_cmd_vtysh,        "show ip ospf database",        "Show running system information\n"       "IP information\n"       "OSPF information\n"       "Database summary\n")DEFSH (VTYSH_BGPD, neighbor_maximum_prefix_threshold_cmd_vtysh,        "neighbor (A.B.C.D|X:X::X:X|WORD) " "maximum-prefix <1-4294967295> <1-100>",        "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")DEFSH (VTYSH_ZEBRA, no_ipv6_nd_reachable_time_cmd_vtysh,        "no ipv6 nd reachable-time",        "Negate a command or set its defaults\n"       "IP information\n"       "Neighbor discovery\n"       "Reachable time\n")DEFSH (VTYSH_BGPD, show_ip_bgp_ipv4_neighbor_received_prefix_filter_cmd_vtysh,        "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) received prefix-filter",        "Show running system information\n"       "IP information\n"       "BGP information\n"       "Address family\n"       "Address Family modifier\n"       "Address Family modifier\n"       "Detailed information on TCP and BGP neighbor connections\n"       "Neighbor to display information about\n"       "Neighbor to display information about\n"       "Display information received from a BGP neighbor\n"       "Display the prefixlist filter\n")DEFSH (VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD, ipv6_prefix_list_seq_le_cmd_vtysh,        "ipv6 prefix-list WORD seq <1-4294967295> (deny|permit) X:X::X:X/M le <0-128>",        "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"       "Maximum prefix length to be matched\n"       "Maximum prefix length\n")DEFSH (VTYSH_OSPFD, ospf_redistribute_source_metric_routemap_cmd_vtysh,        "redistribute (kernel|connected|static|rip|bgp) metric <0-16777214> route-map WORD",        "Redistribute information from another routing protocol\n"       "Kernel routes\n"       "Connected\n"       "Static routes\n"       "Routing Information Protocol (RIP)\n"       "Border Gateway Protocol (BGP)\n"       "Metric for redistributed routes\n"       "OSPF default metric\n"       "Route map reference\n"       "Pointer to route-map entries\n")DEFSH (VTYSH_BGPD, neighbor_maximum_prefix_cmd_vtysh,        "neighbor (A.B.C.D|X:X::X:X|WORD) " "maximum-prefix <1-4294967295>",        "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")DEFSH (VTYSH_BGPD, clear_ip_bgp_instance_all_ipv4_soft_in_cmd_vtysh,        "clear ip bgp view WORD * ipv4 (unicast|multicast) soft in",        "Reset functions\n"       "IP information\n"       "BGP information\n"       "BGP view\n"       "view name\n"       "Clear all peers\n"       "Address family\n"       "Address Family modifier\n"       "Address Family modifier\n"       "Soft reconfig\n"       "Soft reconfig inbound update\n")DEFSH (VTYSH_BGPD, show_ip_bgp_ipv4_community_all_cmd_vtysh,        "show ip bgp ipv4 (unicast|multicast) community",        "Show running system information\n"       "IP information\n"       "BGP information\n"       "Address family\n"       "Address Family modifier\n"       "Address Family modifier\n"       "Display routes matching the communities\n")DEFSH (VTYSH_BGPD, clear_bgp_as_soft_cmd_vtysh,        "clear bgp <1-65535> soft",        "Reset functions\n"       "BGP information\n"       "Clear peers with the AS number\n"       "Soft reconfig\n")DEFSH (VTYSH_OSPFD, ip_ospf_cost_cmd_vtysh,        "ip ospf cost <1-65535>",        "IP Information\n"       "OSPF interface commands\n"       "Interface cost\n"       "Cost")DEFSH (VTYSH_RIPNGD, ripng_redistribute_connected_cmd_vtysh,        "redistribute connected",        "Redistribute information from another routing protocol\n"       "Connected\n")DEFSH (VTYSH_BGPD, clear_ip_bgp_all_ipv4_out_cmd_vtysh,        "clear ip bgp * ipv4 (unicast|multicast) out",        "Reset functions\n"       "IP information\n"       "BGP information\n"       "Clear all peers\n"       "Address family\n"       "Address Family modifier\n"       "Address Family modifier\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_RIPNGD, no_ripng_redistribute_static_metric_cmd_vtysh,        "no redistribute static metric",        "Negate a command or set its defaults\n"       "Redistribute information from another routing protocol\n"       "Static routes\n"       "Metric\n")DEFSH (VTYSH_BGPD, show_ipv6_bgp_prefix_longer_cmd_vtysh,        "show ipv6 bgp X:X::X:X/M longer-prefixes",        "Show running system information\n"       "IPv6 information\n"       "BGP information\n"       "IPv6 prefix <network>/<length>,  e.g.,  3ffe::/16\n"       "Display route and more specific routes\n")DEFSH (VTYSH_BGPD, no_bgp_distance_source_access_list_cmd_vtysh,        "no distance <1-255> A.B.C.D/M WORD",        "Negate a command or set its defaults\n"       "Define an administrative distance\n"       "Administrative distance\n"       "IP source prefix\n"       "Access list name\n")DEFSH (VTYSH_BGPD, neighbor_update_source_cmd_vtysh,        "neighbor (A.B.C.D|X:X::X:X|WORD) " "update-source WORD",        "Specify neighbor router\n"       "Neighbor address\nNeighbor IPv6 address\nNeighbor tag\n"       "Source of routing updates\n"       "Interface name\n")DEFSH (VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD, no_ipv6_prefix_list_sequence_number_cmd_vtysh,        "no ipv6 prefix-list sequence-number",        "Negate a command or set its defaults\n"       "IPv6 information\n"       "Build a prefix list\n"       "Include/exclude sequence numbers in NVGEN\n")DEFSH (VTYSH_BGPD, no_bgp_redistribute_ipv6_metric_rmap_cmd_vtysh,        "no redistribute (connected|kernel|ospf6|ripng|static) metric <0-4294967295> route-map WORD",        "Negate a command or set its defaults\n"       "Redistribute information from another routing protocol\n"       "Connected\n"

⌨️ 快捷键说明

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