=========NXS-SW1======= vlan 1,30 ! vrf context management vpc domain 1 role priority 20 peer-keepalive destination 10.1.1.2 source 10.1.1.1 interface Vlan1 interface Vlan30 no shutdown ip address 192.168.1.2/24 hsrp 5 preempt priority 110 ip 192.168.1.1 ! interface port-channel20 switchport mode trunk spanning-tree port type network vpc peer-link interface port-channel30 switchport mode trunk switchport trunk allowed vlan 30 vpc 30 interface Ethernet1/1 shutdown switchport mode trunk switchport trunk allowed vlan 30 channel-group 30 ! interface Ethernet1/6 switchport mode trunk channel-group 20 mode active ! interface Ethernet1/7 switchport mode trunk channel-group 20 mode active ! interface mgmt0 vrf member management ip address 10.1.1.1/30 ========NXS SW2======= vlan 1,30 ! vrf context management vpc domain 1 role priority 30 peer-keepalive destination 10.1.1.1 source 10.1.1.2 ! interface Vlan30 no shutdown ip address 192.168.1.3/24 hsrp 5 preempt ip 192.168.1.1 ! interface port-channel8 switchport trunk allowed vlan 30 ! interface port-channel20 switchport mode trunk spanning-tree port type network vpc peer-link ! interface port-channel30 switchport mode trunk switchport trunk allowed vlan 30 vpc 30 ! interface Ethernet1/1 switchport mode trunk switchport trunk allowed vlan 30 channel-group 30 ! interface Ethernet1/6 switchport mode trunk channel-group 20 mode active ! interface Ethernet1/7 switchport mode trunk channel-group 20 mode active =====Access Switch===== interface Port-channel30 switchport trunk encapsulation dot1q switchport mode trunk ! interface GigabitEthernet0/0 switchport trunk encapsulation dot1q switchport mode trunk media-type rj45 negotiation auto channel-group 30 mode on ! interface GigabitEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk media-type rj45 negotiation auto channel-group 30 mode on ! ! interface Vlan30 ip address 192.168.1.254 255.255.255.0 ! ip default-gateway 192.168.1.1