Layer 3 Routing Commands 1246Syntaxdistribute-list prefix list-name out [ protocol | connected | static ]no distribute-list prefix list-name out [ protocol | connected | static ]• prefix list-name—A prefix list used to filter routes advertised to neighbors.• protocol|connected|static—(Optional) When a route source is specified,the distribute list applies to routes redistributed from that source. Onlyroutes that pass the distribute list are redistributed. The protocol valuemay be either rip or ospf.Default ConfigurationNo distribute lists are defined by default.Command ModeBGP Router Configuration modeUser GuidelinesOnly one instance of this command may be defined for each route source(RIP, OSPF, static, connected). One instance of this command may also beconfigured as a global filter for outbound prefixes.If the command refers to a prefix list that does not exist, the command isaccepted and all routes are permitted.When a distribute list is added, changed, or deleted for route redistribution,BGP automatically reconsiders all best routes.Command HistoryIntroduced in version 6.2.0.1 firmware.Exampleconsole(config-router)#distribute-list prefix 255 outdistribute-list prefix out (IPv6 Address FamilyConfiguration)Use this command to apply an IPv6 prefix list to IPv6 routes advertised viaBGP.