Alcatel-Lucent 7750 SR OS Network Router User Manual


 
Common Configuration Tasks
Page 58 7750 SR OS Router Configuration Guide
Configuring an IPv4 BGP Peer
This configuration display the commands to configure an IPv4 BGP peer with (IPv4 and) IPv6
protocol families.
CLI Syntax: config>router
bgp
export policy-name [policy-name...(upto 5 max)]
router-id ip-address
group name
family [ipv4] [vpn-ipv4] [ipv6] [mcast-ipv4]
type {internal|external}
neighbor ip-address
local-as as-number [private]
peer-as as-number
Example
: config>router# bgp
config>router>bgp# export ospf3
config>router>bgp# router-id 200.200.200.1
config>router>bgp# group "main"
config>router>bgp>group# family ipv4 ipv6
config>router>bgp>group# type internal
config>router>bgp>group# neighbor 200.200.200.2
config>router>bgp>group>neighbor# local-as 1
config>router>bgp>group>neighbor# peer-as 1
config>router>bgp>group>neighbor# exit
config>router>bgp>group# exit
config>router>bgp# exit
The following displays the configuration showing the BGP output.
A:ALA-49>configure>router# info
----------------------------------------------
...
bgp
export "ospf3"
router-id 200.200.200.1
group "main"
family ipv4 ipv6
type internal
neighbor 200.200.200.2
local-as 1
peer-as 1
exit
exit
exit
...
----------------------------------------------
A:ALA-49>configure>router#