EasyManuals Logo

Cisco 6000 series User Manual

Cisco 6000 series
158 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #132 background imageLoading...
Page #132 background image
VLAN Subinterfaces: Example
The following example shows how to create three VLAN subinterfaces at one time:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface TenGigE 0/2/0/4.1
RP/0/RP0/CPU0:router(config-subif)# dot1q vlan 10
RP/0/RP0/CPU0:router(config-subif)# ipv4 address 10.0.10.1/24
RP/0/RP0/CPU0:router(config-subif)# interface TenGigE0/2/0/4.2
RP/0/RP0/CPU0:router(config-subif)# dot1q vlan 20
RP/0/RP0/CPU0:router(config-subif)# ipv4 address 10.0.20.1/24
RP/0/RP0/CPU0:router(config-subif)# interface TenGigE0/2/0/4.3
RP/0/RP0/CPU0:router(config-subif)# dot1q vlan 30
RP/0/RP0/CPU0:router(config-subif)# ipv4 address 10.0.30.1/24
RP/0/RP0/CPU0:router(config-subif)# commit
RP/0/RP0/CPU0:router(config-subif)# exit
RP/0/RP0/CPU0:router(config)# exit
RP/0/RP0/CPU0:router# show vlan trunks summary
VLAN trunks: 1,
1 are 802.1Q (Ether).
Sub-interfaces: 3,
3 are up.
802.1Q VLANs: 3,
3 have VLAN Ids.
RP/0/RP0/CPU0:router# show vlan interface
-
Interface Encapsulation Outer 2nd Service MTU LineP
VLAN VLAN State
Te0/6/0/0.1 802.1Q 1 L3 9604 up
Te0/6/0/4.1 802.1Q 1 L3 9604 up
The following example shows how to create two VLAN subinterfaces on an Ethernet bundle:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface bundle-ether 2
RP/0/RP0/CPU0:router(config-if)# ipv4 address 192.168.2.1/24
RP/0/RP0/CPU0:router(config-if)# exit
RP/0/RP0/CPU0:router(config)# interface bundle-ether 2.1
RP/0/RP0/CPU0:router(config-subif)# dot1q vlan 10
RP/0/RP0/CPU0:router(config-subif)# ipv4 address 192.168.100.1/24
RP/0/RP0/CPU0:router(config-subif)# exit
RP/0/RP0/CPU0:router(config)# interface bundle-ether 2.2
RP/0/RP0/CPU0:router(config-subif)# dot1q vlan 20
RP/0/RP0/CPU0:router(config-subif)# ipv4 address 192.168.200.1/24
RP/0/RP0/CPU0:router(config-subif)# exit
RP/0/RP0/CPU0:router(config)# commit
The following example shows how to create a basic dot1Q AC:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface GigabitEthernet 0/0/0/0.1
RP/0/RP0/CPU0:router(config-subif)# l2transport
RP/0/RP0/CPU0:router(config-subif)# dot1q vlan 20
RP/0/RP0/CPU0:router(config-subif)# commit
RP/0/RP0/CPU0:router(config-subif)# exit
RP/0/RP0/CPU0:router(config)# exit
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
120
Configuring 802.1Q VLAN Interfaces
VLAN Subinterfaces: Example

Table of Contents

Other manuals for Cisco 6000 series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 6000 series and is the answer not in the manual?

Cisco 6000 series Specifications

General IconGeneral
CategoryNetwork Router
ModelCisco 6000 series
Routing ProtocolsBGP, OSPF, EIGRP, IS-IS, RIP
InterfacesGigabit Ethernet, 10 Gigabit Ethernet
PortsVaries by model
Power SupplyRedundant power supply options
DimensionsVaries by model
WeightVaries by model
RedundancyPower supplies, fans, route processors
Operating SystemCisco IOS

Related product manuals