Using the vro protocol is very important for the use of routing, and it can also get a lot of convenience, So I studied how to use the vro protocol to save network bandwidth, I would like to share it with you here and hope it will be useful to you. Managing network bandwidth is becoming increasingly important. In a network without other routers, it is meaningless to route the Broadcast Communication outbound from the network interface. This is very inefficient for your network bandwidth and vro resources. Let's take a look at how to use the passive-interface command to better control the bandwidth.
To correctly configure the router protocol, the passive-interface command is not unknown. However, if you are not using dynamic router protocols such as OSPF, OSPF, or RIP, you will not be able to use this command. The passive-interface command only works in router configuration mode RouterConfigurationMode ). When you see the following command line prompt, you will know that you have entered this mode: Routerconfig-router ).
You can use the passive-interface command to notify the dynamic Router Protocol not to send network broadcasts through this interface. This command can take effect for all IP router protocols, except for BGP. However, this command works on OSPF, which IS a little different from IS-IS. OSPF is used to passively specify the network interface as the stub detail area), and no route updates are sent or received. When using RIP, IGRP, and VPN, it does not send any routes, but it can receive them. Similarly, it sends broadcasts to all non-passive interfaces on the network.
The passive-interface command can be used to specify an interface as the passive mode. This means that it will not send route updates. First, it sets all interfaces as the passive mode. Then, use the nopassive-interface command on the interfaces you want to send route updates. Let's look at an example for each of the two methods. Note: in both cases, it is assumed that you have added a network command to the network where the router protocol is a passive interface ). To change an interface to passive mode, you only need to specify the interface. Here is an example: Routerconfig) # routerripRouterconfig-router) # passive-interfaceEthernet0/0.
To set all interfaces as passive and open an interface separately, you only need to use the passive-interfacedefault and nopassive-interface commands in IOS12.0 ). The following is an example:
Routerconfig) # routerripRouterconfig-router) # passive-interfacedefaultRouterconfig-router) # nopassive-interfaceSerial0/0. Let's look at a simple network dedicated to demonstrating deep application of this command. Suppose you have two routers connected through a T1 loop, and the routers run RIP. Each router connects to a LAN, and the computer connects to the LAN through the ethernet card.
You need to know the network of each vro, right? This is why dynamic router protocols are used. However, on the LAN, no other routers can exchange route updates between the two routers. In this case, why do you want to broadcast a route update on the LAN interface every 30 seconds? The answer is that you don't want. This is a waste of LAN bandwidth and computer CPU time. If it is just a small update, it does not cause any problems, but if you can avoid it, why do you send such unnecessary communication? So how can we eliminate such unnecessary communication? On Each router, enter the RIP configuration mode RIPConfigurationmode), and use the passive-interface command to stop sending route updates on the LAN port.
The following is an example
Routerconfig) # routerRIPRouterconfig-router) # passive-interfaceEthernet0/0
Routerconfig-router) # network1.0.0 ...... 0 theSerialnetwork)
Routerconfig-router) # network2.0.0.0theEthernetnetwork)
Remember, this means that the system broadcasts the two networks you set by connecting to the serial interface of another vro. In addition, this does not prevent your router from using RIP from using the local network interface) to receive route updates. If another vro is also on the LAN and sends updates to your vro, it can still receive these updates.