You are on page 1of 3

clock timezone IST 5 30

clock set 13:24:00 31 Jan 2015

SNMP Config Command :

snmp-server community public RO


snmp-server community private RW
snmp-server host 10.173.75.16 private
snmp-server host 10.173.75.16 public

********************************************

Netflow Command :

interface FastEthernet0/0
ip route-cache flow

interface Tunnel0
ip route-cache flow

interface Serial0/0
ip route-cache flow

ip flow-export source Fa0/0


ip flow-export version 5
ip flow-export destination 10.173.75.16 9996

DC-INT-REL-2821(config)#ip flow-export destination 172.21.0.22 9996


%Exceeded maximum export destinations

ip flow-export destination 151.200.10.71 9996


ip flow-export destination 151.200.10.24 9996

********************************************

logging on
logging source-interface Fa0
logging 172.16.3.154
logging buffered 51200 debugging

*******************************************

DHCP config

ip dhcp excluded-address 172.100.33.1 172.100.33.20


!
ip dhcp pool test-dhcppool
network 172.100.33.0 255.255.255.0
default-router 172.100.33.1

*******************************************

For H3C Router

snmp-agent sys-info version v1


snmp-agent community read public
snmp-agent community write private
snmp-agent target-host trap address udp-domain 172.17.0.2 params securityname
private
snmp-agent target-host trap address udp-domain 172.17.0.2 params securityname
public

******************************************

For H3C Router

interface e0/0
ip netstream inbound
ip netstream outbound
ip netstream export host x.x.x.x 9996 (where x.x.x.x is Netflow server IP
add.)
ip netstream export source interface e0/1

*****************************************
For DAX Router :

snmp-server start
snmp-server community public view default ro

interface fastethernet0
ipfix ingress
ipfix egress
ipfix destination x.x.x.x 9996
ipfix source fastethernet0
ipfix option export

****************************************
For Dlink - SNMP

create snmp host x.x.x.x v1 ReadOnlyUser


create snmp host x.x.x.x v1 ReadWriteUser

********************************************
!
monitor session 1 source interface Gi0/21 , Gi0/45
monitor session 1 destination interface Gi0/50

Switch#sh monitor session 1


Session 1
---------
Type : Local Session
Source Ports :
Both : Gi0/21,Gi0/45
Destination Ports : Gi0/50
Encapsulation : Native
Ingress : Disabled

******************************************
Creating Command Aliases on Cisco Router
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config) #alias exec rt show ip route
Router(config) #alias exec on show ip ospf neighbor
Router(config) #end
Router#

Router#show aliases
Exec mode aliases:
h help
lo logout
p ping
r resume
s show
u undebug
un undebug
w where
rt show ip route
on show ip ospf neighbor
Router#

You might also like