Проверка работает ли функционал BGP на коммутаторе ex3300-48t без лицензии AFL.
Model: ex3300-48t
JUNOS Base OS boot [12.3R6.6]
На данной модели удалось запустить BGP протокол с политиками навешивания community, изменения local-preference. Максимальное количество префиксов ограничено в 8к BGP маршрутов.
Единственно, что:
1. Если в конфигурации присутствует BGP, но лицензии нет, Juniper при commit ругается.
2. В логах отображается сообщение касательно отсутствия BGP лицензии.
set routing-options maximum-prefixes 16000
set routing-options autonomous-system 49620
set protocols bgp group tvoinet type external
set protocols bgp group tvoinet description "TvoiNET peers"
set protocols bgp group tvoinet no-advertise-peer-as
set protocols bgp group tvoinet multipath multiple-as
set protocols bgp group tvoinet neighbor 172.16.100.2 description TvoiNet-GoldenLinks
set protocols bgp group tvoinet neighbor 172.16.100.2 log-updown
set protocols bgp group tvoinet neighbor 172.16.100.2 import CLASSIFY-ROUTES-BGP
set protocols bgp group tvoinet neighbor 172.16.100.2 family inet unicast
set protocols bgp group tvoinet neighbor 172.16.100.2 export to-tvoinet
set protocols bgp group tvoinet neighbor 172.16.100.2 peer-as 5555
set policy-options policy-statement CLASSIFY-ROUTES-BGP term IF-COMMUNITY from community IF23-24
set policy-options policy-statement CLASSIFY-ROUTES-BGP term IF-COMMUNITY then local-preference 177
set policy-options policy-statement CLASSIFY-ROUTES-BGP term IF-AS-PATH from as-path SET-LP-55
set policy-options policy-statement CLASSIFY-ROUTES-BGP term IF-AS-PATH then local-preference 155
set policy-options policy-statement CLASSIFY-ROUTES-BGP term ELSE then accept
set policy-options policy-statement to-tvoinet term internal-05 from protocol static
set policy-options policy-statement to-tvoinet term internal-05 then accept
set policy-options community IF23-24 members 5555:7777
set policy-options as-path SET-LP-55 "^666$"
root# commit and-quit
[edit protocols]
'bgp'
warning: requires 'bgp' license
configuration check succeeds
commit complete
Exiting configuration mode
root> show log messages | last 10
Jun 2 00:25:11 craftd[1288]: Minor alarm cleared, BGP Routing Protocol usage requires a license
Jun 2 00:25:11 alarmd[1287]: Alarm cleared: License color=YELLOW, class=CHASSIS, reason=BGP Routing Protocol usage requires a license
root> show bgp summary
Groups: 1 Peers: 1 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
7986 7764 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
172.16.100.2 5555 4857 741 0 1 4:27:04 7764/7986/7986/0 0/0/0/0
root> show route summary
Autonomous system number: 49620
Router ID: 172.16.100.1
inet.0: 8000 destinations, 8222 routes (8000 active, 0 holddown, 0 hidden)
Limit/Threshold: 16000/16000 destinations
Direct: 2 routes, 2 active
Local: 2 routes, 2 active
BGP: 7986 routes, 7764 active
Static: 232 routes, 232 active
Model: ex3300-48t
JUNOS Base OS boot [12.3R6.6]
На данной модели удалось запустить BGP протокол с политиками навешивания community, изменения local-preference. Максимальное количество префиксов ограничено в 8к BGP маршрутов.
Единственно, что:
1. Если в конфигурации присутствует BGP, но лицензии нет, Juniper при commit ругается.
2. В логах отображается сообщение касательно отсутствия BGP лицензии.
set routing-options maximum-prefixes 16000
set routing-options autonomous-system 49620
set protocols bgp group tvoinet type external
set protocols bgp group tvoinet description "TvoiNET peers"
set protocols bgp group tvoinet no-advertise-peer-as
set protocols bgp group tvoinet multipath multiple-as
set protocols bgp group tvoinet neighbor 172.16.100.2 description TvoiNet-GoldenLinks
set protocols bgp group tvoinet neighbor 172.16.100.2 log-updown
set protocols bgp group tvoinet neighbor 172.16.100.2 import CLASSIFY-ROUTES-BGP
set protocols bgp group tvoinet neighbor 172.16.100.2 family inet unicast
set protocols bgp group tvoinet neighbor 172.16.100.2 export to-tvoinet
set protocols bgp group tvoinet neighbor 172.16.100.2 peer-as 5555
set policy-options policy-statement CLASSIFY-ROUTES-BGP term IF-COMMUNITY from community IF23-24
set policy-options policy-statement CLASSIFY-ROUTES-BGP term IF-COMMUNITY then local-preference 177
set policy-options policy-statement CLASSIFY-ROUTES-BGP term IF-AS-PATH from as-path SET-LP-55
set policy-options policy-statement CLASSIFY-ROUTES-BGP term IF-AS-PATH then local-preference 155
set policy-options policy-statement CLASSIFY-ROUTES-BGP term ELSE then accept
set policy-options policy-statement to-tvoinet term internal-05 from protocol static
set policy-options policy-statement to-tvoinet term internal-05 then accept
set policy-options community IF23-24 members 5555:7777
set policy-options as-path SET-LP-55 "^666$"
root# commit and-quit
[edit protocols]
'bgp'
warning: requires 'bgp' license
configuration check succeeds
commit complete
Exiting configuration mode
root> show log messages | last 10
Jun 2 00:25:11 craftd[1288]: Minor alarm cleared, BGP Routing Protocol usage requires a license
Jun 2 00:25:11 alarmd[1287]: Alarm cleared: License color=YELLOW, class=CHASSIS, reason=BGP Routing Protocol usage requires a license
root> show bgp summary
Groups: 1 Peers: 1 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
7986 7764 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
172.16.100.2 5555 4857 741 0 1 4:27:04 7764/7986/7986/0 0/0/0/0
root> show route summary
Autonomous system number: 49620
Router ID: 172.16.100.1
inet.0: 8000 destinations, 8222 routes (8000 active, 0 holddown, 0 hidden)
Limit/Threshold: 16000/16000 destinations
Direct: 2 routes, 2 active
Local: 2 routes, 2 active
BGP: 7986 routes, 7764 active
Static: 232 routes, 232 active
Комментариев нет:
Отправить комментарий