pátek 18. října 2013

Cisco 2960S - routing

Cisco Catalyst 2960S je L2 switch.
Přesto od verze IOS 12.2(55) nastala jistá změna.

Je možné zapnout routing mezi VLAN.
Nejprve je nutno změnit SDM šablonu - přepnout do lanbase-routing
Switch(config)#sdm prefer lanbase-routing
Changes to the running SDM preferences have been stored, but cannot take effect until the next reload. 
Use 'show sdm prefer' to see what SDM preference is currently active. 
System configuration has been modified. Save? [yes/no]: y 
Proceed with reload? [confirm]

Následně po restartu provedeme kontrolu:
Switch#show sdm prefer 
The current template is "lanbase-routing" template. 
The selected template optimizes the resources in the switch to support this level of features for 8 routed interfaces and 255 VLANs. 
number of unicast mac addresses: 4K 
number of IPv4 IGMP groups + multicast routes: 0.25K 
number of IPv4 unicast routes: 4.25K
number of directly-connected IPv4 hosts: 4K
number of indirect IPv4 routes: 0.25K
number of IPv4 policy based routing aces: 0 
number of IPv4/MAC qos aces: 0.125k
number of IPv4/MAC security aces: 0.375k

A pak zapneme ip routing:
Switch#conf t 
Switch(config)#ip routing 
Switch(config)#int vlan 10 
Switch(config-if)#ip add
Switch(config-if)#int vlan 20
Switch(config-if)#ip add
Switch#sh ip route ... 
C is directly connected, Vlan10
C is directly connected, Vlan20

Žádné komentáře: