The value is an integer ranging from 0 to 4294967295.
route-policyroute-policy-name
Specifies the route-policy used to filter routes and modify route attributes when these routes are imported from other protocols.
The name is a string of 1 to 200 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-filterroute-filter-name
Specifies the route-filter used to filter routes and modify route attributes when these routes are imported from other protocols.
The value is a string of 1 to 200 case-sensitive characters, spaces not supported. If parameters are included in the referenced route-filter, specify values for them in the format of (var1, var2, ...var8) behind the route-filter name. A maximum of eight parameters can be specified, and each value ranges from 1 to 200 characters.
Views
BGP multi-instance VPN instance IPv4 address family view
Default Level
2: Configuration level
Task Name and Operations
Task Name
Operations
bgp
write
Usage Guidelines
Usage Scenario
BGP can import routes using the import-route command or network command:
The import-route command imports routes of a specified type into the BGP routing table, such as RIP, OSPF, IS-IS, static, or direct routes.
The network command imports routes with the specified prefix and mask into the BGP routing table. Compared with the import-route command, the network command imports more specific routes.
Precautions
The import-route route-policy command is mutually exclusive with the import-route route-filter command.