Documente Academic
Documente Profesional
Documente Cultură
Vlans
Vlan interface
switch# configure terminal
switch(config)# vlan 15-20
Purpose
Comman
d or
Action
Step 1
switch# configure
terminal
Step 2
Step 3
switch(configvlan)#name vlan-name
Step 4
switch(configvlan)#state {active |
suspend}
switch(config-vlan)#no
shutdown
VPC
switch# configure terminal
switch(config)# vpc domain 5
switch(config-vpc-domain)# peer-keepalive destination 10.10.10.42
keep alive
The following example shows how to create a separate VRF named vpc_keepalive for the vPC
keepalive link and how to verify the new VRF.
vrf context vpc_keepalive
interface Ethernet1/31
switchport access vlan 123
interface Vlan123
vrf member vpc_keepalive
ip address 123.1.1.2/30
no shutdown
vpc domain 1
peer-keepalive destination 123.1.1.1 source 123.1.1.2 vrf
vpc_keepalive
PORT CAHENL
DETAILED STEPS
Command or Action
Purpose
(Optional)
Displays information about each vPC, including
information about the vPC peer link.
(Optional)
Copies the running configuration to the startup
configuration.