Menu

US Region

Grandmetric LLC
Brookfield Place Office
200 Vesey Street
New York, NY 10281
EIN: 98-1615498
+1 302 691 94 10
info@grandmetric.com

EMEA Region

GRANDMETRIC Sp. z o.o.
ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43
info@grandmetric.com

UK

Grandmetric LTD
Office 584b
182-184 High Street North
London
E6 2JA
+44 20 3321 5276
info@grandmetric.com

  • en
  • pl
  • Layer 3 subinterface (Cisco)

    Design & Configure

    Layer 3 subinterface (Cisco)

    Technology: Network
    Area: Configuration General
    Vendor: Cisco
    Software: 12.X, 15.X
    Platform: ISR Routers, ASR Routers

    Subinterfaces divide the parent interface into two or more virtual interfaces on which you can assign unique Layer 3 parameters such as IP addresses and dynamic routing protocols parameters. The IP address for each subinterface should be in a different subnet from any other subinterface on the parent interface (if you are not using VRF-Lite feature).

    Switch# configure terminal
    switch(config)# interface ethernet 2/1.1
    switch(config-if)# ip address 192.0.2.1 255.0.0.0
    switch(config-if)# encapsulation dot1Q 33

    Because subinterfaces work always on trunk links, there is a necessity of encapsulation definition. The encapsulation command defines the VLAN tag (VLAN number) which will be using by this subinterface.

     

    Author: Marcin Bialy
     
    Grandmetric