HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 169
IP subnet-based VLAN configuration commands, display ip-subnet-vlan interface
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 169 highlights
[Sysname] vlan 3 [Sysname-vlan3] protocol-vlan ipv4 # Create an ARP protocol template for VLAN 3 (ARP code is 0x0806) to make VLAN 3 transmit ARP packets. • To use Ethernet encapsulation, use this command: [Sysname-vlan3] protocol-vlan mode ethernetii etype 0806 • To use 802.3 encapsulation, use this command: [Sysname-vlan3] protocol-vlan mode snap etype 0806 IP subnet-based VLAN configuration commands display ip-subnet-vlan interface Syntax View display ip-subnet-vlan interface { interface-list | all } [ | { begin | exclude | include } regular-expression ] Any view Default level 2: System level Parameters interface-list: Specifies an Ethernet port list in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&, where interface-type interface-number represents the port type and port number and & indicates that you can specify up to 10 ports or port ranges. all: Displays IP subnet information about all the ports with IP subnet-based VLAN configured. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ip-subnet-vlan interface to display IP subnet-based VLANs and IP subnet indexes on the specified ports. Examples # Display IP subnet-based VLANs and IP subnet indexes on GigabitEthernet 1/0/1. system-view [Sysname] display ip-subnet-vlan interface gigabitethernet 1/0/1 Interface: GigabitEthernet1/0/1 VLAN ID Subnet-Index IP ADDRESS NET MASK 161