2016年1月22日 星期五

Cisco Nexus3064X vPC Configuration


  • Topology:



  • Cisco SW1 Configuration:

//開啟vPC功能

#feature vpc

//設定vPC domain ID

#vpc domain 10

#peer-switch

#peer-gateway

//建立peer keepalive link

#interface Ethernet 1/1

#no switchport

#ip address 192.168.100.1/24

#peer-keepalive destination 192.168.100.2 source 192.168.100.1 vrf default

//設定Peer Link

# interface range Ethernet 1/44 – 47

#channel-group 7 mode active

#interface port-channel 7

#switchport mode trunk

#spanning-tree port type network

#vpc peer-link

//設定vPC

#interface Ethernet 1/2

#channel-group 50 mode active

#interface port-channel 50

#vpc 50
  • Cisco SW2 Configuration:

//開啟vPC功能

#feature vpc

//設定vPC domain ID

#vpc domain 10

#peer-switch

#peer-gateway

//建立peer keepalive link

#interface Ethernet 1/1

#no switchport

#ip address 192.168.100.2/24

#peer-keepalive destination 192.168.100.1 source 192.168.100.2 vrf default

//設定Peer Link

# interface range Ethernet 1/44 – 47

#channel-group 7 mode active

#interface port-channel 7

#switchport mode trunk

#spanning-tree port type network

#vpc peer-link

//設定vPC

#interface Ethernet 1/2

#channel-group 50 mode active

#interface port-channel 50

#vpc 50
  • Cisco 3750 Configuration:

//建立port-channel

#interface range GigabitEthernet 1/0/25 - 26

#channel-protocol lacp

#channel-group 1 mode active

沒有留言:

張貼留言