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

📄 vtysh_cmd.c

📁 大名鼎鼎的路由器源码。程序分ZEBRA、OSPFRIP等3个包。程序框架采用一个路由协议一个进程的方式
💻 C
📖 第 1 页 / 共 5 页
字号:
       "Announce area range as another prefix\n"       "Network prefix to be announced instead of range\n")DEFSH (VTYSH_BGPD, show_bgp_neighbor_advertised_route_cmd_vtysh,        "show bgp neighbors (A.B.C.D|X:X::X:X) advertised-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 routes advertised to a BGP neighbor\n")DEFSH (VTYSH_BGPD, no_neighbor_timers_connect_val_cmd_vtysh,        "no neighbor (A.B.C.D|X:X::X:X) " "timers connect <0-65535>",        "Negate a command or set its defaults\n"       "Specify neighbor router\n"       "Neighbor address\nIPv6 address\n"       "BGP per neighbor timers\n"       "BGP connect timer\n"       "Connect timer\n")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, no_access_list_extended_any_mask_cmd_vtysh,        "no access-list (<100-199>|<2000-2699>) (deny|permit) ip any A.B.C.D A.B.C.D",        "Negate a command or set its defaults\n"       "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"       "Any source host\n"       "Destination address\n"       "Destination Wildcard bits\n")DEFSH (VTYSH_OSPFD, ospf_distance_ospf_intra_inter_cmd_vtysh,        "distance ospf intra-area <1-255> inter-area <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")DEFSH (VTYSH_RIPNGD, ripng_redistribute_connected_routemap_cmd_vtysh,        "redistribute connected route-map WORD",        "Redistribute information from another routing protocol\n"       "Connected\n"       "Route map reference\n"       "Pointer to route-map entries\n")DEFSH (VTYSH_OSPF6D|VTYSH_BGPD, match_ipv6_address_prefix_list_cmd_vtysh,        "match ipv6 address prefix-list WORD",        "Match values from routing table\n"       "IPv6 information\n"       "Match address of route\n"       "Match entries of prefix-lists\n"       "IP prefix-list name\n")DEFSH (VTYSH_RIPNGD, no_ripng_redistribute_ospf6_routemap_cmd_vtysh,        "no redistribute ospf6 route-map WORD",        "Negate a command or set its defaults\n"       "Redistribute information from another routing protocol\n"       "IPv6 Open Shortest Path First (OSPFv3)\n"       "Route map reference\n"       "Pointer to route-map entries\n")DEFSH (VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD, rmap_onmatch_goto_cmd_vtysh,        "on-match goto <1-65535>",        "Exit policy on matches\n"       "Goto Clause number\n"       "Number\n")DEFSH (VTYSH_BGPD, clear_bgp_ipv6_peer_soft_in_cmd_vtysh,        "clear bgp ipv6 (A.B.C.D|X:X::X:X) soft in",        "Reset functions\n"       "BGP information\n"       "Address family\n"       "BGP neighbor address to clear\n"       "BGP IPv6 neighbor to clear\n"       "Soft reconfig\n"       "Soft reconfig inbound update\n")DEFSH (VTYSH_BGPD, clear_bgp_ipv6_peer_in_cmd_vtysh,        "clear bgp ipv6 (A.B.C.D|X:X::X:X) in",        "Reset functions\n"       "BGP information\n"       "Address family\n"       "BGP neighbor address to clear\n"       "BGP IPv6 neighbor to clear\n"       "Soft reconfig inbound update\n")DEFSH (VTYSH_BGPD, show_ip_bgp_summary_cmd_vtysh,        "show ip bgp summary",        "Show running system information\n"       "IP information\n"       "BGP information\n"       "Summary of BGP neighbor status\n")DEFSH (VTYSH_OSPFD, ospf_area_filter_list_cmd_vtysh,        "area (A.B.C.D|<0-4294967295>) filter-list prefix WORD (in|out)",        "OSPF area parameters\n"       "OSPF area ID in IP address format\n"       "OSPF area ID as a decimal value\n"       "Filter networks between OSPF areas\n"       "Filter prefixes between OSPF areas\n"       "Name of an IP prefix-list\n"       "Filter networks sent to this area\n"       "Filter networks sent from this area\n")DEFSH (VTYSH_BGPD, no_neighbor_capability_route_refresh_cmd_vtysh,        "no neighbor (A.B.C.D|X:X::X:X|WORD) " "capability route-refresh",        "Negate a command or set its defaults\n"       "Specify neighbor router\n"       "Neighbor address\nNeighbor IPv6 address\nNeighbor tag\n"       "Advertise capability to the peer\n"       "Advertise route-refresh capability to this neighbor\n")DEFSH (VTYSH_BGPD, clear_bgp_ipv6_peer_group_soft_in_cmd_vtysh,        "clear bgp ipv6 peer-group WORD soft in",        "Reset functions\n"       "BGP information\n"       "Address family\n"       "Clear all members of peer-group\n"       "BGP peer-group name\n"       "Soft reconfig\n"       "Soft reconfig inbound update\n")DEFSH (VTYSH_BGPD, show_ip_bgp_view_prefix_cmd_vtysh,        "show ip bgp view WORD A.B.C.D/M",        "Show running system information\n"       "IP information\n"       "BGP information\n"       "BGP view\n"       "BGP view name\n"       "IP prefix <network>/<length>,  e.g.,  35.0.0.0/8\n")DEFSH (VTYSH_OSPFD, no_ospf_network_area_cmd_vtysh,        "no network A.B.C.D/M area (A.B.C.D|<0-4294967295>)",        "Negate a command or set its defaults\n"       "Enable routing on an IP network\n"       "OSPF network prefix\n"       "Set the OSPF area ID\n"       "OSPF area ID in IP address format\n"       "OSPF area ID as a decimal value\n")DEFSH (VTYSH_BGPD, bgp_deterministic_med_cmd_vtysh,        "bgp deterministic-med",        "BGP specific commands\n"       "Pick the best-MED path among paths advertised from the neighboring AS\n")DEFSH (VTYSH_BGPD, clear_bgp_peer_group_out_cmd_vtysh,        "clear bgp peer-group WORD out",        "Reset functions\n"       "BGP information\n"       "Clear all members of peer-group\n"       "BGP peer-group name\n"       "Soft reconfig outbound update\n")DEFSH (VTYSH_OSPFD, ospf_default_metric_cmd_vtysh,        "default-metric <0-16777214>",        "Set metric of redistributed routes\n"       "Default metric\n")DEFSH (VTYSH_OSPFD, ospf_distance_ospf_intra_external_inter_cmd_vtysh,        "distance ospf intra-area <1-255> external <1-255> inter-area <1-255>",        "Define an administrative distance\n"       "OSPF Administrative distance\n"       "Intra-area routes\n"       "Distance for intra-area routes\n"       "External routes\n"       "Distance for external routes\n"       "Inter-area routes\n"       "Distance for inter-area routes\n")DEFSH (VTYSH_BGPD, aggregate_address_summary_only_cmd_vtysh,        "aggregate-address A.B.C.D/M summary-only",        "Configure BGP aggregate entries\n"       "Aggregate prefix\n"       "Filter more specific routes from updates\n")DEFSH (VTYSH_BGPD, clear_ip_bgp_all_vpnv4_soft_out_cmd_vtysh,        "clear ip bgp * vpnv4 unicast soft out",        "Reset functions\n"       "IP information\n"       "BGP information\n"       "Clear all peers\n"       "Address family\n"       "Address Family Modifier\n"       "Soft reconfig\n"       "Soft reconfig outbound update\n")DEFSH (VTYSH_BGPD, no_set_origin_val_cmd_vtysh,        "no set origin (egp|igp|incomplete)",        "Negate a command or set its defaults\n"       "Set values in destination routing protocol\n"       "BGP origin code\n"       "remote EGP\n"       "local IGP\n"       "unknown heritage\n")DEFSH (VTYSH_BGPD, bgp_damp_set3_cmd_vtysh,        "bgp dampening",        "BGP Specific commands\n"       "Enable route-flap dampening\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_BGPD, ipv6_bgp_network_route_map_cmd_vtysh,        "network X:X::X:X/M route-map WORD",        "Specify a network to announce via BGP\n"       "IPv6 prefix <network>/<length>\n"       "Route-map to modify the attributes\n"       "Name of the route map\n")DEFSH (VTYSH_OSPF6D, show_debug_ospf6_damp_cmd_vtysh,        "show debugging ospf6 damp",        "Show running system information\n"       "Debugging functions (see also 'undebug')\n"       "Open Shortest Path First (OSPF) for IPv6\n"       "Flap-dampening information\n"      )DEFSH (VTYSH_OSPFD, ospf_redistribute_source_type_routemap_cmd_vtysh,        "redistribute (kernel|connected|static|rip|bgp) metric-type (1|2) 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"       "OSPF exterior metric type for redistributed 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_BGPD, no_ip_extcommunity_list_name_all_cmd_vtysh,        "no ip extcommunity-list (standard|expanded) WORD",        "Negate a command or set its defaults\n"       "IP information\n"       "Add a extended community list entry\n"       "Specify standard extcommunity-list\n"       "Specify expanded extcommunity-list\n"       "Extended Community list name\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_OSPFD, no_ospf_refresh_timer_val_cmd_vtysh,        "no refresh timer <10-1800>",        "Adjust refresh parameters\n"       "Unset refresh timer\n"       "Timer value in seconds\n")DEFSH (VTYSH_BGPD, set_vpnv4_nexthop_cmd_vtysh,        "set vpnv4 next-hop A.B.C.D",        "Set values in destination routing protocol\n"       "VPNv4 information\n"       "VPNv4 next-hop address\n"       "IP address of next hop\n")DEFSH (VTYSH_BGPD, no_neighbor_remote_as_cmd_vtysh,        "no neighbor (A.B.C.D|X:X::X:X) " "remote-as <1-65535>",        "Negate a command or set its defaults\n"       "Specify neighbor router\n"       "Neighbor address\nIPv6 address\n"       "Specify a BGP neighbor\n"       "AS number\n")DEFSH (VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD, no_ipv6_prefix_list_prefix_cmd_vtysh,        "no ipv6 prefix-list WORD (deny|permit) (X:X::X:X/M|any)",        "Negate a command or set its defaults\n"       "IPv6 information\n"       "Build a prefix list\n"       "Name of a prefix list\n"       "Specify packets to reject\n"       "Specify packets to forward\n"       "IPv6 prefix <network>/<length>,  e.g.,  3ffe::/16\n"       "Any prefix match.  Same as \"::0/0 le 128\"\n")DEFSH (VTYSH_OSPFD, debug_ospf_zebra_cmd_vtysh,        "debug ospf zebra",        "Debugging functions (see also 'undebug')\n"       "OSPF information\n"       "OSPF Zebra information\n")DEFSH (VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD, show_ip_prefix_list_prefix_first_match_cmd_vtysh,        "show ip prefix-list WORD A.B.C.D/M first-match",        "Show running system information\n"       "IP information\n"       "Build a prefix list\n"       "Name of a prefix list\n"       "IP prefix <network>/<length>,  e.g.,  35.0.0.0/8\n"       "First matched prefix\n")DEFSH (VTYSH_BGPD, show_bgp_neighbors_peer_cmd_vtysh,        "show bgp neighbors (A.B.C.D|X:X::X:X)",        "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")DEFSH (VTYSH_OSPF6D, ospf6_routemap_no_set_forwarding_cmd_vtysh,        "no set forwarding-address X:X::X:X",        "Negate a command or set its defaults\n"       "Set value\n"       "Forwarding Address\n"       "IPv6 Address\n")DEFSH (VTYSH_BGPD, show_ip_bgp_vpnv4_all_neighbors_cmd_vtysh,        "show ip bgp vpnv4 all neighbors",        "Show running system information\n"       "IP information\n"       "BGP information\n"       "Display VPNv4 NLRI specific information\n"       "Display information about all VPNv4 NLRIs\n"       "Detailed information on TCP and BGP neighbor connections\n")DEFSH (VTYSH_BGPD, neighbor_send_community_cmd_vtysh,        "neighbor (A.B.C.D|X:X::X:X|WORD) " "send-community",        "Specify neighbor router\n"       "Neighbor address\nNeighbor IPv6 address\nNeighbor tag\n"       "Send Community attribute to this neighbor\n")DEFSH (VTYSH_BGPD, dump_bgp_updates_cmd_vtysh, 

⌨️ 快捷键说明

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