Configuration
Examples for ITD (NX-OS Intelligent Traffic Director)
Configuration Example: One-Arm Deployment Mode
Step 1: Define the device group.
switch(config)# itd device-group DG
switch(config-device-group)# node
ip 210.10.10.11
switch(config-device-group)# node
ip 210.10.10.12
switch(config-device-group)# node
ip 210.10.10.13
switch(config-device-group)# node
ip 210.10.10.14
switch(config-device-group)# probe
icmp
Step 2: Define the ITD service.
switch(config)# itd HTTP
switch(config-itd)# ingress
interface port-channel 1
switch(config-itd)# device-group
DG
switch(config-itd)# no
shutdown
Configuration
Example: One-Arm Deployment Mode with vPC
Device 1
|
Device 2
|
Step 1:
Define the device group.
switch(config)# itd device-group DG switch(config-device-group)# node ip 210.10.10.11 switch(config-device-group)# node ip 210.10.10.12 switch(config-device-group)# node ip 210.10.10.13 switch(config-device-group)# node ip 210.10.10.14 switch(config-device-group)# probe icmp
Step 2:
Define the ITD service.
switch(config)# itd HTTP switch(config-itd)# ingress interface port-channel 1 switch(config-itd)# device-group DG switch(config-itd)# no shutdown |
Step 1:
Define the device group.
switch(config)# itd device-group DG switch(config-device-group)# node ip 210.10.10.11 switch(config-device-group)# node ip 210.10.10.12 switch(config-device-group)# node ip 210.10.10.13 switch(config-device-group)# node ip 210.10.10.14 switch(config-device-group)# probe icmp
Step 2:
Define the ITD service.
switch(config)# itd HTTP switch(config-itd)# ingress interface port-channel 2 switch(config-itd)# device-group DG switch(config-itd)# no shutdown |
Configuration Example: Sandwich
Deployment Mode
Device 1
|
Device 2
|
Step 1:
Define the device group.
switch(config)# itd device-group DG switch(config-device-group)# node ip 210.10.10.11 switch(config-device-group)# node ip 210.10.10.12 switch(config-device-group)# node ip 210.10.10.13 switch(config-device-group)# node ip 210.10.10.14 switch(config-device-group)# probe icmp
Step 2:
Define the ITD service.
switch(config)# itd HTTP switch(config-itd)# ingress interface port-channel 1 switch(config-itd)# device-group DG switch(config-itd)# load-balance method src ip switch(config-itd)# no shutdown |
Step 1:
Define the device group.
switch(config)# itd device-group DG switch(config-device-group)# node ip 220.10.10.11 switch(config-device-group)# node ip 220.10.10.12 switch(config-device-group)# node ip 220.10.10.13 switch(config-device-group)# node ip 220.10.10.14 switch(config-device-group)# probe icmp
Step 2:
Define the ITD service.
switch(config)# itd HTTP switch(config-itd)# ingress interface port-channel 2 switch(config-itd)# device-group DG switch(config-itd)# load-balance method dst ip switch(config-itd)# no shutdown |
Configuration Example: Server
Load-Balancing Deployment Mode
Step 1:
Define the device group.
switch(config)# itd device-group DG
switch(config-device-group)#
node ip 210.10.10.11
switch(config-device-group)#
node ip 210.10.10.12
switch(config-device-group)#
node ip 210.10.10.13
switch(config-device-group)#
node ip 210.10.10.14
switch(config-device-group)#
probe icmp
Step 2: Define the ITD service.
switch(config)# itd HTTP
switch(config-itd)# ingress interface port-channel 1
switch(config-itd)# ingress interface port-channel 2
switch(config-itd)# ingress interface port-channel 3
switch(config-itd)# device-group DG
Switch(config-itd)# virtual ip 210.10.10.100
255.255.255.255
switch(config-itd)# no shutdown
No comments:
Post a Comment