- Hardware
NX-7K-1#show inventory! display chassis components NX-7K-1#show redundancy status! determine active supervisor NX-7K-1#show module! display individual modules NX-7K-1#show environment! display clock, fan, temperature, power NX-7K-1(config)#power redundancy-mode ?
- System utilization
NX-7K-1# show system resources- Piping
NX-7K-1# show run | ? ! last, tail, egrep, no-more, ...- Running config
NX-7K-1#show running-config ?NX-7K-1#show running-config all! display configuration with defaults
- Interface ranges
NX-7K-1(config)# int e2/4, e3/1-2 ! no range command- Shared or dedicated
NX-7K-1(config)#int e2/1, e2/3, e2/5, e2/7NX-7K-1(config-if)#shutdownNX-7K-1(config)#int e2/1NX-7K-1(config-if)#rate-mode dedicatedNX-7K-1(config-if)#no shutdown
- Licencing
NX-7K-1#show license host-idNX-7K-1#install license bootflash: NX7K-1234.licNX-7K-1#show license usage
- Modules
NX-7K-1#reload module ?NX-7K-1#attach module ?
Virtual Device Context (VDC)
Four VDCs: Default VDC1 and 3 additional VDCs.
NX-7K-1(config)#vdc VDC2 id 2NX-7K-1(config-vdc)#allocate interface e3/1-24NX-7K-1(config)#vdc VDC3 id 3NX-7K-1(config-vdc)#allocate interface e3/25-48NX-7K-1#show vdcNX-7K-1#show vdc membershipNX-7K-1#show run vdcNX-7K-1#switchto vdc VDC2NX-7K-1-VDC2#switchbackNX-7K-1#
Virtual Port Channel (VPC)
NX-7K-1(config)#feature vpcNX-7K-1(config)#vpc domain 10NX-7K-1(config-domain)#peer-switchNX-7K-1(config-domain)#peer-keepalive destination 10.10.10.2NX-7K-1#show vpc roleNX-7K-1#show vpc peer-keepaliveNX-7K-1(config)#interface port-channel 10NX-7K-1(config-if)#switchport mode trunkNX-7K-1(config-if)#switchport trunk allowed vlan 100-105! vPC VLANs NX-7K-1(config-if)#switchport trunk native 100NX-7K-1(config-if)#vpc peer-linkNX-7K-1#show vpc briefNX-7K-1(config)#interface ethernet 1/1-2NX-7K-1(config-if-range)#channel-group 11 mode activeNX-7K-1(config)#interface port-channel 11NX-7K-1(config-if)#switchport mode trunkNX-7K-1(config-if)#vpc 11NX-7K-2(config)#feature vpcNX-7K-2(config)#vpc domain 10NX-7K-2(config-domain)#peer-switchNX-7K-2(config-domain)#peer-keepalive destination 10.10.10.1NX-7K-2(config)#interface port-channel 10NX-7K-2(config-if)#switchport mode trunkNX-7K-2(config-if)#switchport trunk allowed vlan 100-105! vPC VLANs NX-7K-2(config-if)#switchport trunk native 100NX-7K-2(config-if)#vpc peer-linkNX-7K-2(config)#interface ethernet 2/7-8NX-7K-2(config-if-range)#channel-group 11 mode activeNX-7K-2(config)#interface port-channel 11NX-7K-2(config-if)#switchport mode trunkNX-7K-2(config-if)#vpc 11NX-7K-2#show vpc consistency-parameters global
Fabric EXtenders (FEX) ~ Nexus 2000 series
Deployment models:
- Static pinning (Nexus 5000 series)
NX-5K-1(config)#feature fexNX-5K-1(config)#fex 100NX-5K-1(config-fex)#pinning max-links 4NX-5K-1(config)#int ethernet 1/1-4NX-5K-1(config-if)#switchport mode fex-fabricNX-5K-1(config-if)#fex associate 100NX-5K-1#show fex 100NX-5K-1#show fex detailNX-5K-1#show module fex
- Dynamic pinning (Nexus 5000 and 7000 series)
NX-5K-1(config)#feature fexNX-5K-1(config)#fex 101NX-5K-1(config-fex)#pinning max-links 1NX-5K-1(config)#int ethernet 1/9-12NX-5K-1(config-if)#switchport mode fex-fabricNX-5K-1(config-if)#channel-group 11NX-5K-1(config)#int port-channel 11NX-5K-1(config-if)#fex associate 101NX-5K-1#show int port-channel 11 fex-intfNX-5K-1#show module fex
- vPC (Nexus 5000 series)
NX-5K-1(config)#feature fexNX-5K-1(config)#fex 102NX-5K-1(config-fex)#pinning max-links 1NX-5K-1(config)#int ethernet 1/17-20NX-5K-1(config-if)#switchport mode fex-fabricNX-5K-1(config-if)#channel-group 12NX-5K-1(config)#feature vpc! vPC domain configuration NX-5K-1(config)#int port-channel 12NX-5K-1(config-if)#vpc 12NX-5K-1(config-if)#fex associate 102NX-5K-1#show int port-channel 12 fex-intfNX-5K-1#show module fex
Configuration Rollback
NX-7K-1#checkpoint CP1 description First checkpointNX-7K-1#show checkpoint summaryNX-7K-1#rollback running-config checkpoint CP1
Role-Based Access Control (RBAC)
NX-7K-1(config)#role name L3-adminNX-7K-1(config-role)#rule 1 permit read-write feature-group L3NX-7K-1(config-role)#vlan policy denyNX-7K-1(config-role-vlan)#permit vlan 1-100NX-7K-1(config-role)#vrf policy denyNX-7K-1(config-role-vlan)#permit vrf VRF1NX-7K-1(config-role-vlan)#permit vrf VRF2NX-7K-1#show role
Ethanalyzer ~ a wrapper over tshark
NX-7K-1#ethanalyzer local interface inband brief limit-captured-frames 10NX-7K-1#ethanalyzer local interface inband limit-captured-frames 1
VRF
NX-7K-1#show ip int brief! default VRF NX-7K-1#show ip int brief vrf managementNX-7K-1#ping 10.1.1.1 vrf managementNX-7K-1#routing-context vrf managementNX-7K-1%management#ping 10.1.1.1NX-7K-1%management#routing-context vrf defaultNX-7K-1#
Config-sync
NX-7K-1#configure syncNX-7K-1(config-sync)#switch-profile PROFILE1NX-7K-2#configure syncNX-7K-2(config-sync)#switch-profile PROFILE1NX-7K-2(config-sync-sp)#import interface po10NX-7K-2(config-sync-sp-import)#verifyNX-7K-2(config-sync-sp-import)#show switch-profile PROFILE1 bufferNX-7K-2(config-sync-sp-import)#show switch-profile PROFILE1 statusNX-7K-2(config-sync-sp-import)#commitNX-7K-1(config-sync-sp)#sync-peers destination 10.0.0.2NX-7K-2(config-sync-sp)#sync-peers destination 10.0.0.1NX-7K-2(config-sync-sp)#int po10NX-7K-2(config-sync-sp-if)#spanning-gree port type edge trunkNX-7K-2(config-sync-sp)#verifyNX-7K-2(config-sync-sp)#commitNX-7K-2#show running-config switch-profile
In-Service Software Upgrade (ISSU)
NX-7K-2#show incompatibility system n7000.binNX-7K-2#install all kickstart n7000-kickstart.bin system n7000.binNX-7K-2#system switchoverNX-7K-1#show incompatibility system n7000.binNX-7K-1#install all kickstart n7000-kickstart.bin system n7000.binNX-7K-1#system switchover
No comments:
Post a Comment