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

Synopsys

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.

kernelRedistribute

The state of router in redistribution of kernel routes.

conRedistribute

The state of router in redistribution of connected routes.

neighbor

Add a BGP neighbor.

network

The neighbor to be advertised.

clear router bgp

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

Synopsys

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

Synopsys

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

Synopsys

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.

kernelRedistribute

The state of the router in redistribution of 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.

neighbor

The IP address of a BGP peer for the router.

network

The network to be advertized.

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

Synopsys

show router bgp

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

Synopsys

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.

summary

fullValues

format

level

Outputs

devno

count

stateflag

Was this article helpful?