neighbor shutdown
Provides for the shutdown of a peer or peer group while maintaining peer configuration.
Syntax: neighbor {peer | peer-group} shutdown
no neighbor {peer | peer-group} shutdown
peer
Specifies the IP address of the peer for this EBGP neighbor to shutdown.
peer-group
Specifies the peer group for this EBGP neighbor to shutdown
Description: IPriori provides for the shutdown of a BGP peering session without removing the associated peer configuration. A neighbor shutdown terminates any active sessions and removes all associated routing information for the peer or peer group while maintaining all the configuration associated with the peer. The specified peer/peers go into an administratively IDLE state.
Use the neighbor shutdown command in router configuration mode specifying the peer or peer group for which sessions will be terminated and associated routing information removed.
Use the no neighbor shutdown command in router configuration mode specifying the peer or peer group to reactivate sessions that have been shutdown.
Factory Default: None.
Command Mode: Router configuration.
Example 1: The following example enters AS 200 and performs a shutdown on a peer and peer group:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#router bgp 200
router(config-router)#neighbor techpubs peer-group
router(config-router)#neighbor techpubs remote-as 100
router(config-router)#neighbor techpubs shutdown
router(config-router)#neighbor 10.200.83.190 remote-as 200
router(config-router)#neighbor 10.200.83.190 shutdown
router(config)#end
router#show ip bgp peer-group techpubs
BGP Peer-group: techpubs remote AS 100
BGP version: 4 State:Idle(Admin)
Route-Reflector-client:False
def orignat: False ebgp multihop: False
send comm: False soft reconfig: False
router#show ip bgp neighbor 10.200.83.190
BGP neighbor 10.200.83.190 using remote AS 200
router ID: 0.0.0.0 version: 4
state: Idle(Admin) time: 0:00:00
def orignat: False ebgp multihop: False
n hop self: False route ref client: False
send comm: False soft reconfig: False
hold time: 180 sec keepalive time: 60 sec
advertisement interval: 5 sec
# notf rcvd: 0 # msg rcvd: 0 # updates rcvd: 0
# notf sent: 0 # msg sent: 0 # updates sent: 0
.
.
.
router#show ip bgp summary
BGP currently operating:
AS: 200
Router ID: 142.142.142.142
Cluster ID: 16843009
2 unique routes and 2 route instances using 304 bytes of memory
3 path attributes entries using 332 bytes of memory
Neighbor V AS MsgRcvd MsgSent Up/Down State/PfxRcd
10.200.83.190 4 200 0 0 0:00:10 Idle(Admin)/0
10.200.89.160 4 500 0 0 0:02:18 Estab/2
Example 2: The following example enters AS 200 and enables a peer and peer group that had been shutdown:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#router bgp 200
router(config-router)#neighbor techpubs peer-group
router(config-router)#neighbor techpubs remote-as 100
router(config-router)#no neighbor techpubs shutdown
router(config-router)#neighbor 10.200.83.190 remote-as 200
router(config-router)#no neighbor 10.200.83.190 shutdown
router(config)#end
router#show ip bgp peer-group techpubs
BGP Peer-group: techpubs remote AS 100
BGP version: 4 State:Active
Route-Reflector-client:False
def orignat: False ebgp multihop: False
send comm: False soft reconfig: False
router#show ip bgp neighbor 10.200.83.190
BGP neighbor 10.200.83.190 using remote AS 200
router ID: 0.0.0.0 version: 4
state: Active time: 0:00:00
def orignat: False ebgp multihop: False
n hop self: False route ref client: False
send comm: False soft reconfig: False
hold time: 180 sec keepalive time: 60 sec
advertisement interval: 5 sec
# notf rcvd: 0 # msg rcvd: 0 # updates rcvd: 0
# notf sent: 0 # msg sent: 0 # updates sent: 0
.
.
.
router#
Related Commands: show ip bgp
show ip bgp summary
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd42.html
Last Updated: 05/10/04 at 16:36:55