Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Saturday, April 14, 2012

mls switchport... the suspense is killing me...

when you change a switchport's mode on an mls, you must change it back to switchport mode before using it as a l2 port again...

to make an mls port a l3 port, you must take it out of l2 mode first and always...

no switchport...

now it is unusable at only l2...

dls1(config)#int f0/15                                                          
dls1(config-if)#no sw                                                           
dls1(config-if)#sw mode acc                                                     
Command rejected: Fa0/15 not a switching port.                                  
dls1(config-if)#sw                                                              
dls1(config-if)#sw mode acc                                                     
dls1(config-if)#

you knew that... so did i...

you can suspend a vlan... in the suspend state it will not pass packets, but will retain its configuration... this might come in handy for troubleshooting, although i can't quite think of a reason...

dls1(config)#vlan 200                                                          
dls1(config-vlan)#state suspend                                                
dls1(config-vlan)#end                                                          
dls1#sh vlan id 200                                                            
                                                                               
VLAN Name                             Status    Ports                          
---- -------------------------------- --------- -------------------------------
200  VLAN0200                         suspended Fa0/7, Fa0/8, Fa0/9, Fa0/10    
                                                Fa0/11, Fa0/12                 
                                                                               
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2 
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 
200  enet  100200     1522  -      -      -        -    -        0      0      
                                                                           
don't forget to un suspend it, and put the mtu back to the default after you're finished dicking around so you don't get punished...

dls1(config)#vlan 200                                                          
dls1(config-vlan)#no state suspend                                             
dls1(config-vlan)#no mtu 1522                                                  
dls1(config-vlan)#end                                                          
dls1#sh vlan id 200                                                            
                                                                               
VLAN Name                             Status    Ports                          
---- -------------------------------- --------- -------------------------------
200  VLAN0200                         active    Fa0/7, Fa0/8, Fa0/9, Fa0/10    
                                                Fa0/11, Fa0/12                 
                                                                               
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2 
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 
200  enet  100200     1500  -      -      -        -    -        0      0      
                                                                            


No comments:

Post a Comment