background image

Page 6 | AlliedWare Plus™ OS How To Note: Switching

Port speed, duplex mode, and polarity

How to set the duplex mode

By default, ports autonegotiate duplex mode (except for 

1

00Base-FX ports which do not 

support autonegotiation, so default to full duplex mode). 

To change this, first enter Interface Configuration mode for the port or port range you want 
to configure. 

Then, to specify full duplex, enter the command:

awplus(config-if)#duplex full

To specify half duplex, enter the command:

awplus(config-if)#duplex half

To autonegotiate duplex mode, enter the command:

awplus(config-if)#duplex auto

How to set the polarity

By default, ports use auto MDI/MDI-X. 

To change this, first enter Interface Configuration mode for the port or port range you want 
to configure.

Then, to specify MDI, enter the command:

awplus(config-if)#polarity mdi

To specify MDI-X (crossover), enter the command:

awplus(config-if)#polarity mdix

To return to auto-detection, enter the command:

awplus(config-if)#polarity auto

Содержание AT-x900-48

Страница 1: ...aged switches z changing port speed duplex mode and polarity z VLANs z RSTP and MSTP z link aggregation static and using LACP z port mirroring Contents Introduction 1 Contents 1 Related How To Notes 2...

Страница 2: ...How to configure static aggregation 24 Port mirroring 25 Appendix Complete configuration scripts 26 Script for VLAN example 26 Script for MSTP example 28 Related How To Notes You also may find the fol...

Страница 3: ...ing starts at the top left hand corner as the following figure shows for a SwitchBlade x908 The XEM bay number is printed on the top left hand corner of each XEM bay z the third number z is the port n...

Страница 4: ...0 10 1 0 20 Non continuous To configure a non continuous set of ports at the same time enter the ports as a comma separated list like this portx y z portx y z For example to configure the same interf...

Страница 5: ...face portx y z x y z The prompt changes to awplus config if How to set the speed The following table shows the speed options for each type of port To change the speed first enter Interface Configurati...

Страница 6: ...x enter the command awplus config if duplex full To specify half duplex enter the command awplus config if duplex half To autonegotiate duplex mode enter the command awplus config if duplex auto How t...

Страница 7: ...26 Enter Global Configuration mode and enter the command awplus config vlan database This puts you into VLAN mode To create the VLANs enter the commands awplus config vlan vlan 2 name vlan2 awplus co...

Страница 8: ...native VLAN is VLAN 1 The native VLAN is the VLAN that the port uses for untagged packets Change to configuring port1 0 2 by entering the command awplus config if interface port1 0 2 Associate vlan2 w...

Страница 9: ...ther VLANs by entering the commands awplus config if interface vlan2 awplus config if ip address 192 168 2 1 24 awplus config if interface vlan3 awplus config if ip address 192 168 3 1 24 awplus confi...

Страница 10: ...t Tagged 1 default STATIC ACTIVE port1 0 1 u port1 0 5 u port1 0 6 u port1 0 7 u port1 0 8 u port1 0 9 u port1 0 10 u port1 0 11 u port1 0 12 u port1 0 13 u port1 0 14 u port1 0 15 u port1 0 16 u port...

Страница 11: ...0 arp ageing timeout 300 UP BROADCAST RUNNING MULTICAST VRF Binding Not bound input packets 0 bytes 0 dropped 0 multicast packets 0 output packets 2 bytes 200 multicast packets 0 broadcast packets 0 I...

Страница 12: ...figuration is required for the above network The following figure shows the MAC addresses of each switch and the stable port states By default all switches have the same root bridge priority so the sw...

Страница 13: ...port1 0 5 Forward Timer 0 Msg Age Timer 0 Hello Timer 1 topo change timer 0 port1 0 5 forward transitions 2 port1 0 5 Version Rapid Spanning Tree Protocol Received RSTP Send RSTP port1 0 5 No portfas...

Страница 14: ...a multiple of 4096 the switch rounds the number down The following figure shows the new port states after the priority change How to set ports as edge ports In this example s network ports 1 0 2 1 0...

Страница 15: ...he AlliedWare Plus switch and Switch 2 z vlan 4 between Switches 2 and 3 For the complete script for this example see Script for MSTP example on page 28 Enter Global Configuration mode and enter the c...

Страница 16: ...packets is VLAN 1 Some control packets are untagged including MSTP CIST BPDUs Leave Interface Configuration mode by entering the command awplus config if exit Enter Global Configuration mode and ente...

Страница 17: ...switches into the root bridge for each MSTP instance so that each MSTP instance blocks a different link The configuration described in the previous steps blocks port1 0 5 on the AlliedWare Plus switc...

Страница 18: ...Id 838d Role Alternate State Discarding port1 0 5 Designated External Path Cost 0 Internal Path Cost 200000 port1 0 5 Configured Path Cost 20000 Add type Explicit ref count 3 port1 0 5 Designated Port...

Страница 19: ...nated Port Id 8005 port1 0 5 Configured Internal Path Cost 20000 port1 0 5 Configured CST External Path cost 20000 port1 0 5 CST Priority 128 MSTI Priority 128 port1 0 5 Designated Root 80010000cd1278...

Страница 20: ...ured CST External Path cost 200000 port1 0 6 CST Priority 128 MSTI Priority 128 port1 0 6 Designated Root 80010000cd127808 port1 0 6 Designated Bridge 80010000cd127808 port1 0 6 Message Age 0 Max Age...

Страница 21: ...nfigure Link Aggregation Control Protocol LACP Enter Global Configuration mode and enter the command awplus config vlan database This puts you into VLAN mode To create the VLANs enter the commands awp...

Страница 22: ...0 5 1 0 6 port1 0 8 1 0 9 awplus config if switchport mode trunk awplus config if switchport trunk allowed vlan add 2 4 Create a channel group for each set of ports that you want to aggregate by enter...

Страница 23: ...D 0x8000 00 00 cd 24 02 26 Actor priority 0x8000 32768 Admin key 0x0001 1 Oper key 0x0001 1 Physical admin key 7 Receive machine state Current Periodic Transmission machine state Fast periodic Mux mac...

Страница 24: ...3 on page 22 do the following steps Create a static channel group for each set of ports that you want to aggregate by entering the commands awplus config interface port1 0 5 1 0 6 awplus config if sta...

Страница 25: ...enter the command awplus config interface port1 0 23 This puts you in Interface Configuration mode for port1 0 23 Then enter the command awplus config if mirror interface port1 0 2 direction both To...

Страница 26: ...sword 8 1 bJoVec4D JwOJGPr7YqoExA0GVasdE0 platform jumboframe platform routingratio ipv4only service telnet ip domain lookup no ip multicast routing maximum paths 8 spanning tree mode rstp vlan databa...

Страница 27: ...access switchport access vlan 4 interface port1 0 5 1 0 24 switchport switchport mode access interface vlan1 ip address 192 168 1 1 24 interface vlan2 ip address 192 168 2 1 24 interface vlan3 ip add...

Страница 28: ...onfig instance 1 vlan 2 instance 1 vlan 3 instance 2 vlan 4 instance 2 priority 8192 region awplus revision 1 maximum paths 8 spanning tree mode mstp vlan database vlan 2 name vlan2 vlan 3 name vlan3...

Страница 29: ...f their respective owners Allied Telesis is a trademark or registered trademark of Allied Telesis Inc in the United States and other countries C613 16106 00 REV B interface port1 0 4 switchport switch...

Отзывы: