Quantcast
Channel: All Routing posts
Viewing all articles
Browse latest Browse all 8688

Re: RR and BGP group

$
0
0

Hi adwivedi

 

root@vMX2> show configuration | no-more
## Last commit: 2016-09-30 18:18:21 UTC by root
version 14.1R1.10;
system {
host-name vMX2;
root-authentication {
encrypted-password "$1$IZuPmkhp$yhA5evYxTRErWGrzzl/M//"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
ge-0/0/0 {
mac 50:00:00:02:00:02;
unit 0 {
family inet {
address 4.4.4.2/24;
}
}
}
ge-0/0/1 {
mac 50:00:00:02:00:03;
unit 0 {
family inet {
address 6.6.6.2/24;
}
}
}
ge-0/0/2 {
mac 50:00:00:02:00:04;
unit 0 {
family inet {
address 7.7.7.2/24;
}
}
}
ge-0/0/3 {
mac 50:00:00:02:00:05;
unit 0 {
family inet {
address 10.10.10.2/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 22.22.22.22/32;
}
}
}
}
routing-options {
static {
route 88.88.88.88/32 next-hop 10.10.10.8;
}
router-id 22.22.22.22;
autonomous-system 1111;
}
protocols {
bgp {
traceoptions {
file bgp_ror;
flag update receive detail;
}
group IBGP-RR {
type internal;
local-address 22.22.22.22;
neighbor 11.11.11.11 {
peer-as 1111;
}
neighbor 44.44.44.44 {
peer-as 1111;
}
neighbor 33.33.33.33 {
peer-as 1111;
}
}
group IBGP-CLUSTER02 {
type internal;
local-address 22.22.22.22;
cluster 22.22.22.22;
neighbor 88.88.88.88 {
peer-as 1111;
}
neighbor 66.66.66.66 {
peer-as 1111;
}
}
}
ospf {
export [ RM-REDISTRIBUTE-CONNECTED RM-REDISTRIBUTE-STATIC ];
area 0.0.0.0 {
interface lo0.0 {
passive;
}
interface ge-0/0/0.0 {
interface-type p2p;
}
interface ge-0/0/1.0 {
interface-type p2p;
}
interface ge-0/0/2.0 {
interface-type p2p;
}
}
}
}
policy-options {
policy-statement RM-REDISTRIBUTE-CONNECTED {
term 2 {
from protocol direct;
then accept;
}
term 1 {
from interface fxp0.0;
then reject;
}
}
policy-statement RM-REDISTRIBUTE-STATIC {
term 1 {
from {
protocol static;
tag 51;
}
then {
metric 150;
accept;
}
}
term 2 {
from {
protocol static;
tag 50;
}
then reject;
}
term 3 {
from protocol static;
then accept;
}
term 4 {
then reject;
}
}
}

root@vMX2>

 

root@vMX2> show bgp neighbor
Peer: 11.11.11.11+179 AS 17819 Local: 22.22.22.22+53584 AS 17819
Type: Internal State: Established Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: None
Options: <Preference LocalAddress PeerAS Refresh>
Local Address: 22.22.22.22 Holdtime: 90 Preference: 170
Number of flaps: 0
Peer ID: 11.11.11.11 Local ID: 22.22.22.22 Active Holdtime: 90
Keepalive Interval: 30 Group index: 0 Peer index: 0
BFD: disabled, down
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast
NLRI for this session: inet-unicast
Peer supports Refresh capability (2)
Stale routes from peer are kept for: 300
Peer does not support Restarter functionality
NLRI that restart is negotiated for: inet-unicast
NLRI of received end-of-rib markers: inet-unicast
NLRI of all end-of-rib markers sent: inet-unicast
Peer supports 4 byte AS extension (peer-as 17819)
Peer does not support Addpath
Table inet.0 Bit: 10000
RIB State: BGP restart is complete
Send state: in sync
Active prefixes: 2
Received prefixes: 2
Accepted prefixes: 2
Suppressed due to damping: 0
Advertised prefixes: 0
Last traffic (seconds): Received 5 Sent 10 Checked 21
Input messages: Total 2586 Updates 2 Refreshes 0 Octets 49185
Output messages: Total 2585 Updates 2 Refreshes 0 Octets 49244
Output Queue[0]: 0
Trace options: detail recv update
Trace file: /var/log/bgp_ror size 131072 files 10

Peer: 33.33.33.33+179 AS 17819 Local: 22.22.22.22+61960 AS 17819
Type: Internal State: Established Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: None
Options: <Preference LocalAddress PeerAS Refresh>
Local Address: 22.22.22.22 Holdtime: 90 Preference: 170
Number of flaps: 0
Peer ID: 33.33.33.33 Local ID: 22.22.22.22 Active Holdtime: 90
Keepalive Interval: 30 Group index: 0 Peer index: 2
BFD: disabled, down
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast
NLRI for this session: inet-unicast
Peer supports Refresh capability (2)
Stale routes from peer are kept for: 300
Peer does not support Restarter functionality
NLRI that restart is negotiated for: inet-unicast
NLRI of received end-of-rib markers: inet-unicast
NLRI of all end-of-rib markers sent: inet-unicast
Peer supports 4 byte AS extension (peer-as 17819)
Peer does not support Addpath
Table inet.0 Bit: 10000
RIB State: BGP restart is complete
Send state: in sync
Active prefixes: 2
Received prefixes: 2
Accepted prefixes: 2
Suppressed due to damping: 0
Advertised prefixes: 0
Last traffic (seconds): Received 12 Sent 21 Checked 58
Input messages: Total 2584 Updates 2 Refreshes 0 Octets 49154
Output messages: Total 2583 Updates 2 Refreshes 0 Octets 49206
Output Queue[0]: 0
Trace options: detail recv update
Trace file: /var/log/bgp_ror size 131072 files 10

Peer: 44.44.44.44+179 AS 17819 Local: 22.22.22.22+57643 AS 17819
Type: Internal State: Established Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: None
Options: <Preference LocalAddress PeerAS Refresh>
Local Address: 22.22.22.22 Holdtime: 90 Preference: 170
Number of flaps: 0
Peer ID: 44.44.44.44 Local ID: 22.22.22.22 Active Holdtime: 90
Keepalive Interval: 30 Group index: 0 Peer index: 1
BFD: disabled, down
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast
NLRI for this session: inet-unicast
Peer supports Refresh capability (2)
Stale routes from peer are kept for: 300
Peer does not support Restarter functionality
NLRI that restart is negotiated for: inet-unicast
NLRI of received end-of-rib markers: inet-unicast
NLRI of all end-of-rib markers sent: inet-unicast
Peer supports 4 byte AS extension (peer-as 17819)
Peer does not support Addpath
Table inet.0 Bit: 10000
RIB State: BGP restart is complete
Send state: in sync
Active prefixes: 1
Received prefixes: 2
Accepted prefixes: 1
Suppressed due to damping: 0
Advertised prefixes: 0
Last traffic (seconds): Received 4 Sent 8 Checked 79
Input messages: Total 2577 Updates 3 Refreshes 0 Octets 49052
Output messages: Total 2584 Updates 2 Refreshes 0 Octets 49225
Output Queue[0]: 0
Trace options: detail recv update
Trace file: /var/log/bgp_ror size 131072 files 10

Peer: 66.66.66.66+179 AS 17819 Local: 22.22.22.22+58595 AS 17819
Type: Internal State: Established (route reflector client)Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: None
Options: <Preference LocalAddress Cluster PeerAS Refresh>
Local Address: 22.22.22.22 Holdtime: 90 Preference: 170
Number of flaps: 0
Peer ID: 66.66.66.66 Local ID: 22.22.22.22 Active Holdtime: 90
Keepalive Interval: 30 Group index: 1 Peer index: 1
BFD: disabled, down
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast
NLRI for this session: inet-unicast
Peer supports Refresh capability (2)
Stale routes from peer are kept for: 300
Peer does not support Restarter functionality
NLRI that restart is negotiated for: inet-unicast
NLRI of received end-of-rib markers: inet-unicast
NLRI of all end-of-rib markers sent: inet-unicast
Peer supports 4 byte AS extension (peer-as 17819)
Peer does not support Addpath
Table inet.0 Bit: 10001
RIB State: BGP restart is complete
Send state: in sync
Active prefixes: 0
Received prefixes: 2
Accepted prefixes: 0
Suppressed due to damping: 0
Advertised prefixes: 5
Last traffic (seconds): Received 16 Sent 19 Checked 3
Input messages: Total 2597 Updates 2 Refreshes 0 Octets 49380
Output messages: Total 2585 Updates 4 Refreshes 0 Octets 49397
Output Queue[0]: 0
Trace options: detail recv update
Trace file: /var/log/bgp_ror size 131072 files 10

Peer: 88.88.88.88+179 AS 17819 Local: 22.22.22.22+62924 AS 17819
Type: Internal State: Established (route reflector client)Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: None
Options: <Preference LocalAddress Cluster PeerAS Refresh>
Local Address: 22.22.22.22 Holdtime: 90 Preference: 170
Number of flaps: 0
Peer ID: 88.88.88.88 Local ID: 22.22.22.22 Active Holdtime: 90
Keepalive Interval: 30 Group index: 1 Peer index: 0
BFD: disabled, down
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast
NLRI for this session: inet-unicast
Peer supports Refresh capability (2)
Stale routes from peer are kept for: 300
Peer does not support Restarter functionality
Peer does not support Receiver functionality
Peer supports 4 byte AS extension (peer-as 17819)
Peer does not support Addpath
Table inet.0 Bit: 10001
RIB State: BGP restart is complete
Send state: in sync
Active prefixes: 0
Received prefixes: 3
Accepted prefixes: 3
Suppressed due to damping: 0
Advertised prefixes: 5
Last traffic (seconds): Received 1 Sent 19 Checked 12
Input messages: Total 2564 Updates 2 Refreshes 0 Octets 48764
Output messages: Total 2585 Updates 3 Refreshes 0 Octets 49320
Output Queue[0]: 0
Trace options: detail recv update
Trace file: /var/log/bgp_ror size 131072 files 10

root@vMX2>


Viewing all articles
Browse latest Browse all 8688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>