H3C Technologies H3C SecBlade NetStream Cards User Manual
Page 134

119
# Add interface GigabitEthernet 0/2 to VLAN 10.
[SecBlade] interface gigabitethernet 0/2
[SecBlade-GigabitEthernet0/2] port link-type trunk
[SecBlade-GigabitEthernet0/2] port trunk permit vlan 10
[SecBlade-GigabitEthernet0/2] quit
# Create interface VLAN-interface 10 and configure its IP address.
[SecBlade] interface vlan-interface 10
[SecBlade-vlan-interface10] ip address 192.168.1.2 24
[SecBlade-vlan-interface10] quit
# Configure a static ARP entry that has IP address 192.168.1.1, MAC address 00e0-fc01-0000, and
output interface GigabitEthernet 0/2 in VLAN 10.
[SecBlade] arp static 192.168.1.1 00e0-fc01-0000 10 gigabitethernet 0/2
# View information about static ARP entries.
[SecBlade] display arp static
Type: S-Static D-Dynamic A-Authorized
IP Address MAC Address VLAN ID Interface Aging Type
192.168.1.1 00e0-fc01-0000 10 GE0/2 N/A S