CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 262

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 262 of 350

DUT1(config-router)#

bgp

router-id 11.11.11.11

Configure the router identifier.

DUT1(config-router)# neighbor
10.10.10.10 remote-as 1

Configure an internal or external
BGP (iBGP or eBGP) TCP session
with another router.

DUT1(config-router)# neighbor
10.10.10.10

update-source

loopback0

Allow internal BGP sessions to use
any operational interface for TCP
connections.

DUT1(config-router)#
address-family ipv4

Enter the IPv4 address-family
command mode.

DUT1(config-router-af)#
neighbor 10.10.10.10 activate

Enable the exchange of the
specified AF routes with a
neighboring router.

DUT1(config-router-af)#
neighbor

10.10.10.10

send-community both

Specify that a community attribute
should be sent to a BGP neighbor.

DUT1(config-router-af)#
redistribute connected

Redistribute connected routes in the
VRF.

DUT1(config-router-af)#
redistribute static

Redistribute static routes in the
VRF.

DUT1(config-router-af)#
exit-address-family

Exit the address family mode.

DUT1(config-router)#
address-family vpnv4 unicast

Enter the vpnv4 address-family
command mode.

DUT1(config-router-af)#
neighbor 10.10.10.10 activate

Enable the exchange of the
specified AF routes with a
neighboring router.

DUT1(config-router-af)#
neighbor

10.10.10.10

send-community both

Specify that a community attribute
should be sent to a BGP neighbor.

DUT1(config-router-af)#
exit-address-family

Exit the address family mode.

DUT1(config-router)#
address-family ipv4 vrf vpn2

Enter the IPv4 address-family
command mode.

DUT1(config-router-af)#
redistribute connected

Redistribute connected routes in the
VRF.

Advertising