Advantech EKI-7657C user manual Port Commands Set

Page 39

dhcpserver subnetmask

G

Configure subnet mask for DHCP

switch(config)#dhcpserver subnetmask

[Subnet mask]

clients

255.255.255.0

 

dhcpserver gateway

G

Configure gateway for DHCP clients

switch(config)#dhcpserver gateway 192.168.1.254

[Gateway]

 

 

 

 

 

 

dhcpserver dnsip

G

Configure DNS IP for DHCP clients

switch(config)#dhcpserver dnsip 192.168.1.1

[DNS IP]

 

 

 

 

 

dhcpserver leasetime

G

Configure lease time (in hour)

switch(config)#dhcpserver leasetime 1

[Hours]

 

 

 

 

 

 

dhcpserver ipbinding

I

Set static IP for DHCP clients by port

switch(config)#interface fastEthernet 2

[IP address]

 

switch(config)#dhcpserver ipbinding 192.168.1.1

 

 

show dhcpserver configuration

P

Show configuration of DHCP server

switch#show dhcpserver configuration

show dhcpserver clients

P

Show client entries of DHCP server

switch#show dhcpserver clients

show dhcpserver ip-binding

P

Show IP-Binding information of

switch#show dhcpserver ip-binding

 

DHCP server

 

 

 

 

no dhcpserver

G

Disable DHCP server function

switch(config)#no dhcpserver

 

 

 

 

 

 

 

security enable

G

Enable IP security function

switch(config)#security enable

 

 

 

 

 

 

 

security http

G

Enable IP security of HTTP server

switch(config)#security http

 

 

 

 

 

 

 

security telnet

G

Enable IP security of telnet server

switch(config)#security telnet

 

 

 

 

 

 

 

security ip

G

Set the IP security list

switch(config)#security ip 1 192.168.1.55

[Index(1..10)] [IP Address]

 

 

 

 

 

 

 

 

 

show security

P

Show the information of IP security

switch#show security

 

 

 

 

 

 

 

no security

G

Disable IP security function

switch(config)#no security

 

 

 

 

 

 

 

no security http

G

Disable IP security of HTTP server

switch(config)#no security http

 

 

 

 

 

 

 

no security telnet

G

Disable IP security of telnet server

switch(config)#no security telnet

3.1.4Port Commands Set

Table 3.4: Port Commands Set

 

Netstar Commands

 

Level

 

Description

 

Example

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

interface fastEthernet

 

 

Choose the port for modification.

switch(config)#interface fastEthernet 2

 

[Portid]

G

 

 

 

 

 

 

 

 

 

 

 

duplex

 

 

Use the duplex configuration

switch(config)#interface fastEthernet 2

 

[full half]

I

command to specify the duplex

switch(config-if)#duplex full

 

 

 

mode of operation for Fast

 

 

 

 

 

 

 

Ethernet.

 

 

 

 

 

 

 

 

 

speed

 

 

Use the speed configuration

switch(config)#interface fastEthernet 2

 

[101001000auto]

 

 

command to specify the speed

switch(config-if)#speed 100

 

 

 

I

mode of operation for Fast

 

 

 

 

 

Ethernet., the speed can’t be set to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1000 if the port isn’t a giga port..

 

 

 

 

 

 

 

 

 

no flowcontrol

I

Disable flow control of interface

switch(config-if)#no flowcontrol

 

 

 

 

 

 

 

 

 

 

 

 

 

 

security enable

 

 

Enable security of interface

switch(config)#interface fastEthernet 2

 

 

 

I

 

 

switch(config-if)#security enable

 

 

 

 

 

 

 

no security

 

 

Disable security of interface

switch(config)#interface fastEthernet 2

 

 

 

I

 

 

switch(config-if)#no security

 

 

 

 

 

 

 

 

 

29

Chapter3

Image 39
Contents EKI-7657C Copyright Acknowledgements Product Warranty 2 years FCC Class a Technical Support and Assistance Declaration of ConformitySafety Instructions Safety Precaution Static Electricity Contents Chapter Commands Level Port Troubleshooting Overview High-Speed Transmissions Dual Power InputIntroduction SFP AdvantageAdvanced Protection Wide Operating TemperatureEasy Troubleshooting Flexible MountingFeatures Mechanism Specification CommunicationsPower InterfaceCertifications EnvironmentPacking List Safety PrecautionEKI-7657C Manualed1 Installation EKI-7657C LED Definition LED IndicatorsFront View of EKI-7657C Dimensions units mmSide View of EKI-7657C Rear View of EKI-7657C Top View of EKI-7657C Wall mounting MountingDIN-rail Mounting Installation to DIN-rail StepInstallation to DIN-rail Step Connection to a Fiber Optic Network Network ConnectionTransceiver Inserted 11 Remove LC connector 13 Pin Assignment of the Power Connector Power Connection14 Pin Assignment of the Dido Connector Wiring the Digital Inputs/OutputsPage Configuration RS-232 Console ConfigurationCOM Port Properties Setting Command Level Commands LevelSystem Commands Set Commands Set ListSystem Commands Set Commands Set ListPort Commands Set Port Commands SetTrunk Commands Set Trunk Commands SetVlan Commands Set Vlan Commands SetSpanning Tree Commands Set Spanning Tree Commands SetQOS Commands Set QOS Commands SetIgmp Commands Set 10 Mac/Filter Table Commands SetSnmp Commands Set 10 Mac/Filter Table Commands Set11 Snmp Commands Set 13 802.1x Commands Set Port Mirroring Commands Set13 802.1x Commands Set 12 Port Mirroring Commands SetSystemLog, Smtp and Event Tftp Commands Set14 Tftp Commands Set 15 SysLog,SMTP,Event Commands Set16 Sntp Commands Set Sntp Commands Set17 X-ring Commands Set Ring Commands SetWeb Browser Management will not be configuredMain System Information SystemIP Configuration IP ConfigurationDhcp Client-System Configuration Dhcp Server-System configurationDhcp Server-Port and IP Bindings 11 Dhcp Server Client EntriesTFTP-Restore Configuration TFTP-Update FirmwareTFTP-Backup Configuration 14 Tftp Restore ConfigurationSystem Event Log-SMTP Configuration System Event Log-Syslog ConfigurationSystem Event Log-Event Configuration 17 Smtp ConfigurationFault Relay Alarm 18 Event Configuration19 Fault Relay Alarm 18 UTC Timezone Sntp Configuration20 Sntp Configuration 21 IP Security IP Security22 User Authentication User AuthenticationDigital Input/Output Digital InputDigital Output 23 Digital Input/Output interface Port Statistics Port25 Port Control Port ControlPort Trunk Aggregator settingAggregator Information 26 2 work ports with Lacp enabledPassive State Activity30 State Activity 31 Port Mirroring Port Mirroring32 Rate Limiting Rate LimitingVlan configuration Vlan configuration Port-based VlanProtocol 34 Port based mode 35 Port based mode-Add interface 802.1Q Vlan 802.1Q ConfigurationGroup Configuration 37 802.1Q Vlan ConfigurationRapid Spanning Tree 38 Edit Group Configuration interfacePage RSTP-Port Configuration RSTP-System Configuration41 Rstp Port Configuration interface Trap Configuration Snmp ConfigurationSystem Configuration Community Strings Agent ModeSNMPV3 Configuration Context TableUser Profile Group Table 44 Snmp V3 Configuration interfaceMIBview Table Access TableQoS Policy and Priority Type QoS ConfigurationCOS Configuration TOS ConfigurationPort Base Priority 19 Igmp types Igmp ConfigurationRing 47 X-ring interface 48 Lldp Configuration interface Lldp ConfigurationSecurity 802.1X/Radius Configuration802.1X/Radius System Configuration 802.1x/Radius-Port Configuration802.1X/Radius-Misc Configuration 50 802.1x/Radius Port Setting interface51 802.1x/Radius Misc Configuration interface MAC Address Table MAC Address Table-Static MAC AddressMAC Address Table-MAC Filtering MAC Address Table-All MAC Addresses 53 MAC Filtering interface55 All MAC Address interface MAC Address Table-Multicast Filtering56 Factory Default interface Factory Default57 Save Configuration interface Save Configuration58 System Reboot interface System RebootTroubleshooting 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