background image

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

Port speed, duplex mode, and polarity

Port speed, duplex mode, and polarity

In most networks, you will not need to change the port speed, duplex mode, or polarity, 
because the ports automatically negotiate suitable settings.

This section describes how to change them, if you need to.

Enter

Interface

mode

All three are interface settings, so you first enter Interface Configuration mode for the port 
or port range you want to configure, by entering one of the commands:

awplus(config)#interface port

x.y.z

awplus(config)#interface port

x.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 Configuration mode for the port or port range you 
want to configure. Then enter the command:

awplus(config-if)#speed <

value

>

For example, to set the speed of a tri-speed port to 

1

00Mbps, enter the command:

awplus(config-if)#speed 100

To return the port to autonegotiating its speed, enter the command:

awplus(config-if)#speed auto

Port type

Speed Options

non-SFP RJ-45 copper ports

auto (the default)

1

0

1

00

1

000

supported tri-speed copper SFPs

auto (the default)

1

0

1

00

1

000

1

00Mb fibre SFPs

1

00 (the default)

1

000Mb fibre SFPs

auto (the default)

1

000

XFP modules

auto (the default)

1

0000

Summary of Contents for AT-x900-48

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: