Virtual Routing and Forwarding (VRF)
Digi TransPort User Guide
387
Configuring VRFs
To configure one or more VRFs, perform these steps:
Step Command
Purpose
1
Switch# configure terminal
Enters global configuration mode.
2
Switch(config)# ip routing
Enables IP routing.
3
Switch(config)# ip vrf
vrf-name
Names the VRF and enters VRF configuration mode.
4
Switch(config-vrf)# rd
route-distinguisher
Creates a VRF table by specifying a route
distinguisher. Enter either an AS number and an
arbitrary number (
xxx:y
) or an IP address and
arbitrary number (
A.B.C.D.y
).
5
Switch(config-vrf)# route-target
{export|import|both}
route-target-ext-community
Creates a list of import, export, or import and export
route target communities for the specified VRF.
Enter either an AS number and an arbitrary number
(
xxx:y
) or an IP address and arbitrary number
(
A.B.C.D.y
).
Note:
This command is effective only if BGP is
running.
6
Switch(config-vrf)# import map
route-map
(Optional) Associates a route map with the VRF.
7
Switch(config-vrf)# interface
interface-id
Enters interface configuration mode and specifies
the Layer 3 interface to associate with the VRF. The
interface can be a routed port or SVI.
8
Switch(config-if)# ip vrf forwarding
vrf-name
Associates the VRF with the Layer 3 interface.
9
Switch(config-if)# end
Returns to privileged EXEC mode.
10
Switch# show ip vrf [brief|detail|interfaces]
[vrf-name](config-if)# ip vrf forwarding
vrf-name
Verifies the configuration. Displays information
about the configured VRFs.
11
Name of the VRF export route map used to
export IP prefixes from the VRF
Saves your entries in the configuration file.
Содержание TransPort
Страница 1: ...User Guide Digi TransPort ...
Страница 95: ...Regulatory and safety statements Digi TransPort User Guide 95 TransPort WR41Declaration of Conformity ...
Страница 96: ...Regulatory and safety statements Digi TransPort User Guide 96 ...
Страница 97: ...Regulatory and safety statements Digi TransPort User Guide 97 TransPort WR44 Declaration of Conformity ...
Страница 773: ...Manage files Digi TransPort User Guide 773 For example ...