CANOGA PERKINS 9175 Configuration Guide User Manual
Page 114
CanogaOS Configuration Guide
18-3
18.2.3 Router
B
DUT#configure terminal
Enter the Configure mode.
DUT(config)#interface eth-0-13
Specify the interface (eth-0-13)to be configured and enter the
Interface mode.
DUT (config-if)#no shutdown
Enable the interface.
DUT(config-if) # no switchport
Configure on physical port only, change this port to Layer3
interface.
DUT(config-if) # ip address 1.1.1.2/24
Configure IP address to 1.1.1.2/24.
DUT(config-if)#exit Exit
the Interface mode and enter the Configure mode.
DUT(config)#router bgp 200
Creat bgp 200 and enter the router mode
DUT(config-router)#bgp router-id 11.11.11.11
Configure the bgp router-id
DUT(config-router)#neighbor 1.1.1.1 remote-as
100
Configure the ebgp neighbor with as 100
DUT(config-router)#redistribute connected
Redistribute the connect route into bgp
DUT(config-router)#exit
Exit the router mode and enter the Configure mode.
18.2.4 Experiment
Results
Switch A output
DUT#show ip bgp neighbors
BGP neighbor is 1.1.1.2, remote AS 200, local AS 100, external link
BGP version 4, remote router ID 11.11.11.11
BGP state = Established, up for 00:00:02
Last read 00:00:02, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 128 messages, 0 notifications, 0 in queue
Sent 132 messages, 2 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 30 seconds
For address family: IPv4 Unicast
BGP table version 109, neighbor version 109
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
0 accepted prefixes
4 announced prefixes
Connections established 2; dropped 1
Local host: 1.1.1.1, Local port: 179
Foreign host: 1.1.1.2, Foreign port: 3604
Nexthop: 1.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network