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

📄 plist.c

📁 linux 路由软件 可支持RIP OSPF BGP等
💻 C
📖 第 1 页 / 共 5 页
字号:
       "Minimum prefix length to be matched\n"       "Minimum prefix length\n"       "Maximum prefix length to be matched\n"       "Maximum prefix length\n"){  return vty_prefix_list_uninstall (vty, AFI_IP, argv[0], argv[1], argv[2],				    argv[3], argv[4], argv[5]);}DEFUN (no_ip_prefix_list_seq_le,       no_ip_prefix_list_seq_le_cmd,       "no ip prefix-list WORD seq <1-4294967295> (deny|permit) A.B.C.D/M le <0-32>",       NO_STR       IP_STR       PREFIX_LIST_STR       "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"){  return vty_prefix_list_uninstall (vty, AFI_IP, argv[0], argv[1], argv[2],				    argv[3], NULL, argv[4]);}DEFUN (no_ip_prefix_list_seq_le_ge,       no_ip_prefix_list_seq_le_ge_cmd,       "no ip prefix-list WORD seq <1-4294967295> (deny|permit) A.B.C.D/M le <0-32> ge <0-32>",       NO_STR       IP_STR       PREFIX_LIST_STR       "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"       "Minimum prefix length to be matched\n"       "Minimum prefix length\n"){  return vty_prefix_list_uninstall (vty, AFI_IP, argv[0], argv[1], argv[2],				    argv[3], argv[5], argv[4]);}DEFUN (ip_prefix_list_sequence_number,       ip_prefix_list_sequence_number_cmd,       "ip prefix-list sequence-number",       IP_STR       PREFIX_LIST_STR       "Include/exclude sequence numbers in NVGEN\n"){  prefix_master_ipv4.seqnum = 1;  return CMD_SUCCESS;}DEFUN (no_ip_prefix_list_sequence_number,       no_ip_prefix_list_sequence_number_cmd,       "no ip prefix-list sequence-number",       NO_STR       IP_STR       PREFIX_LIST_STR       "Include/exclude sequence numbers in NVGEN\n"){  prefix_master_ipv4.seqnum = 0;  return CMD_SUCCESS;}DEFUN (ip_prefix_list_description,       ip_prefix_list_description_cmd,       "ip prefix-list WORD description .LINE",       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"       "Prefix-list specific description\n"       "Up to 80 characters describing this prefix-list\n"){  struct prefix_list *plist;  struct buffer *b;  int i;  plist = prefix_list_get (AFI_IP, argv[0]);    if (plist->desc)    {      XFREE (MTYPE_TMP, plist->desc);      plist->desc = NULL;    }  /* Below is description get codes. */  b = buffer_new (1024);  for (i = 1; i < argc; i++)    {      buffer_putstr (b, (u_char *)argv[i]);      buffer_putc (b, ' ');    }  buffer_putc (b, '\0');  plist->desc = buffer_getstr (b);  buffer_free (b);  return CMD_SUCCESS;}       DEFUN (no_ip_prefix_list_description,       no_ip_prefix_list_description_cmd,       "no ip prefix-list WORD description",       NO_STR       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"       "Prefix-list specific description\n"){  return vty_prefix_list_desc_unset (vty, AFI_IP, argv[0]);}ALIAS (no_ip_prefix_list_description,       no_ip_prefix_list_description_arg_cmd,       "no ip prefix-list WORD description .LINE",       NO_STR       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"       "Prefix-list specific description\n"       "Up to 80 characters describing this prefix-list\n");DEFUN (show_ip_prefix_list,       show_ip_prefix_list_cmd,       "show ip prefix-list",       SHOW_STR       IP_STR       PREFIX_LIST_STR){  return vty_show_prefix_list (vty, AFI_IP, NULL, NULL, normal_display);}DEFUN (show_ip_prefix_list_name,       show_ip_prefix_list_name_cmd,       "show ip prefix-list WORD",       SHOW_STR       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"){  return vty_show_prefix_list (vty, AFI_IP, argv[0], NULL, normal_display);}DEFUN (show_ip_prefix_list_name_seq,       show_ip_prefix_list_name_seq_cmd,       "show ip prefix-list WORD seq <1-4294967295>",       SHOW_STR       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"       "sequence number of an entry\n"       "Sequence number\n"){  return vty_show_prefix_list (vty, AFI_IP, argv[0], argv[1], sequential_display);}DEFUN (show_ip_prefix_list_prefix,       show_ip_prefix_list_prefix_cmd,       "show ip prefix-list WORD A.B.C.D/M",       SHOW_STR       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"       "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"){  return vty_show_prefix_list_prefix (vty, AFI_IP, argv[0], argv[1], normal_display);}DEFUN (show_ip_prefix_list_prefix_longer,       show_ip_prefix_list_prefix_longer_cmd,       "show ip prefix-list WORD A.B.C.D/M longer",       SHOW_STR       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"       "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"       "Lookup longer prefix\n"){  return vty_show_prefix_list_prefix (vty, AFI_IP, argv[0], argv[1], longer_display);}DEFUN (show_ip_prefix_list_prefix_first_match,       show_ip_prefix_list_prefix_first_match_cmd,       "show ip prefix-list WORD A.B.C.D/M first-match",       SHOW_STR       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"       "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"       "First matched prefix\n"){  return vty_show_prefix_list_prefix (vty, AFI_IP, argv[0], argv[1], first_match_display);}DEFUN (show_ip_prefix_list_summary,       show_ip_prefix_list_summary_cmd,       "show ip prefix-list summary",       SHOW_STR       IP_STR       PREFIX_LIST_STR       "Summary of prefix lists\n"){  return vty_show_prefix_list (vty, AFI_IP, NULL, NULL, summary_display);}DEFUN (show_ip_prefix_list_summary_name,       show_ip_prefix_list_summary_name_cmd,       "show ip prefix-list summary WORD",       SHOW_STR       IP_STR       PREFIX_LIST_STR       "Summary of prefix lists\n"       "Name of a prefix list\n"){  return vty_show_prefix_list (vty, AFI_IP, argv[0], NULL, summary_display);}DEFUN (show_ip_prefix_list_detail,       show_ip_prefix_list_detail_cmd,       "show ip prefix-list detail",       SHOW_STR       IP_STR       PREFIX_LIST_STR       "Detail of prefix lists\n"){  return vty_show_prefix_list (vty, AFI_IP, NULL, NULL, detail_display);}DEFUN (show_ip_prefix_list_detail_name,       show_ip_prefix_list_detail_name_cmd,       "show ip prefix-list detail WORD",       SHOW_STR       IP_STR       PREFIX_LIST_STR       "Detail of prefix lists\n"       "Name of a prefix list\n"){  return vty_show_prefix_list (vty, AFI_IP, argv[0], NULL, detail_display);}DEFUN (clear_ip_prefix_list,       clear_ip_prefix_list_cmd,       "clear ip prefix-list",       CLEAR_STR       IP_STR       PREFIX_LIST_STR){  return vty_clear_prefix_list (vty, AFI_IP, NULL, NULL);}DEFUN (clear_ip_prefix_list_name,       clear_ip_prefix_list_name_cmd,       "clear ip prefix-list WORD",       CLEAR_STR       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"){  return vty_clear_prefix_list (vty, AFI_IP, argv[0], NULL);}DEFUN (clear_ip_prefix_list_name_prefix,       clear_ip_prefix_list_name_prefix_cmd,       "clear ip prefix-list WORD A.B.C.D/M",       CLEAR_STR       IP_STR       PREFIX_LIST_STR       "Name of a prefix list\n"       "IP prefix <network>/<length>, e.g., 35.0.0.0/8\n"){  return vty_clear_prefix_list (vty, AFI_IP, argv[0], argv[1]);}#ifdef HAVE_IPV6DEFUN (ipv6_prefix_list,       ipv6_prefix_list_cmd,       "ipv6 prefix-list WORD (deny|permit) (X:X::X:X/M|any)",       IPV6_STR       PREFIX_LIST_STR       "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"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], NULL, 				  argv[1], argv[2], NULL, NULL);}DEFUN (ipv6_prefix_list_ge,       ipv6_prefix_list_ge_cmd,       "ipv6 prefix-list WORD (deny|permit) X:X::X:X/M ge <0-128>",       IPV6_STR       PREFIX_LIST_STR       "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"       "Minimum prefix length to be matched\n"       "Minimum prefix length\n"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], NULL, argv[1], 				 argv[2], argv[3], NULL);}DEFUN (ipv6_prefix_list_ge_le,       ipv6_prefix_list_ge_le_cmd,       "ipv6 prefix-list WORD (deny|permit) X:X::X:X/M ge <0-128> le <0-128>",       IPV6_STR       PREFIX_LIST_STR       "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"       "Minimum prefix length to be matched\n"       "Minimum prefix length\n"       "Maximum prefix length to be matched\n"       "Maximum prefix length\n"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], NULL, argv[1], 				  argv[2], argv[3], argv[4]);}DEFUN (ipv6_prefix_list_le,       ipv6_prefix_list_le_cmd,       "ipv6 prefix-list WORD (deny|permit) X:X::X:X/M le <0-128>",       IPV6_STR       PREFIX_LIST_STR       "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"       "Maximum prefix length to be matched\n"       "Maximum prefix length\n"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], NULL, argv[1],				  argv[2], NULL, argv[3]);}DEFUN (ipv6_prefix_list_le_ge,       ipv6_prefix_list_le_ge_cmd,       "ipv6 prefix-list WORD (deny|permit) X:X::X:X/M le <0-128> ge <0-128>",       IPV6_STR       PREFIX_LIST_STR       "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"       "Maximum prefix length to be matched\n"       "Maximum prefix length\n"       "Minimum prefix length to be matched\n"       "Minimum prefix length\n"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], NULL, argv[1],				  argv[2], argv[4], argv[3]);}DEFUN (ipv6_prefix_list_seq,       ipv6_prefix_list_seq_cmd,       "ipv6 prefix-list WORD seq <1-4294967295> (deny|permit) (X:X::X:X/M|any)",       IPV6_STR       PREFIX_LIST_STR       "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"       "Any prefix match.  Same as \"::0/0 le 128\"\n"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], argv[1], argv[2],				  argv[3], NULL, NULL);}DEFUN (ipv6_prefix_list_seq_ge,       ipv6_prefix_list_seq_ge_cmd,       "ipv6 prefix-list WORD seq <1-4294967295> (deny|permit) X:X::X:X/M ge <0-128>",       IPV6_STR       PREFIX_LIST_STR       "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"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], argv[1], argv[2],				  argv[3], argv[4], NULL);}DEFUN (ipv6_prefix_list_seq_ge_le,       ipv6_prefix_list_seq_ge_le_cmd,       "ipv6 prefix-list WORD seq <1-4294967295> (deny|permit) X:X::X:X/M ge <0-128> le <0-128>",       IPV6_STR       PREFIX_LIST_STR       "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"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], argv[1], argv[2],				  argv[3], argv[4], argv[5]);}DEFUN (ipv6_prefix_list_seq_le,       ipv6_prefix_list_seq_le_cmd,       "ipv6 prefix-list WORD seq <1-4294967295> (deny|permit) X:X::X:X/M le <0-128>",       IPV6_STR       PREFIX_LIST_STR       "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"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], argv[1], argv[2],				  argv[3], NULL, argv[4]);}DEFUN (ipv6_prefix_list_seq_le_ge,       ipv6_prefix_list_seq_le_ge_cmd,       "ipv6 prefix-list WORD seq <1-4294967295> (deny|permit) X:X::X:X/M le <0-128> ge <0-128>",       IPV6_STR       PREFIX_LIST_STR       "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"       "Minimum prefix length to be matched\n"       "Minimum prefix length\n"){  return vty_prefix_list_install (vty, AFI_IP6, argv[0], argv[1], argv[2],				  argv[3], argv[5], argv[4]);}DEFUN (no_ipv6_prefix_list,       no_ipv6_prefix_list_cmd,       "no ipv6 prefix-list WORD",       NO_STR       IPV6_STR       PREFIX_LIST_STR       "Name of a prefix list\n"){  return vty_prefix_list_uninstall (vty, AFI_IP6, argv[0], NULL, NULL,				    NULL, NULL, NULL);}DEFUN (no_ipv6_prefix_list_prefix,       no_ipv6_prefix_list_prefix_cmd,       "no ipv6 prefix-list WORD (deny|permit) (X:X::X:X/M|any)",       NO_STR       IPV6_STR       PREFIX_LIST_STR       "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"){  return vty_prefix_list_uninstall (vty, AFI_IP6, argv[0], NULL, argv[1],				    argv[2], NULL, NULL);}DEFUN (no_ipv6_prefix_list_ge,       no_ipv6_prefix_list_ge_cmd,       "no ipv6 prefix-list WORD (deny|permit) X:X::X:X/M ge <0-128>",       NO_STR       IPV6_STR

⌨️ 快捷键说明

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