! Sample Router configuration with Accounting enabled ! version 3.1 ! port description et.2.8 "To lab network" vlan create LAB_NMS port-based vlan add ports et.2.1-16 to LAB_NMS interface create ip to_core address-netmask 192.0.2.130/30 mac-addr 2 port gi.3.1 interface create ip Lab-YagoSW address-netmask 192.0.2.1/27 vlan LAB_NMS ip disable proxy-arp interface all ! ! account for all ip (and icmp) flow ! acl lfap permit ip any any any any accounting hourly acl lfap apply interface to_core input output ! ! Router config ! ip-router global set router-id 10.0.1.101 ip-router policy redistribute from-proto direct network 192.0.2.0/27 to-proto ospf ospf create area 0.0.1.100 ospf add interface 192.0.2.1 to-area 0.0.1.100 ospf set interface 192.0.2.1 cost 4 ospf start ! ! mib2 system set name acnt system set location "your location goes here" system set contact "your name goes here" ! ! send to one (up to 3 may be specified) accounting servers ! lfap set server 192.0.172.15 lfap start