Advantech EKI-7657C user manual Spanning Tree Commands Set

Page 42

vlan 8021q trunk

 

Assign a access link for VLAN by

switch(vlan)#vlan 8021q trunk 3 access-link untag

[PortNumber]

V

trunk group

33

access-link untag

 

 

 

 

 

[UntaggedVID]

 

 

 

vlan 8021q trunk

 

Assign a trunk link for VLAN by trunk

switch(vlan)#vlan 8021q trunk 3 trunk-link tag

[PortNumber]

 

group

2,3,6,99

trunk-link tag

V

 

or

[TaggedVID List]

 

 

switch(vlan)#vlan 8021q trunk 3 trunk-link tag 3-

 

 

 

20

vlan 8021q trunk

 

Assign a hybrid link for VLAN by

switch(vlan)#vlan 8021q trunk 3 hybrid-link untag

[PortNumber]

 

trunk group

4 tag 3,6,8

hybrid-link untag

V

 

or

[UntaggedVID]

 

switch(vlan)#vlan 8021q trunk 3 hybrid-link untag

 

 

tag

 

 

5 tag 6-8

[TaggedVID List]

 

 

 

show vlan [GroupID]

 

Show VLAN information

switch(vlan)#show vlan 23

or

V

 

 

show vlan

 

 

 

 

 

 

 

 

 

no vlan group

V

Delete port base group ID

switch(vlan)#no vlan group 2

[GroupID]

 

 

 

 

 

3.1.7Spanning Tree Commands Set

Table 3.7: Spanning Tree Commands Set

Netstar Commands

Level

Description

Example

 

 

 

 

spanning-tree enable

G

Enable spanning tree

switch(config)#spanning-tree enable

 

 

 

 

spanning-tree priority [0~61440]

G

Configure spanning tree priority

switch(config)#spanning-tree priority 32768

 

parameter

 

 

 

 

spanning-tree max-age [seconds]

 

Use the spanning-tree max-age

switch(config)#spanning-tree max-age 15

 

 

global configuration command to

 

 

 

change the interval between

 

 

 

messages the spanning tree

 

 

G

receives from the root switch. If a

 

 

switch does not receive a bridge

 

 

 

protocol data unit (BPDU)

 

 

 

message from the root switch

 

 

 

within this interval, it recomputed

 

 

 

the Spanning Tree Protocol (STP)

 

 

 

topology.

 

spanning-tree hello-time [seconds]

 

Use the spanning-tree hello-time

switch(config)#spanning-tree hello-time 3

 

 

global configuration command to

 

 

G

specify the interval between hello

 

 

 

bridge protocol data units

 

 

 

(BPDUs).

 

spanning-tree forward-time [seconds]

 

Use the spanning-tree forward-

switch(config)#spanning-tree forward-time 20

 

 

time global configuration command

 

 

 

to set the forwarding-time for the

 

 

G

specified spanning-tree instances.

 

 

The forwarding time determines

 

 

 

 

 

 

how long each of the listening and

 

 

 

learning states last before the port

 

 

 

begins forwarding.

 

stp-path-cost

 

Use the spanning-tree cost

switch(config)#interface fastEthernet 2

[1~200000000]

 

interface configuration command

switch(config-if)#stp-path-cost 20

 

 

to set the path cost for Spanning

 

 

 

Tree

 

 

I

Protocol (STP) calculations. In the

 

 

event of a loop, spanning tree

 

 

 

 

 

 

considers the path cost when

 

 

 

selecting

 

 

 

an interface to place into the

 

 

 

forwarding state.

 

stp-path-priority

 

Use the spanning-tree port-priority

switch(config)#interface fastEthernet 2

[Port Priority]

I

interface configuration command

switch(config-if)#stp-path-priority 128

 

to configure a port priority that

 

 

 

 

 

 

is used when two switches tie for

 

EKI-7657C _Manual_ed1

32

Image 42
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 SFP Advantage Dual Power InputIntroduction High-Speed TransmissionsFlexible Mounting Wide Operating TemperatureEasy Troubleshooting Advanced ProtectionFeatures Interface Specification CommunicationsPower 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 Commands Set ListSystem Commands Set System Commands SetPort Commands Set Port Commands SetTrunk Commands Set Trunk Commands SetVlan Commands Set Vlan Commands SetSpanning Tree Commands Set Spanning Tree Commands Set10 Mac/Filter Table Commands Set QOS Commands SetIgmp Commands Set QOS Commands SetSnmp Commands Set 10 Mac/Filter Table Commands Set11 Snmp Commands Set 12 Port Mirroring Commands Set Port Mirroring Commands Set13 802.1x Commands Set 13 802.1x Commands Set15 SysLog,SMTP,Event Commands Set Tftp Commands Set14 Tftp 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 Input/Output Digital InputDigital Output 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 LimitingVlan configuration Vlan configuration Port-based VlanProtocol 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 Agent Mode Snmp ConfigurationSystem Configuration Community Strings Trap ConfigurationSNMPV3 Configuration Context TableUser Profile 44 Snmp V3 Configuration interface Group TableAccess Table MIBview TableQoS Configuration QoS Policy and Priority TypeCOS Configuration TOS ConfigurationPort Base Priority Igmp Configuration 19 Igmp typesRing 47 X-ring interface Lldp Configuration 48 Lldp Configuration interface802.1x/Radius-Port Configuration 802.1X/Radius Configuration802.1X/Radius System Configuration Security50 802.1x/Radius Port Setting interface 802.1X/Radius-Misc Configuration51 802.1x/Radius Misc Configuration interface MAC Address Table MAC Address Table-Static MAC AddressMAC Address Table-MAC Filtering 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