User Tools

Site Tools


ncs_5500_rtr_bgp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ncs_5500_rtr_bgp [2024/03/21 04:47] – created sysadmncs_5500_rtr_bgp [2024/03/21 04:54] (current) sysadm
Line 1: Line 1:
 +RP/0/RP0/CPU0:SINEQCR-02#
 +RP/0/RP0/CPU0:SINEQCR-02#show running-config router bgp 58717 neighbor 87.245.231.193
 +Thu Mar 21 10:49:48.155 BDT
 +router bgp 58717
 + neighbor 87.245.231.193
 +  remote-as 9002
 +  description @@ RETN-EBGP @@
 +  address-family ipv4 unicast
 +   send-community-ebgp
 +   route-policy RETN-IN in
 +   maximum-prefix 2000000 75 warning-only
 +   route-policy RETN-OUT out
 +   remove-private-AS
 +   soft-reconfiguration inbound always
 +  !
 + !
 +!
  
- +RP/0/RP0/CPU0:SINEQCR-02#show rpl route-policy RETN-IN 
-RP/0/RP0/CPU0:SINEQCR-02#show rpl  route-policy RETN-IN +Thu Mar 21 10:50:01.056 BDT
-Thu Mar 21 10:44:23.659 BDT+
 route-policy RETN-IN route-policy RETN-IN
   if destination in DEFAULT-ROUTE then   if destination in DEFAULT-ROUTE then
Line 17: Line 33:
   endif   endif
 end-policy end-policy
 +!
 +RP/0/RP0/CPU0:SINEQCR-02#show rpl prefix-set DEFAULT-ROUTE
 +Thu Mar 21 10:50:17.475 BDT
 +prefix-set DEFAULT-ROUTE
 +  0.0.0.0/0,
 +  ::/0
 +end-set
 +!
 +RP/0/RP0/CPU0:SINEQCR-02#
 +RP/0/RP0/CPU0:SINEQCR-02#show rpl prefix-set RETN-PREFIX-IN
 +Thu Mar 21 10:50:36.727 BDT
 +prefix-set RETN-PREFIX-IN
 +  192.168.29.1/32,
 +  54.244.128.0/17,
 +  64.246.160.0/19,
 +  178.238.112.0/20,
 +  3.5.84.0/24,
 +  202.81.99.0/24
 +end-set
 +!
 +RP/0/RP0/CPU0:SINEQCR-02#show rpl as-path-set RETN-AS-IN   
 +Thu Mar 21 10:51:10.246 BDT
 +as-path-set RETN-AS-IN
 +  ios-regex '^9002$'
 +end-set
 +!
 +RP/0/RP0/CPU0:SINEQCR-02#show rpl route-policy RETN-OUT
 +Thu Mar 21 10:51:31.078 BDT
 +route-policy RETN-OUT
 +  if as-path in RETN-AS-BLOCK then
 +    drop
 +  elseif destination in RETN-PREFIX-BLOCK then
 +    drop
 +  elseif community matches-any TO-ALL then
 +    pass
 +  elseif community matches-any CACHE-COMMUNITY then
 +    pass
 +  elseif community matches-any BLACKHOLE then
 +    pass
 +  else
 +    drop
 +  endif
 +end-policy
 +!
 +RP/0/RP0/CPU0:SINEQCR-02#show rpl as-path-set RETN-AS-BLOCK
 +Thu Mar 21 10:51:48.715 BDT
 +as-path-set RETN-AS-BLOCK
 +  ios-regex '^12345_',
 +  ios-regex '^32934_',
 +  ios-regex '^15169_',
 +  ios-regex '^174_',
 +  ios-regex '^7473_',
 +  ios-regex '^9498_',
 +  ios-regex '^6453_',
 +  ios-regex '^132602_',
 +  ios-regex '^132884_',
 +  ios-regex '^150123_',
 +  ios-regex '^138575_'
 +end-set
 +!
 +RP/0/RP0/CPU0:SINEQCR-02#show rpl prefix-set RETN-PREFIX-BLOCK
 +Thu Mar 21 10:51:57.499 BDT
 +prefix-set RETN-PREFIX-BLOCK
 +  192.168.28.1/32,
 +  103.16.73.0/24
 +end-set
 +!
 +RP/0/RP0/CPU0:SINEQCR-02#show rpl community TO-ALL
 +Thu Mar 21 10:53:54.420 BDT
 +community-set TO-ALL
 +  58717:100
 +end-set
 +!
 +RP/0/RP0/CPU0:SINEQCR-02#show rpl community CACHE-COMMUNITY
 +Thu Mar 21 10:53:58.441 BDT
 +community-set CACHE-COMMUNITY
 +  58717:1900,
 +  58717:1910,
 +  58717:1930,
 +  58717:1940,
 +  58717:1950
 +end-set
 +!
 +RP/0/RP0/CPU0:SINEQCR-02#
 +RP/0/RP0/CPU0:SINEQCR-02#show rpl community BLACKHOLE      
 +Thu Mar 21 10:54:08.933 BDT
 +community-set BLACKHOLE
 +  2914:666,
 +  6762:666,
 +  6939:666,
 +  65535:666,
 +  7473:995,
 +  65299:9498,
 +  64999:0,
 +  4755:0
 +end-set
 ! !
 RP/0/RP0/CPU0:SINEQCR-02# RP/0/RP0/CPU0:SINEQCR-02#
ncs_5500_rtr_bgp.txt · Last modified: 2024/03/21 04:54 by sysadm