Cisco Cisco IOS Software Release 12.2(33)SRE

Page de 40
 
NDE for VRF Interfaces
  How to Configure NDE for VRF Interfaces for an MPLS VPN
8
Cisco IOS Release 12.2(33)SRB
Step 7
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.
Step 8
exit
Example:
Router(config-if)# exit
Exits interface configuration mode and returns to global 
configuration mode.
Step 9
mpls label
 {ldp | tdp}
Example:
Router(config)# mpls label protocol ldp
Specifies the MPLS label distribution protocol.
Step 10
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.
Step 11
interface
 type number
Example:
Router(config-if)# interface fastethernet1/1
Specifies the interface type and number to configure and 
enters interface configuration mode.
Step 12
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.
Step 13
mpls ip
Example:
Router(config-if)# mpls ip
Enables MPLS forwarding of IPv4 packets along normally 
routed paths for a particular interface.
Step 14
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.
Step 15
interface
 type number
Example:
Router(config)# interface GigabitEthernet5/2
Specifies the interface type and number to configure and 
enters interface configuration mode.
Step 16
ip vrf forwarding
 vrf-id
Example:
Router(config-if)# ip vrf forwarding red
Associates a VPN VRF with an interface or subinterface.
Command or Action
Purpose