246
Figure 76 Network diagram
Configuration procedure
1.
Enable LLDP and DCBX TLV advertising:
# Enable LLDP globally.
<SwitchA> system-view
[SwitchA] lldp global enable
# Enable LLDP and DCBX TLV advertising on interface GigabitEthernet 1/0/1.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] lldp enable
[SwitchA-GigabitEthernet1/0/1] lldp tlv-enable dot1-tlv dcbx
2.
Set the DCBX version to Rev. 1.01 on interface GigabitEthernet 1/0/1.
[SwitchA-GigabitEthernet1/0/1] dcbx version rev101
[SwitchA-GigabitEthernet1/0/1] quit
3.
Configure APP parameters:
# Create Ethernet frame header ACL 4000.
[SwitchA] acl number 4000
# Configure ACL 4000 to permit FCoE frames (frame type is 0x8906) and FIP frames (frame
type is 0x8914) to pass through.
[SwitchA-acl-ethernetframe-4000] rule permit type 8906 ffff
[SwitchA-acl-ethernetframe-4000] rule permit type 8914 ffff
[SwitchA-acl-ethernetframe-4000] quit
# Create a class named
app_c
, specify the operator of the class as OR, and use ACL 4000 as
the match criterion of the class.
[SwitchA] traffic classifier app_c operator or
[SwitchA-classifier-app_c] if-match acl 4000
[SwitchA-classifier-app_c] quit
# Create a traffic behavior named
app_b
, and configure the traffic behavior to mark packets
with 802.1p priority value 3.
[SwitchA] traffic behavior app_b
[SwitchA-behavior-app_b] remark dot1p 3
[SwitchA-behavior-app_b] quit
# Create a QoS policy named
plcy
, associate class
app_c
with traffic behavior
app_b
in the
QoS policy, and apply the association to DCBX.
[SwitchA] qos policy plcy
[SwitchA-qospolicy-plcy] classifier app_c behavior app_b mode dcbx
[SwitchA-qospolicy-plcy] quit
# Apply the policy named
plcy
to the outgoing traffic of interface GigabitEthernet 1/0/1.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] qos apply policy plcy outbound
[SwitchA-GigabitEthernet1/0/1] quit
Содержание H3C S7500E-X
Страница 70: ...57 ...