83-17
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 83 Configuring Easy Virtual Network
Configuring Easy Virtual Networks
Changing the Inherited IP Address for Subinterfaces
All subinterfaces created on the vnet interface inherit values from the main interface.
Beginning in Cisco IOS XE Release 3.9.1E, you can change the inherited IP address for subinterfaces in
interface vnet configuration mode:
For example, consider the following configuration:
vrf definition vRED
vnet tag 131
!
address-family ipv4
exit-address-family
vrf definition vBLUE
vnet tag 132
!
address-family ipv4
Command
Purpose
Switch#
show vnet tag
Displays where each tag has been configured or used.
Switch# show running-config [vrf |
vnet][
vrf-name
]
Displays the VRFs in the running configuration, displays the interfaces in
the VRFs, and displays the protocol configurations for Multi-VRF.
Switch# show vrf list
[
vrf-list-name
]
Displays information about VRF lists, such as the VRFs in each list.
Switch# show {vrf | vnet}[ipv4 |
ipv6][interface | brief | detail |
lock] [
vrf-name]
Displays information about the VRFs.
Switch#
show {vrf | vnet} counters
Displays information about the number of VRFs or virtual networks
supported and configured.
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
interface
interface
name
Specifies the interface name and enters interface configuration mode.
Step 3
Switch(config-if)#
vnet
name
vrf
name
Enters virtual network interface mode to configure features that apply to
a specified VRF to override global VRF values.
Step 4
Switch(config-if-vnet)#
(no)
ip
address
ipv4 address mask
Sets the IP address for the VNET subinterface.
The
no ip address
command on the vnet interface configuration mode
will change the IP address of the subinterface back to match the IP address
of the main interface.
Step 5
Switch(config-if-vnet)# ip address
ipv4 address mask
secondary
Sets the secondary IP address for the subinterface. A secondary IP from
the main interface is not inherited if you set a secondary IP address for the
subinterface.
Step 6
Switch(config-if-vnet)#
do show
interface ip brief
Displays the IP addresses for the main interface and the subinterfaces.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...