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

« Previous Version 10 Next »


1- L3 interface

2- BGP


show interface
localhost#show interfaces status
Port       Name        Status       Vlan     Duplex Speed  Type            Flags
Et1                    connected    1        full   unconf EbraTestPhyPort
Et2                    connected    1        full   unconf EbraTestPhyPort
Ma1                    connected    routed   a-full a-1G   10/100/1000


localhost#show ip interface brief
Interface              IP Address         Status     Protocol         MTU
Loopback0              10.0.0.1/32        up         up             65535
Management1            10.0.2.15/24       up         up              1500



On spine01

IP and BGP configuration cmds
interface Ethernet3
   no switchport
   ip address 10.1.2.1/30
!
interface Loopback0
   ip address 10.0.0.1/32
!
ip routing
!
router bgp 65000
   router-id 10.0.0.1
   neighbor 10.1.2.2 remote-as 65000
   neighbor 10.1.2.2 maximum-routes 12000
   network 10.0.0.1/32
!

.

show ip bgp summary

show ip bgp neighbors

show ip bgp neighbors 10.1.2.2 routes

show ip bgp neighbors 10.1.2.2 advertised-routes

show ip bgp neighbors 10.1.2.2 received-routes

show BGP commands
spine01#show ip bgp summary
BGP summary information for VRF default
Router identifier 10.0.0.1, local AS number 65000
Neighbor Status Codes: m - Under maintenance
  Neighbor         V  AS           MsgRcvd   MsgSent  InQ OutQ  Up/Down State  PfxRcd PfxAcc
  10.1.2.2         4  65000             39        44    0    0 00:34:00 Estab  1      1



spine01#show ip bgp neighbors
BGP neighbor is 10.1.2.2, remote AS 65000, internal link
  BGP version 4, remote router ID 10.0.0.2, VRF default
  Negotiated BGP version 4
  Last read 00:00:10, last write 00:00:10
  Hold time is 180, keepalive interval is 60 seconds
  Configured hold time is 180, keepalive interval is 60 seconds
  Connect timer is inactive
  Idle-restart timer is inactive
  BGP state is Established, up for 00:35:10
. . . .


spine01#show ip bgp neighbors 10.1.2.2 routes
BGP routing table information for VRF default
Router identifier 10.0.0.1, local AS number 65000
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
                    S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop

         Network                Next Hop              Metric  LocPref Weight Path
 * >     10.0.0.2/32            10.1.2.2              0       100     0      i


spine01#show ip bgp neighbors 10.1.2.2 advertised-routes
BGP routing table information for VRF default
Router identifier 10.0.0.1, local AS number 65000
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
                    S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast, q - Queued for advertisement
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop

         Network                Next Hop              Metric  LocPref Weight Path
 * >     10.0.0.1/32            10.1.2.1              -       100     -      i


spine01#show ip bgp neighbors 10.1.2.2 received-routes
BGP routing table information for VRF default
Router identifier 10.0.0.1, local AS number 65000
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
                    S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop

         Network                Next Hop              Metric  LocPref Weight Path
 * >     10.0.0.2/32            10.1.2.2              -       100     -      i









  • No labels