HP 5920 SERIES Fc And Fcoe Configuration Manual page 40

Hide thumbs Also See for 5920 SERIES:
Table of Contents

Advertisement

# Reboot the switch.
<Sysname> reboot
Start to check configuration with next startup configuration file, please
wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
2.
Configure VLANs and interfaces:
# Create VLAN 10 and VLAN 20, which are intended to transmit Ethernet data traffic and storage
traffic, respectively.
<Sysname> system-view
[Sysname] vlan 10
[Sysname-vlan10] quit
[Sysname] vlan 20
[Sysname-vlan20] quit
# Configure interface Ten-GigabitEthernet 1/0/1 as a hybrid port.
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port link-type hybrid
# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 10 as an untagged member.
[Sysname-Ten-GigabitEthernet1/0/1] port hybrid vlan 10 untagged
# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 20 as a tagged member.
[Sysname-Ten-GigabitEthernet1/0/1] port hybrid vlan 20 tagged
# Configure VLAN 10 as the PVID of interface Ten-GigabitEthernet 1/0/1.
[Sysname-Ten-GigabitEthernet1/0/1] port hybrid pvid vlan 10
[Sysname-Ten-GigabitEthernet1/0/1] quit
# Configure interface Ten-GigabitEthernet 1/0/3 as a trunk port, and assign the interface to
VLAN 10.
[Sysname] interface ten-gigabitethernet 1/0/3
[Sysname-Ten-GigabitEthernet1/0/3] port link-type trunk
[Sysname-Ten-GigabitEthernet1/0/3] port trunk permit vlan 10
[Sysname-Ten-GigabitEthernet1/0/3] quit
3.
Configure DCBX:
# Enable LLDP globally.
[Sysname] lldp global enable
# Create Ethernet frame header ACL 4000.
[Sysname] acl number 4000 name DCBX
# Configure the ACL to permit FCoE frames (protocol number is 0x8906) to pass through.
[Sysname-acl-ethernetframe-4000] rule 0 permit type 8906 ffff
# Configure the ACL to permit FIP protocol packets (protocol number is 0x8914) to pass through.
[Sysname-acl-ethernetframe-4000] rule 5 permit type 8914 ffff
[Sysname-acl-ethernetframe-4000] quit
# Create a class named DCBX, with the operator of the class as OR.
[Sysname] traffic classifier DCBX operator or
# Use ACL 4000 as the match criterion of the class.
[Sysname-classifier-DCBX] if-match acl 4000
[Sysname-classifier-DCBX] quit
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents