User’s Guide FUJITSU PSWITCH
December/2018 145
[Commands]
(Hostname) #configure
(Hostname) (Config)#interface 0/17-0/18
(Hostname) (Interface 0/17-0/18)#addport lag 1
(Hostname) (Interface 0/17-0/18)#switchport mode trunk
(Hostname) (Interface 0/17-0/18)#exit
3.2.2.2. LACP
This section explains how to set up 2 ports as link aggregation using LACP.
[Conditions]
Set ports 0/17 - 0/18 as link aggregation using LACP.
[Commands]
(Hostname) #configure
(Hostname) (Config)#interface 0/17-0/18
(Hostname) (Interface 0/17-0/18)#addport lag 1
(Hostname) (Interface 0/17-0/18)#interface lag 1
(Hostname) (Interface lag 1)#no port-channel static
(Hostname) (Interface lag 1)#switchport mode trunk
3.2.3. VPC
This section explains how to set up VPC connection from two switches connected by
two peer links, one from port 1 to the other switch.
[Conditions]
SW1 Set port 1 to VPC and connect ports 2 and 3 to SW2 as peer links.
SW2 Set port 1 to VPC and connect ports 2 and 3 to SW1 as peer links.
[Commands]
SW1
(SW1) #configure
(SW1) (Config)#feature vpc
(SW1) (Config)#vpc domain 1
(SW1) (Config-VPC 1)#peer detection enable
(SW1) (Config-VPC 1)#peer-keepalive enable
(SW1) (Config-VPC 1)#exit
(SW1) (Config)#interface 0/2-0/3
(SW1) (Interface 0/2-0/3)#addport lag 2
(SW1) (Interface 0/2-0/3)#interface lag 2
(SW1) (Interface lag 2)#vpc peer-link
(SW1) (Interface lag 2)#interface 0/1
(SW1) (Interface 0/1)#addport lag 1
(SW1) (Interface 0/1)#interface lag 1
(SW1) (Interface lag 1)#vpc 1