Advantech EKI-7657C user manual Snmp Commands Set, 10 Mac/Filter Table Commands Set

Page 44

Table 3.10: Mac/Filter Table Commands Set

Netstar Commands

Level

Description

Example

 

 

 

 

 

 

mac-address-table static hwaddr

I

Configure MAC address table of

switch(config)#interface fastEthernet 2

[MAC]

interface (static).

switch(config-if)#mac-address-table static hwaddr

 

 

 

000012345678

 

mac-address-table filter hwaddr

G

Configure MAC address

switch(config)#mac-address-table filter hwaddr

[MAC]

table(filter)

000012348678

 

 

 

show mac-address-table

P

Show all MAC address table

switch#show mac-address-table

show mac-address-table static

P

Show static MAC address table

switch#show mac-address-table static

show mac-address-table filter

P

Show filter MAC address table.

switch#show mac-address-table filter

no mac-address-table static hwaddr

 

Remove an entry of MAC address

switch(config)#interface fastEthernet 2

[MAC]

I

table of interface (static)

switch(config-if)#no mac-address-table static

 

 

 

hwaddr 000012345678

no mac-address-table filter hwaddr

G

Remove an entry of MAC address

switch(config)#no mac-address-table filter hwaddr

[MAC]

table (filter)

000012348678

 

 

 

no mac-address-table

G

Remove dynamic entry of MAC

switch(config)#no mac-address-table

 

address table

 

 

 

 

 

 

3.1.11SNMP Commands Set

Table 3.11: SNMP Commands Set

Netstar Commands

Level

Description

Example

 

 

 

 

snmp system-name

G

Set SNMP agent system name

switch(config)#snmp system-name l2switch

[System Name]

 

 

 

 

 

snmp system-location

G

Set SNMP agent system location

switch(config)#snmp system-location lab

[System Location]

 

 

 

 

 

snmp system-contact

G

Set SNMP agent system contact

switch(config)#snmp system-contact where

[System Contact]

 

 

 

 

 

snmp agent-mode

G

Select the agent mode of SNMP

switch(config)#snmp agent-mode v1v2cv3

[v1v2cv3v1v2cv3]

 

 

 

 

 

snmp community-strings [Community]

G

Add SNMP community string.

switch(config)#snmp community-strings public

right

 

right rw

[RO/RW]

 

 

 

snmp-server host

 

Configure SNMP server host

switch(config)#snmp-server host 192.168.1.50

[IP address]

 

information and community string

community public trap-version v1

community

G

 

(remove)

[Community-string]

 

Switch(config)#

 

 

trap-version

 

 

no snmp-server host

[v1v2c]

 

 

192.168.1.50

snmpv3 context-name

G

Configure the context name

switch(config)#snmpv3 context-name Test

[Context Name ]

 

 

 

 

 

snmpv3 user

 

Configure the userprofile for

switch(config)#snmpv3 user test01 group G1

[User Name]

 

SNMPV3 agent. Privacy password

password AuthPW PrivPW

group

 

could be empty.

 

[Group Name]

G

 

 

password

 

 

 

[Authentication Password] [Privacy

 

 

 

Password]

 

 

 

snmpv3 access context-name

 

Configure the access table of

switch(config)#snmpv3 access context-name Test

[Context Name ]

 

SNMPV3 agent

group G1 security-level AuthPriv

group

 

 

match-rule Exact views V1 V1 V1

[Group Name ]

 

 

 

security-level

 

 

 

[NoAuthNoPrivAuthNoPrivAuthPriv]

G

 

 

match-rule

 

 

 

[ExactPrifix]

 

 

 

views

 

 

 

[Read View Name] [Write View Name]

 

 

 

[Notify View Name]

 

 

 

snmpv3 mibview view

 

Configure the mibview table of

switch(config)#snmpv3 mibview view V1 type

[View Name]

G

SNMPV3 agent

Excluded sub-oid 1.3.6.1

type

 

 

 

 

 

[ExcludedIncluded]

 

 

 

EKI-7657C _Manual_ed1

34

Image 44
Contents EKI-7657C Copyright Acknowledgements Product Warranty 2 years Declaration of Conformity FCC Class a Technical Support and AssistanceSafety Instructions Safety Precaution Static Electricity Contents Chapter Commands Level Port Troubleshooting Overview Dual Power Input IntroductionSFP Advantage High-Speed TransmissionsWide Operating Temperature Easy TroubleshootingFlexible Mounting Advanced ProtectionFeatures Specification Communications PowerInterface MechanismEnvironment CertificationsSafety Precaution Packing ListEKI-7657C Manualed1 Installation LED Indicators EKI-7657C LED DefinitionDimensions units mm Front View of EKI-7657CSide View of EKI-7657C Rear View of EKI-7657C Top View of EKI-7657C Mounting Wall mountingInstallation to DIN-rail Step DIN-rail MountingInstallation to DIN-rail Step Network Connection Connection to a Fiber Optic NetworkTransceiver Inserted 11 Remove LC connector Power Connection 13 Pin Assignment of the Power ConnectorWiring the Digital Inputs/Outputs 14 Pin Assignment of the Dido ConnectorPage Configuration Configuration RS-232 ConsoleCOM Port Properties Setting Commands Level Command LevelCommands Set List System Commands SetCommands Set List System Commands SetPort Commands Set Port Commands SetTrunk Commands Set Trunk Commands SetVlan Commands Set Vlan Commands SetSpanning Tree Commands Set Spanning Tree Commands SetQOS Commands Set Igmp Commands Set10 Mac/Filter Table Commands Set QOS Commands Set11 Snmp Commands Set Snmp Commands Set10 Mac/Filter Table Commands Set Port Mirroring Commands Set 13 802.1x Commands Set12 Port Mirroring Commands Set 13 802.1x Commands SetTftp Commands Set 14 Tftp Commands Set15 SysLog,SMTP,Event Commands Set SystemLog, Smtp and EventSntp Commands Set 16 Sntp Commands SetRing Commands Set 17 X-ring Commands SetManagement will not be configured Web BrowserMain System System InformationIP Configuration IP ConfigurationDhcp Server-System configuration Dhcp Client-System Configuration11 Dhcp Server Client Entries Dhcp Server-Port and IP BindingsTFTP-Update Firmware TFTP-Restore Configuration14 Tftp Restore Configuration TFTP-Backup ConfigurationSystem Event Log-Syslog Configuration System Event Log-SMTP Configuration17 Smtp Configuration System Event Log-Event Configuration18 Event Configuration Fault Relay Alarm19 Fault Relay Alarm Sntp Configuration 18 UTC Timezone20 Sntp Configuration IP Security 21 IP SecurityUser Authentication 22 User AuthenticationDigital Output Digital Input/OutputDigital Input 23 Digital Input/Output interface Port Port StatisticsPort Control 25 Port ControlAggregator setting Port Trunk26 2 work ports with Lacp enabled Aggregator InformationState Activity Passive30 State Activity Port Mirroring 31 Port MirroringRate Limiting 32 Rate LimitingProtocol Vlan configurationVlan configuration Port-based Vlan 34 Port based mode 35 Port based mode-Add interface 802.1Q Configuration 802.1Q Vlan37 802.1Q Vlan Configuration Group Configuration38 Edit Group Configuration interface Rapid Spanning TreePage RSTP-System Configuration RSTP-Port Configuration41 Rstp Port Configuration interface Snmp Configuration System Configuration Community StringsAgent Mode Trap ConfigurationUser Profile SNMPV3 ConfigurationContext Table 44 Snmp V3 Configuration interface Group TableAccess Table MIBview TableQoS Configuration QoS Policy and Priority TypePort Base Priority COS ConfigurationTOS Configuration Igmp Configuration 19 Igmp typesRing 47 X-ring interface Lldp Configuration 48 Lldp Configuration interface802.1X/Radius Configuration 802.1X/Radius System Configuration802.1x/Radius-Port Configuration Security50 802.1x/Radius Port Setting interface 802.1X/Radius-Misc Configuration51 802.1x/Radius Misc Configuration interface MAC Address Table-MAC Filtering MAC Address TableMAC Address Table-Static MAC Address 53 MAC Filtering interface MAC Address Table-All MAC AddressesMAC Address Table-Multicast Filtering 55 All MAC Address interfaceFactory Default 56 Factory Default interfaceSave Configuration 57 Save Configuration interfaceSystem Reboot 58 System Reboot interfaceTroubleshooting Diagnosing LED Indicators Pin Assignment & Wiring Appendix a Pin Assignment & Wiring Figure A.4 DB 9-pin female connector EKI-7657C Manualed1 Compatible SFP Modules Appendix B Compatible SFP Modules