Вы находитесь на странице: 1из 8

Nexus Technology Labs Classical Ethernet Switching

Core Nexus LAN Switching


Last updated: April 11, 2013

Task
Configure N7K1, N7K2, N5K1, and N5K2 as follows so that IP connectivity is established between Server 1 and Server 2: Create VLAN 10 on N7K1, N7K2, N5K1, and N5K2. Assign VLAN 10 as the access VLAN for N5K1's connection to Server 1; Server 1 should use the IP address 10.0.0.1/24. Assign VLAN 10 as the access VLAN for N5K2's connection to Server 2; Server 2 should use the IP address 10.0.0.2/24. Statically set these links to 1Gbps on N5K1 and N5K2, respectively. Configure 802.1Q Trunking between the switches as follows: N5K1's links to N7K1 should all be trunks. N5K2's links to N7K2 should all be trunks. N7K1's links to N7K2 should all be trunks. Edit the trunking allowed list so that only VLANs 1 and 10 will forward over these links. Disable all other interconnections between the switches. When complete, Server 1 and Server 2 should have IP connectivity to each other.

Configuration
N 5 K 1 : v l a n1 , 1 0 ! i n t e r f a c eE t h e r n e t 1 / 1 s w i t c h p o r ta c c e s sv l a n1 0 s p e e d1 0 0 0 n os h u t d o w n ! i n t e r f a c eE t h e r n e t 1 / 2-5 s h u t d o w n ! i n t e r f a c eE t h e r n e t 1 / 6

FEEDBACK

s w i t c h p o r tm o d et r u n k s w i t c h p o r tt r u n ka l l o w e dv l a n1 , 1 0 n os h u t d o w n ! i n t e r f a c eE t h e r n e t 1 / 7 s w i t c h p o r tm o d et r u n k s w i t c h p o r tt r u n ka l l o w e dv l a n1 , 1 0 n os h u t d o w n ! i n t e r f a c eE t h e r n e t 1 / 8-9 s h u t d o w n N 5 K 2 : v l a n1 , 1 0 ! i n t e r f a c eE t h e r n e t 1 / 1 s h u t d o w n ! i n t e r f a c eE t h e r n e t 1 / 2 s w i t c h p o r ta c c e s sv l a n1 0 s p e e d1 0 0 0 n os h u t d o w n ! i n t e r f a c eE t h e r n e t 1 / 3-5 s h u t d o w n ! i n t e r f a c eE t h e r n e t 1 / 6 s w i t c h p o r tm o d et r u n k s w i t c h p o r tt r u n ka l l o w e dv l a n1 , 1 0 n os h u t d o w n ! i n t e r f a c eE t h e r n e t 1 / 7 s w i t c h p o r tm o d et r u n k s w i t c h p o r tt r u n ka l l o w e dv l a n1 , 1 0 n os h u t d o w n ! i n t e r f a c eE t h e r n e t 1 / 8-9 s h u t d o w n N 7 K 1 : v l a n1 , 1 0 ! i n t e r f a c eE t h e r n e t 1 / 1-2 ,E t h e r n e t 2 / 1-4 s w i t c h p o r t s w i t c h p o r tm o d et r u n k s w i t c h p o r tt r u n ka l l o w e dv l a n1 , 1 0 n os h u t d o w n N 7 K 2 : v l a n1 , 1 0

! i n t e r f a c eE t h e r n e t 1 / 1-2 ,E t h e r n e t 2 / 1-4 s w i t c h p o r t s w i t c h p o r tm o d et r u n k s w i t c h p o r tt r u n ka l l o w e dv l a n1 , 1 0 n os h u t d o w n

Verification
Server 1 is able to reach Server 2 on the local LAN segment:

Only the required interfaces are connected. Links to the end servers run at 1Gbps, whereas the trunks between the switches run at 10Gbps:

N 5 K 1 #s h o wi n t e r f a c es t a t u s P o r t E t h 1 / 1 1 0 0 0 B A S E t h 1 / 2 0 0 0 B A S E t h 1 / 3 1 0 G B C E t h 1 / 4 1 0 G B C E t h 1 / 5 1 0 G B C E t h 1 / 6 H 1 0 G B C E t h 1 / 7 H 1 0 G B C E t h 1 / 8 1 0 G B C E t h 1 / 9 1 0 G B C d i s a b l e d 1 f u l l 1 0 G S F P H d i s a b l e d 1 f u l l 1 0 G S F P H c o n n e c t e dt r u n k f u l l 1 0 G S F P c o n n e c t e dt r u n k f u l l 1 0 G S F P d i s a b l e d 1 f u l l 1 0 G S F P H d i s a b l e d 1 f u l l 1 0 G S F P H d i s a b l e d 1 f u l l 1 0 G S F P H d i s a b l e d 1 f u l l 1 0 G S F P 1 c o n n e c t e d1 0 f u l l 1 0 0 0 S F P N a m e S t a t u s V l a n D u p l e x S p e e d T y p e -

VLAN 10 is created and forwarding on the required interfaces:

N 5 K 1 #s h o wv l a nb r i e f V L A NN a m e 1 h 1 / 5 E t h 1 / 6 ,E t h 1 / 7 ,E t h 1 / 8 ,E t h 1 / 9 E t h 1 / 1 0 ,E t h 1 / 1 1 ,E t h 1 / 1 2 E t h 1 / 1 3 ,E t h 1 / 1 4 ,E t h 1 / 1 5 E t h 1 / 1 6 ,E t h 1 / 1 7 ,E t h 1 / 1 8 E t h 1 / 1 9 ,E t h 1 / 2 0 ,E t h 1 / 2 1 E t h 1 / 2 2 ,E t h 1 / 2 3 ,E t h 1 / 2 4 E t h 1 / 2 5 ,E t h 1 / 2 6 ,E t h 1 / 2 7 E t h 1 / 2 8 ,E t h 1 / 2 9 ,E t h 1 / 3 0 E t h 1 / 3 1 ,E t h 1 / 3 2 1 0 V L A N 0 0 1 0 a c t i v e E t h 1 / 1 ,E t h 1 / 6 ,E t h 1 / 7 d e f a u l t a c t i v e E t h 1 / 2 ,E t h 1 / 3 ,E t h 1 / 4 ,E t S t a t u s P o r t s

----

VLANs 1 and 10 are trunking on the required interfaces, and other VLANs have been removed from the allowed list:

N 7 K 1 #s h o wi n t e r f a c et r u n k P o r t N a t i v e S t a t u s V l a n E t h 1 / 1 E t h 1 / 2 E t h 2 / 1 E t h 2 / 2 E t h 2 / 3 E t h 2 / 4 1 1 1 1 1 1 t r u n k i n g t r u n k i n g t r u n k i n g t r u n k i n g t r u n k i n g t r u n k i n g P o r t C h a n n e l

P o r t E t h 1 / 1 E t h 1 / 2 E t h 2 / 1 E t h 2 / 2 E t h 2 / 3 E t h 2 / 4 1 , 1 0 1 , 1 0 1 , 1 0 1 , 1 0 1 , 1 0 1 , 1 0 V l a n sA l l o w e do nT r u n k -

P o r t E t h 1 / 1 E t h 1 / 2 E t h 2 / 1 E t h 2 / 2 E t h 2 / 3 E t h 2 / 4 n o n e n o n e n o n e n o n e n o n e n o n e V l a n sE r r d i s a b l e do nT r u n k -

P o r t E t h 1 / 1 E t h 1 / 2 E t h 2 / 1 1 , 1 0 n o n e n o n e S T PF o r w a r d i n g -

E t h 2 / 2 E t h 2 / 3 E t h 2 / 4

n o n e 1 , 1 0 1 , 1 0

P o r t E t h 1 / 1 E t h 1 / 2 E t h 2 / 1 E t h 2 / 2 E t h 2 / 3 E t h 2 / 4 < s n i p > 1 , 1 0 n o n e n o n e n o n e 1 , 1 0 1 , 1 0 V l a n si ns p a n n i n gt r e ef o r w a r d i n gs t a t ea n dn o tp r u n e d -

All four switches agree on who the root of the Spanning-Tree is for VLAN 10, and alternate paths to the root bridge are blocked:

N 5 K 1 #s h o ws p a n n i n g t r e ev l a n1 0 V L A N 0 0 1 0 S p a n n i n gt r e ee n a b l e dp r o t o c o lr s t p R o o tI D P r i o r i t y A d d r e s s C o s t P o r t 3 2 7 7 8 0 0 2 6 . 9 8 0 c . 2 1 4 1 4 1 3 4( E t h e r n e t 1 / 6 )

H e l l oT i m e 2 s e c M a xA g e2 0s e c F o r w a r dD e l a y1 5s e c B r i d g eI D P r i o r i t y A d d r e s s 3 2 7 7 8 ( p r i o r i t y3 2 7 6 8s y s i d e x t1 0 ) 5 4 7 f . e e 7 9 . 1 3 7 c

H e l l oT i m e 2 s e c M a xA g e2 0s e c F o r w a r dD e l a y1 5s e c I n t e r f a c e E t h 1 / 1 E t h 1 / 6 E t h 1 / 7 D e s gF W D4 R o o tF W D2 A l t nB L K2 1 2 8 . 1 2 9 P 2 p 1 2 8 . 1 3 4 P 2 p 1 2 8 . 1 3 5 P 2 p R o l eS t sC o s t P r i o . N b rT y p e

------

N 5 K 2 #s h o ws p a n n i n g t r e ev l a n1 0 V L A N 0 0 1 0 S p a n n i n gt r e ee n a b l e dp r o t o c o lr s t p R o o tI D P r i o r i t y A d d r e s s C o s t P o r t 3 2 7 7 8 0 0 2 6 . 9 8 0 c . 2 1 4 1 2 1 3 4( E t h e r n e t 1 / 6 )

H e l l oT i m e 2 s e c M a xA g e2 0s e c F o r w a r dD e l a y1 5s e c B r i d g eI D P r i o r i t y A d d r e s s 3 2 7 7 8 ( p r i o r i t y3 2 7 6 8s y s i d e x t1 0 ) 5 4 7 f . e e 7 a . 4 d 7 c

H e l l oT i m e 2 s e c M a xA g e2 0s e c F o r w a r dD e l a y1 5s e c I n t e r f a c e E t h 1 / 2 E t h 1 / 6 E t h 1 / 7 D e s gF W D4 R o o tF W D2 A l t nB L K2 1 2 8 . 1 3 0 P 2 p 1 2 8 . 1 3 4 P 2 p 1 2 8 . 1 3 5 P 2 p R o l eS t sC o s t P r i o . N b rT y p e

------

N 7 K 1 #s h o ws p a n n i n g t r e ev l a n1 0 V L A N 0 0 1 0 S p a n n i n gt r e ee n a b l e dp r o t o c o lr s t p R o o tI D P r i o r i t y A d d r e s s C o s t P o r t 3 2 7 7 8 0 0 2 6 . 9 8 0 c . 2 1 4 1 2 1 2 9( E t h e r n e t 1 / 1 )

H e l l oT i m e 2 s e c M a xA g e2 0s e c F o r w a r dD e l a y1 5s e c B r i d g eI D P r i o r i t y A d d r e s s 3 2 7 7 8 ( p r i o r i t y3 2 7 6 8s y s i d e x t1 0 ) 6 8 b d . a b d 7 . 6 0 4 1

H e l l oT i m e 2 s e c M a xA g e2 0s e c F o r w a r dD e l a y1 5s e c I n t e r f a c e E t h 1 / 1 E t h 1 / 2 E t h 2 / 1 E t h 2 / 2 E t h 2 / 3 E t h 2 / 4 R o o tF W D2 A l t nB L K2 A l t nB L K2 A l t nB L K2 D e s gF W D2 D e s gF W D2 1 2 8 . 1 2 9 P 2 p 1 2 8 . 1 3 0 P 2 p 1 2 8 . 2 5 7 P 2 p 1 2 8 . 2 5 8 P 2 p 1 2 8 . 2 5 9 P 2 p 1 2 8 . 2 6 0 P 2 p R o l eS t sC o s t P r i o . N b rT y p e

------

N 7 K 2 #s h o ws p a n n i n g t r e ev l a n1 0 V L A N 0 0 1 0 S p a n n i n gt r e ee n a b l e dp r o t o c o lr s t p R o o tI D P r i o r i t y A d d r e s s 3 2 7 7 8 0 0 2 6 . 9 8 0 c . 2 1 4 1

T h i sb r i d g ei st h er o o t H e l l oT i m e 2 s e c M a xA g e2 0s e c F o r w a r dD e l a y1 5s e c B r i d g eI D P r i o r i t y A d d r e s s 3 2 7 7 8 ( p r i o r i t y3 2 7 6 8s y s i d e x t1 0 ) 0 0 2 6 . 9 8 0 c . 2 1 4 1

H e l l oT i m e 2 s e c M a xA g e2 0s e c F o r w a r dD e l a y1 5s e c

I n t e r f a c e E t h 1 / 1 E t h 1 / 2 E t h 2 / 1 E t h 2 / 2 E t h 2 / 3 E t h 2 / 4

R o l eS t sC o s t

P r i o . N b rT y p e

-----D e s gF W D2 D e s gF W D2 D e s gF W D2 D e s gF W D2 D e s gF W D2 D e s gF W D2 1 2 8 . 1 2 9 P 2 p 1 2 8 . 1 3 0 P 2 p 1 2 8 . 2 5 7 P 2 p 1 2 8 . 2 5 8 P 2 p 1 2 8 . 2 5 9 P 2 p 1 2 8 . 2 6 0 P 2 p

Server 1 and Server 2's MAC addresses are learned in the VLAN 10 CAM table:

N 5 K 1 #s h o wm a ca d d r e s s t a b l ed y n a m i cv l a n1 0 L e g e n d : *-p r i m a r ye n t r y ,G-G a t e w a yM A C ,( R )-R o u t e dM A C ,O-O v e r l a y M A C a g e-s e c o n d ss i n c el a s ts e e n , +-p r i m a r ye n t r yu s i n gv P CP e e r L i n k V L A N I D . L I D + + + + + + *1 0 *1 0 0 0 0 c . 2 9 d 0 . a 5 8 8 0 0 0 c . 2 9 f 8 . 5 7 e c d y n a m i c d y n a m i c 1 8 0 2 5 0 F F F E t h 1 / 6 F E t h 1 / 1 M A CA d d r e s s T y p e a g e S e c u r eN T F Y P o r t s / S W I D . S S

^ back to top

Disclaimer (http://www.ine.com/feedback.htm) | Privacy Policy (http://www.ine.com/resources/) Inc., All Rights Reserved (http://www.ine.com/about-us.htm)

2013 INE

Вам также может понравиться