bfd

华为BFD可靠性配置

匿名 (未验证) 提交于 2019-12-02 23:43:01
双向转发检测BFD(Bidirectional Forwarding Detection)是一种全网统一的检测机制,用于快速检测、 监控网络中链路或者IP路由的转发连通状况。此处列举了BFD与静态路由联动配置,以及BFD与ospf联动配置。 实验拓扑图 一、BFD与静态路由联动配置 (1)ip地址的配置 R1: sys sysn R1 inter g0/0/1 ip address 10.0.13.1 24 inter g0/0/0 ip address 10.0.12.1 24 quit R2: sys sysn R2 inter g0/0/0 ip address 10.0.13.13 24 quit R3: sys sysn R3 inter g0/0/0 ip address 10.0.12.12 24 quit (2)在R2和R3上配置静态路由实现通信 R2: ip route-static 10.0.12.0 24 10.0.13.1 R3: ip route-static 10.0.13.0 24 10.0.12.1 (3)在R1和R2路径上启用BFD配置,检测R1到R2接口 R1: [R1]bfd //启用BFD配置 [R1-bfd]quit [R1]bfd 1 bind peer-ip 10.0.13.13 source-ip 10.0.13.1 auto /

H3C交换机日常安全配置

孤者浪人 提交于 2019-12-02 05:40:44
1、本地mac地址认证配置 local-user 54-ee-75-45-2c-75 password simple 54-ee-75-45-2c-75 service-type lan-access # mac-authentication mac-authentication domain mac-auth mac-authentication user-name-format mac-address with-hyphen mac-authentication interface e1/0/1 to e1/0/24 # domain mac-auth authentication lan-access local 2、查看mac地址认证结果 dis mac-authentication 3、配置RADIUS方案 radius scheme 2000 primary authentication 10.1.1.1 1812 primary accounting 10.1.1.2 1813 key authentication abc key accounting abc user-name-format without-domain quit # 配置ISP域的AAA方案。 domain 2000 authentication default radius-scheme

variable name, function arguments at run time in C

落爺英雄遲暮 提交于 2019-12-01 20:02:32
问题 Is it possible to know a function arguments and variables' name types at runtime in C program ? For example, if I have a function: int abc(int x, float y , somestruct z ){ char a; int b ; } Can I know inside this function abc() , what are the names of arguments and variables i.e. in this case its x , y , z , a , b and they are of type int , float , somestruct , char , int . Say if there is another function: float some_func(specialstruct my_struct, int index){ } I should know that arguments

variable name, function arguments at run time in C

陌路散爱 提交于 2019-12-01 18:37:59
Is it possible to know a function arguments and variables' name types at runtime in C program ? For example, if I have a function: int abc(int x, float y , somestruct z ){ char a; int b ; } Can I know inside this function abc() , what are the names of arguments and variables i.e. in this case its x , y , z , a , b and they are of type int , float , somestruct , char , int . Say if there is another function: float some_func(specialstruct my_struct, int index){ } I should know that arguments name are my_struct , index and types are specialstruct , int . I need this info at runtime ? I have

gdb fails on mountain lion

折月煮酒 提交于 2019-11-28 06:39:32
I tried to compile a 7.x Version of gdb without any luck. I codesigned the executable(http://sourceware.org/gdb/wiki/BuildingOnDarwin). With following version there were these problems. 7.5,7.4,git clone: unknown load command 0x2a (and others) for my application and different system libraries when starting gbd. When trying to print a vector for example i always get: Could not find the frame base for "main(int, char**)" 7.3 (macports and from gdb-website): on starting the application it fails to set the breakpoint and continues to run. (gdb) start Temporary breakpoint 1 at 0x100000950: file ..

BGP团体属性的应用案例

淺唱寂寞╮ 提交于 2019-11-28 04:58:59
XRV1 ===================================================================== version 15.5 service timestamps debug datetime msec service timestamps log datetime msec no platform punt-keepalive disable-kernel-core platform console serial ! hostname XRV1 ! boot-start-marker boot-end-marker ! ! enable secret 5 $1$9RNm$rUz.MHwERzXpqEom.vYs7. ! interface Loopback0 ip address 192.168.1.1 255.255.255.255 ip router isis 100 ! interface GigabitEthernet1 ip address 10.10.1.1 255.255.255.252 ip router isis 100 negotiation auto cdp enable isis circuit-type level-2-only ! interface GigabitEthernet2 ip