Classifying Interfaces with the C-Web Interface
To define interface classification scripts:
- Click Configure, and expand Shared>Network.
- Expand the device for which you want to configure interface classification scripts, and then click Interface Classifier.
The Interface Classifier pane appears.
- From the Create new list, select Rule.
- Type a name for the new rule in the dialog box, and click OK.
The rule appears in the side pane and the Rule pane.
- Enter a script or a target as described in the Help text in the Main pane, and click Apply.
- To configure a condition for a target:
- From the Create new list, select Condition.
- Type the interface classification condition name as described in Interface Classification Conditions, and click OK.
The condition appears in the side pane and the Condition pane.
Interface Classification Conditions
Use the fields in this section to define interface classification conditions.
broadcastAddr
- Interface broadcast address.
- Value—Valid broadcast address format
- Example—broadcastAddr.hostAddress="255.255.255.255"
ifAlias
- Description of an interface.
- Value—Interface description that is configured on the router. For JUNOSe routers, it is the description configured with the interface description command.
- Example—ifAlias="1st pppoe int"
ifDesc
ip<slot>/<port>.<subinterface>On the JUNOS routing platform, ifDesc is the same as interfaceName. interfaceName
- Name of the interface in your router CLI syntax
- FORWARDING_INTERFACE for routing instance (used by traffic mirroring)
For JUNOS routing platforms: interfaceName="fe-0/1/0.0"
For forwarding interface: interfaceName="FORWARDING_INTERFACE"
ipAddress
ipMask
mtu
nasPortId
- Port identifier of an interface.
- Value—Includes interface name and additional layer 2 information
- Example—nasPortId="fastEthernet 3/1" (There is a space between fastEthernet and slot number 3/1 in the nasPortId.)
pppLoginName
- Login name for PPP subscribers.
- Value—Login name in the format username@domain
- Example—pppLoginName="pebbles@virneo.net"
radiusClass
serviceBundle
- Content of the vendor-specific RADIUS attribute for the service bundle.
- Value—Name of a service bundle
userIpAddress
virtualRouterName