禁止CDP协议
$ d5 g* p& c1 v7 c; W 提问 为了安全期间不想让邻近设备发现自己设备的信息
6 T9 F; y( E3 l% L9 f! P/ n: s( G0 f 回答
# o, y, I( P) S Router1#configure terminal
$ S8 U" q5 { d m1 I5 m+ ?0 b Enter configuration commands, one per line. End with CNTL/Z.' M2 w$ x) C1 B
Router1(config)#cdp run
3 t, k2 j" S4 O, Y4 c, s Router1(config)#interface FastEthernet0/0
* \8 t2 `9 ^( a) K1 d Router1(config-if)#no cdp enable
y f5 L3 u/ {$ J Router1(config-if)#end
) r9 R$ Z' G1 i* `3 s+ V Router1#
& ^1 Z- P' ]5 d) b9 P 注释 为了安全期间可以在边界设备上禁止CDP |