Chapter 5
Setup and Configuration
Section 5.22.6.1
Viewing a List of Route Targets
To view a list of VRF definitions, type:
show running-config global vrf definition name routing-target
If definitions have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config global vrf definition vrf1 route-target
global
vrf
definition vrf1
route-target export 200:1
!
route-target import 200:2
!
route-target both 100:2
!
!
!
!
If no VRF definitions have been configured, add definitions as needed. For more information, refer to
Section 5.22.5.2, "Adding a VRF
Section 5.22.6.2
Adding a Route Target
To add a route target, do the following:
1.
Make sure the CLI is in Configuration mode.
2.
Add the definition by typing:
global vrf definition name routing-target [ export | import | both ] community
Where:
• name is the name of the VRF definition
• community is the route distinguisher for the target VRF to either export the routing table to, import the
routing table from, or both
Type commit and press Enter to save the changes, or type revert and press Enter to abort.
3.
Section 5.22.6.3
Deleting a Route Target
To delete a route target, do the following:
1.
Make sure the CLI is in Configuration mode.
2.
Delete the definition key by typing:
no global vrf definition name routing-target [ export | import | both ] community
Where:
• name is the name of the VRF definition
386
Definition".
RUGGEDCOM ROX II
CLI User Guide
Viewing a List of Route Targets