
34-2
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 34 Configuring Unidirectional Ethernet
Configuring Unidirectional Ethernet
To enable Unidirectional Ethernet, perform this task:
This example shows how to set Gigabit Ethernet interface 1/1 to unidirectionally send traffic:
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface gigabitethernet 1/1
Switch(config-if)#
unidirectional send-only
Switch(config-if)#
end
Warning!
Enable l2 port unidirectional mode will automatically disable port udld.
You must manually ensure that the unidirectional link does not create
a spanning tree loop in the network.
Enable l3 port unidirectional mode will automatically disable ip routing
on the port. You must manually configure static ip route and arp entry
in order to route ip traffic.
This example shows how to set Gigabit Ethernet interface 1/1 to receive traffic unidirectionally:
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface gigabitethernet 1/1
Switch(config-if)#
unidirectional receive-only
Switch(config-if)#
end
Warning!
Enable l2 port unidirectional mode will automatically disable port udld.
You must manually ensure that the unidirectional link does not create
a spanning tree loop in the network.
Enable l3 port unidirectional mode will automatically disable ip routing
on the port. You must manually configure static ip route and arp entry
in order to route ip traffic.
This example shows how to verify the configuration:
Switch>
show interface gigabitethernet 1/1 unidirectional
show interface gigabitethernet 1/1
unidirectional
Unidirectional configuration mode: send only
CDP neighbor unidirectional configuration mode: receive only
Command
Purpose
Step 1
Switch(config)#
interface
{
vlan
vlan_ID
|
{
fastethernet
|
gigabitethernet
|
tengigabitethernet
}
slot/interface
|
Port-channel
number
}
Selects the interface to configure.
Step 2
Switch(config-if)# [
no
]
unidirectional
{
send-only
|
receive-only
}
Enables Unidirectional Ethernet.
Use the
no
keyword to disable Unidirectional Ethernet.
Step 3
Switch(config-if)#
end
Exits configuration mode.
Step 4
Switch#
show interface
{
vlan
vlan_ID
|
{
fastethernet
|
gigabitethernet
|
tengigabitethernet
}
slot/interface
}
unidirectional
Verifies the configuration.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...