Difference between revisions of "3-tier design/SVIIPs"

From Teknologisk videncenter
Jump to: navigation, search
m
m
 
Line 27: Line 27:
 
To make room for the HSRP ip the first Distribution Switch should have the second avoilable IP address in the scope, and the second Switch should have the third ip address.
 
To make room for the HSRP ip the first Distribution Switch should have the second avoilable IP address in the scope, and the second Switch should have the third ip address.
 
<source lang=cli>
 
<source lang=cli>
DLS1(config)#<input>int vlan 10</input>
+
DLS1(config)#<input>interface vlan 10</input>
 
DLS1(config-if)#
 
DLS1(config-if)#
 
%LINK-5-CHANGED: Interface Vlan10, changed state to up
 
%LINK-5-CHANGED: Interface Vlan10, changed state to up
Line 35: Line 35:
 
DLS1#
 
DLS1#
 
%SYS-5-CONFIG_I: Configured from console by console
 
%SYS-5-CONFIG_I: Configured from console by console
<input>show ip int brie</input>
+
<input>show ip interface brief</input>
 
Interface              IP-Address      OK? Method Status                Protocol
 
Interface              IP-Address      OK? Method Status                Protocol
 
   
 
   

Latest revision as of 16:14, 2 June 2015

Before configuring Switched Vitual Interfaces the vlans need to be created on the switch

DLS1(config)#<input>vlan 10</input>
DLS1(config-vlan)#<input>name Data1</input>
DLS1(config-vlan)#<input>end</input>
DLS1#
%SYS-5-CONFIG_I: Configured from console by console

DLS1#<input>show vlan brief</input>

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/2, Fa0/3, Fa0/4, Fa0/5
                                                Fa0/6, Fa0/7, Fa0/8, Fa0/9
                                                Fa0/10, Fa0/11, Fa0/12, Fa0/13
                                                Fa0/14, Fa0/15, Fa0/16, Fa0/17
                                                Fa0/18, Fa0/19, Fa0/20, Fa0/21
                                                Fa0/22, Fa0/23, Fa0/24, Gig0/1
                                                Gig0/2
<notice>10   Data1                            active</notice>    
1002 fddi-default                     active    
1003 token-ring-default               active    
1004 fddinet-default                  active    
1005 trnet-default                    active    
DLS1#

To make room for the HSRP ip the first Distribution Switch should have the second avoilable IP address in the scope, and the second Switch should have the third ip address.

DLS1(config)#<input>interface vlan 10</input>
DLS1(config-if)#
%LINK-5-CHANGED: Interface Vlan10, changed state to up

DLS1(config-if)#<input>ip address 10.1.10.2 255.255.255.0</input>
DLS1(config-if)#<input>end</input>
DLS1#
%SYS-5-CONFIG_I: Configured from console by console
<input>show ip interface brief</input>
Interface              IP-Address      OK? Method Status                Protocol
 
<notice>FastEthernet0/1        10.0.0.1        YES manual up                    up</notice>
 
FastEthernet0/2        unassigned      YES unset  down                  down
 
FastEthernet0/3        unassigned      YES unset  down                  down
 
FastEthernet0/4        unassigned      YES unset  down                  down
 
FastEthernet0/5        unassigned      YES unset  down                  down
 
FastEthernet0/6        unassigned      YES unset  down                  down
 
FastEthernet0/7        unassigned      YES unset  down                  down
 
FastEthernet0/8        unassigned      YES unset  down                  down
 
FastEthernet0/9        unassigned      YES unset  down                  down
 
FastEthernet0/10       unassigned      YES unset  down                  down
 

DLS1#