Debug commands

events

Syntax

events [neighbor ip-address | group name]

no events

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command logs all events changing the state of a BGP peer.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.

keepalive

Syntax

keepalive [neighbor ip-addr | group name]

no keepalive

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command decodes and logs all sent and received keepalive messages in the debug log.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.

notification

Syntax

notification [neighbor ip-address | group name]

no notification

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command decodes and logs all sent and received notification messages in the debug log.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.

open

Syntax

open [neighbor ip-address | group name]

no open

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command decodes and logs all sent and received open messages in the debug log.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.

outbound-route-filtering

Syntax

[no] outbound-route-filtering

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for all BGP outbound route filtering (ORF) packets. ORF is used to inform a neighbor of targets (using target-list) that it is willing to receive.

packets

Syntax

packets [neighbor ip-address | group name]

packets

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command decodes and logs all sent and received BGP packets in the debug log.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.

route-refresh

Syntax

route-refresh [neighbor ip-address | group name]

no route-refresh

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables and disables debugging for BGP route-refresh.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.

rtm

Syntax

rtm [neighbor ip-address | group name]

no rtm

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command logs RTM changes in the debug log.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.

socket

Syntax

socket [neighbor ip-address | group name]

no socket

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command logs all TCP socket events to the debug log.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.

timers

Syntax

timers [neighbor ip-address | group name]

no timers

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command logs all BGP timer events to the debug log.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.

update

Syntax

update [neighbor ip-address | group name]

no update

Context

debug>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command decodes and logs all sent and received update messages in the debug log.

Parameters

neighbor ip-address

Debugs only events affecting the specified BGP neighbor.

Values

ipv4-address: a.b.c.d (host bits must be 0)

group name

Debugs only events affecting the specified peer group and associated neighbors, up to 32 characters.