Netgear M5300-28G3 (GSM7328Sv2h2) - ProSAFE 24+4 Gigabit Ethernet L3 Managed Stackable Switch 管理者ガイド

ページ / 721
BGP 
185
 Managed Switches
2. 
Configure the local AS as 100 and the peer AS as 200 to create an eBGP session with peer 
172.126.1.2 (Switch D). 
(Netgear Switch) #configure
(Netgear Switch) (Config) #ip routing
(Netgear Switch) (Config) #router bgp 100
(Netgear Switch) (Config-router) # bgp router-id 172.126.1.1
(Netgear Switch) (Config-router) # network 172.126.1.0 mask 255.255.255.0
(Netgear Switch) (Config-router) # neighbor 172.126.1.2 remote-as 200
(Netgear Switch) (Config-router) #exit
Configure eBGP on Switch D
1. 
Create VLAN 100 on Switch D with IP address 172.126.1.2.
(Netgear Switch) #vlan database
(Netgear Switch) (Vlan) #vlan 100
(Netgear Switch) (Vlan) #vlan routing 100
(Netgear Switch) (Vlan) #exit
(Netgear Switch) #config
(Netgear Switch) (Config) #interface 1/0/1
(Netgear Switch) (Interface 1/0/1) #vlan participation include 100
(Netgear Switch) (Interface 1/0/1) #vlan pvid 100
(Netgear Switch) (Interface 1/0/1) #interface 1/0/1
(Netgear Switch) (Interface 1/0/1) #interface vlan 100
(Netgear Switch) (Interface vlan 100) #ip address 172.126.1.2 /24
(Netgear Switch) (Interface vlan 100) #exit
(Netgear Switch) (Config) #exit
2. 
Enable BGP on VLAN 200 on Switch D and using Switch A as an eBGP partner.
(Netgear Switch) (Config) #router bgp 200
(Netgear Switch) (Config-router) #bgp router-id 172.126.1.2
(Netgear Switch) (Config-router) #network 172.126.1.0 mask 255.255.255.0
(Netgear Switch) (Config-router) #neighbor 172.126.1.1 remote-as 100
(Netgear Switch) (Config-router) #exit
Check the eBGP Neighbor Status
Check the BGP neighbor on Switch A to see if the BGP neighbor is established. Use the 
same command to check it on Switch D.