35 distance – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 300

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 300 of 855

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.

Command Mode

Router mode

Usage

Use this command to set the administrative distance for BGP. This distance is a rating of trustworthiness of a
router.
The higher the distance the lower the trust rating.

Advertising