Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »


The set protocols bgp ipv4-unicast network command specifies the IPv4 networks to be advertised by the Border Gateway Protocol (BGP) routing processes. route-map is optional which can be used to specify a route map to apply to the prefixes advertised by this specific network statement.
The delete protocols bgp ipv4-unicast network command removes an entry from the routing table.


Command Syntax

set protocols bgp [vrf <vrf-name> ipv4-unicast network <ipv4/prefixlen> [route-map <ROUTE-MAP-NAME>]

delete protocols bgp [vrf <vrf-name>] ipv4-unicast network <ipv4/prefixlen> [route-map <ROUTE-MAP-NAME>]


Parameter

Parameter

Description

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/prefixlen>Specifies the IPv4 network with mask. For example: 1.1.1.1/24
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.


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

admin@XorPlus# set protocols bgp network 11.11.11.0/24
admin@XorPlus# commit


  • No labels