...
Рассмотрим настройку BGP на примере вышеприведенной схемы:
1)Настроить на коммутаторах VLAN, порты:
SW1:
Отключаем STP, настраиваем фильтрацию BPDU-сообщений:
...
console(config)# interface gigabitethernet1/0/11
console(config-if)# switchport mode trunk
console(config-if)# switchport trunk allowed vlan add 30
console(config-if)# switchport forbidden default-vlan
2)Настраиваем IP-адреса на VLAN:
console(config)# interface vlan 30
console(config-if)# ip address 3.0.0.1 255.255.255.0
...
console(config)# no spanning-tree
console(config)# spanning-tree bpdu filtering
console(config)# vlan database
console(config)# vlan 30
console(config)# interface gigabitethernet1/0/11
console(config-if)# switchport mode trunk
console(config-if)# switchport trunk allowed vlan add 30
console(config-if)# switchport forbidden default-vlan
console(config)# interface vlan 30
console(config-if)# ip address 3.0.0.2 255.255.255.0
3)Настроить BGP на коммутаторах в соответствующих AS:
SW1:
Включаем маршрутизацию по протоколу BGP. Задаем идентификатор AS и переходит в режим её конфигурирования.
...