Nexus - virtual port channel - vPC+ - without Fex
Example
Click Here for sample data Description
This script assumes the mgmt0 interface will be used for the peer keep-alive link Configuration
!-- Primary Nexus switch
interface mgmt0 ip address [[Primary IP Address]]/[[CIDR Prefix (eg 24)]] vrf context management ip route 0.0.0.0/0 [[Default Gateway]] feature vpc feature lacp vlan [[Host VLAN]] vpc domain [[vPC Domain #]] role priority 1000 peer-keepalive destination [[Standby IP Address]] interface [[Peer Link Interface Range]] channel-group [[Peer Link Port Channel #]] mode active int po[[Peer Link Port Channel #]] vpc peer-link switchport mode trunk switchport trunk allowed vlan 1,[[Host VLAN]] !-- Configure Host Port int [[Host Interface]] channel-group [[Host Port Channel #]] int po[[Host Port Channel #]] vpc [[Host Port Channel #]] switchport access vlan [[Host VLAN]] !-- Standby Nexus switch
interface mgmt0 ip address [[Standby IP Address]]/[[CIDR Prefix (eg 24)]] vrf context management ip route 0.0.0.0/0 [[Default Gateway]] feature vpc feature lacp vlan [[Host VLAN]] vpc domain [[vPC Domain #]] peer-keepalive destination [[Primary IP Address]] interface [[Peer Link Interface Range]] channel-group [[Peer Link Port Channel #]] mode active int po[[Peer Link Port Channel #]] vpc peer-link switchport mode trunk switchport trunk allowed vlan 1,[[Host VLAN]] !-- Configure Host Port int [[Host Interface]] channel-group [[Host Port Channel #]] int po[[Host Port Channel #]] vpc [[Host Port Channel #]] switchport access vlan [[Host VLAN]] References
http://www.cisco.com/c/en/us/products/collateral/switches/nexus-5000-series-switches/configuration_guide_c07-543563.html



Primary IP Address:
CIDR Prefix (eg 24):
Default Gateway:
Host VLAN:
vPC Domain #:
Standby IP Address:
Peer Link Interface Range:
Peer Link Port Channel #:
Host Interface:
Host Port Channel #:


Use this code to post the full script to your own page:



Use this code to post only the variables to your own page: