No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

The Subnet Mask of the Route Advertised by the Router Is Not Displayed In the Configuration Script After the Network Command Is Executed

Publication Date:  2012-07-27 Views:  25 Downloads:  0
Issue Description
After advertising the VPNv4 route 220.206.150.0 255.255.255.0 under the IPv4 VPN instance on the NE80E, the customer at a certain office runs the display current-configuration command to check the configuration and finds that the 24-bit mask 255.255.255.0 of the corresponding network segment is not displayed after the network command is executed.
The customer runs the following command:
[quidway-BGP-GPRS_Gn_C]network 220.206.150.0 255.255.255.0 route-policy rp_BGP_community_out
The configuration script is as follows:
ipv4-family vpn-instance GPRS_Gn_C
preference 170 170 170
network 220.206.150.0 route-policy rp_BGP_community_out 
 
Alarm Information
Null
Handling Process
In the configuration process, the network segment advertised is 220.206.150.0-255.255.255.0, belonging to class C address segment. The subnet mask configured is 255.255.255.0, whereas the natural mask of class C address segment is also 255.255.255.0. The subnet mask is the same as the natural mask. Therefore, the subnet mask is not displayed in the configuration script. 
Root Cause
1. IP address segments are divided into five types:
A class: 1.0.0.0~126.255.255.255 Natural mask: 255.0.0.0
B class: 128.0.0.0~191.255.255.255 Natural mask: 255.255.0.0
C class: 192.0.0.0~223.255.255.255 Natural mask: 255.255.255.0
D class: 224.0.0.0~239.255.255.255 Broadcast address segment
E class: 240.0.0.0~255.255.255.255 Reserved address segment
2. When the NE40E, NE80E, or the NE5000E of Huawei advertises route information, if the subnet mask of the network segment advertised is the same as the natural mask of this network segment, the subnet mask is not displayed in the configuration script. 
 
Suggestions
Null

END