Nortel Networks 42C4911 Switch User Manual


 
Alteon OS Application Guide
184
Chapter 11: Border Gateway Protocol 42C4911, January 2007
4. Configure BGP peer router 1 and 2.
Peer 1 is the primary gateway router. Peer 2 is configured with a metric of “3.” The metric
option is key to ensuring gateway traffic is directed to Peer 1, as it will make Peer 2 appear to
be three router hops away from the switch. Thus, the switch should never use it unless Peer 1
goes down.
The metric command in the peer menu tells the GbE Switch Module to create an AS path of
“3” when advertising via BGP.
5. On the switch, apply and save your configuration changes.
>> # /cfg/l3/bgp/peer 1 (Select BGP peer router 1)
>> BGP Peer 1# ena (Enable this peer configuration)
>> BGP Peer 1# addr 200.200.200.2 (Set IP address for peer router 1)
>> BGP Peer 1# if 200.200.200.1 (Set IP interface for peer router 1)
>> BGP Peer 1# ras 100 (Set remote AS number)
>> BGP Peer 1# /cfg/l3/bgp/peer 2 (Select BGP peer router 2)
>> BGP Peer 2# ena (Enable this peer configuration)
>> BGP Peer 2# addr 210.210.210.2 (Set IP address for peer router 2)
>> BGP Peer 2# if 210.210.210.1 (Set IP interface for peer router 2)
>> BGP Peer 2# ras 200 (Set remote AS number)
>> BGP Peer 2# metric 3 (Set AS path length to 3 router hops)
>> BGP Peer 2# apply (Make your changes active)
>> save (Save for restore after reboot)