Skip to content

router-bgp

The following operations can be performed on "router-bgp":

add| clear| rm| set| unset| show|

add router bgp

NOTE: This command is deprecated.All routing configurations have now been moved to vtysh

Synopsis

Arguments

autonomousSystem

The BGP autonomous system. Minimum value: 1

routerID

The router ID of the router.

learnRoute

The state of route learning from BGP.

staticRedistribute

The state of router in redistribution of static routes.

staticRouteMap

The route map to apply while redistributing static routes.

kernelRedistribute

The state of router in redistribution of kernel routes.

kernelRouteMap

The route map to apply while redistributing kernel routes.

conRedistribute

The state of router in redistribution of connected routes.

connectedRouteMap

The route map to apply while redistributing connected routes.

neighbor

Add a BGP neighbor.

remoteAS

The AS of the neighbor. Minimum value: 0

neighborRouteMap

The route map to apply to the neighbor.

network

The neighbor to be advertised.

netmask

The netmask of the neighbor to be advertised.

clear router bgp

NOTE: This command is deprecated.All routing configurations have now been moved to vtysh

Synopsis

Arguments

autonomousSystem

The autonomous system for BGP. Minimum value: 1

neighbor

The neighbor associated with the connection that needs to be torn down.

all

Reset TCP connections to all neighbors.

rm router bgp

NOTE: This command is deprecated.All routing configurations have now been moved to vtysh

Synopsis

Arguments

autonomousSystem

The autonomous system for BGP. Minimum value: 1

neighbor

To remove a particular neighbor.

set router bgp

NOTE: This command is deprecated.All routing configurations have now been moved to vtysh

Synopsis

Arguments

autonomousSystem

The autonomous system for BGP. Minimum value: 1

routerID

The Router ID of this router.

learnRoute

The state of the router in learning routes from BGP. Use this option to enable route learning and installation from BGP.

staticRedistribute

The state of the router in redistributing static routes. Use this option to enable the redistribution of static routes.

staticRouteMap

The route map to apply while redistributing static routes.

kernelRedistribute

The state of the router in redistribution of kernel routes.

kernelRouteMap

The state of the router in redistributing kernel routes. The route map to apply while redistributing kernel routes.

conRedistribute

The state of the router in redistributing connected routes. Use this option to enable the redistribution of connected routes into the BGP domain.

connectedRouteMap

The route map to apply while redistributing connected routes.

neighbor

The IP address of a BGP peer for the router.

remoteAS

The autonomous system of the peer. Minimum value: 0

neighborRouteMap

The route map to apply to the specified neighbor.

network

The network to be advertized.

netmask

The netmask of the advertised network.

unset router bgp

Use this command to remove router bgp settings.Refer to the set router bgp command for meanings of the arguments.NOTE: This command is deprecated.All routing configurations have now been moved to vtysh

Synopsis

show router bgp

NOTE: This command is deprecated.All routing configurations have now been moved to vtysh

Synopsis

Arguments

autonomousSystem

The autonomous system for BGP. Minimum value: 1

bgpOptions

option to show BGP command either neighbors or summary

Possible values: neighbors, summary

routeMap

The BGP route map.

Output

devno

count

stateflag

Was this article helpful?