MDS IVR commands

9222i(config-if)# show interface port-channel 1
port-channel 1 is trunking
Hardware is GigabitEthernet
Port WWN is 24:01:00:05:9b:28:54:00
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is TE
Port vsan is 1
Speed is 2 Gbps
Trunk vsans (admin allowed and active) (1,97-98,209)
Trunk vsans (up) (209)
Trunk vsans (isolated) (1,97-98)
Trunk vsans (initializing) ()
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
492 frames input, 65052 bytes
492 Class F frames input, 65052 bytes
0 Class 2/3 frames input, 0 bytes
0 Reass frames
0 Error frames timestamp error 0
494 frames output, 63728 bytes
494 Class F frames output, 63728 bytes
0 Class 2/3 frames output, 0 bytes
9222i(config-if)# show interface port-channel 1 brief

——————————————————————————-
Interface Vsan Admin Status Oper Oper IP
Trunk Mode Speed Address
Mode (Gbps)
——————————————————————————-
port-channel 1 1 on trunking TE 2 —
P9-9222i(config-if)#
P9-9222i(config-if)# show vsan 209
vsan 209 information
name:VSAN0209 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:up

9222i(config-if)# show in
in-order-guarantee incompatibility-all inventory
inactive-if-config install
incompatibility interface
9222i(config-if)# show interface port-channel 1
port-channel 1 is trunking
Hardware is GigabitEthernet
Port WWN is 24:01:00:05:9b:28:54:00
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is TE
Port vsan is 1
Speed is 2 Gbps
Trunk vsans (admin allowed and active) (1,97-98,209)
Trunk vsans (up) (209)
Trunk vsans (isolated) (1,97-98)
Trunk vsans (initializing) ()
5 minutes input rate 4288 bits/sec, 536 bytes/sec, 3 frames/sec
5 minutes output rate 3272 bits/sec, 409 bytes/sec, 3 frames/sec
1546 frames input, 215392 bytes
1546 Class F frames input, 215392 bytes
0 Class 2/3 frames input, 0 bytes
0 Reass frames
0 Error frames timestamp error 0
1548 frames output, 156732 bytes
1548 Class F frames output, 156732 bytes
0 Class 2/3 frames output, 0 bytes
0 Error frames
Member[1] : fcip1
Member[2] : fcip2

9222i(config-if)# conf t
9222i(config)# 2014 Feb 27 18:33:14 P9-9222i %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by admin on 10.2.8.91@pts/0
9222i(config)# feature ivr
9222i(config)# ivr nat
P9-9222i(config)# 2014 Feb 27 18:33:43 P9-9222i %IVR-5-FCID_NAT_MODE_ACTIVATED: FCID network address translation (NAT) mode has been activated
9222i(config)# ivr distribute
9222i(config)# 2014 Feb 27 18:33:51 P9-9222i %IVR-5-VSAN_TOPOLOGY_ACTIVATED: Inter-VSAN Topology has been activated
9222i(config)# ivr vsan-topology auto
fabric is now locked for configuration. Please ‘commit’ configuration when done.
9222i(config)# ivr commit
commit initiated. check ivr status
P9-9222i(config)# show ivr

Inter-VSAN Routing is enabled

Inter-VSAN enabled switches
—————————

AFID VSAN DOMAIN CAPABILITY SWITCH WWN
——————————————————————-
1 1 0x 1( 1) 0000001f 20:00:00:05:9b:28:54:00 *
1 97 0x61( 97) 0000001f 20:00:00:05:9b:28:54:00 *
1 98 0xed(237) 0000001f 20:00:00:05:9b:28:54:00 *
1 209 0x8a(138) 0000001f 20:00:00:05:73:d3:77:80
1 209 0xd1(209) 0000001f 20:00:00:05:9b:28:54:00 *

Total: 5 IVR-enabled VSAN-Domain pairs

Inter-VSAN topology status
————————–

Current Status: Inter-VSAN topology is ACTIVE, AUTO Mode
Last activation time: Thu Feb 27 18:34:14 2014

Inter-VSAN zoneset status
————————-
name : master-ivr
state : activation success
last activate time : Thu Feb 27 18:33:51 2014

Fabric distribution status
———————–
fabric distribution enabled
Last Action Time Stamp : Thu Feb 27 18:34:13 2014
Last Action : Commit
Last Action Result : Success
Last Action Failure Reason : none

Inter-VSAN NAT mode status
————————–
FCID-NAT is enabled
Last activation time : Thu Feb 27 18:33:43 2014

AAM mode status
————————–
AAM is disabled

License status
—————–
Built-in

Sharing of tcam space across xE ports disabled
9222i(config)#

short UDLD note

UDLD supports two modes of operation: normal (the default) and aggressive. In normal mode, UDLD detects unidirectional links due to misconnected interfaces on fiber-optic connections. In aggressive mode, UDLD also detects unidirectional links due to one-way traffic on fiber-optic and twisted-pair links and due to misconnected interfaces on fiber-optic links.

quick note on “max pinning-links”

Pinning max-links <2-4> comes into play when you do static pinning. i.e. the FETs (fabric extender transceivers or links between 2K and parent switch) are not in a port-channel.

 

For a 48 port FEX:

 

pinning max-links 1 : 1 group of 48 hosts to 1 FET links

pinning max-links 2 : 2 groups of 24 hosts to 2 FET links

pinning max-links 3 : 3 groups of 18 hosts to 3 FET links

pinning max-links 4 : 4 groups of 12 hosts to 4 FET links

 

So, all 48 ports will be associated with 1 FET if 1 uplink is used and max-links is 1. So subscription ratio will be 48 * 1 gbps per 10 gbps uplink : 48:10 = 4.8:1

For max-links 2, subscription: 24:20 = 1.2:1

 

So, to sum it up, a good practice is to use a port-channel for a FEX uplink. A better option depending on whether you have a 5K or a 7K is to use a vPC as an uplink.

FCoE Best Practices and Examples

Whenever possible use the Nexus 5K/6K in NPV mode. Also for interop cases. Be aware! NPV feature erases almost all configs on the switch. mgmt0 will be intact.

DCNM is the right tool to facilitate management. 

Storage VDC is used on Nexus 7K for FcoE. traffic is split based on ethertype on shared ports. 

VDC best practice structure on N7K with FCoE is 3 VDC’s. (Admin, Ethernet, Storage)

“where” command is helpful command

Enable lldp and lacp features

Enable QoS and policy for FCoE. 

FCoE host ports are ALWAYS trunk

Allocate FCoE VLAN’s range from LAN VDC. 

Storage VDC can shutdown vfc interface without affecting LAN. Other way around, interface goes down. 6.2.x adds warning on LAN VDC. 

vfc port can bind to port-channel. 

Nexus 5K and 7K have different bandwith %. (50/50, 80/20, 70/30) 

vPC to host with FCoE is supported on 5K and 6K

FCoE with Dual-Homed FEX is supported on 55xx 

in VPC+ (FabricPath) design, the FCoE VLAN is NOT FabricPath, but CE VLAN

Multihop FCoE is supported, also in UCS. A hop is to or between FCF switches. FCoE-NPV is not a hop. 

Converged FCoE ISL is not supported on the Nexus 7K. Dedicated FCoE ISL is supported on N5K/6K/7K

on the host interface, the native VLAN carries FIP traffic.

Nexus 1000v on Windows 2012 R2 – quicknotes

nsm logical network NEDWORK
exit
nsm network segment pool NEDWORK_SP
member-of logical network NEDWORK
nsm ip pool template VLAN1
ip address 192.168.0.200 192.168.0.240
network 192.168.0.0 255.255.255.0
nsm network segment NEDWORK_NW
switchport access vlan 1
member-of network segment pool NEDWORK_SP
ip pool import template VLAN1
switchport access vlan 1
publish network segment NEDWORK_NW
exit
port-profile type vethernet NEDWORK_INT
no shutdown
state enabled
publish port-profile
port-profile type ethernet NEDWORK_PPP
no shutdown
state enabled
exit
nsm network uplink UPLINK
allow network segment pool NEDWORK_SP
import port-profile NEDWORK_PPP
publish network uplink UPLINK

no nsm network uplink UPLINK
no nsm network segment NEDWORK_NW
no nsm network segment pool NEDWORK_SP
no nsm logical network NEDWORK
no nsm ip pool template VLAN1
no port-profile type ethernet NEDWORK_PPP
no port-profile type vethernet NEDWORK_INT