Cisco Cisco IOS Software Release 12.2(27)SBC

Page de 39
MPLS-Aware NetFlow
  How to Configure MPLS-Aware NetFlow
11
Cisco IOS Release: Multiple releases (see Feature Information table)
Step 3
interface
 type slot/port-adapter/port 
or
interface
 type slot/port 
Example:
Router(config)# interface pos 0/2/0
or
Example:
Router(config)# interface pos 3/0
Specifies the interface and enters interface configuration 
mode.
The type argument is the type of interface to be 
configured. 
The slot argument is the slot number. Refer to the 
appropriate hardware manual for slot and port 
information.
The /port-adapter argument is the port adapter number. 
Refer to the appropriate hardware manual for 
information about port adapter compatibility.
The /port argument is the port number. Refer to the 
appropriate hardware manual for slot and port 
information.
Note
Use the slot/port-adapter/port argument for the 
Cisco 7500 series router. Use the slot/port argument 
for the Cisco 7200 series router.
Step 4
ip address
 ip-address mask [secondary]
Example:
Router(config-if)# ip address 10.10.10.2 
255.255.255.0
Sets a primary or secondary IP address for an interface.
The ip-address argument is the IP address of the 
interface.
The mask argument is the mask for the associated IP 
subnet.
 
The secondary keyword specifies that the configured 
address is a secondary IP address. If this keyword is 
omitted, the configured address is the primary IP 
address.
Step 5
ip flow ingress
Example:
Router(config-if)# ip flow ingress
Enables NetFlow for IP routing.
Step 6
Repeat Steps 3, 4, and 5 for each interface where you 
want to configure NetFlow accounting.
Step 7
exit
Example:
Router(config-if)# exit
Exits to global configuration mode.
Command or Action
Purpose