Nortel Networks WEB OS 212777 User Manual
Page 40
Web OS 10.0 Application Guide
40
n
Chapter 1: Basic IP Routing
212777-A, February 2002
5.
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 Alteon Web switch to create an AS path of “3”
when advertising via BGP.
6.
On the switch, apply and save your configuration changes.
>> # /cfg/ip/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# las 300
(Set local AS number)
>> BGP Peer 1# ras 100
(Set remote AS number)
>> BGP Peer 1# ../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# las 300
(Set local AS number)
>> 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)