HP 6125XLG HP 6125XLG Blade Switch Installation Guide - Page 15

Assign GigabitEthernet 1/1/5 to VLAN 10.

Page 15 highlights

[Sysname] interface vlan-interface 1 # Assign an IP address, for example, 192.168.0.1, to VLAN-interface 1. [Sysname-Vlan-interface1] ip address 192.168.0.1 24 [Sysname-Vlan-interface1] quit 2. Configure a static route: # Configure a static route, with the destination IP address 172.16.1.0 and the next hop IP address 192.168.0.2. [Sysname] ip route-static 172.16.1.0 255.255.255.0 192.168.0.2 3. Configure a VLAN: # Create VLAN 10 and enter its view. [Sysname] vlan 10 [Sysname-vlan10] # Assign GigabitEthernet 1/1/5 to VLAN 10. [Sysname-vlan10] port gigabitethernet 1/1/5 [Sysname-vlan10] quit 11

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33

11
[Sysname] interface vlan-interface 1
# Assign an IP address, for example, 192.168.0.1, to VLAN-interface 1.
[Sysname-Vlan-interface1] ip address 192.168.0.1 24
[Sysname-Vlan-interface1] quit
2.
Configure a static route:
# Configure a static route, with the destination IP address 172.16.1.0 and the next hop IP address
192.168.0.2.
[Sysname] ip route-static 172.16.1.0 255.255.255.0 192.168.0.2
3.
Configure a VLAN:
# Create VLAN 10 and enter its view.
[Sysname] vlan 10
[Sysname-vlan10]
# Assign GigabitEthernet 1/1/5 to VLAN 10.
[Sysname-vlan10] port gigabitethernet 1/1/5
[Sysname-vlan10] quit