Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set protocols bgp network command specifies the IPv4/IPv6 networks to be advertised by the Border Gateway Protocol (BGP) routing processes.
The delete protocols bgp network command removes an entry from the routing table.

Command Syntax

set protocols bgp [vrf <vrf-name> {ipv4-unicast|ipv6-unicast} network <ip-address/prefixlen> [label-index<label-index>|route-map <ROUTE-MAP-NAME>]

delete protocols bgp [vrf <vrf-name>] {ipv4-unicast|ipv6-unicast} network <ip-address/prefixlen> [label-index<label-index>|route-map <ROUTE-MAP-NAME>]




vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

{ipv4-unicast|ipv6-unicast}Required. Specifies the IP address family type.
<ip-address/prefixlen>Specifies the IPv4/IPv6 network with mask. For example:
label-index <label-index>Optional parameter. Specifies a route label.
route-map <ROUTE-MAP-NAME>Optional parameter. Specifies a route map to apply to the prefixes advertised by this specific network statement.

Usage Guidelines
• This command is used to advertise prefixes currently installed in the routing table into the BGP table.
• Use the route-map keyword to apply the specified route map to network advertisements. The mask length as configured in the network statement must match the mask length of prefixes in the routing table.

• This example specifies the networks to be advertised by the Border Gateway Protocol (BGP) routing processes. 

admin@XorPlus# set protocols bgp ipv4-unicast network
admin@XorPlus# commit

  • No labels