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
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.
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.
Switch(config)#exit
Switch#reload
System configuration has been modified. Save? [yes/no]: y
Proceed with reload? [confirm]
Následně po restartu provedeme kontrolu:
Switch#show sdm prefer
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
A pak zapneme ip routing:
Switch#conf t
Switch(config)#ip routing
Switch(config)#
Switch(config)#int vlan 10
Switch(config-if)#ip add 192.168.10.1 255.255.255.0
Switch(config-if)#
Switch(config-if)#int vlan 20
Switch(config-if)#ip add 192.168.20.1 255.255.255.0
Switch(config)#^Z
Switch#sh ip route
...
C 192.168.10.0/24 is directly connected, Vlan10
C 192.168.20.0/24 is directly connected, Vlan20
Žádné komentáře:
Okomentovat