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

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 24: Line 24:
 
1005 trnet-default                    active     
 
1005 trnet-default                    active     
 
DLS1#
 
DLS1#
 +
</source>
 +
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>
 +
DLS1(config)#<input>int 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 int brie</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#
 
</source>
 
</source>

Revision as of 08:47, 12 November 2014

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 brie</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>int 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 int brie</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#