CCIE Data Center Cheat Sheet: by Via
CCIE Data Center Cheat Sheet: by Via
CCIE Data Center Cheat Sheet: by Via
Fabricpath
HSRP (cont)
ip 10.1.41.254
mac-list
feature-set fabricpath
OTV_HSRP_VMAC_deny seq 30
vlan 1
mychain
permit 0000.0000.0000
name VLAN1
timers 1 3
0000.0000.0000
preempt
priority 255
20
key 1
root-priority 255
keystring CCIEDC
!
interface Vlan888
vrf member vpc-keepalive
ip address 8.8.8.1/30
match mac-list
OTV_HSRP_VMAC_deny
!
otv-isis default
vpn Overlay0
HSRP Localisation
mode fabricpath
permit 10
maximum-paths 2
vlan 34
VRF
route-map OTV_HSRP_filter
!
interface Ethernet1/1
switchport mode fabricpath
fabricpath isis metric 50
! VACL Filter:
ip access-list ALL_IPs
10 permit ip any any
Jumbo Frame
N7K:
ip access-list HSRP_IP
10 permit udp any 224.0.0.2/32 eq
1985
VRRP
VPC
feature vrrp
eq 1985
interface Vlan31
vlan access-map
no shutdown
HSRP_Localization 10
ip address 10.1.31.2
vrrp 1
action drop
priority 254
vlan access-map
class-fcoe
address 10.1.31.1
HSRP_Localization 20
pause no-drop
no shutdown
mtu 2158
action forward
class-default
vlan-list 3001-3002
mtu 9216
role priority 1
system-priority 1
peer-keepalive destination
8.8.8.2 source 8.8.8.1 vrf vpckeepalive
!
interface port-channel100
vpc peer-link
HSRP
Verification:
show vpc consistency-parameters
global
feature hsrp
!
interface Vlan41
no shutdown
VPC+
vpc domain 200
fabricpath switch-id 200
!
ip address 10.1.41.252/24
hsrp version 2
hsrp 1
!
N5K-1:
policy-map type network-qos
jumbo
class type network-qos
system qos
mac-list
OTV_HSRP_VMA
C_deny seq 10
deny 0000.0c07.ac00 ffff.ffff.ff00
mac-list
OTV_HSRP_VMA
C_deny seq 20
interface port-channel100
vpc peer-link
Sponsored by Readability-Score.com
cheatography.com/ewibowo/
Page 1 of 4.
https://readability-score.com
EIGRP (cont)
MST (cont)
source vlan1
ip summary-address eigrp 1
name ccie
10.1.40.0/22
channel-group 101
revision 5
no shut
version 9
!
flow monitor nf_monitor
record netflow-original
exporter NetFlowCollector
!
interface Vlan1
ip flow monitor nf_monitor
PIM
inter po101
feature pim
!
ip pim rp-address 20.0.0.1
!
input
interface Ethernet4/1
Verification:
no shutdown
ip pim sparse-mode
Verification:
OSPF
OTV
feature ospf
feature otv
interface Ethernet4/1
ip router ospf 1 area 0
EIGRP
otv extend-vlan 90
feature eigrp
feature npiv
feature lacp
Default VDC:
feature lldp
vsan database
VDC3:
vsan 100
no shutdown
Syslog
Verification:
autonomous-system 1
router-id 1.1.1.1
redistribute direct route-map
SVI
!
interface Ethernet4/1
feature fex
ip router eigrp 1
no ip redirects
fex 101
vlan 100
Verification:
show vlan fcoe
show policy-map system
show run ipqos
MST
spanning-tree mode mst
vfc
!
Enhanced VPC
!
fcoe vsan 100
show otv
bfd
feature-set fcoe
NTP
router eigrp 1
Storage VDC:
ip igmp version 3
default-nq-7e-policy
ip access-group WAN in
!
match interface vlan 40
interface Ethernet4/1
system qos
storage
feature bfd
no shut
otv site-vlan 80
Default VDC:
vpc 101
eq 23
router-id 1.1.1.1
ip access-list WAN
router ospf 1
ACL
switchport
Sponsored by Readability-Score.com
cheatography.com/ewibowo/
Page 2 of 4.
https://readability-score.com
F san-portchannel
E san-portchannel (cont)
feature npiv
MDS-1:
200
feature fport-channel-trunk
trunk
interface vfc 4
switchport mode f
switchport mode F
100
vlan 200
fcoe vsan 2
interface fc1/9-12
vsan database
no shutdown
feature fcip
no shut
feature fcsp
!
fcsp dhchap password CCIEDC
fcsp dhchap devicename
NeighborSwitchWWN password
CCIEDC
E san-portchannel
switchport mode e
no shutdown
feature fcoe
fcip profile 1
ip address 10.3.1.1
vsan database
vsan 200
vsan database
vsan 100
id
! SID/DID
interface port-channel 1
port-channel load-balance
ethernet source-dest-ip
fcsp on
switchport mode e
200
add 100
interface fcip1
interface san-port-channel 22
use-profile 1
switchport mode E
channel-group 1 force
no shutdown
interface port-channel1
switchport
switchport mode trunk
switchport trunk allowed vlan
100
no shutdown
!
interface Ethernet4/1
channel-group 1 force mode
active
!
interface vfc-po1
switchport mode F
switchport trunk allowed vsan
100
passive-mode
port 3005
ip address 10.3.1.1
N5K:
feature lacp
ip add 10.3.1.1
use-profile 10
int Gi1/1
vfc-portchannel
fcip profile 10
int fcip 10
255.255.255.252
int gi1/3
FCIP with FCSP
no shut
!
MDS-2:
int gi1/3
ip add 10.3.1.2 255.255.255.252
switchport mtu 2300
no shut
!
fcip profile 10
ip add 10.3.1.2
!
int fcip 10
use-profile 10
peer-info ipadd 10.3.1.1 port
3005
switchport mode e
switchport trunk mode on
switchport trunk allowed vsan 1
no shut
NeighborSwitchWWN:
show wwn switch
no shutdown
!
vsan database
vsan 100 interface vfc-po 1
By ewibowo
Sponsored by Readability-Score.com
cheatography.com/ewibowo/
Page 3 of 4.
https://readability-score.com
FCoE Host
feature fcoe
int eth1/20
feature npv
switchport
silver
slot 2
1,100
poweroff module 2
no poweroff module 2
trunk
no shut
system-uplink
npv auto-load-balance
int vfc 20
disruptive
mtu 9000
switchport mode F
switchport trunk allowed vsan
FC Zone
Creating zone:
zoneset name zs_vsan_100
vsan 100
zone name zone_vsan_100
100
N1KV - Setup
! Maximum number of ports in a
non-uplink port-profile
no shut
member pwwn
20:00:00:25:b5:00:00:01
uplink
member pwwn
50:00:00:00:00:00:00:01
sub-group manual
interface e3/1
sub-group-id 0
uplink
production):
show port
mac-pinning relative
Shortcuts
sh cli history config-mode
unformatted
cli alias name v2 switchto vdc
N7K-2
By ewibowo
Sponsored by Readability-Score.com
cheatography.com/ewibowo/
Page 4 of 4.
https://readability-score.com