|
Command or Action |
Purpose |
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
-
Enter your password if prompted.
|
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode. |
|
ip vrf vrf-id
Example:
Router(config)# ip vrf red
|
Defines a VPN routing and forwarding (VRF) instance and enters VRF configuration mode. |
|
rd route-distinguisher
Example:
Router(config)# rd 200:2
|
Creates a routing and forwarding table for a Virtual Private Network (VPN) routing/forwarding instance (VRF). |
|
route-target {import | export | both} route-target-ext-community
Example:
Router(config)# route-target both 200:20
|
Creates a route-target extended community for a VPN VRF. |
|
interface type number
Example:
Router(config)# interface loopback 0
|
Specifies the interface type and number to configure and enters interface configuration mode. |
|
ip address ip-address mask
Example:
Router(config-if)# ip address 172.20.1.2 255.255.255.0
|
Configure an IP address on the interface. |
|
exit
Example:
Router(config-if)# exit
|
Exits interface configuration mode and returns to global configuration mode. |
|
mpls label {ldp | tdp}
Example:
Router(config)# mpls label protocol ldp
|
Specifies the MPLS label distribution protocol. |
|
mpls ldp router-id type number
Example:
Router(config)# mpls ldp router-id loopback0
|
Specifies a preferred interface for determining the Label Distribution Protocol (LDP) router ID. |
|
interface type number
Example:
Router(config-if)# interface fastethernet1/1
|
Specifies the interface type and number to configure and enters interface configuration mode. |
|
ip address ip-address mask
Example:
Router(config-if)# ip address 172.16.1.2 255.255.255.0
|
Configures an IP address on the interface. |
|
mpls ip
Example:
Router(config-if)# mpls ip
|
Enables MPLS forwarding of IPv4 packets along normally routed paths for a particular interface. |
|
ip flow ingress
Example:
Router(config-if)# ip flow ingress
|
Enables NetFlow on the interface to capture traffic that is being received by the interface. |
|
interface type number
Example:
Router(config)# interface GigabitEthernet5/2
|
Specifies the interface type and number to configure and enters interface configuration mode. |
|
ip vrf forwarding vrf-id
Example:
Router(config-if)# ip vrf forwarding red
|
Associates a VPN VRF with an interface or subinterface. |
|
ip address ip-address mask
Example:
Router(config-if)# ip address 10.1.0.1 255.255.255.0
|
Configure an IP address on the interface. |
|
exit
Example:
Router(config-if)# exit
|
Exits interface configuration mode and returns to global configuration mode. |
|
mls nde sender
Example:
Router(config)# mls nde sender
|
Enables NetFlow on the PFC. |
|
mls flow ip {interface-destination-source | interface-full}
Example:
Router(config)# mls flow ip interface-destination-source
|
Specifies the NetFlow flow mask for IP traffic. |
|
ip flow-export version 9
Example:
Router(config)# ip flow-export version 9
|
Configures NetFlow data export to use the version 9 export format. |
|
ip flow-export destination {ip-address | hostname} udp-port
Example:
Router(config)# ip flow-export destination 172.16.2.6 99
|
Configures the IP address or hostname of the workstation to which you want to send the NetFlow information and the number of the UDP port on which the workstation is listening for this input. |
|
flow hardware mpls-vpn ip vrf-id
Example:
Router(config)# flow hardware mpls-vpn ip red
|
Enables the NDE for VRF Interfaces feature for the VRF. |