36 exit-address-family – CANOGA PERKINS 9175 Command Reference User Manual
Page 268
![background image](/manuals/651401/268/background.png)
CanogaOS Command Reference
16-23
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.
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