Summary of configuration formats of dynamic routing (ripV2, ospf, VPN, bgp, IS-IS)
1. r12002router rip enable rip Protocol no atuo-summary disable automatic summary of version 2 2 network x mask x declaring the network segment (the subnet mask is a positive mask, mask can be disabled. 2. Enable the ospf protocol for ospfrouter ospf x, and add the Process Code router-id x to specify the router-id (the address must be ipv4) network x mask x area x declares the network segment under the process (the subnet mask is an anti-mask, and the mask can be left blank) the ip ospf x area x ipv4 interface declares the ipv6 ospf x area x ipv6 interface, no atuo-summary on the corresponding AS number prohibits automatic summary of network x mask x declaring network segments (the subnet mask is an anti-mask, and the mask can not be used) 4. bgprouter bgp x enables the bgp protocol. On the corresponding AS number, neighbor x remote-as x specifies the adjacent AS (neighbor Autonomous System Network) network x mask x declaring network segments (subnet mask IS positive mask) 5. IS-ISclns routing enters clns (optional) router isis enabled IS-IS protocol net 49. x. x. x. x.00 defines the IS-IS address (AFI = 49; X in the middle represents the ipv4 address; 00 in the end represents the net address) under the ip router isis interface, the declaring protocol is-type level-1 process definition protocol level is-type level-2 process definition protocol level is-type level-1 interface specified level (router when it is a VBR)