switch virtual interface.pdf

(146 KB) Pobierz
White Paper
Switch Virtual Interface for Cisco Integrated Services Routers
Introduction
This document provides an overview of the switch virtual interface (SVI) for Cisco ® Integrated Services Routers.
Cisco offers different flavors of integrated switching modules for the modular Cisco 3900, 3800, 2900, 2800, 1900
and 1800 Series Integrated Services Routers: the Cisco 4- and 8-Port Gigabit Ethernet Enhanced High-Speed WAN
Interface Cards (EHWICs), 16- and 36-port Cisco EtherSwitch ® modules, the Cisco EtherSwitch 4- and 9-port high-
speed WAN interface cards (HWICs), the Cisco EtherSwitch service modules, and the Enhanced Cisco EtherSwitch
service modules. In addition, the Cisco 1800 and 890 Series fixed-configuration Integrated Services Routers are
integrated with an 8-port switch. The Cisco 880, 870, 860 and 850 Series Integrated Services Routers are integrated
with a 4-port switch.
The integrated switch ports for the fixed-configuration Integrated Services Routers and the switch ports on the
HWICs/EHWICs do not natively support Layer 3 addresses or Layer 3 features. They must be assigned to a SVI and
use a VLAN interface for Layer 3 features. SVI represents a logical Layer 3 interface on a switch. In addition to basic
routing, SVI can be used to support additional features for the network that the SVI represents.
Table 1 lists the Cisco IOS ® Software features supported by SVI and summarized the typical use of these features.
Please refer to the Feature Navigator Tool to check whether a specific platform supports a specific feature.
Table 1.
Cisco IOS Software Features Supported by SVI
Cisco IOS Software Feature
SVI Use Scenario
SVI Support Status
Routing Features
Routing protocols
Interconnects Layer 3 networks using protocols such as Routing Information Protocol
(RIP), Open Shortest Path First (OSPF) Protocol, and Enhanced Interior Gateway
Routing Protocol (EIGRP) configured under SVI
Yes
IP Version 6 (IPv6)
Provides IPv6 support
Yes
Network Address Translation
(NAT)
Translates public IP addresses to private address pools, and private addresses to public
IP addresses; SVI is typically used as a NAT inside interface
Yes
DHCP server feature: Dynamically assigns private IP addresses to devices
connected to the switch ports
DHCP client feature: Allows the SVI to receive a dynamically assigned IP address
Dynamic Host Configuration
Protocol (DHCP)
Yes
Hot Standby Routing Protocol
(HSRP)
Supports redundancy and high availability with a secondary device connected to the LAN
with SVI, using HSRP
Yes
Virtual Router Redundancy
Protocol (VRRP)
Supports redundancy and high availability with a secondary device connected to the LAN
with SVI, using VRRP
Yes
Gateway Load Balancing
Protocol (GLBP)
Supports redundancy and high availability with a secondary device connected to the LAN
with SVI, using GLBP
No
Policy-Based Routing (PBR)
Creates policy maps for routing decisions and QoS settings
Yes
Point-to-Point Protocol (PPP)
over Ethernet (PPPoE)
Provides PPPoE client support for a device (such as a DSL modem) connected to the
switch port; typically used when the SVI is the only interface available to provide backup
using the external device
Yes
Multicast
Provides multicast support for clients connected to the switch ports
Yes
VPN Routing and Forwarding
(VRF)
Associates a VRF instance with an SVI to map VLANs to different logical or physical
VPN WAN connections
Yes
Layer 2 Tunnel Protocol Version
3 (L2TPv3)
Provides LAN extension between remote sites; SVI is used as the Layer 2 tunnel
termination point
Yes (12.4(20)T or
later)
© 2011 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 1 of 10
807730020.152.png 807730020.163.png 807730020.174.png 807730020.185.png 807730020.001.png 807730020.012.png 807730020.023.png 807730020.034.png 807730020.045.png 807730020.056.png 807730020.067.png 807730020.078.png 807730020.089.png 807730020.100.png 807730020.111.png 807730020.113.png 807730020.114.png 807730020.115.png 807730020.116.png 807730020.117.png 807730020.118.png 807730020.119.png 807730020.120.png 807730020.121.png 807730020.122.png 807730020.123.png 807730020.124.png 807730020.125.png 807730020.126.png 807730020.127.png 807730020.128.png 807730020.129.png 807730020.130.png 807730020.131.png 807730020.132.png 807730020.133.png 807730020.134.png 807730020.135.png 807730020.136.png 807730020.137.png 807730020.138.png 807730020.139.png 807730020.140.png 807730020.141.png 807730020.142.png 807730020.143.png 807730020.144.png 807730020.145.png 807730020.146.png 807730020.147.png 807730020.148.png 807730020.149.png 807730020.150.png 807730020.151.png 807730020.153.png 807730020.154.png 807730020.155.png 807730020.156.png 807730020.157.png 807730020.158.png 807730020.159.png 807730020.160.png 807730020.161.png 807730020.162.png 807730020.164.png 807730020.165.png 807730020.166.png 807730020.167.png 807730020.168.png 807730020.169.png 807730020.170.png
White Paper
Cisco IOS Software Feature
SVI Use Scenario
SVI Support Status
Security Features
Supports Easy VPN remote as the inside interface
Provides IPsec tunnel termination on the SVI; typically used when SVI is the only
interface available to provide backup WAN connection with an external device (such
as a DSL modem)
IP Security (IPsec)
Yes
Generic Routing Encapsulation
(GRE)
Provides GRE tunnel termination on the SVI;, typically used when SVI is the only
interface available to provide backup WAN connection with an external device (such as a
DSL modem)
Yes
Yes *
Firewall
Provides Firewall support for VLANs
Intrusion Prevention System
(IPS)
Provides IPS support for VLANs
Yes
IP access control lists (ACLs)
Provides packet filtering to control network traffic and restrict the access of users and
devices to the network
Yes
Network Admission Control
(NAC)
Enforces NAC of endpoint devices connected to the VLAN
Yes
Auth-proxy
Authenticates inbound and outbound users connected to the VLAN
Yes
Quality-of-Service (QoS) Features
Classification with standard and
extended access list
Provides QoS classification with standard and extended access lists
Yes (CSCsi01713)
Classification with IP type of
service (ToS): IP precedence,
differentiated services code point
(DSCP), or destination address
Provides QoS classification with IP ToS bits
Yes
Classification with Network-
Based Application Recognition
(NBAR) with TCP
Provides QoS classification with NBAR TCP traffic
Yes
Class-based marking
Provides QoS marking based on user-defined traffic class with DSCP and IP precedence
values
Yes
Policing
Limits the input or output transmission rate on SVI and specifies traffic handling policies
when the traffic either conforms to or exceeds the specified rate limits
Yes (15.1(1)T or
later)
Committed Access Rate
Limits the input or output transmission rate on SVI
Yes
Class-Based Traffic Shaping
Provides Generic Traffic Shaping based on user defined traffic class
No
Generic-Traffic Shaping
Limits the transmission rate of data to match the speed of the remote, target interface
and helps ensure that the traffic conforms to policies contracted for it
No
Weighted Random Early
Detection (WRED)
Provides early detection of congestion and differentiated performance characteristics for
different classes of service
No
Class-Based Weighted Fair
Queue (CBWFQ)
Allocates bandwidth based on user-defined traffic class
No
Low-Latency Queue (LLQ)
Provides strict priority queuing with CBWFQ to allow delay-sensitive data such as voice
to be dequeued and sent first, giving delay-sensitive data preferential treatment over
other traffic
No
Hierarchical QoS
Using a modular QoS command-line interface (CLI) in a hierarchical structure, provides a
high degree of granularity for QoS policies and helps meet complex service-level
agreement (SLA) requirements
No
* Transparent Firewall is only supported between a VLAN and WAN interfaces. It’s not supported between 2 or more VLANs.
Please refer to CSCse92575.
Conclusion
SVI on Cisco Integrated Services Routers is designed to provide basic Layer 3 functions for the Layer 2 switch ports
that belong to a specific VLAN. The SVI does not provide the same feature set and functions as the integrated Layer
3 Ethernet ports of the integrated services routers and should not be used to entirely replace the Layer 3 Ethernet
ports. Customer who need additional Layer 3 Ethernet ports for their Integrated Services Routers may consider the
use of 1- and 2-Port Fast Ethernet High-Speed WIC for modular ISR platforms. The guidelines presented in this
document summarize feature support considerations for an Integrated Services Router deployment that uses SVIs.
© 2011 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 2 of 10
807730020.171.png 807730020.172.png 807730020.173.png 807730020.175.png 807730020.176.png 807730020.177.png 807730020.178.png 807730020.179.png 807730020.180.png 807730020.181.png 807730020.182.png 807730020.183.png 807730020.184.png 807730020.186.png 807730020.187.png 807730020.188.png 807730020.189.png 807730020.190.png 807730020.191.png 807730020.192.png 807730020.193.png 807730020.194.png 807730020.195.png 807730020.002.png 807730020.003.png 807730020.004.png 807730020.005.png 807730020.006.png 807730020.007.png 807730020.008.png 807730020.009.png 807730020.010.png 807730020.011.png 807730020.013.png 807730020.014.png 807730020.015.png 807730020.016.png 807730020.017.png 807730020.018.png 807730020.019.png 807730020.020.png 807730020.021.png 807730020.022.png 807730020.024.png 807730020.025.png 807730020.026.png 807730020.027.png 807730020.028.png 807730020.029.png 807730020.030.png 807730020.031.png 807730020.032.png 807730020.033.png 807730020.035.png 807730020.036.png 807730020.037.png 807730020.038.png 807730020.039.png 807730020.040.png 807730020.041.png 807730020.042.png 807730020.043.png 807730020.044.png 807730020.046.png 807730020.047.png 807730020.048.png 807730020.049.png 807730020.050.png 807730020.051.png 807730020.052.png 807730020.053.png 807730020.054.png 807730020.055.png 807730020.057.png 807730020.058.png 807730020.059.png 807730020.060.png 807730020.061.png 807730020.062.png 807730020.063.png 807730020.064.png 807730020.065.png 807730020.066.png 807730020.068.png 807730020.069.png 807730020.070.png 807730020.071.png 807730020.072.png 807730020.073.png 807730020.074.png 807730020.075.png 807730020.076.png 807730020.077.png 807730020.079.png 807730020.080.png 807730020.081.png 807730020.082.png 807730020.083.png 807730020.084.png 807730020.085.png 807730020.086.png 807730020.087.png 807730020.088.png 807730020.090.png 807730020.091.png 807730020.092.png 807730020.093.png
White Paper
For More Information
Please refer to the following links for more information:
Cisco 4- and 8-Port Gigabit Ethernet Enhanced High-Speed WAN Interface Cards:
1- and 2-Port Fast Ethernet High-Speed WIC for Cisco 1841, 2800, and 3800 Integrated Services Routers:
SVI Configuration Examples
Zone-Based Policy Firewall
http://www.cisco.com/en/US/products/ps6350/products_feature_guide09186a008072c6e3.html
DHCP
! SDM Default Configuration
! The default startup configuration file for Cisco Router and Security Device
Manager (SDM)
! DO NOT modify this file; it is required by SDM as is for factory defaults
! Version 1.0
!
hostname yourname
!
logging buffered 51200 warnings
!
username cisco privilege 15 secret 0 cisco
!
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool sdm-pool
import all
network 10.10.10.0 255.255.255.248
default-router 10.10.10.1
lease 0 2
!
no ip domain lookup
ip domain-name yourdomain.com
© 2011 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 3 of 10
807730020.094.png 807730020.095.png 807730020.096.png 807730020.097.png 807730020.098.png 807730020.099.png 807730020.101.png 807730020.102.png 807730020.103.png 807730020.104.png 807730020.105.png 807730020.106.png
White Paper
!
interface FastEthernet2
no ip address
no shutdown
!
interface FastEthernet3
no ip address
no shutdown
!
interface FastEthernet4
no ip address
no shutdown
!
interface FastEthernet5
no ip address
no shutdown
!
interface FastEthernet6
no ip address
no shutdown
!
interface FastEthernet7
no ip address
no shutdown
!
interface FastEthernet8
no ip address
no shutdown
!
interface FastEthernet9
no ip address
no shutdown
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-FE 2$
ip address 10.10.10.1 255.255.255.248
ip tcp adjust-mss 1452
!
ip http server
ip http access-class 23
ip http secure-server
ip http authentication local
ip http timeout-policy idle 60 life 86400 requests 10000
!
access-list 23 permit 10.10.10.0 0.0.0.7
!
banner login ^
--------------------------------------------------------------------
Cisco Router and Security Device Manager (SDM) is installed on this device.
© 2011 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 4 of 10
807730020.107.png 807730020.108.png
White Paper
This feature requires the one-time use of the username "cisco" with the password
"cisco". The default username and password have a privilege level of 15.
Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.
username <myuser> privilege 15 secret 0 <mypassword>
no username cisco
Replace <myuser> and <mypassword> with the username and password you want to use.
For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to http://www.cisco.com/go/sdm
---------------------------------------------------------------------
^
!
no cdp run
!
!
line con 0
login local
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet
transport input telnet ssh
line vty 5 15
access-class 23 in
privilege level 15
login local
transport input telnet
transport input telnet ssh
!
! End of SDM default config file
end
HSRP
Router A Config
interface Loopback0
no ip address
!
interface FastEthernet0
ip address 100.0.0.4 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2
switchport mode trunk
!
interface Vlan1
no ip address
!
© 2011 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 5 of 10
807730020.109.png 807730020.110.png 807730020.112.png
Zgłoś jeśli naruszono regulamin