Network Management And Monitoring
Syslog Configuration
\[Command] syslog source-interface {etherent|loopback|vlan|mgmt} interface name no syslog source-interface \[Purpose] Configure the source interface for the device to send syslog packets \[Parameter] \[View] System configuration view \[Use Cases] \[Command] syslog ip address port UDP port vrf vrf name no syslog ip address \[Purpose] Specify the syslog server \[Parameter] \[View] System configuration view \[Usage Scenario] Syslog can be used to log messages locally in files or sent over the network to a syslog server. The syslog server can centrally store syslog messages from multiple devices.
SNMP Configuration
\[Command] show snmp-agent trap-target \[Purpose] Display SNMP trap server configuration \[View] System view \[Use Cases] \[Command] show snmp-agent source \[Purpose] Display the SNMP source address and port configuration \[View] System view \[Use Cases] \[Command] show snmp-agent user \[Purpose] Display SNMPv3 user configuration \[View] System view \[Use Cases] \[Command] show snmp-agent threshold \[Purpose] Display SNMP alarm threshold configuration \[View] System view \[Use Cases] \[Command] snmp-agent enable no snmp-agent enable \[Purpose] Enable SNMP function \[View] System configure view \[Use Cases] \[Command] snmp-agent community community name no snme-agent community community name \[Purpose] Add SNMP community \[Parameter] \[View] System configuration view \[Usage Scenario] The community name like a password, and devices within the community use this name for authentication during communication. Only devices with the same configured community name can access each other.
SFLOW Configuration
\[Command] show sflow \[Purpose] Display sFLOW configuration information \[View] System configuration view \[ Use Cases] \[Command] show sflow interface ethernet interface name \[Purpose] Display the packet sampling rate for FLOW sampling \[View] System configuration view \[Use Cases] \[Command] sflow enable \[Purpose] Enable sFLOW function \[View] System configuration view \[Usage Scenario] The sFlow Agent offers two sampling methods for analyzing network traffic conditions from different perspectives Flow sampling and Counter sampling. Flow sampling involves the sFlow Agent device sampling and analyzing packets on specified interfaces based on specific sampling directions and ratios.
Mirror Configuration
\[Command] show mirror session \[ number ] \[Purpose] Show configuration related to mirror \[View] System view \[Use Cases] \[Command] mirror session session id span \[direction {rx|tx|both}] {src-ethernet|src-vlan} port name {dst-ethernet|dst-vlan|dst-link-aggregation} port name no mirror session id span \[Purpose] Create a mirror session or add port to the mirror session \[Parameter] \[View] System configuration view \[Use Cases] \[Command] mirror session id rspan \[direction {rx|tx|both}] {src-ethernet|src-vlan} port name {dst-ethernet|dst-link-aggregation} port name remote vlan vlan id no mirror session id rspan \[Purpose] Create a remote mirroring session or add source/destination interfaces to an existing mirroring session \[Parameter] \[View] System view \[Usage Scenario] RSPAN's main function is to copy the traffic of ports on one switch to an analysis port on another remote switch, allowing network administrators to monitor and analyze traffic on the remote switch without direct access to the target device. Remote Switched Port Analyzer (RSPAN) builds upon local port mirroring by encapsulating packets with a specified VLAN, transmitting them through intermediate devices, and ultimately reaching the destination switch.