User's Manual Part 2
21JadeOSUserManual
Forexample,addgigabitethernet1/2 intoaccessvlan2
(JadeOS)(config) #interface gigabitethernet 1/2
(JadeOS)(config-if)#switchport mode trunk
(JadeOS)(config-if)#switchport trunk native vlan 4
(JadeOS)(config-if)#switchport trunk allowed vlan add 5-10,11,12
4.4ConfiguringVLANInterface
CommandtoconfigureVLANInte rface:
interface vlan <1-4094>
Note:youneedtocreateVLANfirstbeforeconfiguringVlanInterface.
Forexample:
(JadeOS) (config)#interface vlan 2
(JadeOS) (config-if)#ip address 10.0.0.1/24
4.5ConfiguringPortChannel
Linkaggregationprovideshighertotalbandwidth,auto‐negotiation,andrecoveryby
combiningparallelnetworklinksbetweendevicesasasinglelink.
Port‐ChannelsprovideamechanismforaggregatingmultiplephysicalEthernetlinks
toasinglelogicalEthernetlink.Port‐Channelsaretypicallyusedtoincreaseavailabilit
yandbandwidth,whilesimplifyingthenetworktopology.
Step1Configureport‐channelinconfigmode:
Interface port-channel <id>
Step2AddEthernetportintoaggregationgroupinport‐channelinterfacemode:
add [gigabitethernet <slot>/<port> | tengigabitethernet <slot>/<port>]
Note:Todeleteoneport,usefollowingcommand:
del[gigabitethernet<slot>/<port>|tengigabitethernet<slot>/<port>]
Step 3 Configure balance arithmetic, now it supports arithmetic of active‐standby
andload‐balance:
(JadeOS)(config-if)#balance arithmetic active-stanby
(JadeOS)(config-if)#balance arithmetic load-balance
Examples :
(JadeOS)(config)#interface port-channel 1
(JadeOS)(config-if)#add gigabitethernet 2/1
(JadeOS)(config-if)#balance arithmetic active-stanby
(JadeOS)(config-if)#balance arithmetic load-balance