Cabletron Systems SmartSwitch Router 9032578-02 User Manual

Page 80

Advertising
background image

Chapter 6: BGP Configuration Guide

80

SmartSwitch Router User Reference Manual

The CLI configuration for router SSR1 is as follows:

The gated.conf file for router SSR1 is as follows:

The CLI configuration for router SSR2 is as follows:

interface create ip et.1.1 address-netmask 10.0.0.1/16 port et.1.1
#
# Set the AS of the router
#
ip-router global set autonomous-system 1
#
# Set the router ID
#
ip-router global set router-id 10.0.0.1
#
# Create EBGP peer group pg1w2 for peering with AS 2
#
bgp create peer-group pg1w2 type external autonomous-system 2
#
# Add peer host 10.0.0.2 to group pg1w2
#
bgp add peer-host 10.0.0.2 group pg1w2
bgp start

autonomoussystem 1 ;
routerid 10.0.0.1 ;
bgp yes {
group type external peeras 2
{
peer 10.0.0.2
;
};
};

interface create ip et.1.1 address-netmask 10.0.0.2/16 port et.1.1
ip-router global set autonomous-system 2
ip-router global set router-id 10.0.0.2
bgp create peer-group pg2w1 type external autonomous-system 1
bgp add peer-host 10.0.0.1 group pg2w1
bgp start

Advertising