38 import map, Import map – PLANET XGS3-24042 User Manual

Page 643

Advertising
background image


37-282

Usage Guide:

Use this command to exit the mode so to end the address-family configuration when configuring

address-family under BGP.

Example:

Switch(config)#router bgp 100

Switch(config-router)#address-family ipv4 unicast

Switch(config-router-af)# exit-address-family

Switch(config-router)#

Related Command:

address-family

37.38 import map

Command:

import map <map-name>

no import map <map-name>

Function:

Use this command to configure the route-map regulations when introducing routes into VRF.

Parameter:

<map-name> is the route-map name used.

Command Mode:

VRF mode.

Usage Guide:

Use the route map command route-map NAME permit|deny <1-65535> to create the route-map and

establish the regulations. Using this command will apply regulations to the route introducing of this

VRF.

Example:

This example configures a route map1, then configures VRF DC1 to use the route map.

Switch(config)#route-map map1 permit 15

Switch(config-map)#match interface Vlan1

Switch(config-map)#set weight 655

Reconfiguring VRF DC1 with this route-map

Switch(config-map)#exit

Switch(config)#ip vrf DC1

Switch(config-af)#rd 100:10

Switch(config-af)#route-target both 100:10

Advertising