D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
118
create bgp network
Purpose This command is used to specify the network advertised by the Border Gateway Protocol
(BGP).
Syntax
create bgp network <network_address> {route_map <map_name 16>}
Description BGP networks can be learned from connected routes, from dynamic routing, and from static
route sources.
Parameters
<network_address> - Represents the local network that BGP will advertise.
route_map - Specifies the route map to be applied to the advertised networks. If not
specified, all networks are advertised.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To setup network 10.108.0.0/16 to be included in the BGP updates:
DGS-3627:admin# create bgp network 10.108.0.0/16
Command: create bgp network 10.108.0.0/16
Success.
DGS-3627:admin#
config bgp network
Purpose This command is used to configure the attributes associated with the network advertised by
the Border Gateway Protocol (BGP).
Syntax
config bgp network <network_address> [route_map <map_name 16> | clear_routemap]
Description This command changes the BGP attributes associated with the network.
Parameters
<network_address> - Represents the local network that BGP will advertise.
<map_name 16> - Specifies the route map applied to the advertised networks.
clear_routemap - Removes the route map applied to the network if specified this parameter.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To change the network 10.108.0.0/16 to clear a route map:
DGS-3627:admin# config bgp network 10.108.0.0/16 clear_routemap
Command: config bgp network 10.108.0.0/16 clear_routemap
Success.
DGS-3627:admin#
delete bgp network
Purpose This command is used to delete the networks advertised by the Border Gateway Protocol
(BGP).
Syntax
delete bgp network [<network_address> | all]
Description This command is used to delete the networks advertised.