blob: b5266105074aa849e80cda22cd929f183ebcf4c3 [file] [log] [blame]
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
%BOOK_ENTITIES;
]>
<!-- Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<section id="cisco3750-hardware">
<title>Cisco 3750</title>
<para>The following steps show how a Cisco 3750 is configured for zone-level layer-3 switching.
These steps assume VLAN 201 is used to route untagged private IPs for pod 1, and pod 1’s layer-2
switch is connected to GigabitEthernet1/0/1.</para>
<orderedlist>
<listitem>
<para>Setting VTP mode to transparent allows us to utilize VLAN IDs above 1000. Since we only
use VLANs up to 999, vtp transparent mode is not strictly required.</para>
<programlisting>vtp mode transparent
vlan 200-999
exit</programlisting>
</listitem>
<listitem>
<para>Configure GigabitEthernet1/0/1.</para>
<programlisting>interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 201
exit</programlisting>
</listitem>
</orderedlist>
<para>The statements configure GigabitEthernet1/0/1 as follows:</para>
<itemizedlist>
<listitem>
<para>VLAN 201 is the native untagged VLAN for port GigabitEthernet1/0/1.</para>
</listitem>
<listitem>
<para>Cisco passes all VLANs by default. As a result, all VLANs (300-999) are passed to all the pod-level layer-2 switches.</para>
</listitem>
</itemizedlist>
</section>