Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
https://frrouting.org/
|
|
---|
| sudo vtysh |
| show running-config
internet-router# show running-config
Building configuration...
Current configuration:
!
frr version 5.0.1
frr defaults traditional
hostname internet-router
no ipv6 forwarding
log stdout
!
password zebra
!
interface bo1
ip ospf 1 area 0.0.0.1
!
interface bo2
ip ospf 2 area 0.0.0.2
!
interface dc
ip ospf 3 area 0.0.0.3
!
router bgp 6000
neighbor 1.1.1.128 remote-as 100
neighbor 1.1.1.128 description -= Seattle Branch Office =-
neighbor 1.1.1.128 interface bo1
neighbor 2.2.2.128 remote-as 200
neighbor 2.2.2.128 description -= Dallas Branch Office =-
neighbor 2.2.2.128 interface bo2
neighbor 3.3.3.128 remote-as 300
neighbor 3.3.3.128 description -= Boston Datacenter =-
neighbor 3.3.3.128 interface dc
!
address-family ipv4 unicast
network 1.1.1.0/24
network 2.2.2.0/24
network 3.3.3.0/24
exit-address-family
!
router ospf 1
ospf router-id 1.1.1.1
redistribute connected
distribute-list blockmgmt out connected
!
router ospf 2
ospf router-id 2.2.2.2
redistribute connected
distribute-list blockmgmt out connected
!
router ospf 3
ospf router-id 3.3.3.3
redistribute connected
distribute-list blockmgmt out connected
!
access-list blockmgmt deny 192.168.7.0/24
access-list blockmgmt permit any
access-list all permit any
!
line vty
!
end
internet-router#
|
| show bgp summary
internet-router# show bgp summary
IPv4 Unicast Summary:
BGP router identifier 192.168.7.101, local AS number 6000 vrf-id 0
BGP table version 3
RIB entries 5, using 760 bytes of memory
Peers 3, using 62 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.128 4 100 0 0 0 0 0 never Active
2.2.2.128 4 200 0 0 0 0 0 never Active
3.3.3.128 4 300 0 0 0 0 0 never Active
Total number of neighbors 3
internet-router#
|
| show bgp neighbors
|
| show bgp ipv4
internet-router# show bgp ipv4
BGP table version is 3, local router ID is 192.168.7.101, vrf id 0
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
*> 1.1.1.0/24 0.0.0.0 0 32768 i
*> 2.2.2.0/24 0.0.0.0 0 32768 i
*> 3.3.3.0/24 0.0.0.0 0 32768 i
Displayed 3 routes and 3 total paths
internet-router#
|