How to enable MPLS Accouting with Netflow Feature?

如果要讓Netflow支援MPLS這種比較進階的traffic flow,就必須使用version 9。
建議各位可以參考以下幾份文章:

MPLS Egress NetFlow Accounting
http://ciscosystems.com/en/US/docs/ios/12_0st/12_0st10/feature/guide/egress.html

Configuring MPLS Egress NetFlow Accounting
http://www.cisco.com/en/US/docs/ios/12_4/netflow/configuration/guide/onf_dmeg.html

MPLS-aware NetFlow
http://www.cisco.com/en/US/docs/ios/12_0s/feature/guide/fsmnf24.html

Configuring MPLS-aware NetFlow
http://www.cisco.com/en/US/docs/ios/12_4/netflow/configuration/guide/onf_dmnf.html

假設現在題目要求在Serial 0/0介面上進行MPLS Label Accounting,同時要將資料輸出到100.1.1.1 Port 1001這台Netflow Server:

interface Serial0/0
ip route-cache flow
mpls netflow egress
!
ip flow-export version 9
ip flow-export destination 100.1.1.1 1001
ip flow-cache mpls label-positions

Comments

Anonymous said…
如果主接口存在若干個子接口,并綁定到VRF上,Netflow需要在各接口上啟用?還是只需要在主接口上啟用?
CCIE11440 said…
Netflow指令必須在不同子介面之下啟用

Popular posts from this blog

TCP/IP 明確擁塞通知 (ECN)

L2TPv3 Enables Layer 2 Services for IP Networks

Q-in-Q(Dot1Q Tunnel) Sample Configuration