H3C Technologies H3C S12500 Series Switches User Manual
Page 21
14
[Device-vlan4094] interface vlan 4094
[Device-Vlan-interface4094] undo shutdown
[Device-Vlan-interface4094] ip address 40.94.1.1 24
[Device-Vlan-interface4094] quit
# Configure the internal interface Ten-GigabitEthernet 4/0/1 on the ACFP client as a trunk port,
and assign the trunk port to VLAN 4094, which is not allowed to learn MAC addresses. Then, set
the working mode for the internal Ethernet interface to extended.
[Device] interface te 4/0/1
[Device -Ten-GigabitEthernet4/0/1] undo shutdown
[Device -Ten-GigabitEthernet4/0/1] port link-type trunk
[Device -Ten-GigabitEthernet4/0/1] port trunk permit vlan 4094
[Device -Ten-GigabitEthernet4/0/1] mac-address max-mac-count 0
[Device -Ten-GigabitEthernet4/0/1] port connection-mode extend
[Device -Ten-GigabitEthernet4/0/1] quit
# Configure SNMP parameters.
[Device] snmp-agent
[Device] snmp-agent sys-info version all
[Device] snmp-agent group v3 v3group_no read-view iso write-view iso
[Device] snmp-agent mib-view included iso iso
[Device] snmp-agent usm-user v3 v3user_no v3group_no
# Verify that the MIB style of Device is new. If not, set the MIB style of Device to new and reboot
Device.
[Device] mib-style new
# Configure the service VLANs.
[Device] vlan 100
[Device-vlan100] port GigabitEthernet 5/0/23
[Device] vlan 101
[Device-vlan101] port GigabitEthernet 5/0/24
[Device] interface Vlan-interface 100
[Device-Vlan-interface100] undo shutdown
[Device-Vlan-interface100] ip address 192.168.1.254 24
[Device] interface Vlan-interface 101
[Device-Vlan-interface101] undo shutdown
[Device-Vlan-interface101] ip address 192.168.2.254 24
2.
Configure line card LST1ACG1A1:
# Log in to the operating system on the LST1ACG1A1 card through the console port on the card,
and enter password H3C.
Password:H3C
# Enter system view.
# Assign an IP address to the network management port on the card to make the network
management ports of the PC and the card reachable to each other.
[ACG] interface meth0/1
[ACG-if] ip address 192.168.0.14 24
[ACG-if] undo shutdown
# Launch IE on the PC and enter https://192.168.0.14 at the address bar. Both the username and
the password are admin.