Cisco 6000 Series Configuration Manual page 126

Interface and hardware component configuration guide for cisconcs 6000 series routers, ios xr release 6.4.x
Hide thumbs Also See for 6000 Series:
Table of Contents

Advertisement

Configuring 802.1Q VLAN Subinterfaces
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Step 2
interface {TenGigE | Bundle-Ether}
interface-path-id.subinterface
Example:
RP/0/RP0/CPU0:router(config)# interface TenGigE
0/2/0/4.10
Step 3
encapsulation dot1q
Example:
RP/0/RP0/CPU0:router(config-subif)# encapsulation
dot1q 100
Step 4
ipv4 address ip-address mask
Example:
RP/0/RP0/CPU0:router(config-subif)# ipv4 address
178.18.169.23/24
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
114
Configuring 802.1Q VLAN Interfaces
Purpose
Enters XR configuration mode.
Enters subinterface configuration mode and specifies the
interface type, location, and subinterface number.
• Replace the interface-path-id argument with one of
the following instances:
• Physical Ethernet interface instance, or with an
Ethernet bundle instance. Naming notation is
rack/slot/module/port, and a slash between values
is required as part of the notation.
• Ethernet bundle instance. Range is from 1 through
65535.
• Replace the subinterface argument with the
subinterface value. Range is from 0 through 4095.
• Naming notation is interface-path-id.subinterface, and
a period between arguments is required as part of the
notation.
Sets the Layer 2 encapsulation of an interface.
Assigns an IP address and subnet mask to the subinterface.
• Replace ip-address with the primary IPv4 address for
an interface.
• Replace mask with the mask for the associated IP
subnet. The network mask can be specified in either
of two ways:
• The network mask can be a four-part dotted
decimal address. For example, 255.0.0.0 indicates
that each bit equal to 1 means that the
corresponding address bit belongs to the network
address.
• The network mask can be indicated as a slash (/)
and number. For example, /8 indicates that the
first 8 bits of the mask are ones, and the
corresponding bits of the address are network
address.

Advertisement

Table of Contents
loading

Table of Contents