Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ####FRR router 1:
- frrouting-1# show run
- Building configuration...
- Current configuration:
- !
- frr version 7.5-dev_git
- frr defaults traditional
- hostname frrouting-1
- no ipv6 forwarding
- !
- interface eth1
- ip address 172.18.0.2/24
- !
- interface lo
- ip address 5.5.5.5/32
- !
- router bgp 800
- bgp router-id 5.5.5.5
- no bgp network import-check
- neighbor upstream peer-group
- neighbor upstream remote-as 700
- neighbor upstream capability dynamic
- neighbor 172.18.0.1 peer-group upstream
- !
- address-family ipv4 unicast
- network 5.5.5.5/32
- network 172.18.0.0/24
- exit-address-family
- !
- line vty
- !
- end
- ##show ip bgp
- frrouting-1# show ip bgp
- BGP table version is 3, local router ID is 5.5.5.5, vrf id 0
- Default local pref 100, local AS 800
- Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
- i internal, r RIB-failure, S Stale, R Removed
- Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
- Origin codes: i - IGP, e - EGP, ? - incomplete
- Network Next Hop Metric LocPrf Weight Path
- *> 5.5.5.5/32 0.0.0.0 0 32768 i
- *> 172.18.0.0/24 0.0.0.0 0 32768 i
- ##show ip bgp neihbors 172.18.0.1
- frrouting-1# show ip bgp neighbors 172.18.0.1
- BGP neighbor is 172.18.0.1, remote AS 700, local AS 800, external link
- Hostname: frrouting-2
- Member of peer-group upstream for session parameters
- BGP version 4, remote router ID 4.4.4.4, local router ID 5.5.5.5
- BGP state = Established, up for 00:04:12
- Last read 00:00:12, Last write 00:00:12
- Hold time is 180, keepalive interval is 60 seconds
- Neighbor capabilities:
- 4 Byte AS: advertised and received
- AddPath:
- IPv4 Unicast: RX advertised IPv4 Unicast and received
- Dynamic: advertised and received
- Route refresh: advertised and received(old & new)
- Address Family IPv4 Unicast: advertised and received
- Hostname Capability: advertised (name: frrouting-1,domain name: n/a) received (name: frrouting-2,domain name: n/a)
- Graceful Restart Capability: advertised and received
- Remote Restart timer is 120 seconds
- Address families by peer:
- none
- Graceful restart information:
- End-of-RIB send: IPv4 Unicast
- End-of-RIB received: IPv4 Unicast
- Local GR Mode: Helper*
- Remote GR Mode: Helper
- R bit: False
- Timers:
- Configured Restart Time(sec): 120
- Received Restart Time(sec): 120
- IPv4 Unicast:
- F bit: False
- End-of-RIB sent: Yes
- End-of-RIB sent after update: Yes
- End-of-RIB received: Yes
- Timers:
- Configured Stale Path Time(sec): 360
- Message statistics:
- Inq depth is 0
- Outq depth is 0
- Sent Rcvd
- Opens: 3 3
- Notifications: 2 2
- Updates: 3 3
- Keepalives: 53 53
- Route Refresh: 0 0
- Capability: 0 0
- Total: 61 61
- Minimum time between advertisement runs is 0 seconds
- For address family: IPv4 Unicast
- upstream peer-group member
- Update group 3, subgroup 3
- Packet Queue length 0
- Community attribute sent to this neighbor(all)
- Inbound updates discarded due to missing policy
- Outbound updates discarded due to missing policy
- 0 accepted prefixes
- Connections established 3; dropped 2
- Last reset 00:04:14, Notification received (Cease/Other Configuration Change)
- Local host: 172.18.0.2, Local port: 55268
- Foreign host: 172.18.0.1, Foreign port: 179
- Nexthop: 172.18.0.2
- Nexthop global: fe80::e0a9:4ff:fe48:16b0
- Nexthop local: fe80::e0a9:4ff:fe48:16b0
- BGP connection: shared network
- BGP Connect Retry Timer in Seconds: 120
- Read thread: on Write thread: on FD used: 25
- ##interfaces:
- frrouting-1# show int bri
- Interface Status VRF Addresses
- --------- ------ --- ---------
- eth0 up default
- eth1 up default 172.18.0.2/24
- eth2 up default
- eth3 up default
- lo up default 5.5.5.5/32
- frrouting-1# ping 172.18.0.1
- PING 172.18.0.1 (172.18.0.1): 56 data bytes
- 64 bytes from 172.18.0.1: seq=0 ttl=64 time=0.181 ms
- 64 bytes from 172.18.0.1: seq=1 ttl=64 time=0.130 ms
- ^C
- --- 172.18.0.1 ping statistics ---
- 2 packets transmitted, 2 packets received, 0% packet loss
- round-trip min/avg/max = 0.130/0.155/0.181 ms
- ###########################################################################
- ##ffrouting #2:
- frrouting-2# show run
- Building configuration...
- Current configuration:
- !
- frr version 7.5-dev_git
- frr defaults traditional
- hostname frrouting-2
- no ipv6 forwarding
- !
- interface eth1
- ip address 172.18.0.1/24
- !
- interface lo
- ip address 4.4.4.4/32
- !
- router bgp 700
- no bgp network import-check
- neighbor upstream peer-group
- neighbor upstream remote-as 800
- neighbor upstream capability dynamic
- neighbor 172.18.0.2 peer-group upstream
- !
- address-family ipv4 unicast
- network 4.4.4.4/32
- network 172.18.0.0/24
- exit-address-family
- !
- line vty
- !
- end
- ##show ip bgp
- frrouting-2# show ip bgp
- BGP table version is 3, local router ID is 4.4.4.4, vrf id 0
- Default local pref 100, local AS 700
- Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
- i internal, r RIB-failure, S Stale, R Removed
- Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
- Origin codes: i - IGP, e - EGP, ? - incomplete
- Network Next Hop Metric LocPrf Weight Path
- *> 4.4.4.4/32 0.0.0.0 0 32768 i
- *> 172.18.0.0/24 0.0.0.0 0 32768 i
- Displayed 2 routes and 2 total paths
- ##show ip bgp neighbors 172.18.0.2
- frrouting-2# show ip bgp neighbors 172.18.0.2
- BGP neighbor is 172.18.0.2, remote AS 800, local AS 700, external link
- Hostname: frrouting-1
- Member of peer-group upstream for session parameters
- BGP version 4, remote router ID 5.5.5.5, local router ID 4.4.4.4
- BGP state = Established, up for 00:06:51
- Last read 00:00:51, Last write 00:00:51
- Hold time is 180, keepalive interval is 60 seconds
- Neighbor capabilities:
- 4 Byte AS: advertised and received
- AddPath:
- IPv4 Unicast: RX advertised IPv4 Unicast and received
- Dynamic: advertised and received
- Route refresh: advertised and received(old & new)
- Address Family IPv4 Unicast: advertised and received
- Hostname Capability: advertised (name: frrouting-2,domain name: n/a) received (name: frrouting-1,domain name: n/a)
- Graceful Restart Capability: advertised and received
- Remote Restart timer is 120 seconds
- Address families by peer:
- none
- Graceful restart information:
- End-of-RIB send: IPv4 Unicast
- End-of-RIB received: IPv4 Unicast
- Local GR Mode: Helper*
- Remote GR Mode: Helper
- R bit: False
- Timers:
- Configured Restart Time(sec): 120
- Received Restart Time(sec): 120
- IPv4 Unicast:
- F bit: False
- End-of-RIB sent: Yes
- End-of-RIB sent after update: Yes
- End-of-RIB received: Yes
- Timers:
- Configured Stale Path Time(sec): 360
- Message statistics:
- Inq depth is 0
- Outq depth is 0
- Sent Rcvd
- Opens: 6 3
- Notifications: 6 2
- Updates: 3 3
- Keepalives: 55 55
- Route Refresh: 0 0
- Capability: 0 0
- Total: 70 63
- Minimum time between advertisement runs is 0 seconds
- For address family: IPv4 Unicast
- upstream peer-group member
- Update group 3, subgroup 3
- Packet Queue length 0
- Community attribute sent to this neighbor(all)
- Inbound updates discarded due to missing policy
- Outbound updates discarded due to missing policy
- 0 accepted prefixes
- Connections established 3; dropped 2
- Last reset 00:06:53, No AFI/SAFI activated for peer
- Local host: 172.18.0.1, Local port: 179
- Foreign host: 172.18.0.2, Foreign port: 55268
- Nexthop: 172.18.0.1
- Nexthop global: fe80::f05e:36ff:fef4:e6ac
- Nexthop local: fe80::f05e:36ff:fef4:e6ac
- BGP connection: shared network
- BGP Connect Retry Timer in Seconds: 120
- Read thread: on Write thread: on FD used: 26
- ##show int bri
- frrouting-2# show interface brief
- Interface Status VRF Addresses
- --------- ------ --- ---------
- eth0 up default
- eth1 up default 172.18.0.1/24
- eth2 up default
- eth3 up default
- lo up default 4.4.4.4/32
- ## ping
- frrouting-2# ping 172.18.0.2
- PING 172.18.0.2 (172.18.0.2): 56 data bytes
- 64 bytes from 172.18.0.2: seq=0 ttl=64 time=0.199 ms
- 64 bytes from 172.18.0.2: seq=1 ttl=64 time=0.143 ms
- 64 bytes from 172.18.0.2: seq=2 ttl=64 time=0.133 ms
- ^C
- --- 172.18.0.2 ping statistics ---
- 3 packets transmitted, 3 packets received, 0% packet loss
- round-trip min/avg/max = 0.133/0.158/0.199 ms
Add Comment
Please, Sign In to add comment