首页 > 代码库 > 123

123

pasting

 

 neighbor 22.1.1.1 route-reflector-client   //配置客户机

 

----------------------------------

    1. [M] show ip bgp详解

         Network          Next Hop            Metric LocPrf Weight Path

     *m  8.8.8.8/32       123.45.67.46                           0 12345 10001 i

     *>                   123.45.67.45                           0 12345 10001 i

     s>  145.11.11.11/32  145.67.89.18        154368         32768 ?

     s>  145.12.12.12/32  0.0.0.0                  0         32768 ?

    m:负载分担

    s:路由被抑制,原因是IGP可达

 

x = None

try:

    x = 1/0

except:

    print "input error"

finally:

    print "cleaning up..." #不管try是否异常,肯定会被执行,用于清理异常

 

123