beautypg.com

35 distance – CANOGA PERKINS 9175 Command Reference User Manual

Page 267

background image

CanogaOS Command Reference

16-22

debug bgp (all|dampening|events|filters|fsm|keepalives|mpls|nsm|UPDATES)

no debug all bgp

no debug bgp (all|dampening|events|filters|fsm|keepalives|mpls|nsm|UPDATES)

all Used with the no form exclusively; turns off all debugging for BGP

dampening Specifies debugging for BGP dampening.

events Specifies debugging for BGP events.

filters Specifies debugging for BGP filters.

fsm Specifies debugging for BGP Finite State Machine (FSM).

mpls Specifies debuggin for BGP Multiprotocol Label Switching.

keepalives Specifies debugging for BGP keepalives.

nsm Specifies debugging for NSM messages.

UPDATES = updates (in|out) Specifies debugging for BGP updates.

in Inbound updates

out Outbound updates

Command Mode

Privileged Exec mode

Usage

This command without any parameters turns on normal bgp debug information.

Examples

Switch# debug bgp

Switch# debug bgp events

16.35 distance

Use this command to define an administrative distance.

Use the no parameter with this command to remove an administrative distance.

Command Syntax

(no) distance ADMINDISTANCE | BGPDISTANCE

ADMINDISTANCE= <1-255> A.B.C.D/M (LISTNAME) Specifies the administrative distance.

1-255 the administrative distance

A.B.C.D/m the IP source prefix

LISTNAME the name of the access list to be applied to the administrative distance to selected routes.

BGPDISTANCE = bgp EXT INT LOCAL Specifies the IP address and subnet mask.

EXT = <1-255> Specifies the administrative distance for BGP external routes. The default distance

for external routes is 20.

INT = <1-255> Specifies the administrative distance for BGP internal routes. The default distance for

internal routes in 200.

LOCAL = <1-255> Specifies the administrative distance for BGP local routes. The default distance for

local routes is 200.