Dynamic V2 basic configuration commands
[r1]rip 启动
[r1-rip-1]version 2 选择版本2
[r1-rip-1]undo summary 关闭自动汇总
宣告
[r1-rip-1]network 12.0.0.0
[r1-rip-1]network 1.0.0.0
Second, the extended configuration of RIP
1、V2的手工汇总—在更新源路由器上,所有更新发出的接口上进行配置
[r1]interface GigabitEthernet 0/0/1
C[r1-GigabitEthernet0/0/1]rip summary-address 1.1.0.0 255.255.252.0
2. V2 authentication-In the RIP update package, the identity verification key is carried; if the verification is successful, the routing information of the peer can be learned
. Configure on the interface directly connected to the neighbor
[r1-GigabitEthernet0/0/1]rip authentication-mode md5 usual cipher 123456(密码)
Remember that the key format and password at both ends must be exactly the same
3. Silent interface (passive interface)-only receives and does not send routing protocol information, and is used to connect to the interface of the terminal PC user;
decides that it cannot be used to connect to the interface of directly connected neighbors;
[r1]rip
[r1-rip-1]silent-interface GigabitEthernet 0/0/0