March 2021

You are currently browsing the monthly archive for March 2021.

ANX(Advanced NETCONF Explorer) 是一个cisco开源软件, 发布如下github上,能帮助我们快速的查找一些sensor path, 做一些telemetry的实验, 具体的安装步骤可参考github主页。

https://github.com/cisco-ie/anx

安装

[root@xuxing239 ~]# git clone https://github.com/cisco-ie/anx
[root@xuxing239 ~]# cd anx/
[root@xuxing239 anx]# docker build -t netconf-explorer .
[root@xuxing239 anx]# docker run --name netconf-exlorer -d -p 9269:8080 netconf-explorer
[root@xuxing239 anx]# docker ps
CONTAINER ID   IMAGE              COMMAND                  CREATED      STATUS      PORTS                    NAMES
34cd21044420   netconf-explorer   "/usr/share/jetty9/b…"   3 days ago   Up 3 days   0.0.0.0:9269->8080/tcp   netconf-exlorer
[root@xuxing239 anx]# 
Read the rest of this entry »

Tags:

一个简单的从global rib往vrf内leak路由的配置案例.

RP/0/0/CPU0:PE4#show run vrf A    
Sun Mar 28 16:35:18.881 UTC
vrf A
 address-family ipv4 unicast
  import from default-vrf route-policy test advertise-as-vpn   <<<<<<<
  import route-target
   1:1
  !
  export route-target
   1:1
  !
 !
!

RP/0/0/CPU0:PE4#
RP/0/0/CPU0:PE4#
RP/0/0/CPU0:PE4#show run route-policy test 
Sun Mar 28 16:35:28.070 UTC
route-policy test
  if destination in test then
    pass
  else
    drop
  endif
end-policy
!

RP/0/0/CPU0:PE4#
RP/0/0/CPU0:PE4#show run prefix-set test 
Sun Mar 28 16:35:34.210 UTC
prefix-set test
  11.11.11.11/32
end-set
!

RP/0/0/CPU0:PE4#
Read the rest of this entry »

Normal monitor session

RP/0/RP0/CPU0:NCS55A2-A#show run int tenGigE 0/0/0/0
Mon Mar 15 10:15:55.008 UTC
interface TenGigE0/0/0/0
mtu 9000
ipv6 address 2000:0:0:1::1/64
monitor-session mon1 ethernet direction rx-only port-level
!

RP/0/RP0/CPU0:NCS55A2-A#
RP/0/RP0/CPU0:NCS55A2-A#show run monitor-session mon1
Mon Mar 15 10:16:00.046 UTC
monitor-session mon1 ethernet
destination interface TenGigE0/0/0/11
!

Read the rest of this entry »

ESI

ESI 主要用来标识CE, 相同CE使用一样的ESI.
EVPN技术为PE与某一CE的连接定义唯一的标识ESI(Ethernet Segment Identifier),连接同一CE的多个PE上的ESI值是相同,连接不同CE的ESI值不同。PE之间进行路由传播时,路由中会携带ESI值使PE间可以感知到连接同一CE的其他PE设备。

Read the rest of this entry »