• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/bgpd/

Lines Matching refs:vty

35 int route_vty_out (struct vty *, struct prefix *, struct bgp_info *, int, safi_t);
36 int route_vty_out_tag (struct vty *, struct prefix *, struct bgp_info *, int, safi_t);
37 void route_vty_out_tmp (struct vty *, struct prefix *, struct attr *, safi_t);
294 return bgp_static_set_vpnv4 (vty, argv[0], argv[1], argv[2]);
309 return bgp_static_unset_vpnv4 (vty, argv[0], argv[1], argv[2]);
313 show_adj_route_vpn (struct vty *vty, struct peer *peer, struct prefix_rd *prd)
327 vty_out (vty, "No BGP process is configured%s", VTY_NEWLINE);
346 vty_out (vty, "BGP table version is 0, local router ID is %s%s",
348 vty_out (vty, "Status codes: s suppressed, d damped, h history, * valid, > best, i - internal%s",
350 vty_out (vty, "Origin codes: i - IGP, e - EGP, ? - incomplete%s%s",
352 vty_out (vty, v4_header, VTY_NEWLINE);
373 vty_out (vty, "Route Distinguisher: ");
376 vty_out (vty, "%d:%d", rd_as.as, rd_as.val);
378 vty_out (vty, "%s:%d", inet_ntoa (rd_ip.ip), rd_ip.val);
380 vty_out (vty, "%s", VTY_NEWLINE);
383 route_vty_out_tmp (vty, &rm->p, attr, SAFI_MPLS_VPN);
407 bgp_show_mpls_vpn (struct vty *vty, struct prefix_rd *prd, enum bgp_show_type type,
423 vty_out (vty, "No BGP process is configured%s", VTY_NEWLINE);
449 vty_out (vty, v4_header_tag, VTY_NEWLINE);
452 vty_out (vty, "BGP table version is 0, local router ID is %s%s",
454 vty_out (vty, "Status codes: s suppressed, d damped, h history, * valid, > best, i - internal%s",
456 vty_out (vty, "Origin codes: i - IGP, e - EGP, ? - incomplete%s%s",
458 vty_out (vty, v4_header, VTY_NEWLINE);
480 vty_out (vty, "Route Distinguisher: ");
483 vty_out (vty, "%d:%d", rd_as.as, rd_as.val);
485 vty_out (vty, "%s:%d", inet_ntoa (rd_ip.ip), rd_ip.val);
487 vty_out (vty, "%s", VTY_NEWLINE);
491 route_vty_out_tag (vty, &rm->p, ri, 0, SAFI_MPLS_VPN);
493 route_vty_out (vty, &rm->p, ri, 0, SAFI_MPLS_VPN);
509 return bgp_show_mpls_vpn (vty, NULL, bgp_show_type_normal, NULL, 0);
528 vty_out (vty, "%% Malformed Route Distinguisher%s", VTY_NEWLINE);
531 return bgp_show_mpls_vpn (vty, &prd, bgp_show_type_normal, NULL, 0);
544 return bgp_show_mpls_vpn (vty, NULL, bgp_show_type_normal, NULL, 1);
564 vty_out (vty, "%% Malformed Route Distinguisher%s", VTY_NEWLINE);
567 return bgp_show_mpls_vpn (vty, &prd, bgp_show_type_normal, NULL, 1);
588 vty_out (vty, "Malformed address: %s%s", argv[0], VTY_NEWLINE);
595 vty_out (vty, "%% No such neighbor or address family%s", VTY_NEWLINE);
599 return bgp_show_mpls_vpn (vty, NULL, bgp_show_type_neighbor, su, 0);
623 vty_out (vty, "%% Malformed Route Distinguisher%s", VTY_NEWLINE);
630 vty_out (vty, "Malformed address: %s%s", argv[0], VTY_NEWLINE);
637 vty_out (vty, "%% No such neighbor or address family%s", VTY_NEWLINE);
641 return bgp_show_mpls_vpn (vty, &prd, bgp_show_type_neighbor, su, 0);
663 vty_out (vty, "%% Malformed address: %s%s", argv[0], VTY_NEWLINE);
669 vty_out (vty, "%% No such neighbor or address family%s", VTY_NEWLINE);
673 return show_adj_route_vpn (vty, peer, NULL);
697 vty_out (vty, "%% Malformed address: %s%s", argv[0], VTY_NEWLINE);
703 vty_out (vty, "%% No such neighbor or address family%s", VTY_NEWLINE);
710 vty_out (vty, "%% Malformed Route Distinguisher%s", VTY_NEWLINE);
714 return show_adj_route_vpn (vty, peer, &prd);