36 exit-address-family, 37 ip as-path access-list – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 301

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 301 of 855

The administrative distance can be set for external, internal and local routes. External paths are routes
learned from a neighbor out of the AS. The internal routes are routes learned from another router within the
same AS. Local routes are for the router that is being redistributed from another process.
If the administrative distance is changed, it could create inconsistency in the routing table and obstruct
routing.

Examples

Switch# configure terminal
Switch(config) router bgp 100
Switch(config-router) distance 34 10.10.0.0/24 mylist
Switch# configure terminal
Switch(config) router bgp 100
Switch(config-router) distance bgp 34 23 15

16.36 exit-address-family

Use this command to exit the address family mode.

Command Syntax

exit-address-family

Command Mode

Address Family mode

Examples

The following example shows the use of exit-address-family command and the change in the prompt
after using this command.

Switch# configure terminal
Switch(config)# router bgp 100
Switch(config-router)# address-family ipv4 multicast
Switch(config-router-af)# exit-address-family
Switch(config-router)#


Related Commands

address family

16.37 ip as-path access-list

Use this command to define a BGP Autonomous System (AS) path access list.
Use the no parameter with this command to disable use of the access list.

Advertising